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

/illumos-gate/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) argument
508 if (devctl_hdl != NULL) {
509 devctl_release(devctl_hdl);
515 setup_for_devctl_cmd(const char *ap_id, devctl_hdl_t *devctl_hdl, argument
524 if ((*devctl_hdl = devctl_ap_acquire((char *)ap_id, oflag)) == NULL) {
558 cleanup_after_devctl_cmd(*devctl_hdl, *user_nvlistp);
853 reset_device(devctl_hdl_t devctl_hdl, nvlist_t *nvl) argument
863 if (devctl_ap_disconnect(devctl_hdl, nvl) != 0) {
873 if (devctl_ap_configure(devctl_hdl, nvl) != 0) {
1470 devctl_hdl_t devctl_hdl local
[all...]
/illumos-gate/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; local
1448 if ((rv = setup_for_devctl_cmd(ap_id, &devctl_hdl, &user_nvlist,
1454 if (devctl_ap_getstate(devctl_hdl, user_nvlist,
1456 cleanup_after_devctl_cmd(devctl_hdl, user_nvlist);
1461 cleanup_after_devctl_cmd(devctl_hdl, user_nvlist);
1887 cleanup_after_devctl_cmd(devctl_hdl_t devctl_hdl, nvlist_t *user_nvlist) argument
1892 if (devctl_hdl != NULL) {
1893 devctl_release(devctl_hdl);
1898 setup_for_devctl_cmd( const char *ap_id, devctl_hdl_t *devctl_hdl, nvlist_t **user_nvlistp, uint_t oflag) argument
[all...]
/illumos-gate/usr/src/lib/cfgadm_plugins/ib/common/
H A Dcfga_ib.c568 * devctl_hdl - Handler to devctl
579 ib_cleanup_after_devctl_cmd(devctl_hdl_t devctl_hdl, nvlist_t *user_nvlist) argument
585 if (devctl_hdl != NULL) {
586 devctl_release(devctl_hdl);
598 * devctl_hdl - Handler to devctl
604 * sets up a devctl_hdl and allocates a nvlist_t. The devctl_hdl
617 devctl_hdl_t *devctl_hdl, nvlist_t **user_nvlistp)
622 if ((*devctl_hdl = devctl_ap_acquire(apid, NULL)) == NULL) {
625 ib_cleanup_after_devctl_cmd(*devctl_hdl, *user_nvlist
616 ib_setup_for_devctl_cmd(char *ap_id, boolean_t use_static_ap_id, devctl_hdl_t *devctl_hdl, nvlist_t **user_nvlistp) argument
[all...]
/illumos-gate/usr/src/lib/libdevice/
H A Ddevctl.c52 * devctl_hdl structures are allocated by the devctl_XX_acquire()
55 struct devctl_hdl { struct
62 #define DCP(x) ((struct devctl_hdl *)(x))
64 static int dc_cmd(uint_t, uint_t, struct devctl_hdl *, nvlist_t *, void *);
76 * release a devctl_hdl structure
224 * allocate and initalize the devctl_hdl structure for the
230 struct devctl_hdl *dcp;
1327 dc_cmd(uint_t cmd, uint_t flags, struct devctl_hdl *dcp, nvlist_t *ulp,

Completed in 71 milliseconds