Home
last modified time | relevance | path

Searched refs:devctl_hdl_t (Results 1 – 23 of 23) sorted by relevance

/illumos-gate/usr/src/lib/libdevice/
H A Dlibdevice.h41 typedef struct devctl_dummy_struct *devctl_hdl_t; typedef
45 devctl_hdl_t
48 devctl_hdl_t
51 devctl_hdl_t
54 devctl_hdl_t
57 devctl_hdl_t
61 devctl_release(devctl_hdl_t hdl);
64 devctl_device_offline(devctl_hdl_t hdl);
67 devctl_device_remove(devctl_hdl_t hdl);
70 devctl_pm_raisepower(devctl_hdl_t hdl);
[all …]
H A Ddevctl.c63 static devctl_hdl_t dc_mkhndl(dc_type_t, char *, uint_t, devctl_hdl_t);
77 devctl_release(devctl_hdl_t hdl) in devctl_release()
103 devctl_hdl_t
126 devctl_hdl_t
150 devctl_hdl_t
178 devctl_hdl_t
202 devctl_hdl_t
225 static devctl_hdl_t
226 dc_mkhndl(dc_type_t type, char *path, uint_t oflags, devctl_hdl_t pc) in dc_mkhndl()
250 devctl_release((devctl_hdl_t)dcp); in dc_mkhndl()
[all …]
/illumos-gate/usr/src/cmd/devctl/
H A Ddevctl.c101 int (*cmdf)(devctl_hdl_t);
109 static int dev_getstate(devctl_hdl_t);
110 static int bus_getstate(devctl_hdl_t);
111 static int bus_devcreate(devctl_hdl_t);
118 static int dev_pm_testbusy(devctl_hdl_t);
119 static int bus_pm_teststrict(devctl_hdl_t);
187 devctl_hdl_t dcp; in main()
337 dev_pm_testbusy(devctl_hdl_t dcp) in dev_pm_testbusy()
351 bus_pm_teststrict(devctl_hdl_t dcp) in bus_pm_teststrict()
366 dev_getstate(devctl_hdl_t dcp) in dev_getstate()
[all …]
/illumos-gate/usr/src/cmd/th_tools/
H A Dth_manage.c271 devctl_hdl_t dcp; in online_device()
288 devctl_hdl_t dcp; in offline_device()
304 devctl_hdl_t dcp; in getstate_device()
/illumos-gate/usr/src/lib/cfgadm_plugins/ib/common/
H A Dcfga_ib.c53 static void ib_cleanup_after_devctl_cmd(devctl_hdl_t, nvlist_t *);
55 devctl_hdl_t *, nvlist_t **);
56 static cfga_ib_ret_t ib_device_configured(devctl_hdl_t, nvlist_t *,
58 static cfga_ib_ret_t ib_device_connected(devctl_hdl_t, nvlist_t *,
580 ib_cleanup_after_devctl_cmd(devctl_hdl_t devctl_hdl, nvlist_t *user_nvlist) in ib_cleanup_after_devctl_cmd()
618 devctl_hdl_t *devctl_hdl, nvlist_t **user_nvlistp) in ib_setup_for_devctl_cmd()
668 ib_device_configured(devctl_hdl_t hdl, nvlist_t *nvl, ap_rstate_t *rstate) in ib_device_configured()
706 ib_device_connected(devctl_hdl_t hdl, nvlist_t *list, ap_ostate_t *ostate) in ib_device_connected()
871 devctl_hdl_t hdl = NULL; in cfga_change_state()
1063 devctl_hdl_t hdl = NULL; in cfga_private_func()
/illumos-gate/usr/src/lib/cfgadm_plugins/usb/common/
H A Dcfga_usb.c504 cleanup_after_devctl_cmd(devctl_hdl_t devctl_hdl, nvlist_t *user_nvlist) in cleanup_after_devctl_cmd()
516 setup_for_devctl_cmd(const char *ap_id, devctl_hdl_t *devctl_hdl, in setup_for_devctl_cmd()
569 device_configured(devctl_hdl_t hdl, nvlist_t *nvl, ap_rstate_t *rstate) in device_configured()
594 device_connected(devctl_hdl_t hdl, nvlist_t *list, ap_ostate_t *ostate) in device_connected()
854 reset_device(devctl_hdl_t devctl_hdl, nvlist_t *nvl) in reset_device()
1041 devctl_hdl_t hdl = NULL; in cfga_change_state()
1251 devctl_hdl_t hdl = NULL; in cfga_private_func()
1494 devctl_hdl_t devctl_hdl = NULL; in cfga_list_ext()
/illumos-gate/usr/src/lib/cfgadm_plugins/pci/common/
H A Dcfga.c579 devctl_hdl_t dcp; in cfga_change_state()
609 devctl_release((devctl_hdl_t)dcp); in cfga_change_state()
794 devctl_release((devctl_hdl_t)dcp); in cfga_change_state()
1496 devctl_hdl_t dcp; in cfga_list_ext()
1542 devctl_release((devctl_hdl_t)dcp); in cfga_list_ext()
1564 devctl_release((devctl_hdl_t)dcp); in cfga_list_ext()
1580 devctl_release((devctl_hdl_t)dcp); in cfga_list_ext()
1608 devctl_release((devctl_hdl_t)dcp); in cfga_list_ext()
1613 devctl_release((devctl_hdl_t)dcp); in cfga_list_ext()
/illumos-gate/usr/src/lib/cfgadm_plugins/sata/common/
H A Dcfga_sata.c230 setup_for_devctl_cmd(const char *ap_id, devctl_hdl_t *devctl_hdl,
234 port_state(devctl_hdl_t hdl, nvlist_t *list,
242 cleanup_after_devctl_cmd(devctl_hdl_t devctl_hdl, nvlist_t *user_nvlist);
581 devctl_hdl_t hdl = NULL; in cfga_change_state()
931 devctl_hdl_t hdl = NULL; in cfga_private_func()
1426 devctl_hdl_t devctl_hdl = NULL; in cfga_list_ext()
1887 cleanup_after_devctl_cmd(devctl_hdl_t devctl_hdl, nvlist_t *user_nvlist) in cleanup_after_devctl_cmd()
1900 devctl_hdl_t *devctl_hdl, in setup_for_devctl_cmd()
1966 port_state(devctl_hdl_t hdl, nvlist_t *list, in port_state()
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_utils.c52 int (*fcn)(const devctl_hdl_t);
58 int (*state_fcn)(const devctl_hdl_t, uint_t *);
952 devctl_hdl_t hdl = NULL; in devctl_cmd()
954 int (*func)(const devctl_hdl_t); in devctl_cmd()
955 int (*state_func)(const devctl_hdl_t, uint_t *); in devctl_cmd()
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_utils.c50 int (*fcn)(const devctl_hdl_t);
56 int (*state_fcn)(const devctl_hdl_t, uint_t *);
821 devctl_hdl_t hdl = NULL; in devctl_cmd()
823 int (*func)(const devctl_hdl_t); in devctl_cmd()
824 int (*state_func)(const devctl_hdl_t, uint_t *); in devctl_cmd()
H A Dcfga_cs.c70 devctl_hdl_t bus_hdl, dev_hdl; in do_devctl_dev_create()
344 devctl_hdl_t hdl; in lun_unconf()
/illumos-gate/usr/src/lib/storage/libg_fc/common/
H A Dhot.c349 devctl_hdl_t devhdl; in g_offline_drive()
392 devctl_hdl_t devhdl; in g_online_drive()
/illumos-gate/usr/src/cmd/zoneadmd/
H A Dzcons.c230 devctl_hdl_t hdl; in destroy_cb()
334 devctl_hdl_t bus_hdl = NULL; in init_console_dev()
335 devctl_hdl_t dev_hdl = NULL; in init_console_dev()
/illumos-gate/usr/src/cmd/luxadm/
H A Dfabric_conf.c281 devctl_hdl_t bus_handle, dev_handle; in create_ap_instance()
H A Dfchba.c2035 devctl_hdl_t dcp; in fchba_hotplug_e()
H A Dhotplug.c1266 devctl_hdl_t dcp; in hotplug_e()
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/cherrystone/psvcpolicy/
H A Dpsvcpolicy.c229 devctl_hdl_t bus_hdl = NULL; in create_i2c_node()
230 devctl_hdl_t dev_hdl = NULL; in create_i2c_node()
271 devctl_hdl_t dev_hdl; in delete_i2c_node()
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/mpxu/frudr/
H A Dpiclfrudr.c2499 devctl_hdl_t dhdl; in disk_leds_thread()
2850 devctl_hdl_t bus_hdl; in create_i2c_node()
2851 devctl_hdl_t dev_hdl; in create_i2c_node()
2903 devctl_hdl_t dev_hdl; in delete_i2c_node()
/illumos-gate/usr/src/lib/storage/liba5k/common/
H A Ddiag.c79 devctl_hdl_t devhdl; in d_offline_drive()
H A Dmon.c808 devctl_hdl_t devhdl; in l_dev_pwr_up_down()
999 devctl_hdl_t devhdl; in l_pho_pwr_up_down()
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/littleneck/psvcpolicy/
H A Dpsvcpolicy.c545 devctl_hdl_t bus_handle, dev_handle; in psvc_ps_hotplug_policy_0()
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/daktari/psvcpolicy/
H A Dpsvcpolicy.c1532 devctl_hdl_t bus_handle, dev_handle; in psvc_ps_hotplug_policy_0()
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lw8/frutree/
H A Dpiclfrutree.c3910 devctl_hdl_t dhdl; in set_disk_leds()