Lines Matching full:cleared
161 resource_size_t phys, cleared; member
180 (ctx->phys + ctx->cleared - 1) > ndr_end) in nvdimm_clear_badblocks_region()
184 badblocks_clear(&nd_region->bb, sector, ctx->cleared / 512); in nvdimm_clear_badblocks_region()
193 phys_addr_t phys, u64 cleared) in nvdimm_clear_badblocks_regions() argument
197 .cleared = cleared, in nvdimm_clear_badblocks_regions()
205 phys_addr_t phys, u64 cleared) in nvdimm_account_cleared_poison() argument
207 if (cleared > 0) in nvdimm_account_cleared_poison()
208 badrange_forget(&nvdimm_bus->badrange, phys, cleared); in nvdimm_account_cleared_poison()
210 if (cleared > 0 && cleared / 512) in nvdimm_account_cleared_poison()
211 nvdimm_clear_badblocks_regions(nvdimm_bus, phys, cleared); in nvdimm_account_cleared_poison()
266 nvdimm_account_cleared_poison(nvdimm_bus, phys, clear_err.cleared); in nvdimm_clear_poison()
268 return clear_err.cleared; in nvdimm_clear_poison()
950 end = clear_err->address + clear_err->cleared - 1; in nd_pmem_forget_poison_check()
1178 clear_err->cleared); in __nd_ioctl()