/illumos-gate/usr/src/cmd/hal/tools/ |
H A D | lshal.c | 209 dump_children (char *udi, int num_devices, struct Device *devices, int depth) in dump_children() argument 213 for (i = 0; i < num_devices; i++) { in dump_children() 241 dump_children(devices[i].name, num_devices, devices, depth + 1); in dump_children() 252 int num_devices; in dump_devices() local 259 device_names = libhal_get_all_devices (hal_ctx, &num_devices, &error); in dump_devices() 265 devices = malloc (sizeof(struct Device) * num_devices); in dump_devices() 271 for (i = 0;i < num_devices;i++) { in dump_devices() 287 num_devices); in dump_devices() 290 dump_children(NULL, num_devices, devices, 0); in dump_devices() 292 for (i = 0;i < num_devices;i++) { in dump_devices() [all …]
|
H A D | hal-device.c | 191 int num_devices; in dump_devices() local 213 if (!(device_names = libhal_get_all_devices(hal_ctx, &num_devices, &error))) { in dump_devices() 221 num_devices = 1; in dump_devices() 224 for(i = 0; i < num_devices; i++) { in dump_devices()
|
/illumos-gate/usr/src/lib/storage/libg_fc/common/ |
H A D | map.c | 1130 int num_devices = 0; in g_get_dev_list() local 1183 fcio.fcio_olen = sizeof (num_devices); in g_get_dev_list() 1185 fcio.fcio_obuf = (caddr_t)&num_devices; in g_get_dev_list() 1191 if (num_devices == 0) { in g_get_dev_list() 1197 if ((dlist = (fc_port_dev_t *)calloc(num_devices, in g_get_dev_list() 1207 fcio.fcio_olen = num_devices * sizeof (fc_port_dev_t); in g_get_dev_list() 1219 num_devices = new_count; in g_get_dev_list() 1221 if ((dlist = (fc_port_dev_t *)calloc(num_devices, in g_get_dev_list() 1230 fcio.fcio_olen = num_devices * sizeof (fc_port_dev_t); in g_get_dev_list() 1243 num_devices, new_count); in g_get_dev_list() [all …]
|
/illumos-gate/usr/src/cmd/hal/utils/ |
H A D | acpi.c | 616 int num_devices; in battery_update_all() local 625 (ctx, "info.category", "battery", &num_devices, &error)) != in battery_update_all() 627 for (i = 0; i < num_devices; i++) { in battery_update_all() 682 int num_devices; in ac_adapter_update_all() local 690 ctx, "info.category", "ac_adapter", &num_devices, &error)) != in ac_adapter_update_all() 692 for (i = 0; i < num_devices; i++) { in ac_adapter_update_all()
|
/illumos-gate/usr/src/lib/hal/libhal/common/ |
H A D | libhal.h | 241 char **libhal_get_all_devices (LibHalContext *ctx, int *num_devices, DBusError *error); 542 int *num_devices, 562 int *num_devices,
|
H A D | libhal.c | 1080 libhal_get_all_devices (LibHalContext *ctx, int *num_devices, DBusError *error) in libhal_get_all_devices() argument 1090 *num_devices = 0; in libhal_get_all_devices() 1125 hal_device_names = libhal_get_string_array_from_iter (&iter_array, num_devices); in libhal_get_all_devices() 2802 const char *value, int *num_devices, DBusError *error) in libhal_manager_find_device_string_match() argument 2853 hal_device_names = libhal_get_string_array_from_iter (&iter_array, num_devices); in libhal_manager_find_device_string_match() 2966 const char *capability, int *num_devices, DBusError *error) in libhal_find_device_by_capability() argument 3015 hal_device_names = libhal_get_string_array_from_iter (&iter_array, num_devices); in libhal_find_device_by_capability()
|
/illumos-gate/usr/src/lib/cfgadm_plugins/ib/common/ |
H A D | cfga_ib.c | 1647 size_t num_devices = 0; in cfga_list_ext() local 1685 IBNEX_NUM_DEVICE_NODES, 0, 0, 0, &num_devices)) != in cfga_list_ext() 1694 DPRINTF("cfga_list_ext: num_devices = %d\n", num_devices); in cfga_list_ext() 1711 if (!(num_hcas || num_devices)) { in cfga_list_ext() 1727 *nlistp = num_devices + 1; in cfga_list_ext() 1762 if (!expand || (!num_hcas && !num_devices)) { in cfga_list_ext() 1817 if (show_dynamic == 0 && index > num_devices) in cfga_list_ext()
|
/illumos-gate/usr/src/lib/sun_sas/common/ |
H A D | sun_sas.h | 164 int num_devices; member
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/impl/ |
H A D | fp.c | 8234 int num_devices; in fp_fciocmd() local 8236 if (fcio->fcio_olen != sizeof (num_devices) || in fp_fciocmd() 8246 num_devices = port->fp_total_devices; in fp_fciocmd() 8267 num_devices = port->fp_total_devices; in fp_fciocmd() 8276 num_devices = 0; in fp_fciocmd() 8282 if (fp_copyout((void *)&num_devices, in fp_fciocmd() 8295 int num_devices; in fp_fciocmd() local 8305 num_devices = fcio->fcio_olen / sizeof (fc_port_dev_t); in fp_fciocmd() 8308 if (num_devices < port->fp_total_devices) { in fp_fciocmd() 8457 num_devices = port->fp_total_devices; in fp_fciocmd() [all …]
|
/illumos-gate/usr/src/uts/sun4u/sys/ |
H A D | rmc_comm_hproto.h | 634 rsci8 num_devices; member
|
/illumos-gate/usr/src/uts/common/pcmcia/sys/ |
H A D | cis_handlers.h | 158 uint32_t num_devices; /* number of devices found */ member
|
/illumos-gate/usr/src/uts/common/pcmcia/cis/ |
H A D | cis_handlers.c | 459 dt->num_devices = 1; in cistpl_device_handler()
|
/illumos-gate/usr/src/uts/common/pcmcia/nexus/ |
H A D | pcmcia.c | 2682 for (ret = 0; ret < device.num_devices; ret++) { in pcmcia_get_mem_regs()
|