Home
last modified time | relevance | path

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

12

/freebsd/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()
/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.c256 int i, ptr, capptr, cap, sts, caplen, table_size; in cfginitmsi() local
329 table_size = pi->pi_msix.table_count * MSIX_TABLE_ENTRY_SIZE; in cfginitmsi()
330 pi->pi_msix.table = calloc(1, table_size); in cfginitmsi()
511 uint32_t table_size, table_offset; in init_msix_table() local
543 table_size = pi->pi_msix.table_offset - table_offset; in init_msix_table()
544 table_size += pi->pi_msix.table_count * MSIX_TABLE_ENTRY_SIZE; in init_msix_table()
545 table_size = roundup2(table_size, 4096); in init_msix_table()
556 if (table_offset + table_size != pi->pi_msix.mapped_size) in init_msix_table()
558 pi->pi_msix.mapped_addr + table_offset + table_size, in init_msix_table()
559 pi->pi_msix.mapped_size - (table_offset + table_size), in init_msix_table()
[all …]
H A Dpci_emul.c1229 int i, table_size; in pci_msix_table_init() local
1234 table_size = table_entries * MSIX_TABLE_ENTRY_SIZE; in pci_msix_table_init()
1235 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/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.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()
/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/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/usr.sbin/bhyve/amd64/
H A Dpci_gvt-d-opregion.h181 uint16_t table_size; member
/freebsd/contrib/ncurses/include/
H A Dtic.h202 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()
/freebsd/sys/dev/ixgbe/
H A Dif_ix.c602 int queue_id, table_size, index_mult; in ixgbe_initialize_rss_mapping() local
616 table_size = 128; in ixgbe_initialize_rss_mapping()
624 table_size = 512; in ixgbe_initialize_rss_mapping()
631 for (i = 0, j = 0; i < table_size; i++, j++) { in ixgbe_initialize_rss_mapping()
/freebsd/sys/dev/drm2/
H A DdrmP.h566 int table_size; member

12