Lines Matching refs:clear_err
239 struct nd_cmd_clear_error clear_err; in nvdimm_clear_poison() local
274 memset(&clear_err, 0, sizeof(clear_err)); in nvdimm_clear_poison()
275 clear_err.address = phys; in nvdimm_clear_poison()
276 clear_err.length = len; in nvdimm_clear_poison()
278 rc = nd_desc->ndctl(nd_desc, NULL, ND_CMD_CLEAR_ERROR, &clear_err, in nvdimm_clear_poison()
279 sizeof(clear_err), &cmd_rc); in nvdimm_clear_poison()
286 nvdimm_account_cleared_poison(nvdimm_bus, phys, clear_err.cleared); in nvdimm_clear_poison()
288 return clear_err.cleared; in nvdimm_clear_poison()
845 struct nd_cmd_clear_error *clear_err = in nd_pmem_forget_poison_check() local
857 start = clear_err->address; in nd_pmem_forget_poison_check()
858 end = clear_err->address + clear_err->cleared - 1; in nd_pmem_forget_poison_check()
1047 struct nd_cmd_clear_error *clear_err = buf; in __nd_ioctl() local
1049 nvdimm_account_cleared_poison(nvdimm_bus, clear_err->address, in __nd_ioctl()
1050 clear_err->cleared); in __nd_ioctl()