Home
last modified time | relevance | path

Searched refs:table_size (Results 1 – 25 of 55) sorted by last modified time

123

/illumos-gate/usr/src/cmd/bhyve/
H A Dpci_emul.c1159 int i, table_size; in pci_msix_table_init() local
1164 table_size = table_entries * MSIX_TABLE_ENTRY_SIZE; in pci_msix_table_init()
1165 pi->pi_msix.table = calloc(1, table_size); in pci_msix_table_init()
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/cfgadm_plugins/pci/common/
H A Dcfga.c391 size_t table_size = 0; in pci_rcm_info_table() local
440 table_size = (2 + tuples) * (width + 1) + 2; in pci_rcm_info_table()
443 *table = calloc(table_size, sizeof (char)); in pci_rcm_info_table()
447 newtable = realloc(*table, strlen(*table) + table_size); in pci_rcm_info_table()
/illumos-gate/usr/src/lib/cfgadm_plugins/shp/common/
H A Dshp.c416 size_t table_size = 0; in pci_rcm_info_table() local
465 table_size = (2 + tuples) * (width + 1) + 2; in pci_rcm_info_table()
468 *table = calloc(table_size, sizeof (char)); in pci_rcm_info_table()
472 newtable = realloc(*table, strlen(*table) + table_size); in pci_rcm_info_table()
/illumos-gate/usr/src/uts/common/io/bnx/570x/driver/common/lmdev/
H A Dbnx_lm_main.c4817 u32_t table_size, in lm_enable_rss() argument
4858 if(table_size > RSS_INDIRECTION_TABLE_SIZE) in lm_enable_rss()
4860 table_size = RSS_INDIRECTION_TABLE_SIZE; in lm_enable_rss()
4934 for(idx = 0; idx < table_size; idx++) in lm_enable_rss()
4948 rss_update->rss_table_size = (u16_t) table_size; in lm_enable_rss()
5016 u32_t table_size, in lm_enable_rss() argument
5059 if(table_size > RSS_INDIRECTION_TABLE_SIZE) in lm_enable_rss()
5061 table_size = RSS_INDIRECTION_TABLE_SIZE; in lm_enable_rss()
5135 pdev->rx_info.rss_tbl_size = table_size; in lm_enable_rss()
5138 for(idx = 0; idx < table_size; idx++) in lm_enable_rss()
[all …]
H A Dlm5706.h1191 u32_t table_size,
1202 u32_t table_size,
/illumos-gate/usr/src/uts/common/io/ixgbe/
H A Dixgbe_main.c3072 uint32_t table_size; in ixgbe_setup_rss_table() local
3084 table_size = 128; in ixgbe_setup_rss_table()
3092 table_size = 512; in ixgbe_setup_rss_table()
3109 for (i = 0, j = 0; i < table_size; i++, j++) { in ixgbe_setup_rss_table()
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_if.c7775 size_t table_size; in ip_sioctl_ip6addrpolicy() local
7795 table_size = iocp->ioc_count; in ip_sioctl_ip6addrpolicy()
7815 table_size = iocp->ioc_count; in ip_sioctl_ip6addrpolicy()
7820 iocp->ioc_rval = ip6_asp_get(table, table_size, ipst); in ip_sioctl_ip6addrpolicy()
7828 int count = table_size / sizeof (ip6_asp_t); in ip_sioctl_ip6addrpolicy()
7863 ip6_asp_replace(mp, table, table_size, B_FALSE, ipst, in ip_sioctl_ip6addrpolicy()
/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/lib/libnisdb/
H A Ddb_table_c.x149 % long table_size;
225 % long getsize() { return table_size; }
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dmemcache.c108 typedef int (*HashFuncPtr)(int table_size, void *key);
234 static int msgid_hashf(int table_size, void *key);
241 static int attrkey_hashf(int table_size, void *key);
1845 msgid_hashf(int table_size, void *key)
1848 return (((code << 20) + (code >> 12)) % table_size);
2041 attrkey_hashf(int table_size, void *key)
2043 return ((*((unsigned long*)key)) % table_size);
/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/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/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/cmd/sendmail/db/lock/
H A Dlock_region.c189 lrp->table_size = __db_tablesize(lrp->maxlocks);
225 nelements = lrp->table_size;
601 "table size", (u_long)lrp->table_size,
620 for (i = 0; i < lrp->table_size; i++) {
/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/uts/common/smbsrv/
H A Dhash_table.h152 extern HT_HANDLE *ht_create_table(size_t table_size, size_t key_size,
/illumos-gate/usr/src/uts/common/sys/ib/adapters/hermon/
H A Dhermon.h930 uint64_t table_size; member
/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/uts/common/io/qede/579xx/drivers/ecore/
H A Decore_l2.c488 int i, table_size; in ecore_sp_vport_update_rss() local
547 table_size = OSAL_MIN_T(int, ECORE_RSS_IND_TABLE_SIZE, in ecore_sp_vport_update_rss()
549 for (i = 0; i < table_size; i++) { in ecore_sp_vport_update_rss()
561 table_size); in ecore_sp_vport_update_rss()
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_rsrc.c914 rsrc_pool->rsrc_pool_size = state->hs_icm[i].table_size; in hermon_rsrc_init_phase2()
915 rsrc_pool->rsrc_align = state->hs_icm[i].table_size; in hermon_rsrc_init_phase2()
H A Dhermon.c2936 if (icm_p[j]->table_size > icm_p[j - 1]->table_size) { in hermon_icm_config_setup()
2960 if (icm[j].table_size) { in hermon_icm_config_setup()
2970 icm[j].table_size); in hermon_icm_config_setup()
2972 icm_size += icm[j].table_size; in hermon_icm_config_setup()
2989 uint64_t cmpt_size = icm[j].table_size >> 2; in hermon_icm_config_setup()
2999 icm_addr += icm[j].table_size; in hermon_icm_config_setup()
3200 "num_spans (0x%x)", dep, icm[dep].table_size, \
3224 icm[i].table_size = icm[i].num_entries << in hermon_icm_tables_init()
3231 icm[i].table_size = 0x80000000ull; in hermon_icm_tables_init()
3275 icm[i].table_size = max(icm[i].table_size, HERMON_PAGESIZE); in hermon_icm_tables_init()
[all …]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/include/
H A Dlm.h772 u32_t table_size, u8_t *hash_key, u32_t key_size, lm_rss_hash_t hash_type,
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/include/
H A Dlm_l4if.h311 u32_t table_size, u8_t enable);
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/
H A Dlm_l4sp.c6266 u32_t table_size, u8_t enable) in lm_tcp_update_rss() argument
6300 for (j = 0; j < TOE_INDIRECTION_TABLE_SIZE/table_size; j++) in lm_tcp_update_rss()
6302 for (i = 0; i < table_size; i++) in lm_tcp_update_rss()
6306 if (pdev->toe_info.indirection_table[(j*table_size)+i] != value) { in lm_tcp_update_rss()
6307 pdev->toe_info.indirection_table[(j*table_size)+i] = value; in lm_tcp_update_rss()

123