Home
last modified time | relevance | path

Searched refs:hweight64 (Results 1 – 25 of 48) sorted by relevance

12

/Linux-v6.1/kernel/kcsan/
Dpermissive.h80 if (hweight64(diff) == 1) { in kcsan_ignore_data_race()
/Linux-v6.1/drivers/misc/sgi-gru/
Dgrumain.c215 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()
837 gru->gs_gid, ctxnum, ngts, cbr, dsr, hweight64(gru->gs_cbr_map), in gru_steal_context()
838 hweight64(gru->gs_dsr_map)); in gru_steal_context()
Dgruprocfs.c198 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()
Dgrufile.c284 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()
Dgrukdump.c146 cbrcnt = hweight64(cch->cbr_allocation_map) * in gru_dump_context()
/Linux-v6.1/include/asm-generic/bitops/
Dconst_hweight.h29 #define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w)) macro
/Linux-v6.1/tools/include/asm-generic/bitops/
Dconst_hweight.h29 #define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w)) macro
/Linux-v6.1/drivers/gpu/drm/panfrost/
Dpanfrost_gpu.c247 pfdev->features.nr_core_groups = hweight64(pfdev->features.l2_present); in panfrost_gpu_init_features()
335 hweight64(core_mask), in panfrost_gpu_power_on()
336 hweight64(pfdev->features.shader_present)); in panfrost_gpu_power_on()
Dpanfrost_perfcnt.c292 ncoregroups = hweight64(pfdev->features.l2_present); in panfrost_perfcnt_init()
/Linux-v6.1/drivers/char/
Duv_mmtimer.c119 ret = hweight64(UVH_RTC_REAL_TIME_CLOCK_MASK); in uv_mmtimer_ioctl()
/Linux-v6.1/tools/include/linux/
Dbitops.h70 return sizeof(w) == 4 ? hweight32(w) : hweight64(w); in hweight_long()
/Linux-v6.1/drivers/nvdimm/
Dnd-core.h65 dev_WARN_ONCE(&nvdimm->dev, hweight64(flags & state_flags) > 1, in nvdimm_security_flags()
/Linux-v6.1/include/linux/
Dbitops.h96 return sizeof(w) == 4 ? hweight32(w) : hweight64((__u64)w); in hweight_long()
/Linux-v6.1/drivers/net/ethernet/netronome/nfp/
Dnfp_asm.c300 return hweight64(value) & 1; in parity()
/Linux-v6.1/drivers/gpu/drm/tests/
Ddrm_buddy_test.c215 if (mm->n_roots != hweight64(mm->size)) { in check_mm()
217 mm->n_roots, hweight64(mm->size)); in check_mm()
/Linux-v6.1/drivers/clk/
Dclk-stm32f4.c869 return stm32fx_end_primary_clk - 1 + hweight64(table[0]) + in stm32f4_rcc_lookup_clk_idx()
870 (BIT_ULL_WORD(secondary) >= 1 ? hweight64(table[1]) : 0) + in stm32f4_rcc_lookup_clk_idx()
871 (BIT_ULL_WORD(secondary) >= 2 ? hweight64(table[2]) : 0); in stm32f4_rcc_lookup_clk_idx()
/Linux-v6.1/arch/x86/kernel/apic/
Dx2apic_uv_x.c1474 uv_pb += hweight64(np); in boot_init_possible_blades()
1480 uv_pb += hweight64(np); in boot_init_possible_blades()
1485 uv_pb += hweight64(np); in boot_init_possible_blades()
/Linux-v6.1/fs/btrfs/
Dtree-checker.c700 if (unlikely(hweight64(flags & BTRFS_BLOCK_GROUP_PROFILE_MASK) > 1)) { in check_block_group_item()
704 hweight64(flags & BTRFS_BLOCK_GROUP_PROFILE_MASK)); in check_block_group_item()
716 type, hweight64(type), in check_block_group_item()
/Linux-v6.1/tools/perf/util/
Dsynthetic-events.c1494 sz = hweight64(sample->user_regs.mask) * sizeof(u64); in perf_event__sample_event_size()
1522 sz = hweight64(sample->intr_regs.mask) * sizeof(u64); in perf_event__sample_event_size()
1689 sz = hweight64(sample->user_regs.mask) * sizeof(u64); in perf_event__synthesize_sample()
1725 sz = hweight64(sample->intr_regs.mask) * sizeof(u64); in perf_event__synthesize_sample()
/Linux-v6.1/fs/xfs/scrub/
Dialloc.c126 return hweight64(freemask); in xchk_iallocbt_freecount()
/Linux-v6.1/drivers/gpu/drm/
Ddrm_property.c217 int num_values = hweight64(supported_bits); in drm_property_create_bitmask()
Ddrm_buddy.c111 mm->n_roots = hweight64(size); in drm_buddy_init()
/Linux-v6.1/arch/sparc/kernel/
Dunaligned_64.c410 ret = hweight64(value); in handle_popc()
/Linux-v6.1/drivers/net/ethernet/cavium/liquidio/
Dlio_main.c808 vfs_referencing_pf = hweight64(vfs_mask1); in liquidio_watchdog()
809 vfs_referencing_pf += hweight64(vfs_mask2); in liquidio_watchdog()
3486 num_iqueues = hweight64(resp->cfg_info.iqmask); in setup_nic_devices()
3487 num_oqueues = hweight64(resp->cfg_info.oqmask); in setup_nic_devices()
/Linux-v6.1/arch/x86/kvm/
Dhyperv.c1852 if (hc->var_cnt != hweight64(valid_bank_mask)) in kvm_hv_flush_tlb()
1953 if (hc->var_cnt != hweight64(valid_bank_mask)) in kvm_hv_send_ipi()

12