Lines Matching refs:clear_err
219 struct nd_cmd_clear_error clear_err; in nvdimm_clear_poison() local
254 memset(&clear_err, 0, sizeof(clear_err)); in nvdimm_clear_poison()
255 clear_err.address = phys; in nvdimm_clear_poison()
256 clear_err.length = len; in nvdimm_clear_poison()
258 rc = nd_desc->ndctl(nd_desc, NULL, ND_CMD_CLEAR_ERROR, &clear_err, in nvdimm_clear_poison()
259 sizeof(clear_err), &cmd_rc); in nvdimm_clear_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()
937 struct nd_cmd_clear_error *clear_err = in nd_pmem_forget_poison_check() local
949 start = clear_err->address; in nd_pmem_forget_poison_check()
950 end = clear_err->address + clear_err->cleared - 1; in nd_pmem_forget_poison_check()
1175 struct nd_cmd_clear_error *clear_err = buf; in __nd_ioctl() local
1177 nvdimm_account_cleared_poison(nvdimm_bus, clear_err->address, in __nd_ioctl()
1178 clear_err->cleared); in __nd_ioctl()