Home
last modified time | relevance | path

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

123

/freebsd-12.1/contrib/flex/
H A Dsym.c66 int table_size));
75 static int addsym (sym, str_def, int_def, table, table_size) in addsym() argument
80 int table_size;
82 int hash_val = hashfunct (sym, table_size);
149 static struct hash_entry *findsym (sym, table, table_size) in findsym() argument
152 int table_size;
160 table[hashfunct (sym, table_size)];
/freebsd-12.1/usr.sbin/bhyve/
H A Dpci_passthru.c180 int i, ptr, capptr, cap, sts, caplen, table_size; in cfginitmsi() local
250 table_size = pi->pi_msix.table_count * MSIX_TABLE_ENTRY_SIZE; in cfginitmsi()
251 pi->pi_msix.table = calloc(1, table_size); in cfginitmsi()
443 uint32_t table_size, table_offset; in init_msix_table() local
462 table_size = pi->pi_msix.table_offset - table_offset; in init_msix_table()
464 table_size = roundup2(table_size, 4096); in init_msix_table()
473 if (pba_offset >= table_offset + table_size || in init_msix_table()
491 table_size - 4096; in init_msix_table()
517 base += table_size; in init_msix_table()
518 start += table_size; in init_msix_table()
[all …]
/freebsd-12.1/sys/dev/drm/
H A Dati_pcigart.c77 gart_info->table_size, 1, /* maxsize, nsegs */ in drm_ati_alloc_pcigart_table()
78 gart_info->table_size, /* maxsegsize */ in drm_ati_alloc_pcigart_table()
99 gart_info->table_size, drm_ati_alloc_pcigart_table_cb, dmah, in drm_ati_alloc_pcigart_table()
185 max_pages = (gart_info->table_size / sizeof(u32)); in drm_ati_pcigart_init()
/freebsd-12.1/lib/libiconv_modules/mapper_std/
H A Dcitrus_mapper_std.c250 uint64_t table_size; in rowcol_init() local
314 table_size = lz->width; in rowcol_init()
317 table_size *= lz->width; in rowcol_init()
319 table_size *= rc->rc_dst_unit_bits/8; in rowcol_init()
321 if (table_size > UINT32_MAX || in rowcol_init()
322 _region_size(&rc->rc_table) < table_size) in rowcol_init()
/freebsd-12.1/contrib/less/
H A Dposition.c25 static int table_size; variable
111 if (sc_height <= table_size) in pos_init()
124 table_size = sc_height; in pos_init()
/freebsd-12.1/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()
583 coder->match_len_encoder.table_size in lzma_lzma_encoder_create()
585 coder->rep_len_encoder.table_size in lzma_lzma_encoder_create()
H A Dlzma_encoder_private.h48 uint32_t table_size; member
/freebsd-12.1/sys/dev/drm2/
H A Dati_pcigart.c44 gart_info->table_handle = drm_pci_alloc(dev, gart_info->table_size, in drm_ati_alloc_pcigart_table()
77 max_pages = (gart_info->table_size / sizeof(u32)); in drm_ati_pcigart_cleanup()
148 max_ati_pages = (gart_info->table_size / sizeof(u32)); in drm_ati_pcigart_init()
/freebsd-12.1/contrib/ncurses/ncurses/tinfo/
H A Dcomp_hash.c76 + data->table_data[data->table_size]); in NCURSES_EXPORT()
109 ptr = table + (ptr->nte_link + data->table_data[data->table_size]); in _nc_find_type_entry()
/freebsd-12.1/usr.bin/mkcsmapper/
H A Dyacc.y70 static size_t table_size; variable
251 table_size = p->width; in alloc_table()
254 table_size *= p->width; in alloc_table()
256 table = (void *)malloc(table_size * dst_unit_bits / 8); in alloc_table()
272 for (i = 0; i < table_size; i++) in alloc_table()
389 _region_init(&data, table, table_size*dst_unit_bits/8); in dump_file()
/freebsd-12.1/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-12.1/sbin/camcontrol/
H A Dpersist.c443 size_t table_size = 0, id_len = 0; in scsipersist() local
528 table_size = sizeof(persist_in_actions) / in scsipersist()
533 table_size = sizeof(persist_out_actions) / in scsipersist()
544 status = scsi_get_nv(table, table_size, optarg, in scsipersist()
/freebsd-12.1/sys/dev/drm2/radeon/
H A Dradeon_gart.c74 dmah = drm_pci_alloc(rdev->ddev, rdev->gart.table_size, in radeon_gart_table_ram_alloc()
85 rdev->gart.table_size >> PAGE_SHIFT, PAT_UNCACHED); in radeon_gart_table_ram_alloc()
89 memset((void *)rdev->gart.ptr, 0, rdev->gart.table_size); in radeon_gart_table_ram_alloc()
111 rdev->gart.table_size >> PAGE_SHIFT, PAT_WRITE_COMBINING); in radeon_gart_table_ram_free()
135 r = radeon_bo_create(rdev, rdev->gart.table_size, in radeon_gart_table_vram_alloc()
/freebsd-12.1/sys/dev/pst/
H A Dpst-iop.c326 if (!(sc->lct = malloc(reply->table_size * sizeof(struct i2o_lct_entry), in iop_get_lct()
332 reply->table_size * sizeof(struct i2o_lct_entry)); in iop_get_lct()
333 sc->lct_count = reply->table_size; in iop_get_lct()
/freebsd-12.1/contrib/libstdc++/src/
H A Dctype.cc78 const size_t ctype<char>::table_size; member in ctype<char>
/freebsd-12.1/contrib/ncurses/include/
H A Dtic.h207 unsigned table_size; member
/freebsd-12.1/crypto/openssl/crypto/ec/curve448/
H A Dcurve448.c548 unsigned int table_size = C448_SCALAR_BITS / (table_bits + 1) + 3; in recode_wnaf() local
549 int position = table_size - 1; /* at the end */ in recode_wnaf()
592 n = table_size - position; in recode_wnaf()
/freebsd-12.1/sys/ofed/drivers/infiniband/core/
H A Dib_verbs.c1712 u32 table_size; in ib_create_rwq_ind_table() local
1717 table_size = (1 << init_attr->log_ind_tbl_size); in ib_create_rwq_ind_table()
1729 for (i = 0; i < table_size; i++) in ib_create_rwq_ind_table()
1743 u32 table_size = (1 << rwq_ind_table->log_ind_tbl_size); in ib_destroy_rwq_ind_table() local
1751 for (i = 0; i < table_size; i++) in ib_destroy_rwq_ind_table()
/freebsd-12.1/contrib/binutils/bfd/
H A Dsunos.c330 bfd_size_type table_size; in sunos_canonicalize_dynamic_symtab() local
336 table_size = info->dyninfo.ld_stab - info->dyninfo.ld_hash; in sunos_canonicalize_dynamic_symtab()
337 table = bfd_malloc (table_size); in sunos_canonicalize_dynamic_symtab()
338 if (table == NULL && table_size != 0) in sunos_canonicalize_dynamic_symtab()
341 || bfd_bread ((void *) table, table_size, abfd) != table_size) in sunos_canonicalize_dynamic_symtab()
359 if (hash == 0 || hash >= table_size / HASH_ENTRY_SIZE) in sunos_canonicalize_dynamic_symtab()
/freebsd-12.1/contrib/libgnuregex/
H A Dregcomp.c830 unsigned int table_size; in init_dfa() local
848 for (table_size = 1; ; table_size <<= 1) in init_dfa()
849 if (table_size > pat_len) in init_dfa()
852 dfa->state_table = calloc (sizeof (struct re_state_table_entry), table_size); in init_dfa()
853 dfa->state_hash_mask = table_size - 1; in init_dfa()
2773 int32_t table_size; in parse_bracket_exp() local
2788 for (elem = 0; elem < table_size; elem++) in parse_bracket_exp()
3036 table_size = _NL_CURRENT_WORD (LC_COLLATE, _NL_COLLATE_SYMB_HASH_SIZEMB); in parse_bracket_exp()
/freebsd-12.1/sys/contrib/zstd/doc/educational_decoder/
H A Dzstd_decompress.c1859 const size_t table_size = 1 << max_bits; in HUF_init_dtable() local
1861 table->symbols = malloc(table_size); in HUF_init_dtable()
1862 table->num_bits = malloc(table_size); in HUF_init_dtable()
1883 if (rank_idx[0] != table_size) { in HUF_init_dtable()
/freebsd-12.1/sys/contrib/alpine-hal/
H A Dal_hal_pcie.h563 uint16_t table_size; member
/freebsd-12.1/contrib/subversion/subversion/libsvn_fs_fs/
H A Dindex.c3382 apr_size_t table_size = (header->page_count + 1) * sizeof(*header->offsets); in svn_fs_fs__serialize_p2l_header() local
3387 table_size + sizeof(*header) + 32, in svn_fs_fs__serialize_p2l_header()
3393 table_size); in svn_fs_fs__serialize_p2l_header()
3430 apr_size_t table_size = page->elt_size * page->nelts; in svn_fs_fs__serialize_p2l_page() local
3435 table_size + sizeof(*page) + 32, in svn_fs_fs__serialize_p2l_page()
3441 table_size); in svn_fs_fs__serialize_p2l_page()
/freebsd-12.1/contrib/subversion/subversion/libsvn_fs_x/
H A Dstring_table.c360 apr_size_t table_size in svn_fs_x__string_table_builder_estimate_size() local
367 total += table_size; in svn_fs_x__string_table_builder_estimate_size()
/freebsd-12.1/sys/dev/sfxge/
H A Dsfxge_rx.c85 TUNABLE_INT(SFXGE_LRO_PARAM(table_size), &lro_table_size);
86 SYSCTL_UINT(_hw_sfxge_lro, OID_AUTO, table_size, CTLFLAG_RDTUN,
1387 SFXGE_LRO_PARAM(table_size), lro_table_size); in sfxge_rx_init()

123