Searched refs:bins (Results 1 - 18 of 18) sorted by relevance

/freebsd-11-stable/contrib/netbsd-tests/net/bpf/
H A Dt_div-by-zero.c29 struct bpf_insn bins[] = { local
37 bp.bf_len = __arraycount(bins);
38 bp.bf_insns = bins;
/freebsd-11-stable/contrib/ofed/opensm/opensm/
H A Dst.c63 * bins
65 * DEFAULT_INIT_TABLE_SIZE is the default for the number of bins
206 tbl->bins = (st_table_entry **) Calloc(size, sizeof(st_table_entry *));
246 ptr = table->bins[i];
253 free(table->bins);
268 ptr = (table)->bins[bin_pos];\
313 entry->next = table->bins[bin_pos];\
314 table->bins[bin_pos] = entry;\
365 ptr = table->bins[i];
374 free(table->bins);
[all...]
/freebsd-11-stable/contrib/tcsh/
H A Dsh.hist.c529 unsigned bins[155]; local
530 memset(bins, 0, sizeof(bins));
535 if (hits >= sizeof(bins)/sizeof(bins[0])) /* clip */
536 hits = highest = sizeof(bins)/sizeof(bins[0]) - 1;
539 bins[hits]++;
545 bins[i], bins[
[all...]
/freebsd-11-stable/contrib/ofed/opensm/include/opensm/
H A Dst.h69 struct st_table_entry **bins; member in struct:st_table
/freebsd-11-stable/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_stats.h328 } bins[numBins]; member in class:logHistogram
338 t += bins[i].count;
350 bins[i] = o.bins[i];
359 bins[i].count = 0;
360 bins[i].total = 0;
367 uint32_t count(int b) const { return bins[b + logOffset].count; }
368 double total(int b) const { return bins[b + logOffset].total; }
374 bins[i].count += o.bins[
[all...]
H A Dkmp_stats.cpp162 if (bins[i].count != 0)
171 if (bins[i].count != 0)
206 bins[bin].count += 1;
207 bins[bin].total += sample;
/freebsd-11-stable/contrib/jemalloc/src/
H A Dstats.c45 void *cbopaque, unsigned i, bool bins, bool large, bool huge);
62 "bins: size ind allocated nmalloc"
68 "bins: size ind allocated nmalloc"
76 CTL_M2_M4_GET("stats.arenas.0.bins.0.nruns", i, j, &nruns,
97 CTL_M2_M4_GET("stats.arenas.0.bins.0.nmalloc", i, j,
99 CTL_M2_M4_GET("stats.arenas.0.bins.0.ndalloc", i, j,
101 CTL_M2_M4_GET("stats.arenas.0.bins.0.curregs", i, j,
103 CTL_M2_M4_GET("stats.arenas.0.bins.0.nrequests", i, j,
106 CTL_M2_M4_GET("stats.arenas.0.bins.0.nfills", i,
108 CTL_M2_M4_GET("stats.arenas.0.bins
256 stats_arena_print(void (*write_cb)(void *, const char *), void *cbopaque, unsigned i, bool bins, bool large, bool huge) argument
381 bool bins = true; local
[all...]
H A Dtcache.c107 arena_bin_t *bin = &bin_arena->bins[binind];
155 arena_bin_t *bin = &arena->bins[binind];
371 arena_bin_t *bin = &arena->bins[i];
430 arena_bin_t *bin = &arena->bins[i];
H A Darena.c1931 arena_bin_t *bin = &arena->bins[i];
2385 bin = &arena->bins[binind];
2543 bin = &arena->bins[binind];
2897 bin = &arena->bins[binind];
2934 bin = &arena->bins[run->binind];
3456 arena_bin_t *bin = &arena->bins[i];
3592 /* Initialize bins. */
3594 arena_bin_t *bin = &arena->bins[i];
3863 malloc_mutex_prefork(tsdn, &arena->bins[i].lock);
3874 malloc_mutex_postfork_parent(tsdn, &arena->bins[
[all...]
/freebsd-11-stable/sys/dev/qlnx/qlnxe/
H A Decore_l2.c719 OSAL_MEMSET(&p_ramrod->approx_mcast.bins, 0,
720 sizeof(p_ramrod->approx_mcast.bins));
727 u32 *p_bins = p_params->bins;
729 p_ramrod->approx_mcast.bins[i] = OSAL_CPU_TO_LE32(p_bins[i]);
819 /* Update mcast bins for VFs, PF doesn't use this functionality */
1622 u32 bins[ETH_MULTICAST_MAC_BINS_IN_REGS]; local
1657 OSAL_MEMSET(&p_ramrod->approx_mcast.bins,
1658 0, sizeof(p_ramrod->approx_mcast.bins));
1659 OSAL_MEMSET(bins, 0, sizeof(u32) * ETH_MULTICAST_MAC_BINS_IN_REGS);
1668 bins[bi
[all...]
H A Decore_l2_api.h389 u32 bins[8]; member in struct:ecore_sp_vport_update_params
H A Decore_vfpf_if.h426 /* This was a mistake; There are only 256 approx bins,
431 u64 bins[4]; member in struct:vfpf_vport_update_mcast_bin_tlv
H A Decore_vf.c1334 OSAL_MEMCPY(p_mcast_tlv->bins, p_params->bins,
1532 sp_params.bins[bit / 32] |= 1 << (bit % 32);
H A Decore_sriov.c3035 OSAL_MEMCPY(p_data->bins, p_mcast_tlv->bins,
H A Decore_hsi_eth.h1786 __le32 bins[ETH_MULTICAST_MAC_BINS_IN_REGS] /* multicast bins */; member in struct:vport_update_ramrod_mcast
/freebsd-11-stable/contrib/jemalloc/include/jemalloc/internal/
H A Darena.h202 * Read-only information associated with each element of arena_t's bins array
469 /* bins is used to store trees of free regions. */
470 arena_bin_t bins[NBINS]; member in struct:arena_s
1122 bin = &arena->bins[run_binind];
1123 actual_binind = (szind_t)(bin - arena->bins);
1140 szind_t binind = (szind_t)(bin - arena->bins);
/freebsd-11-stable/sys/dev/random/
H A Dyarrow.c110 RANDOM_CHECK_UINT(bins, RANDOM_YARROW_NPOOLS, 16);
165 "bins", CTLTYPE_UINT | CTLFLAG_RWTUN,
/freebsd-11-stable/sys/contrib/octeon-sdk/cvmx-malloc/
H A Dmalloc.c1235 M_MXFAST is the maximum request size used for "fastbins", special bins
1896 linked. The bins are approximately proportionally (log) spaced.
1897 There are a lot of these bins (128). This may look excessive, but
1898 works very well in practice. Most bins hold sizes that are
1900 and consolidated sets of chunks, which is what these bins hold, so
1906 Chunks in bins are kept in size order, with ties going to the
1908 for the small bins, which all contain the same-sized chunks, but
1924 only the fd/bk pointers of bins, and then use repositioning tricks
1931 #define bin_at(m, i) ((mbinptr)((char*)&((m)->bins[(i)<<1]) - (SIZE_SZ<<1)))
1936 /* Reminders about list directionality within bins */
2188 mchunkptr bins[NBINS * 2]; member in struct:malloc_state
[all...]

Completed in 371 milliseconds