/Linux-v5.10/tools/testing/nvdimm/test/ |
D | nfit.c | 574 int *cmd_rc) in nfit_test_cmd_ars_start() argument 582 *cmd_rc = -EBUSY; in nfit_test_cmd_ars_start() 588 *cmd_rc = 0; in nfit_test_cmd_ars_start() 597 int *cmd_rc) in nfit_test_cmd_ars_status() argument 607 *cmd_rc = -EBUSY; in nfit_test_cmd_ars_status() 611 *cmd_rc = 0; in nfit_test_cmd_ars_status() 619 unsigned int buf_len, int *cmd_rc) in nfit_test_cmd_clear_error() argument 631 *cmd_rc = 0; in nfit_test_cmd_clear_error() 1353 unsigned int buf_len, int *cmd_rc) in nfit_test_ctl() argument 1360 if (!cmd_rc) in nfit_test_ctl() [all …]
|
/Linux-v5.10/drivers/nvdimm/ |
D | dimm_devs.c | 68 int cmd_rc = 0; in nvdimm_init_nsarea() local 79 ND_CMD_GET_CONFIG_SIZE, cmd, sizeof(*cmd), &cmd_rc); in nvdimm_init_nsarea() 82 return cmd_rc; in nvdimm_init_nsarea() 90 int rc = validate_dimm(ndd), cmd_rc = 0; in nvdimm_get_config_data() local 115 ND_CMD_GET_CONFIG_DATA, cmd, cmd_size, &cmd_rc); in nvdimm_get_config_data() 118 if (cmd_rc < 0) { in nvdimm_get_config_data() 119 rc = cmd_rc; in nvdimm_get_config_data() 136 int rc = validate_dimm(ndd), cmd_rc = 0; in nvdimm_set_config_data() local 163 ND_CMD_SET_CONFIG_DATA, cmd, cmd_size, &cmd_rc); in nvdimm_set_config_data() 166 if (cmd_rc < 0) { in nvdimm_set_config_data() [all …]
|
D | bus.c | 234 int cmd_rc, rc; in nvdimm_clear_poison() local 252 sizeof(ars_cap), &cmd_rc); in nvdimm_clear_poison() 256 if (cmd_rc < 0) in nvdimm_clear_poison() 257 return cmd_rc; in nvdimm_clear_poison() 270 sizeof(clear_err), &cmd_rc); in nvdimm_clear_poison() 274 if (cmd_rc < 0) in nvdimm_clear_poison() 275 return cmd_rc; in nvdimm_clear_poison() 1021 int rc, i, cmd_rc; in __nd_ioctl() local 1167 rc = nd_desc->ndctl(nd_desc, nvdimm, cmd, buf, buf_len, &cmd_rc); in __nd_ioctl() 1171 if (!nvdimm && cmd == ND_CMD_CLEAR_ERROR && cmd_rc >= 0) { in __nd_ioctl()
|
/Linux-v5.10/arch/powerpc/platforms/pseries/ |
D | papr_scm.c | 733 unsigned int buf_len, int *cmd_rc) in papr_scm_ndctl() argument 747 if (!cmd_rc) in papr_scm_ndctl() 748 cmd_rc = &rc; in papr_scm_ndctl() 759 *cmd_rc = 0; in papr_scm_ndctl() 763 *cmd_rc = papr_scm_meta_get(p, buf); in papr_scm_ndctl() 767 *cmd_rc = papr_scm_meta_set(p, buf); in papr_scm_ndctl() 772 *cmd_rc = papr_scm_service_pdsm(p, call_pkg); in papr_scm_ndctl() 780 dev_dbg(&p->pdev->dev, "returned with cmd_rc = %d\n", *cmd_rc); in papr_scm_ndctl()
|
/Linux-v5.10/include/linux/ |
D | libnvdimm.h | 74 unsigned int buf_len, int *cmd_rc); 313 unsigned int buf_len, int *cmd_rc) in nvdimm_ctl() argument 318 return nd_desc->ndctl(nd_desc, nvdimm, cmd, buf, buf_len, cmd_rc); in nvdimm_ctl()
|
/Linux-v5.10/drivers/acpi/nfit/ |
D | core.c | 436 unsigned int cmd, void *buf, unsigned int buf_len, int *cmd_rc) in acpi_nfit_ctl() argument 452 if (cmd_rc) in acpi_nfit_ctl() 453 *cmd_rc = -EINVAL; in acpi_nfit_ctl() 588 if (cmd_rc) in acpi_nfit_ctl() 589 *cmd_rc = 0; in acpi_nfit_ctl() 632 if (cmd_rc) in acpi_nfit_ctl() 633 *cmd_rc = xlat_status(nvdimm, buf, cmd, in acpi_nfit_ctl() 643 if (cmd_rc) in acpi_nfit_ctl() 644 *cmd_rc = xlat_status(nvdimm, buf, cmd, fw_status); in acpi_nfit_ctl() 2707 int cmd_rc, rc; in ars_get_cap() local [all …]
|
D | nfit.h | 376 unsigned int cmd, void *buf, unsigned int buf_len, int *cmd_rc);
|