Searched defs:devctl_hdl (Results 1 - 4 of 4) sorted by relevance
/osnet-11/usr/src/lib/libdevice/ |
H A D | devctl.c | 48 * devctl_hdl structures are allocated by the devctl_XX_acquire() 51 struct devctl_hdl { struct 58 #define DCP(x) ((struct devctl_hdl *)(x)) 60 static int dc_cmd(uint_t, uint_t, struct devctl_hdl *, nvlist_t *, void *); 72 * release a devctl_hdl structure 220 * allocate and initalize the devctl_hdl structure for the 226 struct devctl_hdl *dcp; 1323 dc_cmd(uint_t cmd, uint_t flags, struct devctl_hdl *dcp, nvlist_t *ulp,
|
/osnet-11/usr/src/lib/cfgadm_plugins/ib/common/ |
H A D | cfga_ib.c | 568 * 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...] |
/osnet-11/usr/src/lib/cfgadm_plugins/sata/common/ |
H A D | cfga_sata.c | 227 setup_for_devctl_cmd(const char *ap_id, devctl_hdl_t *devctl_hdl, 239 cleanup_after_devctl_cmd(devctl_hdl_t devctl_hdl, nvlist_t *user_nvlist); 1436 devctl_hdl_t devctl_hdl = NULL; local 1460 if ((rv = setup_for_devctl_cmd(ap_id, &devctl_hdl, &user_nvlist, 1466 if (devctl_ap_getstate(devctl_hdl, user_nvlist, 1468 cleanup_after_devctl_cmd(devctl_hdl, user_nvlist); 1473 cleanup_after_devctl_cmd(devctl_hdl, user_nvlist); 1899 cleanup_after_devctl_cmd(devctl_hdl_t devctl_hdl, nvlist_t *user_nvlist) argument 1904 if (devctl_hdl != NULL) { 1905 devctl_release(devctl_hdl); 1910 setup_for_devctl_cmd( const char *ap_id, devctl_hdl_t *devctl_hdl, nvlist_t **user_nvlistp, uint_t oflag) argument [all...] |
/osnet-11/usr/src/lib/cfgadm_plugins/usb/common/ |
H A D | cfga_usb.c | 501 cleanup_after_devctl_cmd(devctl_hdl_t devctl_hdl, nvlist_t *user_nvlist) argument 506 if (devctl_hdl != NULL) { 507 devctl_release(devctl_hdl); 513 setup_for_devctl_cmd(const char *ap_id, devctl_hdl_t *devctl_hdl, argument 522 if ((*devctl_hdl = devctl_ap_acquire((char *)ap_id, oflag)) == NULL) { 556 cleanup_after_devctl_cmd(*devctl_hdl, *user_nvlistp); 851 reset_device(devctl_hdl_t devctl_hdl, nvlist_t *nvl) argument 861 if (devctl_ap_disconnect(devctl_hdl, nvl) != 0) { 871 if (devctl_ap_configure(devctl_hdl, nvl) != 0) { 1468 devctl_hdl_t devctl_hdl local [all...] |
Completed in 25 milliseconds