Home
last modified time | relevance | path

Searched refs:table_size (Results 1 – 25 of 55) sorted by relevance

123

/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_index.cc57 table_size = 0; in db_index()
96 table_size = count = 0; in reset()
146 table_size = get_next_hashsize(table_size); in grow()
154 table_size = oldsize; in grow()
165 table_size = oldsize; in grow()
300 if (++count > table_size) in add()
351 table_size = count = 0; in db_index()
357 table_size = count = 0; in db_index()
372 *tsize = table_size; in stats()
402 table_size = orig->table_size; in move_xdr_db_index()
[all …]
H A Ddb_table.cc318 table_size = 0; in db_table()
432 long oldsize = table_size; in grow()
442 if (table_size > CALLOC_LIMIT) { in grow()
443 table_size = oldsize; in grow()
454 table_size = oldsize; in grow()
472 table_size = oldsize; in grow()
491 table_size = oldsize; in grow()
758 answer[0] = table_size; in stats()
963 else if (enumNum >= table_size) in setEnumMode()
964 enumNum = table_size; in setEnumMode()
[all …]
H A Ddb_table_c.x149 % long table_size;
225 % long getsize() { return table_size; }
/illumos-gate/usr/src/cmd/oawk/
H A Db.c854 table_size++; in insert_table()
880 return (table_size); in insert_table()
896 table_size++; in insert_table()
909 return (table_size); in insert_table()
950 table_size = saved_i; in insert_table()
958 return (table_size); in insert_table()
986 return (table_size); in delete_table()
994 return (table_size); in delete_table()
1004 table_size++; in delete_table()
1019 return (table_size); in delete_table()
[all …]
/illumos-gate/usr/src/cmd/geniconvtbl/
H A Ditm_util.c378 itm_size_t table_size; in range_table() local
406 table_size = ITMROUNDUP(table_size); in range_table()
444 itm_size_t table_size; in escseq_table() local
467 table_size = ITMROUNDUP(table_size); in escseq_table()
960 itm_size_t table_size; in map_table_indexed_fixed() local
1000 table_size = ITMROUNDUP(table_size); in map_table_indexed_fixed()
1144 itm_size_t table_size; in map_table_lookup_fixed() local
1165 table_size = ITMROUNDUP(table_size); in map_table_lookup_fixed()
1297 itm_size_t table_size; in map_table_hash() local
1425 table_size = ITMROUNDUP(table_size); in map_table_hash()
[all …]
/illumos-gate/usr/src/cmd/bhyve/
H A Dpci_passthru.c247 int i, ptr, capptr, cap, sts, caplen, table_size; in cfginitmsi() local
318 pi->pi_msix.table = calloc(1, table_size); in cfginitmsi()
496 uint32_t table_size, table_offset; in init_msix_table() local
532 table_size = pi->pi_msix.table_offset - table_offset; in init_msix_table()
534 table_size = roundup2(table_size, 4096); in init_msix_table()
545 if (table_offset + table_size != pi->pi_msix.mapped_size) in init_msix_table()
1072 uint32_t table_size, table_offset; in passthru_msix_addr() local
1087 table_size = pi->pi_msix.table_offset - table_offset; in passthru_msix_addr()
1089 table_size = roundup2(table_size, 4096); in passthru_msix_addr()
1092 address += table_offset + table_size; in passthru_msix_addr()
[all …]
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_ht.c87 ht_create_table(size_t table_size, size_t key_size, size_t flags) in ht_create_table() argument
93 if ((table_size == 0) || (key_size == 0)) in ht_create_table()
96 if (ht_is_power2(table_size) == 0) in ht_create_table()
99 msize = sizeof (HT_HANDLE) + (sizeof (HT_TABLE_ENTRY) * table_size); in ht_create_table()
106 ht->ht_table_size = table_size; in ht_create_table()
107 ht->ht_table_mask = table_size - 1; in ht_create_table()
117 for (i = 0; i < table_size; i++) in ht_create_table()
/illumos-gate/usr/src/uts/common/sys/tsol/
H A Dtndb.h312 #define TSOL_ADDR_HASH(addr, table_size) \ argument
314 % (table_size))
316 #define TSOL_ADDR_HASH_V6(addr, table_size) \ argument
319 (addr).s6_addr8[14] ^ (addr).s6_addr8[15]) % (table_size))
322 #define TSOL_ADDR_MASK_HASH_V6(addr, mask, table_size) \ argument
328 ((addr).s6_addr8[15] & (mask).s6_addr8[15])) & ((table_size) - 1))
/illumos-gate/usr/src/cmd/tic/
H A Dtic_parse.c108 unsigned int table_size = 0; /* current string_table size */ variable
766 if (table_size == 0) { in save_str()
769 table_size = 1024; in save_str()
771 table_size); in save_str()
774 while (table_size <= next_free + strlen(string)) { in save_str()
775 if ((string_table = realloc(string_table, table_size + 1024)) in save_str()
778 table_size += 1024; in save_str()
779 DEBUG(5, "Extended string table. Size now %u\n", table_size); in save_str()
/illumos-gate/usr/src/lib/cfgadm_plugins/sata/common/
H A Dcfga_rcm.c191 size_t table_size = 0; in sata_rcm_info_table() local
247 table_size = (2 + tuples) * (width + 1) + 2; in sata_rcm_info_table()
250 *table = calloc(table_size, sizeof (char)); in sata_rcm_info_table()
255 newtable = realloc(*table, strlen(*table) + table_size); in sata_rcm_info_table()
/illumos-gate/usr/src/lib/cfgadm_plugins/ib/common/
H A Dcfga_rcm.c258 size_t table_size = 0; in ib_rcm_info_table() local
315 table_size = (2 + tuples) * (width + 1) + 2; in ib_rcm_info_table()
317 *table = malloc(table_size); in ib_rcm_info_table()
319 newtable = realloc(*table, strlen(*table) + table_size); in ib_rcm_info_table()
/illumos-gate/usr/src/lib/cfgadm_plugins/usb/common/
H A Dcfga_rcm.c210 size_t table_size = 0; in usb_rcm_info_table() local
268 table_size = (2 + tuples) * (width + 1) + 2; in usb_rcm_info_table()
271 *table = calloc(table_size, sizeof (char)); in usb_rcm_info_table()
278 newtable = realloc(*table, strlen(*table) + table_size); in usb_rcm_info_table()
/illumos-gate/usr/src/cmd/mdb/common/modules/disk_label/
H A Ddisk_label.c416 size_t table_size; in cmd_gpt() local
544 table_size = header->efi_gpt_SizeOfPartitionEntry * in cmd_gpt()
551 if (table_size > EFI_MIN_ARRAY_SIZE) { in cmd_gpt()
552 mdb_warn("Skipping GPT array of %#lx bytes.\n", table_size); in cmd_gpt()
556 table_size = P2ROUNDUP(table_size, sector_size); in cmd_gpt()
557 gpet = mdb_alloc(table_size, UM_SLEEP | UM_GC); in cmd_gpt()
559 if (mdb_vread(gpet, table_size, in cmd_gpt()
/illumos-gate/usr/src/uts/common/inet/
H A Dip_ire.h50 #define IRE_ADDR_HASH(addr, table_size) \ argument
52 ((table_size) - 1))
58 #define IRE_ADDR_HASH_V6(addr, table_size) \ argument
59 IRE_ADDR_HASH((addr).s6_addr32[3], table_size)
66 #define IRE_ADDR_MASK_HASH_V6(addr, mask, table_size) \ argument
76 ((addr).s6_addr8[15] & (mask).s6_addr8[15])) & ((table_size) - 1))
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_rcm.c260 size_t table_size = 0; in scsi_rcm_info_table() local
309 table_size = (2 + tuples) * (width + 1) + 2; in scsi_rcm_info_table()
312 *table = calloc(table_size, sizeof (char)); in scsi_rcm_info_table()
316 newtable = realloc(*table, strlen(*table) + table_size); in scsi_rcm_info_table()
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip6_asp.c262 size_t table_size; in ip6_asp_check_for_updates() local
283 table_size = iocp->ioc_count; in ip6_asp_check_for_updates()
286 table_size = iocp->ioc_count; in ip6_asp_check_for_updates()
289 ip6_asp_replace(mp, table, table_size, B_TRUE, ipst, in ip6_asp_check_for_updates()
/illumos-gate/usr/src/lib/iconv_modules/common/
H A Dtab_lookup.c88 idx = bisearch(search_val, st, st->table_size); in _icv_iconv_lu()
141 idx = bisearch(search_val, st, st->table_size); in _icv_iconv_lu()
H A Dtab_lookup.h44 int table_size; /* no of lookup records */ member
/illumos-gate/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_hash.c352 IN DAT_COUNT table_size, in dapls_hash_create() argument
357 DAT_COUNT table_length = table_size * sizeof (DAPL_HASH_ELEM); in dapls_hash_create()
374 p_table->tbl_size = table_size; in dapls_hash_create()
386 for (i = 0; i < table_size; i++) { in dapls_hash_create()
/illumos-gate/usr/src/cmd/sendmail/db/lock/
H A Dlock.c183 list[i].obj, sh_obj, lt->region->table_size,
410 links, sh_obj, lt->region->table_size, __lock_lhash);
684 dbt, sh_obj, lrp->table_size, __lock_ohash, __lock_cmp);
803 lrp->table_size, __lock_ohash, __lock_cmp);
807 sh_obj, lrp->table_size, __lock_locker_hash,
860 __db_lockobj, links, sh_obj, lrp->table_size, __lock_lhash);
916 __db_lockobj, links, obj, lt->region->table_size, __lock_lhash);
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_rcm.c488 size_t table_size = 0; in fp_rcm_info_table() local
539 table_size = (2 + tuples) * (width + 1) + 2; in fp_rcm_info_table()
541 *table = malloc(table_size); in fp_rcm_info_table()
543 newtable = realloc(*table, strlen(*table) + table_size); in fp_rcm_info_table()
/illumos-gate/usr/src/lib/iconv_modules/zh/common/
H A Dzh_CN-cp935%UTF-8.c53 st->table_size = MAX_UCS_NUM; in _icv_open()
H A Dzh_TW-cp937%UTF-8.c54 st->table_size = MAX_UCS_NUM; in _icv_open()
H A DUTF-8%zh_CN-cp935.c53 st->table_size = MAX_UCS_NUM; in _icv_open()
H A DUTF-8%zh_TW-cp937.c54 st->table_size = MAX_UCS_NUM; in _icv_open()

123