/kernel/linux/linux-6.6/kernel/kcsan/ |
H A D | permissive.h | 80 if (hweight64(diff) == 1) { in kcsan_ignore_data_race()
|
/kernel/linux/linux-6.6/drivers/net/ipa/ |
H A D | ipa_table.c | 175 count = hweight64(filtered); in ipa_filtered_valid() 237 trans = ipa_cmd_trans_alloc(ipa, hweight64(ep_mask)); in ipa_filter_reset_table() 418 count = 1 + hweight64(ipa->filtered); in ipa_table_init_add() 646 if (count < 1 + hweight64(ipa->filtered)) in ipa_table_mem_valid()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | smt.c | 40 if (hweight64(siblings) > 1) { in smt_on()
|
/kernel/linux/linux-5.10/drivers/misc/sgi-gru/ |
H A D | grumain.c | 215 return hweight64(gru->gs_cbr_map) >= cbr_au_count in check_gru_resources() 216 && hweight64(gru->gs_dsr_map) >= dsr_au_count in check_gru_resources() 490 length = hweight64(dsrmap) * GRU_DSR_AU_BYTES; in gru_load_context_data() 525 length = hweight64(dsrmap) * GRU_DSR_AU_BYTES; in gru_unload_context_data() 846 gru->gs_gid, ctxnum, ngts, cbr, dsr, hweight64(gru->gs_cbr_map), in gru_steal_context() 847 hweight64(gru->gs_dsr_map)); in gru_steal_context()
|
H A D | gruprocfs.c | 198 cbrfree = hweight64(gru->gs_cbr_map) * GRU_CBR_AU_SIZE; in gru_seq_show() 199 dsrfree = hweight64(gru->gs_dsr_map) * GRU_DSR_AU_BYTES; in gru_seq_show()
|
H A D | grufile.c | 284 n = hweight64(gru->gs_cbr_map) * GRU_CBR_AU_SIZE; in gru_init_tables() 286 n = hweight64(gru->gs_dsr_map) * GRU_DSR_AU_BYTES; in gru_init_tables()
|
H A D | grukdump.c | 146 cbrcnt = hweight64(cch->cbr_allocation_map) * in gru_dump_context()
|
/kernel/linux/linux-6.6/drivers/misc/sgi-gru/ |
H A D | grumain.c | 215 return hweight64(gru->gs_cbr_map) >= cbr_au_count in check_gru_resources() 216 && hweight64(gru->gs_dsr_map) >= dsr_au_count in check_gru_resources() 490 length = hweight64(dsrmap) * GRU_DSR_AU_BYTES; in gru_load_context_data() 525 length = hweight64(dsrmap) * GRU_DSR_AU_BYTES; in gru_unload_context_data() 846 gru->gs_gid, ctxnum, ngts, cbr, dsr, hweight64(gru->gs_cbr_map), in gru_steal_context() 847 hweight64(gru->gs_dsr_map)); in gru_steal_context()
|
H A D | gruprocfs.c | 198 cbrfree = hweight64(gru->gs_cbr_map) * GRU_CBR_AU_SIZE; in gru_seq_show() 199 dsrfree = hweight64(gru->gs_dsr_map) * GRU_DSR_AU_BYTES; in gru_seq_show()
|
H A D | grufile.c | 284 n = hweight64(gru->gs_cbr_map) * GRU_CBR_AU_SIZE; in gru_init_tables() 286 n = hweight64(gru->gs_dsr_map) * GRU_DSR_AU_BYTES; in gru_init_tables()
|
H A D | grukdump.c | 146 cbrcnt = hweight64(cch->cbr_allocation_map) * in gru_dump_context()
|
/kernel/linux/linux-5.10/tools/include/asm-generic/bitops/ |
H A D | const_hweight.h | 29 #define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w)) macro
|
/kernel/linux/linux-5.10/include/asm-generic/bitops/ |
H A D | const_hweight.h | 29 #define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w)) macro
|
/kernel/linux/linux-6.6/include/asm-generic/bitops/ |
H A D | const_hweight.h | 29 #define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w)) macro
|
/kernel/linux/linux-6.6/tools/include/asm-generic/bitops/ |
H A D | const_hweight.h | 29 #define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w)) macro
|
/kernel/linux/linux-5.10/tools/include/linux/ |
H A D | bitops.h | 54 return sizeof(w) == 4 ? hweight32(w) : hweight64(w); in hweight_long()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/panfrost/ |
H A D | panfrost_gpu.c | 260 pfdev->features.nr_core_groups = hweight64(pfdev->features.l2_present); in panfrost_gpu_init_features() 346 hweight64(core_mask), in panfrost_get_core_mask() 347 hweight64(pfdev->features.shader_present)); in panfrost_get_core_mask()
|
/kernel/linux/linux-5.10/drivers/char/ |
H A D | uv_mmtimer.c | 119 ret = hweight64(UVH_RTC_REAL_TIME_CLOCK_MASK); in uv_mmtimer_ioctl()
|
/kernel/linux/linux-6.6/drivers/char/ |
H A D | uv_mmtimer.c | 119 ret = hweight64(UVH_RTC_REAL_TIME_CLOCK_MASK); in uv_mmtimer_ioctl()
|
/kernel/linux/linux-6.6/tools/include/linux/ |
H A D | bitops.h | 70 return sizeof(w) == 4 ? hweight32(w) : hweight64(w); in hweight_long()
|
/kernel/linux/linux-6.6/drivers/nvdimm/ |
H A D | nd-core.h | 65 dev_WARN_ONCE(&nvdimm->dev, hweight64(flags & state_flags) > 1, in nvdimm_security_flags()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/ |
H A D | i915_buddy.c | 190 if (mm->n_roots != hweight64(mm->size)) { in igt_check_mm() 192 mm->n_roots, hweight64(mm->size)); in igt_check_mm()
|
/kernel/linux/linux-6.6/drivers/perf/amlogic/ |
H A D | meson_ddr_pmu_core.c | 135 hweight64(config1) + hweight64(config2) > MAX_AXI_PORTS_OF_CHANNEL) in meson_ddr_perf_event_init()
|
/kernel/linux/linux-5.10/arch/ia64/kernel/ |
H A D | perfmon_default_smpl.c | 129 npmds = hweight64(arg->smpl_pmds[0]); in default_handler()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | bitops.h | 75 return sizeof(w) == 4 ? hweight32(w) : hweight64((__u64)w); in hweight_long()
|