Home
last modified time | relevance | path

Searched refs:devctl_hdl (Results 1 – 4 of 4) sorted by relevance

/titanic_41/usr/src/lib/cfgadm_plugins/usb/common/
H A Dcfga_usb.c503 cleanup_after_devctl_cmd(devctl_hdl_t devctl_hdl, nvlist_t *user_nvlist) in cleanup_after_devctl_cmd() argument
508 if (devctl_hdl != NULL) { in cleanup_after_devctl_cmd()
509 devctl_release(devctl_hdl); in cleanup_after_devctl_cmd()
515 setup_for_devctl_cmd(const char *ap_id, devctl_hdl_t *devctl_hdl, in setup_for_devctl_cmd() argument
524 if ((*devctl_hdl = devctl_ap_acquire((char *)ap_id, oflag)) == NULL) { in setup_for_devctl_cmd()
558 cleanup_after_devctl_cmd(*devctl_hdl, *user_nvlistp); in setup_for_devctl_cmd()
853 reset_device(devctl_hdl_t devctl_hdl, nvlist_t *nvl) in reset_device() argument
863 if (devctl_ap_disconnect(devctl_hdl, nvl) != 0) { in reset_device()
873 if (devctl_ap_configure(devctl_hdl, nvl) != 0) { in reset_device()
1470 devctl_hdl_t devctl_hdl = NULL; in cfga_list_ext() local
[all …]
/titanic_41/usr/src/lib/cfgadm_plugins/sata/common/
H A Dcfga_sata.c228 setup_for_devctl_cmd(const char *ap_id, devctl_hdl_t *devctl_hdl,
240 cleanup_after_devctl_cmd(devctl_hdl_t devctl_hdl, nvlist_t *user_nvlist);
1424 devctl_hdl_t devctl_hdl = NULL; in cfga_list_ext() local
1448 if ((rv = setup_for_devctl_cmd(ap_id, &devctl_hdl, &user_nvlist, in cfga_list_ext()
1454 if (devctl_ap_getstate(devctl_hdl, user_nvlist, in cfga_list_ext()
1456 cleanup_after_devctl_cmd(devctl_hdl, user_nvlist); in cfga_list_ext()
1461 cleanup_after_devctl_cmd(devctl_hdl, user_nvlist); in cfga_list_ext()
1887 cleanup_after_devctl_cmd(devctl_hdl_t devctl_hdl, nvlist_t *user_nvlist) in cleanup_after_devctl_cmd() argument
1892 if (devctl_hdl != NULL) { in cleanup_after_devctl_cmd()
1893 devctl_release(devctl_hdl); in cleanup_after_devctl_cmd()
[all …]
/titanic_41/usr/src/lib/cfgadm_plugins/ib/common/
H A Dcfga_ib.c579 ib_cleanup_after_devctl_cmd(devctl_hdl_t devctl_hdl, nvlist_t *user_nvlist) in ib_cleanup_after_devctl_cmd() argument
585 if (devctl_hdl != NULL) { in ib_cleanup_after_devctl_cmd()
586 devctl_release(devctl_hdl); in ib_cleanup_after_devctl_cmd()
617 devctl_hdl_t *devctl_hdl, nvlist_t **user_nvlistp) in ib_setup_for_devctl_cmd() argument
622 if ((*devctl_hdl = devctl_ap_acquire(apid, NULL)) == NULL) { in ib_setup_for_devctl_cmd()
625 ib_cleanup_after_devctl_cmd(*devctl_hdl, *user_nvlistp); in ib_setup_for_devctl_cmd()
634 ib_cleanup_after_devctl_cmd(*devctl_hdl, *user_nvlistp); in ib_setup_for_devctl_cmd()
642 ib_cleanup_after_devctl_cmd(*devctl_hdl, *user_nvlistp); in ib_setup_for_devctl_cmd()
/titanic_41/usr/src/lib/libdevice/
H A Ddevctl.c55 struct devctl_hdl { struct
62 #define DCP(x) ((struct devctl_hdl *)(x)) argument
64 static int dc_cmd(uint_t, uint_t, struct devctl_hdl *, nvlist_t *, void *);
230 struct devctl_hdl *dcp; in dc_mkhndl()
1327 dc_cmd(uint_t cmd, uint_t flags, struct devctl_hdl *dcp, nvlist_t *ulp, in dc_cmd()