Home
last modified time | relevance | path

Searched refs:bins (Results 1 – 25 of 33) sorted by relevance

12

/freebsd/contrib/ofed/opensm/opensm/
H A Dst.c204 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()
360 table->bins = new_bins; in rehash()
375 new_table->bins = (st_table_entry **) in st_copy()
[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/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;
H A Dkmp_stats.cpp164 if (bins[i].count != 0) in minBin()
173 if (bins[i].count != 0) in maxBin()
205 bins[bin].count += 1; in addSample()
206 bins[bin].total += sample; in addSample()
/freebsd/sys/contrib/dev/athk/ath10k/
H A Dspectral.c72 u8 chain_idx, *bins; in ath10k_spectral_process_fft() local
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()
/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
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()
688 ath11k_spectral_parse_fft(fft_sample->data, fft_report->bins, num_bins, in ath11k_spectral_process_fft()
/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/contrib/jemalloc/include/jemalloc/internal/
H A Dstats.h11 OPTION('b', bins, true, false) \
H A Darena_structs_b.h209 bins_t bins[SC_NBINS]; member
/freebsd/contrib/ofed/opensm/include/opensm/
H A Dst.h69 struct st_table_entry **bins; member
/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()
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()
1674 p_ramrod_bins->bins[i] = OSAL_CPU_TO_LE32(bins[i]); in ecore_sp_eth_filter_mcast()
H A Decore_l2_api.h387 u32 bins[8]; member
H A Decore_vfpf_if.h428 u64 bins[4]; member
H A Decore_vf.c1330 OSAL_MEMCPY(p_mcast_tlv->bins, p_params->bins, in ecore_vf_pf_vport_update()
1528 sp_params.bins[bit / 32] |= 1 << (bit % 32); in ecore_vf_pf_filter_mcast()
/freebsd/contrib/jemalloc/src/
H A Dstats.c661 stats_arena_print(emitter_t *emitter, unsigned i, bool bins, bool large, in stats_arena_print() argument
973 if (bins) { in stats_arena_print()
1234 bool unmerged, bool bins, bool large, bool mutex, bool extents) { in stats_print_helper() argument
1357 stats_arena_print(emitter, MALLCTL_ARENAS_ALL, bins, in stats_print_helper()
1369 bins, large, mutex, extents); in stats_print_helper()
1384 stats_arena_print(emitter, i, bins, in stats_print_helper()
1451 bins, large, mutex, extents); in stats_print()
H A Darena.c250 &arena->bins[i].bin_shards[j]); in arena_stats_merge()
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()
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()
2283 bin_postfork_child(tsdn, &arena->bins[i].bin_shards[j]); in arena_postfork_child()
/freebsd/sys/contrib/device-tree/src/arm64/altera/
H A Dsocfpga_stratix10.dtsi173 snps,multicast-filter-bins = <256>;
191 snps,multicast-filter-bins = <256>;
209 snps,multicast-filter-bins = <256>;
/freebsd/sys/contrib/device-tree/Bindings/ddr/
H A Dlpddr2.txt38 speed-bins as is required. Please see Documentation/devicetree/
/freebsd/sys/contrib/device-tree/src/arm64/intel/
H A Dsocfpga_agilex.dtsi176 snps,multicast-filter-bins = <256>;
194 snps,multicast-filter-bins = <256>;
212 snps,multicast-filter-bins = <256>;
/freebsd/sys/contrib/device-tree/src/arm/intel/socfpga/
H A Dsocfpga_arria10.dtsi436 snps,multicast-filter-bins = <256>;
456 snps,multicast-filter-bins = <256>;
476 snps,multicast-filter-bins = <256>;
H A Dsocfpga.dtsi580 snps,multicast-filter-bins = <256>;
599 snps,multicast-filter-bins = <256>;
/freebsd/sys/contrib/device-tree/src/arc/
H A Daxs10x_mb.dtsi81 snps,multicast-filter-bins = <256>;
H A Dhsdk.dts215 snps,multicast-filter-bins = <256>;
/freebsd/sys/contrib/device-tree/src/arm/renesas/
H A Dr9a06g032.dtsi330 snps,multicast-filter-bins = <256>;

12