Home
last modified time | relevance | path

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

12

/freebsd/contrib/ncurses/ncurses/tinfo/
H A Dcomp_hash.c68 && (unsigned) hashvalue < data->table_size in NCURSES_EXPORT()
79 + data->table_data[data->table_size]); in NCURSES_EXPORT()
103 && (unsigned) hashvalue < data->table_size in _nc_find_type_entry()
114 ptr = table + (ptr->nte_link + data->table_data[data->table_size]); in _nc_find_type_entry()
133 && (unsigned) hashvalue < data->table_size in _nc_find_user_entry()
144 + data->table_data[data->table_size]); in _nc_find_user_entry()
/freebsd/contrib/flex/src/
H A Dsym.c64 int table_size);
73 static int addsym (char sym[], char *str_def, int int_def, hash_table table, int table_size) in addsym() argument
75 int hash_val = hashfunct (sym, table_size); in addsym()
138 static struct hash_entry *findsym (const char *sym, hash_table table, int table_size) in findsym() argument
145 table[hashfunct (sym, table_size)]; in findsym()
/freebsd/usr.sbin/bhyve/
H A Dpci_passthru.c213 int i, ptr, capptr, cap, sts, caplen, table_size; in cfginitmsi() local
287 pi->pi_msix.table = calloc(1, table_size); in cfginitmsi()
468 uint32_t table_size, table_offset; in init_msix_table() local
500 table_size = pi->pi_msix.table_offset - table_offset; in init_msix_table()
502 table_size = roundup2(table_size, 4096); in init_msix_table()
513 if (table_offset + table_size != pi->pi_msix.mapped_size) in init_msix_table()
1187 uint32_t table_size, table_offset; in passthru_msix_addr() local
1208 table_size = pi->pi_msix.table_offset - table_offset; in passthru_msix_addr()
1210 table_size = roundup2(table_size, 4096); in passthru_msix_addr()
1213 address += table_offset + table_size; in passthru_msix_addr()
[all …]
H A Dpci_emul.c1208 int i, table_size; in pci_msix_table_init() local
1213 table_size = table_entries * MSIX_TABLE_ENTRY_SIZE; in pci_msix_table_init()
1214 pi->pi_msix.table = calloc(1, table_size); in pci_msix_table_init()
/freebsd/lib/libiconv_modules/mapper_std/
H A Dcitrus_mapper_std.c249 uint64_t table_size; in rowcol_init() local
313 table_size = lz->width; in rowcol_init()
316 table_size *= lz->width; in rowcol_init()
318 table_size *= rc->rc_dst_unit_bits/8; in rowcol_init()
320 if (table_size > UINT32_MAX || in rowcol_init()
321 _region_size(&rc->rc_table) < table_size) in rowcol_init()
/freebsd/contrib/less/
H A Dposition.c25 static int table_size = 0; variable
104 if (sc_height <= table_size) in pos_init()
117 table_size = sc_height; in pos_init()
/freebsd/contrib/xz/src/liblzma/lzma/
H A Dlzma_encoder.c80 const uint32_t table_size = lc->table_size; in length_update_prices() local
81 lc->counters[pos_state] = table_size; in length_update_prices()
90 for (i = 0; i < table_size && i < LEN_LOW_SYMBOLS; ++i) in length_update_prices()
94 for (; i < table_size && i < LEN_LOW_SYMBOLS + LEN_MID_SYMBOLS; ++i) in length_update_prices()
98 for (; i < table_size; ++i) in length_update_prices()
655 coder->match_len_encoder.table_size in lzma_lzma_encoder_create()
657 coder->rep_len_encoder.table_size in lzma_lzma_encoder_create()
H A Dlzma_encoder_private.h47 uint32_t table_size; member
/freebsd/usr.bin/mkcsmapper/
H A Dyacc.y68 static size_t table_size; variable
249 table_size = p->width; in alloc_table()
252 table_size *= p->width; in alloc_table()
254 table = (void *)malloc(table_size * dst_unit_bits / 8); in alloc_table()
270 for (i = 0; i < table_size; i++) in alloc_table()
387 _region_init(&data, table, table_size*dst_unit_bits/8); in dump_file()
/freebsd/sys/dev/mthca/
H A Dmthca_mcg.c318 int table_size = dev->limits.num_mgms + dev->limits.num_amgms; in mthca_init_mcg_table() local
321 table_size, in mthca_init_mcg_table()
322 table_size - 1, in mthca_init_mcg_table()
/freebsd/sys/dev/mlx5/mlx5_core/
H A Dmlx5_eswitch.c276 int table_size; in esw_create_fdb_table() local
296 table_size = BIT(MLX5_CAP_ESW_FLOWTABLE_FDB(dev, log_max_ft_size)) - 2; in esw_create_fdb_table()
298 fdb = mlx5_create_flow_table(root_ns, 0, "FDB", table_size); in esw_create_fdb_table()
310 MLX5_SET(create_flow_group_in, flow_group_in, end_flow_index, table_size - 1); in esw_create_fdb_table()
613 int table_size = 2; in esw_vport_enable_egress_acl() local
633 acl = mlx5_create_vport_flow_table(root_ns, vport->vport, 0, table_name, table_size); in esw_vport_enable_egress_acl()
713 int table_size = 1; in esw_vport_enable_ingress_acl() local
733 acl = mlx5_create_vport_flow_table(root_ns, vport->vport, 0, table_name, table_size); in esw_vport_enable_ingress_acl()
/freebsd/sbin/camcontrol/
H A Dpersist.c441 size_t table_size = 0, id_len = 0; in scsipersist() local
524 table_size = sizeof(persist_in_actions) / in scsipersist()
529 table_size = sizeof(persist_out_actions) / in scsipersist()
540 status = scsi_get_nv(table, table_size, optarg, in scsipersist()
/freebsd/sys/dev/pst/
H A Dpst-iop.c323 if (!(sc->lct = malloc(reply->table_size * sizeof(struct i2o_lct_entry), in iop_get_lct()
329 reply->table_size * sizeof(struct i2o_lct_entry)); in iop_get_lct()
330 sc->lct_count = reply->table_size; in iop_get_lct()
H A Dpst-iop.h439 u_int32_t table_size:16; member
/freebsd/usr.sbin/bhyve/amd64/
H A Dpci_gvt-d-opregion.h181 uint16_t table_size; member
/freebsd/contrib/llvm-project/libcxx/include/__random/
H A Dshuffle_order_engine.h69 static _LIBCPP_CONSTEXPR const size_t table_size = __k;
177 _LIBCPP_CONSTEXPR const size_t shuffle_order_engine<_Engine, __k>::table_size;
/freebsd/contrib/ncurses/include/
H A Dtic.h203 unsigned table_size; member
/freebsd/crypto/openssl/crypto/ec/curve448/
H A Dcurve448.c557 unsigned int table_size = C448_SCALAR_BITS / (table_bits + 1) + 3; in recode_wnaf() local
558 int position = table_size - 1; /* at the end */ in recode_wnaf()
602 n = table_size - position; in recode_wnaf()
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_verbs.c1909 u32 table_size; in ib_create_rwq_ind_table() local
1914 table_size = (1 << init_attr->log_ind_tbl_size); in ib_create_rwq_ind_table()
1926 for (i = 0; i < table_size; i++) in ib_create_rwq_ind_table()
1940 u32 table_size = (1 << rwq_ind_table->log_ind_tbl_size); in ib_destroy_rwq_ind_table() local
1948 for (i = 0; i < table_size; i++) in ib_destroy_rwq_ind_table()
/freebsd/sys/contrib/zstd/doc/educational_decoder/
H A Dzstd_decompress.c1917 const size_t table_size = 1 << max_bits; in HUF_init_dtable() local
1919 table->symbols = malloc(table_size); in HUF_init_dtable()
1920 table->num_bits = malloc(table_size); in HUF_init_dtable()
1941 if (rank_idx[0] != table_size) { in HUF_init_dtable()
/freebsd/sys/contrib/alpine-hal/
H A Dal_hal_pcie.h563 uint16_t table_size; member
/freebsd/sys/dev/sfxge/
H A Dsfxge_rx.c82 TUNABLE_INT(SFXGE_LRO_PARAM(table_size), &lro_table_size);
83 SYSCTL_UINT(_hw_sfxge_lro, OID_AUTO, table_size, CTLFLAG_RDTUN,
1380 SFXGE_LRO_PARAM(table_size), lro_table_size); in sfxge_rx_init()
/freebsd/sys/kern/
H A Dkern_boottrace.c161 SYSCTL_UINT(_kern_boottrace, OID_AUTO, table_size,
/freebsd/sys/dev/qlnx/qlnxe/
H A Decore_l2.c501 int i, table_size; in ecore_sp_vport_update_rss() local
559 table_size = OSAL_MIN_T(int, ECORE_RSS_IND_TABLE_SIZE, in ecore_sp_vport_update_rss()
561 for (i = 0; i < table_size; i++) { in ecore_sp_vport_update_rss()
573 table_size); in ecore_sp_vport_update_rss()
H A Decore_vf.c1361 int i, table_size; in ecore_vf_pf_vport_update() local
1385 table_size = OSAL_MIN_T(int, T_ETH_INDIRECTION_TABLE_SIZE, in ecore_vf_pf_vport_update()
1387 for (i = 0; i < table_size; i++) { in ecore_vf_pf_vport_update()

12