Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/cfgadm_plugins/pci/common/
H A Dcfga.c272 get_occupants(const char *ap_id, hpc_occupant_info_t *occupant) in get_occupants() argument
323 occupant->i = 0; in get_occupants()
324 occupant->id[0] = NULL; in get_occupants()
329 for (occupant->i = 0; occupant->i < rv; occupant->i++) { in get_occupants()
330 if (occupant->i >= (HPC_MAX_OCCUPANTS - 1)) { in get_occupants()
331 occupant->i--; in get_occupants()
334 occupant->id[occupant->i] = (char *)malloc( in get_occupants()
336 (void) snprintf(occupant->id[occupant->i], strlen(prop_data) + in get_occupants()
338 DBG(1, ("%s\n", occupant->id[occupant->i])); in get_occupants()
343 occupant->id[occupant->i] = NULL; in get_occupants()
[all …]
/titanic_41/usr/src/uts/common/io/pciex/hotplug/
H A Dpcie_hp.c474 pcie_hp_occupant_info_t *occupant; in pcie_hp_create_occupant_props() local
499 occupant = kmem_alloc(sizeof (pcie_hp_occupant_info_t), KM_SLEEP); in pcie_hp_create_occupant_props()
500 occupant->i = 0; in pcie_hp_create_occupant_props()
506 cn_cfg.cn_private = (void *)occupant; in pcie_hp_create_occupant_props()
511 if (occupant->i == 0) { in pcie_hp_create_occupant_props()
518 occupant->id, occupant->i); in pcie_hp_create_occupant_props()
521 for (i = 0; i < occupant->i; i++) in pcie_hp_create_occupant_props()
522 kmem_free(occupant->id[i], sizeof (char[MAXPATHLEN])); in pcie_hp_create_occupant_props()
524 kmem_free(occupant, sizeof (pcie_hp_occupant_info_t)); in pcie_hp_create_occupant_props()
1117 pcie_hp_occupant_info_t *occupant = in pcie_hp_list_occupants() local
[all …]
/titanic_41/usr/src/uts/common/io/cardbus/
H A Dcardbus_hp.c593 hpc_occupant_info_t *occupant = (hpc_occupant_info_t *)hdl; in cardbus_list_occupants() local
605 occupant->id[occupant->i] = kmem_alloc(strlen(pn) + 1, KM_SLEEP); in cardbus_list_occupants()
606 (void) strcpy(occupant->id[occupant->i], pn); in cardbus_list_occupants()
608 occupant->i++; in cardbus_list_occupants()
620 hpc_occupant_info_t occupant; in create_occupant_props() local
624 occupant.i = 0; in create_occupant_props()
628 (void *)&occupant); in create_occupant_props()
631 if (occupant.i == 0) { in create_occupant_props()
638 "create_occupant_props: %d occupant\n", occupant.i); in create_occupant_props()
640 occupant.id, occupant.i); in create_occupant_props()
[all …]
/titanic_41/usr/src/uts/common/io/hotplug/pcihp/
H A Dpcihp.c174 hpc_occupant_info_t *occupant; member
655 if (ctrl->occupant->i >= HPC_MAX_OCCUPANTS) { in pcihp_list_occupants()
667 ctrl->occupant->id[ctrl->occupant->i] = in pcihp_list_occupants()
670 (char *)ctrl->occupant->id[ctrl->occupant->i]); in pcihp_list_occupants()
671 ctrl->occupant->i++; in pcihp_list_occupants()
685 hpc_occupant_info_t *occupant; in pcihp_create_occupant_props_nolock() local
688 occupant = kmem_alloc(sizeof (hpc_occupant_info_t), KM_SLEEP); in pcihp_create_occupant_props_nolock()
689 occupant->i = 0; in pcihp_create_occupant_props_nolock()
696 ctrl.occupant = occupant; in pcihp_create_occupant_props_nolock()
701 if (occupant->i == 0) { in pcihp_create_occupant_props_nolock()
[all …]
/titanic_41/usr/src/cmd/look/
H A Dwords16013 occupant
/titanic_41/usr/src/cmd/spell/
H A Dlist16011 occupant