Home
last modified time | relevance | path

Searched refs:occupant (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/lib/cfgadm_plugins/pci/common/
H A Dcfga.c267 get_occupants(const char *ap_id, hpc_occupant_info_t *occupant) in get_occupants() argument
318 occupant->i = 0; in get_occupants()
319 occupant->id[0] = NULL; in get_occupants()
324 for (occupant->i = 0; occupant->i < rv; occupant->i++) { in get_occupants()
325 if (occupant->i >= (HPC_MAX_OCCUPANTS - 1)) { in get_occupants()
326 occupant->i--; in get_occupants()
329 occupant->id[occupant->i] = (char *)malloc( in get_occupants()
331 (void) snprintf(occupant->id[occupant->i], strlen(prop_data) + in get_occupants()
333 DBG(1, ("%s\n", occupant->id[occupant->i])); in get_occupants()
338 occupant->id[occupant->i] = NULL; in get_occupants()
[all …]
/illumos-gate/usr/src/uts/common/io/pciex/hotplug/
H A Dpcie_hp.c476 pcie_hp_occupant_info_t *occupant; in pcie_hp_create_occupant_props() local
501 occupant = kmem_alloc(sizeof (pcie_hp_occupant_info_t), KM_SLEEP); in pcie_hp_create_occupant_props()
502 occupant->i = 0; in pcie_hp_create_occupant_props()
508 cn_cfg.cn_private = (void *)occupant; in pcie_hp_create_occupant_props()
513 if (occupant->i == 0) { in pcie_hp_create_occupant_props()
520 occupant->id, occupant->i); in pcie_hp_create_occupant_props()
523 for (i = 0; i < occupant->i; i++) in pcie_hp_create_occupant_props()
524 kmem_free(occupant->id[i], sizeof (char[MAXPATHLEN])); in pcie_hp_create_occupant_props()
526 kmem_free(occupant, sizeof (pcie_hp_occupant_info_t)); in pcie_hp_create_occupant_props()
1119 pcie_hp_occupant_info_t *occupant = in pcie_hp_list_occupants() local
[all …]
/illumos-gate/usr/src/uts/common/io/cardbus/
H A Dcardbus_hp.c597 hpc_occupant_info_t *occupant = (hpc_occupant_info_t *)hdl; in cardbus_list_occupants() local
609 occupant->id[occupant->i] = kmem_alloc(strlen(pn) + 1, KM_SLEEP); in cardbus_list_occupants()
610 (void) strcpy(occupant->id[occupant->i], pn); in cardbus_list_occupants()
612 occupant->i++; in cardbus_list_occupants()
624 hpc_occupant_info_t occupant; in create_occupant_props() local
627 occupant.i = 0; in create_occupant_props()
631 (void *)&occupant); in create_occupant_props()
634 if (occupant.i == 0) { in create_occupant_props()
641 "create_occupant_props: %d occupant\n", occupant.i); in create_occupant_props()
643 occupant.id, occupant.i); in create_occupant_props()
[all …]
/illumos-gate/usr/src/uts/common/io/hotplug/pcihp/
H A Dpcihp.c178 hpc_occupant_info_t *occupant; member
659 if (ctrl->occupant->i >= HPC_MAX_OCCUPANTS) { in pcihp_list_occupants()
671 ctrl->occupant->id[ctrl->occupant->i] = in pcihp_list_occupants()
674 (char *)ctrl->occupant->id[ctrl->occupant->i]); in pcihp_list_occupants()
675 ctrl->occupant->i++; in pcihp_list_occupants()
689 hpc_occupant_info_t *occupant; in pcihp_create_occupant_props_nolock() local
692 occupant = kmem_alloc(sizeof (hpc_occupant_info_t), KM_SLEEP); in pcihp_create_occupant_props_nolock()
693 occupant->i = 0; in pcihp_create_occupant_props_nolock()
700 ctrl.occupant = occupant; in pcihp_create_occupant_props_nolock()
705 if (occupant->i == 0) { in pcihp_create_occupant_props_nolock()
[all …]
/illumos-gate/usr/src/cmd/spell/
H A Dlist16009 occupant
/illumos-gate/usr/src/cmd/look/
H A Dwords16011 occupant