Home
last modified time | relevance | path

Searched refs:npa_ctrl (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/nvmeadm/
H A Dnvmeadm.c443 nvme_ctrl_t *ctrl = npa->npa_ctrl; in nvmeadm_ctrl_vwarn()
448 nvme_ctrl_errmsg(ctrl), nvme_ctrl_errtostr(npa->npa_ctrl, in nvmeadm_ctrl_vwarn()
564 } else if (npa->npa_ctrl != NULL) { in nvmeadm_cleanup_npa()
565 nvme_ctrl_unlock(npa->npa_ctrl); in nvmeadm_cleanup_npa()
584 if (npa->npa_ctrl != NULL) { in nvmeadm_cleanup_npa()
585 nvme_ctrl_fini(npa->npa_ctrl); in nvmeadm_cleanup_npa()
586 npa->npa_ctrl = NULL; in nvmeadm_cleanup_npa()
605 ret = nvme_ctrl_lock(npa->npa_ctrl, level, flags); in nvmeadm_excl()
612 if (nvme_ctrl_err(npa->npa_ctrl) != NVME_ERR_LOCK_WOULD_BLOCK) { in nvmeadm_excl()
625 ret = nvme_ctrl_lock(npa->npa_ctrl, level, flags); in nvmeadm_excl()
[all …]
H A Dnvmeadm_wdc.c156 if (!nvme_wdc_e6_req_init(npa->npa_ctrl, &req)) { in do_wdc_e6dump()
290 if (!nvme_wdc_resize_get(npa->npa_ctrl, &val)) { in do_wdc_resize()
300 if (!nvme_wdc_resize_set(npa->npa_ctrl, resize->wr_set)) { in do_wdc_resize()
323 if (!nvme_wdc_assert_inject(npa->npa_ctrl)) { in do_wdc_inject_assert()
343 if (!nvme_wdc_assert_clear(npa->npa_ctrl)) { in do_wdc_clear_assert()
H A Dnvmeadm.h70 nvme_ctrl_t *npa_ctrl; member