| /illumos-gate/usr/src/cmd/tnf/tnfdump/ |
| H A D | table.c | 41 static int table_size = 0; /* max number of elements */ variable 54 table_size = num_entries; 55 table_start = malloc(table_size * sizeof (struct entry)); 60 table_size += num_entries; 61 temp = realloc(table_start, table_size * sizeof (struct entry)); 87 if (table_cur >= table_size) { 97 return (table_size);
|
| /illumos-gate/usr/src/lib/cfgadm_plugins/sata/common/ |
| H A D | cfga_rcm.c | 193 size_t table_size = 0; local 249 table_size = (2 + tuples) * (width + 1) + 2; 252 *table = calloc(table_size, sizeof (char)); 257 newtable = realloc(*table, strlen(*table) + table_size);
|
| /illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/ |
| H A D | cfga_rcm.c | 260 size_t table_size = 0; local 309 table_size = (2 + tuples) * (width + 1) + 2; 312 *table = calloc(table_size, sizeof (char)); 316 newtable = realloc(*table, strlen(*table) + table_size);
|
| /illumos-gate/usr/src/lib/cfgadm_plugins/usb/common/ |
| H A D | cfga_rcm.c | 213 size_t table_size = 0; local 271 table_size = (2 + tuples) * (width + 1) + 2; 274 *table = calloc(table_size, sizeof (char)); 281 newtable = realloc(*table, strlen(*table) + table_size);
|
| /illumos-gate/usr/src/lib/cfgadm_plugins/ib/common/ |
| H A D | cfga_rcm.c | 261 size_t table_size = 0; local 318 table_size = (2 + tuples) * (width + 1) + 2; 320 *table = malloc(table_size); 322 newtable = realloc(*table, strlen(*table) + table_size);
|
| /illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
| H A D | smb_ht.c | 89 ht_create_table(size_t table_size, size_t key_size, size_t flags) argument 95 if ((table_size == 0) || (key_size == 0)) 98 if (ht_is_power2(table_size) == 0) 101 msize = sizeof (HT_HANDLE) + (sizeof (HT_TABLE_ENTRY) * table_size); 108 ht->ht_table_size = table_size; 109 ht->ht_table_mask = table_size - 1; 119 for (i = 0; i < table_size; i++)
|
| /illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/ |
| H A D | cfga_rcm.c | 488 size_t table_size = 0; local 539 table_size = (2 + tuples) * (width + 1) + 2; 541 *table = malloc(table_size); 543 newtable = realloc(*table, strlen(*table) + table_size);
|
| /illumos-gate/usr/src/uts/common/inet/ip/ |
| H A D | ip6_asp.c | 241 size_t table_size; local 262 table_size = iocp->ioc_count; 265 table_size = iocp->ioc_count; 268 ip6_asp_replace(mp, table, table_size, B_TRUE, ipst,
|
| H A D | ip_if.c | 7770 size_t table_size; local 7790 table_size = iocp->ioc_count; 7810 table_size = iocp->ioc_count; 7815 iocp->ioc_rval = ip6_asp_get(table, table_size, ipst); 7823 int count = table_size / sizeof (ip6_asp_t); 7858 ip6_asp_replace(mp, table, table_size, B_FALSE, ipst,
|
| /illumos-gate/usr/src/lib/udapl/udapl_tavor/common/ |
| H A D | dapl_hash.c | 348 * Create a new hash table with at least 'table_size' hash buckets. 352 IN DAT_COUNT table_size, 357 DAT_COUNT table_length = table_size * sizeof (DAPL_HASH_ELEM); 374 p_table->tbl_size = table_size; 386 for (i = 0; i < table_size; i++) { 351 dapls_hash_create( IN DAT_COUNT table_size, IN DAT_BOOLEAN locking_required, OUT DAPL_HASH_TABLE **pp_table) argument
|
| /illumos-gate/usr/src/lib/libxcurses/src/tic/ |
| H A D | ticparse.c | 54 int table_size = 0; /* current string_table size */ variable 414 if (table_size == 0) 418 table_size = 1024; 420 table_size); 423 while (table_size < next_free + strlen(string)) 425 if ((string_table = realloc(string_table, table_size + 1024)) 428 table_size += 1024; 429 DEBUG(5, "Extended string table. Size now %d\n", table_size);
|
| /illumos-gate/usr/src/cmd/sendmail/db/include/ |
| H A D | lock.h | 50 u_int32_t table_size; /* size of hash table */ member in struct:__db_lockregion
|
| /illumos-gate/usr/src/cmd/tic/ |
| H A D | tic_parse.c | 108 unsigned int table_size = 0; /* current string_table size */ variable 758 if (table_size == 0) { 761 table_size = 1024; 763 table_size); 766 while (table_size <= next_free + strlen(string)) { 767 if ((string_table = realloc(string_table, table_size + 1024)) 770 table_size += 1024; 771 DEBUG(5, "Extended string table. Size now %u\n", table_size);
|
| /illumos-gate/usr/src/cmd/oawk/ |
| H A D | b.c | 829 insert_table(ccl_chars_t *table_base, int table_size, int ns, wchar_t cs, argument 846 for (i = 0, table = table_base; i < table_size; i++, table++) { 856 table_size++; 857 for (; i < table_size; i++, table++) { 882 return (table_size); 898 table_size++; 908 if ((i + 1) >= table_size) { 911 return (table_size); 922 for (; i < table_size; i++, table++) { 944 saved_i = table_size 967 delete_table(ccl_chars_t *table_base, int table_size, int ns, wchar_t cs, int ne, wchar_t ce) argument [all...] |
| /illumos-gate/usr/src/cmd/drd/ |
| H A D | drd_rcm.c | 1111 size_t table_size = 0; local 1160 table_size = (2 + tuples) * (width + 1) + 2; 1163 table = calloc(table_size, sizeof (char));
|
| /illumos-gate/usr/src/cmd/make/bin/ |
| H A D | ar.cc | 568 int table_size; local 591 &table_size) != 1) { 594 *long_names_table = (char *) malloc(table_size); 596 if (fread(*long_names_table, table_size, 1, arp->fd) != 1) {
|
| /illumos-gate/usr/src/lib/cfgadm_plugins/shp/common/ |
| H A D | shp.c | 416 size_t table_size = 0; local 465 table_size = (2 + tuples) * (width + 1) + 2; 468 *table = calloc(table_size, sizeof (char)); 472 newtable = realloc(*table, strlen(*table) + table_size);
|
| /illumos-gate/usr/src/lib/cfgadm_plugins/pci/common/ |
| H A D | cfga.c | 396 size_t table_size = 0; local 445 table_size = (2 + tuples) * (width + 1) + 2; 448 *table = calloc(table_size, sizeof (char)); 452 newtable = realloc(*table, strlen(*table) + table_size);
|
| /illumos-gate/usr/src/cmd/geniconvtbl/ |
| H A D | itm_util.c | 378 itm_size_t table_size; local 404 table_size = ((sizeof (itm_tbl_hdr_t)) + 406 table_size = ITMROUNDUP(table_size); 408 table = malloc_vital(table_size); 412 table->size = table_size; 444 itm_size_t table_size; local 464 table_size = ((sizeof (itm_tbl_hdr_t)) + 467 table_size = ITMROUNDUP(table_size); 960 itm_size_t table_size; local 1144 itm_size_t table_size; local 1297 itm_size_t table_size; local 1603 itm_size_t table_size; local [all...] |
| /illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
| H A D | lm_sp.c | 2490 * - given table_size is promised to be power of 2 (promised by NDIS), 2497 * @param chain_indirection_table - array of size @table_size containing chain numbers 2498 * @param table_size - size of @indirection_table 2512 u32_t table_size, u8_t *hash_key, u32_t key_size, lm_rss_hash_t hash_type, 2567 (table_size is promised to be power of 2) */ 2568 params.rss_result_mask = (u8_t)table_size - 1; 2576 for (i = 0; i < table_size; i++) 2511 lm_enable_rss(struct _lm_device_t *pdev, u8_t *chain_indirection_table, u32_t table_size, u8_t *hash_key, u32_t key_size, lm_rss_hash_t hash_type, u8 sync_with_toe, void * cookie) argument
|
| /illumos-gate/usr/src/uts/intel/io/agpgart/ |
| H A D | agpgart.c | 2236 size_t table_size; local 2251 table_size = num_pages * (sizeof (uint32_t)); 2271 table_size, 2286 table_size,
|
| /illumos-gate/usr/src/uts/common/sys/ib/adapters/hermon/ |
| H A D | hermon.h | 921 * The total number of ICM spans is equal to table_size / span_size. We also 931 uint64_t table_size; member in struct:hermon_icm_table_s
|
| /illumos-gate/usr/src/uts/common/io/ixgbe/ |
| H A D | ixgbe_main.c | 2952 uint32_t table_size; local 2964 table_size = 128; 2971 table_size = 512; 2988 for (i = 0, j = 0; i < table_size; i++, j++) {
|
| /illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/ |
| H A D | lm_l4sp.c | 6257 * @param table_size - size of table above 6266 u32_t table_size, u8_t enable) 6300 for (j = 0; j < TOE_INDIRECTION_TABLE_SIZE/table_size; j++) 6302 for (i = 0; i < table_size; i++) 6306 if (pdev->toe_info.indirection_table[(j*table_size)+i] != value) { 6307 pdev->toe_info.indirection_table[(j*table_size)+i] = value; 6265 lm_tcp_update_rss(struct _lm_device_t * pdev, u8_t * chain_indirection_table, u32_t table_size, u8_t enable) argument
|