Home
last modified time | relevance | path

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

12

/src/contrib/jemalloc/src/ !
H A Dticker.py7 table_size = 2**lg_table_size variable
9 mul = math.floor(-byte_max/math.log(1 / table_size))
10 values = [round(-mul * math.log(i / table_size))
11 for i in range(1, table_size+1)]
14 for i in range(table_size // 8):
/src/contrib/ncurses/ncurses/tinfo/ !
H A Dcomp_hash.c67 && (unsigned) hashvalue < data->table_size in NCURSES_EXPORT()
78 + data->table_data[data->table_size]); in NCURSES_EXPORT()
102 && (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()
134 && (unsigned) hashvalue < data->table_size in _nc_find_user_entry()
145 + data->table_data[data->table_size]); in _nc_find_user_entry()
/src/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()
/src/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()
/src/usr.sbin/bhyve/ !
H A Dpci_passthru.c268 int i, ptr, capptr, cap, sts, caplen, table_size; in cfginitmsi() local
341 table_size = pi->pi_msix.table_count * MSIX_TABLE_ENTRY_SIZE; in cfginitmsi()
342 pi->pi_msix.table = calloc(1, table_size); in cfginitmsi()
523 uint32_t table_size, table_offset; in init_msix_table() local
555 table_size = pi->pi_msix.table_offset - table_offset; in init_msix_table()
556 table_size += pi->pi_msix.table_count * MSIX_TABLE_ENTRY_SIZE; in init_msix_table()
557 table_size = roundup2(table_size, 4096); in init_msix_table()
568 if (table_offset + table_size != pi->pi_msix.mapped_size) in init_msix_table()
570 pi->pi_msix.mapped_addr + table_offset + table_size, in init_msix_table()
571 pi->pi_msix.mapped_size - (table_offset + table_size), in init_msix_table()
[all …]
/src/contrib/less/ !
H A Dposition.c25 static int table_size = 0; variable
111 if (sc_height <= table_size) in pos_init()
124 table_size = sc_height; in pos_init()
/src/contrib/xz/src/liblzma/lzma/ !
H A Dlzma_encoder.c79 const uint32_t table_size = lc->table_size; in length_update_prices() local
80 lc->counters[pos_state] = table_size; in length_update_prices()
89 for (i = 0; i < table_size && i < LEN_LOW_SYMBOLS; ++i) in length_update_prices()
93 for (; i < table_size && i < LEN_LOW_SYMBOLS + LEN_MID_SYMBOLS; ++i) in length_update_prices()
97 for (; i < table_size; ++i) in length_update_prices()
654 coder->match_len_encoder.table_size in lzma_lzma_encoder_create()
656 coder->rep_len_encoder.table_size in lzma_lzma_encoder_create()
H A Dlzma_encoder_private.h46 uint32_t table_size; member
/src/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()
/src/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()
/src/sys/compat/linuxkpi/common/include/linux/platform_data/ !
H A Dbrcmfmac.h127 int table_size; member
/src/sys/dev/mlx5/mlx5_core/ !
H A Dmlx5_eswitch.c271 int table_size; in esw_create_fdb_table() local
291 table_size = BIT(MLX5_CAP_ESW_FLOWTABLE_FDB(dev, log_max_ft_size)) - 2; in esw_create_fdb_table()
294 ft_attr.max_fte = table_size; in esw_create_fdb_table()
307 MLX5_SET(create_flow_group_in, flow_group_in, end_flow_index, table_size - 1); in esw_create_fdb_table()
610 int table_size = 2; in esw_vport_enable_egress_acl() local
629 ft_attr.max_fte = table_size; in esw_vport_enable_egress_acl()
712 int table_size = 1; in esw_vport_enable_ingress_acl() local
731 ft_attr.max_fte = table_size; in esw_vport_enable_ingress_acl()
/src/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()
/src/sys/contrib/dev/broadcom/brcm80211/brcmfmac/ !
H A Dfirmware.h83 u32 table_size, struct brcmf_fw_name *fwnames,
H A Dof.c44 cc->table_size = count; in brcmf_of_get_country_codes()
H A Dfirmware.c824 u32 table_size, struct brcmf_fw_name *fwnames, in brcmf_fw_alloc_request() argument
839 for (i = 0; i < table_size; i++) { in brcmf_fw_alloc_request()
847 if (i == table_size) { in brcmf_fw_alloc_request()
/src/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()
/src/usr.sbin/bhyve/amd64/ !
H A Dpci_gvt-d-opregion.h181 uint16_t table_size; member
/src/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;
/src/contrib/ncurses/include/ !
H A Dtic.h203 unsigned table_size; member
/src/crypto/openssl/crypto/ec/curve448/ !
H A Dcurve448.c550 unsigned int table_size = C448_SCALAR_BITS / (table_bits + 1) + 3; in recode_wnaf() local
551 int position = table_size - 1; /* at the end */ in recode_wnaf()
602 n = table_size - position; in recode_wnaf()
/src/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()
/src/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()
/src/sys/contrib/alpine-hal/ !
H A Dal_hal_pcie.h563 uint16_t table_size; member
/src/sys/dev/sfxge/ !
H A Dsfxge_rx.c80 TUNABLE_INT(SFXGE_LRO_PARAM(table_size), &lro_table_size);
81 SYSCTL_UINT(_hw_sfxge_lro, OID_AUTO, table_size, CTLFLAG_RDTUN,
1366 SFXGE_LRO_PARAM(table_size), lro_table_size); in sfxge_rx_init()

12