Home
last modified time | relevance | path

Searched refs:device_list (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_list.c67 static scfga_devtype_t device_list[] = { variable
87 #define N_DEVICE_TYPES (sizeof (device_list) / sizeof (device_list[0]))
838 if (device_list[i].itype == DTYPE_UNKNOWN) in get_device_type()
840 if (itype == device_list[i].itype) { in get_device_type()
842 (char *)device_list[i].name : in get_device_type()
843 (char *)device_list[i].pathname; in get_device_type()
857 if (device_list[i].ntype && in get_device_type()
858 (strcmp(nodetype, device_list[i].ntype) in get_device_type()
861 (char *)device_list[i].name : in get_device_type()
862 (char *)device_list[i].pathname; in get_device_type()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Doptions.c151 struct device_list { struct
152 struct device_list *dl_next; argument
161 struct device_list *sl_dev; /* List of devices */ argument
197 struct device_list *ps_star; /* Wildcard device */
347 free_device_list(struct device_list *dlp) in free_device_list()
349 struct device_list *dln; in free_device_list()
535 struct device_list *dlp; in set_device()
536 struct device_list *dln; in set_device()
537 struct device_list **dlpp; in set_device()
570 dln = (struct device_list *)malloc(sizeof (*dln) + in set_device()
[all …]
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_list.c126 static fpcfga_devtype_t device_list[] = { variable
150 #define N_DEVICE_TYPES (sizeof (device_list) / sizeof (device_list[0]))
3006 if (inq_type == device_list[i].itype) { in init_ldata_for_accessible_dev()
3008 "%s", (char *)device_list[i].name); in init_ldata_for_accessible_dev()
3093 == device_list[j].itype) { in init_ldata_for_accessible_FCP_dev()
3094 (void) strlcpy(dtype, (char *)device_list[j].name, in init_ldata_for_accessible_FCP_dev()
3101 (char *)device_list[DTYPE_UNKNOWN_INDEX].name, in init_ldata_for_accessible_FCP_dev()
3332 if (strncmp((char *)clp->ap_type, (char *)device_list[i].name, in get_hw_info()
3387 if (itype == device_list[i].itype) { in get_device_type()
3388 name = (char *)device_list[i].name; in get_device_type()
[all …]
/illumos-gate/usr/src/uts/common/sys/ib/clients/of/sol_ofs/
H A Dsol_kverb_impl.h76 llist_head_t device_list; member
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ofs/
H A Dsol_kverbs.c118 list_for_each(entry, &ofs_client->device_list) { in get_device()
219 llist_add_tail(&device->list, &ofs_client->device_list); in ofs_async_handler()
351 llist_head_init(&ofs_client->device_list, NULL); in ib_register_client()
405 llist_add_tail(&device->list, &ofs_client->device_list); in ib_register_client()
453 list_for_each(entry, &ofs_client->device_list) { in ib_register_client()
474 list_for_each_safe(entry, tmp, &ofs_client->device_list) { in ib_register_client()
527 list_for_each(entry, &ofs_client->device_list) { in ib_unregister_client()
554 list_for_each_safe(entry, tmp, &ofs_client->device_list) { in ib_unregister_client()
632 list_for_each(entry, &ofs_client->device_list) { in ib_get_client_data()
684 list_for_each(entry, &ofs_client->device_list) { in ib_set_client_data()