/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/ |
H A D | metaMechManager.c | 130 CK_ULONG slotnum, num_slots; in meta_mechManager_get_mechs() local 134 num_slots = meta_slotManager_get_slotcount(); in meta_mechManager_get_mechs() 145 for (slotnum = 0; slotnum < num_slots; slotnum++) { in meta_mechManager_get_mechs() 168 for (j = 0; j < num_slots; j++) { in meta_mechManager_get_mechs() 218 CK_ULONG i, num_slots; in meta_mechManager_get_slots() local 235 num_slots = meta_slotManager_get_slotcount(); in meta_mechManager_get_slots() 236 for (i = 0; i < num_slots; i++) { in meta_mechManager_get_slots() 283 CK_ULONG slot, num_slots; in meta_mechManager_update_mech() local 305 num_slots = meta_slotManager_get_slotcount(); in meta_mechManager_update_mech() 306 for (slot = 0; slot < num_slots; slot++) { in meta_mechManager_update_mech()
|
H A D | metaSlotManager.c | 53 static CK_ULONG num_slots; variable 113 num_slots = slot_count; in meta_slotManager_initialize() 123 num_slots = 0; in meta_slotManager_initialize() 148 for (slot = 0; slot < num_slots; slot++) { in meta_slotManager_finalize() 185 num_slots = 0; in meta_slotManager_finalize() 231 for (slot = 0; slot < num_slots; slot++) { in meta_slotManager_find_object_token() 383 return (num_slots); in meta_slotManager_get_slotcount() 445 if (slotnum >= num_slots) { in meta_get_slot_session()
|
H A D | metaObject.c | 229 CK_ULONG num_slots = meta_slotManager_get_slotcount(); in meta_CreateObject() local 231 for (slot_num = 0; slot_num < num_slots; slot_num++) { in meta_CreateObject() 353 CK_ULONG slotnum, num_slots; in meta_CopyObject() local 465 num_slots = meta_slotManager_get_slotcount(); in meta_CopyObject() 468 for (slotnum = 0; slotnum < num_slots; slotnum++) { in meta_CopyObject() 732 CK_ULONG slotnum, num_slots; in meta_SetAttributeValue() local 781 num_slots = meta_slotManager_get_slotcount(); in meta_SetAttributeValue() 800 clone_failed_op = calloc(num_slots, sizeof (boolean_t)); in meta_SetAttributeValue() 805 for (slotnum = 0; slotnum < num_slots; slotnum++) { in meta_SetAttributeValue() 842 for (slotnum = 0; slotnum < num_slots; slotnum++) { in meta_SetAttributeValue() [all …]
|
H A D | metaObjectManager.c | 226 CK_ULONG num_slots; in meta_object_alloc() local 233 num_slots = meta_slotManager_get_slotcount(); in meta_object_alloc() 235 new_object->clones = calloc(num_slots, sizeof (slot_object_t *)); in meta_object_alloc() 241 new_object->tried_create_clone = calloc(num_slots, sizeof (boolean_t)); in meta_object_alloc() 552 CK_ULONG slotnum, num_slots; in meta_object_dealloc() local 556 num_slots = meta_slotManager_get_slotcount(); in meta_object_dealloc() 557 for (slotnum = 0; slotnum < num_slots; slotnum++) { in meta_object_dealloc()
|
/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | dwarf_xu_index.c | 208 Dwarf_Unsigned num_slots = 0; in dwarf_get_xu_index_header() local 272 READ_UNALIGNED_CK(dbg,num_slots, Dwarf_Unsigned, in dwarf_get_xu_index_header() 277 (num_slots * HASHSIGNATURELEN); in dwarf_get_xu_index_header() 279 if (num_slots > sect->dss_size) { in dwarf_get_xu_index_header() 290 "which is clearly wrong",num_slots ); in dwarf_get_xu_index_header() 297 if ( (4*num_slots) > sect->dss_size) { in dwarf_get_xu_index_header() 308 "which is clearly wrong",num_slots*4); in dwarf_get_xu_index_header() 318 (num_slots *datalen32); in dwarf_get_xu_index_header() 398 indexptr->gx_slots_in_hash = num_slots; in dwarf_get_xu_index_header()
|
/illumos-gate/usr/src/uts/intel/io/hotplug/pcicfg/ |
H A D | pcicfg.c | 3776 uint_t new_bus, num_slots; in pcicfg_probe_bridge() local 4341 num_slots = pcicfg_get_nslots(new_child, h); in pcicfg_probe_bridge() 4347 "I/O=0x%lx PF_mem=%x%lx\n", num_slots, mem_end, io_end, pf_mem_end); in pcicfg_probe_bridge() 4365 if (num_slots) { in pcicfg_probe_bridge() 4367 (num_slots * pcicfg_slot_memsize); in pcicfg_probe_bridge() 4369 (num_slots * pcicfg_slot_iosize); in pcicfg_probe_bridge() 4371 (num_slots * pcicfg_slot_pf_memsize); in pcicfg_probe_bridge() 4373 (num_slots * pcicfg_slot_busnums); in pcicfg_probe_bridge() 4378 PRIx64 ")", num_slots, mem_answer, mem_end); in pcicfg_probe_bridge() 4382 num_slots, io_answer, io_end); in pcicfg_probe_bridge() [all …]
|
/illumos-gate/usr/src/lib/libprtdiag/common/ |
H A D | io.c | 595 char **slot_name_arr, int num_slots) in populate_slot_name_arr() argument 614 for (i = 1; i < num_slots; i++) { in populate_slot_name_arr() 623 for (i = 0; i < num_slots; i++) { in populate_slot_name_arr()
|
/illumos-gate/usr/src/uts/sun4/io/ |
H A D | pcicfg.c | 574 uint8_t num_slots = 0; in pcicfg_get_nslots() local 585 num_slots = config & 0x1F; in pcicfg_get_nslots() 591 num_slots = PCI_CAPSLOT_NSLOTS(esr_reg); in pcicfg_get_nslots() 600 num_slots = 1; in pcicfg_get_nslots() 604 ddi_get_name(dip), ddi_get_instance(dip), num_slots); in pcicfg_get_nslots() 606 return (num_slots); in pcicfg_get_nslots() 4900 uint_t new_bus, num_slots; in pcicfg_probe_bridge() local 5363 num_slots = pcicfg_get_nslots(new_child, h); in pcicfg_probe_bridge() 5368 "Mem=0x%lx I/O=0x%lx\n", num_slots, mem_end, io_end); in pcicfg_probe_bridge() 5386 if (num_slots) { in pcicfg_probe_bridge() [all …]
|
/illumos-gate/usr/src/lib/libprtdiag/inc/ |
H A D | libprtdiag.h | 112 char **slot_name_arr, int num_slots);
|