Home
last modified time | relevance | path

Searched full:bins (Results 1 – 25 of 80) sorted by relevance

1234

/freebsd/contrib/ofed/opensm/opensm/
H A Dst.c63 * bins
65 * DEFAULT_INIT_TABLE_SIZE is the default for the number of bins
204 tbl->bins = (st_table_entry **) Calloc(size, sizeof(st_table_entry *)); in st_init_table_with_size()
240 ptr = table->bins[i]; in st_free_table()
247 free(table->bins); in st_free_table()
262 ptr = (table)->bins[bin_pos];\
304 entry->next = table->bins[bin_pos];\
305 table->bins[bin_pos] = entry;\
349 ptr = table->bins[i]; in rehash()
358 free(table->bins); in rehash()
[all …]
/freebsd/sys/contrib/dev/athk/ath10k/
H A Dspectral.c32 /* peak index outside of bins */ in get_max_exp()
72 u8 chain_idx, *bins; in ath10k_spectral_process_fft() local
102 * show, the particular configuration of 80 MHz/64 bins does in ath10k_spectral_process_fft()
136 bins = (u8 *)fftr; in ath10k_spectral_process_fft()
137 bins += sizeof(*fftr) + ar->hw_params.spectral_bin_offset; in ath10k_spectral_process_fft()
145 bin_len, bins); in ath10k_spectral_process_fft()
147 memcpy(fft_sample->data, bins, bin_len); in ath10k_spectral_process_fft()
422 unsigned int bins, fft_size, bin_scale; in read_file_spectral_bins() local
429 bins = 1 << (fft_size - bin_scale); in read_file_spectral_bins()
433 len = sprintf(buf, "%d\n", bins); in read_file_spectral_bins()
[all …]
H A Dspectral.h15 * @fft_size: number of bins to be requested = 2^(fft_size - bin_scale)
/freebsd/contrib/jemalloc/include/jemalloc/internal/
H A Dtcache_structs.h24 * The pointer stacks associated with bins follow as a contiguous array.
42 * The descriptor lets the arena find our cache bins without seeing the
52 /* For small bins, fill (ncached_max >> lg_fill_div). */
55 * We put the cache bins for large size classes at the end of the
H A Dbin.h17 * Read-only information associated with each element of arena_t's bins array
46 /* Number of sharded bins in each arena for this size class. */
85 /* A set of sharded bins of the same size class. */
88 /* Sharded bins. Dynamically sized. */
H A Dtcache_externs.h10 * Number of tcache bins. There are SC_NBINS small-object bins, plus 0 or more
11 * large-object bins.
H A Dcache_bin.h70 * The arena keeps a list of the cache bins associated with it, for
74 /* Pointers to the tcache bins. */
H A Darena_structs_b.h205 * bins is used to store heaps of free regions.
209 bins_t bins[SC_NBINS]; member
H A Dstats.h11 OPTION('b', bins, true, false) \
H A Dsc.h162 * "Small" size classes mean those that are allocated out of bins, which is the
296 /* Number of bins supported by the lookup table. */
298 /* Number of small size class bins. */
/freebsd/contrib/jemalloc/src/
H A Dstats.c210 "arenas.0.bins.0","mutex", #counter); \ in mutex_stats_read_arena_bin()
329 * We print a "bins:" header as part of the table row; we need to adjust in stats_arena_bins_print()
333 emitter_table_printf(emitter, "bins:"); in stats_arena_bins_print()
335 emitter_json_array_kv_begin(emitter, "bins"); in stats_arena_bins_print()
346 CTL_M2_M4_GET("stats.arenas.0.bins.0.nslabs", i, j, &nslabs, in stats_arena_bins_print()
361 CTL_M2_M4_GET("stats.arenas.0.bins.0.nmalloc", i, j, &nmalloc, in stats_arena_bins_print()
363 CTL_M2_M4_GET("stats.arenas.0.bins.0.ndalloc", i, j, &ndalloc, in stats_arena_bins_print()
365 CTL_M2_M4_GET("stats.arenas.0.bins.0.curregs", i, j, &curregs, in stats_arena_bins_print()
367 CTL_M2_M4_GET("stats.arenas.0.bins.0.nrequests", i, j, in stats_arena_bins_print()
369 CTL_M2_M4_GET("stats.arenas.0.bins.0.nfills", i, j, &nfills, in stats_arena_bins_print()
[all …]
H A Darena.c250 &arena->bins[i].bin_shards[j]); in arena_stats_merge()
1139 /* Bins. */ in arena_reset()
1143 &arena->bins[i].bin_shards[j]); in arena_reset()
1374 bin = &arena->bins[binind].bin_shards[*binshard]; in arena_bin_choose_lock()
1722 bin_t *bin = &arena->bins[binind].bin_shards[binshard]; in arena_dalloc_bin()
2065 /* Initialize bins. */ in arena_new()
2070 arena->bins[i].bin_shards = (bin_t *)bin_addr; in arena_new()
2073 bool err = bin_init(&arena->bins[i].bin_shards[j]); in arena_new()
2225 bin_prefork(tsdn, &arena->bins[i].bin_shards[j]); in arena_prefork7()
2237 &arena->bins[i].bin_shards[j]); in arena_postfork_parent()
[all …]
/freebsd/contrib/netbsd-tests/net/bpf/
H A Dt_div-by-zero.c29 struct bpf_insn bins[] = { in ATF_TC_BODY() local
37 bp.bf_len = __arraycount(bins); in ATF_TC_BODY()
38 bp.bf_insns = bins; in ATF_TC_BODY()
/freebsd/contrib/tcsh/
H A Dsh.hist.c539 unsigned bins[155]; in testHash() local
540 memset(bins, 0, sizeof(bins)); in testHash()
545 if (hits >= sizeof(bins)/sizeof(bins[0])) /* clip */ in testHash()
546 hits = highest = sizeof(bins)/sizeof(bins[0]) - 1; in testHash()
549 bins[hits]++; in testHash()
555 bins[i], bins[i]*100/length, i); in testHash()
559 memset(bins, 0, sizeof(bins)); in testHash()
574 if (run >= sizeof(bins)/sizeof(bins[0])) /* clip */ in testHash()
575 run = highest = sizeof(bins)/sizeof(bins[0]) - 1; in testHash()
578 bins[run]++; in testHash()
[all …]
/freebsd/sys/contrib/dev/athk/ath11k/
H A Dspectral.c111 u8 bins[]; member
420 unsigned int bins, fft_size; in ath11k_read_file_spectral_bins() local
426 bins = 1 << fft_size; in ath11k_read_file_spectral_bins()
430 len = sprintf(buf, "%d\n", bins); in ath11k_read_file_spectral_bins()
539 int bin_len, u8 *bins) in ath11k_spectral_get_max_exp() argument
546 /* peak index outside of bins */ in ath11k_spectral_get_max_exp()
551 if (bins[dc_pos + max_index] == (max_magnitude >> max_exp)) in ath11k_spectral_get_max_exp()
556 if (bins[dc_pos + max_index] != (max_magnitude >> max_exp)) in ath11k_spectral_get_max_exp()
615 /* Only In-band bins are useful to user for visualize */ in ath11k_spectral_process_fft()
621 ath11k_warn(ab, "Invalid num of bins %d\n", num_bins); in ath11k_spectral_process_fft()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DOptimizedStructLayout.cpp216 // the last fixed-layout field, the objects fit in the bins; note that in performOptimizedStructLayout()
222 // However, in practice it'll just scan the array of alignment bins in performOptimizedStructLayout()
223 // and consider the first few elements from one or two bins. The in performOptimizedStructLayout()
224 // number of bins is bounded by a small constant: alignments are powers in performOptimizedStructLayout()
228 // often. We could use a data structure within bins that optimizes for in performOptimizedStructLayout()
233 // Start by organizing the flexible-offset fields into bins according to in performOptimizedStructLayout()
234 // their alignment. We expect a small enough number of bins that we in performOptimizedStructLayout()
278 "bins not in order of descending alignment"); in performOptimizedStructLayout()
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_stats.h339 } bins[numBins]; variable
349 t += bins[i].count; in check()
361 bins[i] = o.bins[i]; in logHistogram()
370 bins[i].count = 0; in reset()
371 bins[i].total = 0; in reset()
378 uint32_t count(int b) const { return bins[b + logOffset].count; } in count()
379 double total(int b) const { return bins[b + logOffset].total; } in total()
385 bins[i].count += o.bins[i].count;
386 bins[i].total += o.bins[i].total;
/freebsd/lib/libsys/
H A Dprofil.261 a series of 16-bit bins.
79 can be used to change the span of the bins.
/freebsd/lib/libc/stdlib/
H A Dradixsort.c173 * Set top[]; push incompletely sorted bins onto stack. in r_sort_a()
174 * top[] = pointers to last out-of-place element in bins. in r_sort_a()
175 * count[] = counts of elements in bins. in r_sort_a()
211 * aj<-aj + count[c] connects the bins in a linked list; in r_sort_a()
/freebsd/sys/contrib/device-tree/src/arm64/qcom/
H A Dmsm8996pro.dtsi13 * On MSM8996 Pro the cpufreq driver shifts speed bins into the high
317 * Unlike CPU opp tables, the GPU driver does not shift speed bins.
320 * 624 Mhz and 560 Mhz are available on speed bins 0 and 1.
321 * All the rest are available on all bins of the hardware (like on
/freebsd/lib/libc/stdlib/malloc/jemalloc/
H A Djemalloc.3412 can be specified to omit per size class statistics for bins and large objects, respectively;
1970 Cumulative number of times a small allocation was requested from the arena\*(Aqs bins, whether to f…
1977 Cumulative number of times a small allocation was returned to the arena\*(Aqs bins, whether to flus…
2031 stats\&.arenas\&.<i>\&.bins\&.<j>\&.nmalloc (\fBuint64_t\fR) r\- [\fB\-\-enable\-stats\fR]
2038 stats\&.arenas\&.<i>\&.bins\&.<j>\&.ndalloc (\fBuint64_t\fR) r\- [\fB\-\-enable\-stats\fR]
2045 stats\&.arenas\&.<i>\&.bins\&.<j>\&.nrequests (\fBuint64_t\fR) r\- [\fB\-\-enable\-stats\fR]
2050 stats\&.arenas\&.<i>\&.bins\&.<j>\&.curregs (\fBsize_t\fR) r\- [\fB\-\-enable\-stats\fR]
2055 stats\&.arenas\&.<i>\&.bins\&.<j>\&.nfills (\fBuint64_t\fR) r\-
2060 stats\&.arenas\&.<i>\&.bins\&.<j>\&.nflushes (\fBuint64_t\fR) r\-
2065 stats\&.arenas\&.<i>\&.bins\&.<j>\&.nslabs (\fBuint64_t\fR) r\- [\fB\-\-enable\-stats\fR]
[all …]
/freebsd/sys/dev/qlnx/qlnxe/
H A Decore_l2.c717 OSAL_MEMSET(&p_ramrod->approx_mcast.bins, 0, in ecore_sp_update_mcast_bin()
718 sizeof(p_ramrod->approx_mcast.bins)); in ecore_sp_update_mcast_bin()
725 u32 *p_bins = p_params->bins; in ecore_sp_update_mcast_bin()
727 p_ramrod->approx_mcast.bins[i] = OSAL_CPU_TO_LE32(p_bins[i]); in ecore_sp_update_mcast_bin()
817 /* Update mcast bins for VFs, PF doesn't use this functionality */ in ecore_sp_vport_update()
1620 u32 bins[ETH_MULTICAST_MAC_BINS_IN_REGS]; in ecore_sp_eth_filter_mcast() local
1655 OSAL_MEMSET(&p_ramrod->approx_mcast.bins, in ecore_sp_eth_filter_mcast()
1656 0, sizeof(p_ramrod->approx_mcast.bins)); in ecore_sp_eth_filter_mcast()
1657 OSAL_MEMSET(bins, 0, sizeof(u32) * ETH_MULTICAST_MAC_BINS_IN_REGS); in ecore_sp_eth_filter_mcast()
1666 bins[bit / 32] |= 1 << (bit % 32); in ecore_sp_eth_filter_mcast()
[all …]
/freebsd/contrib/unbound/util/storage/
H A Dlruhash.h167 /** lookup array of bins */
361 /** init the hash bins for the table */
392 * This makes it wait for other threads to finish with the bins.
393 * So the bins are ready to be deleted after this function.
/freebsd/tools/test/devrandom/
H A Dstat.16bit4 # Perform primitive binning into 16-bit bins (take 16bits of randomness
H A Dstat.8bit4 # Perform primitive binning into 8-bit bins (take 8 bits of randomness

1234