| /freebsd/contrib/ofed/opensm/opensm/ |
| H A D | st.c | 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() 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 D | t_div-by-zero.c | 29 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 D | sh.hist.c | 539 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 D | kmp_stats.h | 339 } 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 D | kmp_stats.cpp | 164 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 D | spectral.c | 72 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() 417 unsigned int bins, fft_size, bin_scale; in read_file_spectral_bins() local 424 bins = 1 << (fft_size - bin_scale); in read_file_spectral_bins() 428 len = sprintf(buf, "%d\n", bins); in read_file_spectral_bins()
|
| /freebsd/sys/dev/qlnx/qlnxe/ |
| H A D | ecore_l2.c | 717 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() 1654 OSAL_MEMSET(&p_ramrod->approx_mcast.bins, in ecore_sp_eth_filter_mcast() 1655 0, sizeof(p_ramrod->approx_mcast.bins)); in ecore_sp_eth_filter_mcast() 1661 …_Static_assert(sizeof(p_filter_cmd->bins) == sizeof(p_ramrod->approx_mcast.bins), "Size mismatch"); in ecore_sp_eth_filter_mcast() 1662 _Static_assert(nitems(p_filter_cmd->bins) == ETH_MULTICAST_MAC_BINS_IN_REGS, "Size mismatch"); in ecore_sp_eth_filter_mcast() 1668 p_ramrod_bins->bins[i] = OSAL_CPU_TO_LE32(p_filter_cmd->bins[i]); in ecore_sp_eth_filter_mcast() 1678 p_ramrod->approx_mcast.bins[0], p_ramrod->approx_mcast.bins[1], in ecore_sp_eth_filter_mcast() [all …]
|
| H A D | ecore_l2_api.h | 169 u32 bins[ETH_MULTICAST_MAC_BINS_IN_REGS]; member 386 u32 bins[ETH_MULTICAST_MAC_BINS_IN_REGS]; member
|
| H A D | ecore_vf.c | 1335 OSAL_MEMCPY(p_mcast_tlv->bins, p_params->bins, in ecore_vf_pf_vport_update() 1528 _Static_assert(sizeof(sp_params.bins) == sizeof(p_filter_cmd->bins), "Size mismatch"); in ecore_vf_pf_filter_mcast() 1529 memcpy(sp_params.bins, p_filter_cmd->bins, sizeof(sp_params.bins)); in ecore_vf_pf_filter_mcast()
|
| H A D | ecore_vfpf_if.h | 428 u64 bins[4]; member
|
| /freebsd/sys/contrib/dev/athk/ath11k/ |
| H A D | spectral.c | 113 u8 bins[]; member 417 unsigned int bins, fft_size; in ath11k_read_file_spectral_bins() local 423 bins = 1 << fft_size; in ath11k_read_file_spectral_bins() 427 len = sprintf(buf, "%d\n", bins); in ath11k_read_file_spectral_bins() 531 int bin_len, u8 *bins) in ath11k_spectral_get_max_exp() argument 543 if (bins[dc_pos + max_index] == (max_magnitude >> max_exp)) in ath11k_spectral_get_max_exp() 548 if (bins[dc_pos + max_index] != (max_magnitude >> max_exp)) in ath11k_spectral_get_max_exp() 680 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 D | msm8996pro.dtsi | 13 * 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 D | stats.h | 11 OPTION('b', bins, true, false) \
|
| H A D | arena_structs_b.h | |
| /freebsd/contrib/sqlite3/ |
| H A D | auto.def | 9 sqlite-check-common-bins ;# must come before [sqlite-handle-wasi-sdk]
|
| /freebsd/contrib/ofed/opensm/include/opensm/ |
| H A D | st.h | 69 struct st_table_entry **bins; member
|
| /freebsd/contrib/jemalloc/src/ |
| H A D | stats.c | 376 * We print a "bins:" header as part of the table row; we need to adjust in stats_arena_bins_print() 380 emitter_table_printf(emitter, "bins:"); in stats_arena_bins_print() 382 emitter_json_array_kv_begin(emitter, "bins"); in stats_arena_bins_print() 387 CTL_LEAF_PREPARE(stats_arenas_mib, 3, "bins"); in stats_arena_bins_print() 394 CTL_LEAF_PREPARE(prof_stats_mib, 0, "prof.stats.bins"); in stats_arena_bins_print() 552 emitter_json_array_end(emitter); /* Close "bins". */ in stats_arena_extents_print() 597 /* As with bins, we label the large extents table. */ in stats_arena_extents_print() 1043 stats_arena_print(emitter_t *emitter, unsigned i, bool bins, bool large, in stats_general_print() 1356 if (bins) { in stats_print_helper() 1682 bool unmerged, bool bins, boo 661 stats_arena_print(emitter_t * emitter,unsigned i,bool bins,bool large,bool mutex,bool extents) stats_arena_print() argument 1234 stats_print_helper(emitter_t * emitter,bool merged,bool destroyed,bool unmerged,bool bins,bool large,bool mutex,bool extents) stats_print_helper() argument [all...] |
| H A D | arena.c | 158 cache_bin_t *cache_bin = &descriptor->bins[i]; in arena_stats_merge() 1656 /* Initialize bins. */ in arena_dalloc_bin_slab() 1659 bool err = bin_init(&arena->bins[i]); in arena_bin_lower_slab() 1782 uint32_t cur_offset = (uint32_t)offsetof(arena_t, bins); in arena_ralloc_no_move() 1837 bin_prefork(tsdn, &arena->bins[i]); in arena_ralloc() 1844 bin_postfork_parent(tsdn, &arena->bins[i]); in arena_ralloc() 1875 tcache->bins); in arena_dirty_decay_ms_default_set() 1882 bin_postfork_child(tsdn, &arena->bins[i]); in arena_muzzy_decay_ms_default_get()
|
| /freebsd/sys/contrib/device-tree/src/arm64/altera/ |
| H A D | socfpga_stratix10.dtsi | 186 snps,multicast-filter-bins = <256>; 204 snps,multicast-filter-bins = <256>; 222 snps,multicast-filter-bins = <256>;
|
| /freebsd/sys/contrib/device-tree/Bindings/ddr/ |
| H A D | lpddr2.txt | 38 speed-bins as is required. Please see Documentation/devicetree/
|
| /freebsd/sys/contrib/device-tree/src/arm64/intel/ |
| H A D | socfpga_agilex.dtsi | 183 snps,multicast-filter-bins = <256>; 201 snps,multicast-filter-bins = <256>; 219 snps,multicast-filter-bins = <256>;
|
| H A D | socfpga_agilex5.dtsi | 570 snps,multicast-filter-bins = <64>; 683 snps,multicast-filter-bins = <64>; 796 snps,multicast-filter-bins = <64>;
|
| /freebsd/sys/contrib/device-tree/src/arm/intel/socfpga/ |
| H A D | socfpga_arria10.dtsi | 437 snps,multicast-filter-bins = <256>; 457 snps,multicast-filter-bins = <256>; 477 snps,multicast-filter-bins = <256>;
|
| /freebsd/sys/contrib/device-tree/src/arc/ |
| H A D | axs10x_mb.dtsi | 81 snps,multicast-filter-bins = <256>;
|
| /freebsd/sys/contrib/device-tree/src/riscv/spacemit/ |
| H A D | k3.dtsi | 455 snps,multicast-filter-bins = <64>; 494 snps,multicast-filter-bins = <64>; 533 snps,multicast-filter-bins = <64>;
|