/Linux-v5.4/tools/perf/util/ |
D | smt.c | 37 if (hweight64(siblings) > 1) { in smt_on()
|
D | synthetic-events.c | 1193 sz = hweight64(sample->user_regs.mask) * sizeof(u64); in perf_event__sample_event_size() 1221 sz = hweight64(sample->intr_regs.mask) * sizeof(u64); in perf_event__sample_event_size() 1350 sz = hweight64(sample->user_regs.mask) * sizeof(u64); in perf_event__synthesize_sample() 1386 sz = hweight64(sample->intr_regs.mask) * sizeof(u64); in perf_event__synthesize_sample()
|
/Linux-v5.4/drivers/misc/sgi-gru/ |
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() 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()
|
D | gruprocfs.c | 201 cbrfree = hweight64(gru->gs_cbr_map) * GRU_CBR_AU_SIZE; in gru_seq_show() 202 dsrfree = hweight64(gru->gs_dsr_map) * GRU_DSR_AU_BYTES; in gru_seq_show()
|
D | grufile.c | 283 n = hweight64(gru->gs_cbr_map) * GRU_CBR_AU_SIZE; in gru_init_tables() 285 n = hweight64(gru->gs_dsr_map) * GRU_DSR_AU_BYTES; in gru_init_tables()
|
D | grukdump.c | 146 cbrcnt = hweight64(cch->cbr_allocation_map) * in gru_dump_context()
|
/Linux-v5.4/include/asm-generic/bitops/ |
D | const_hweight.h | 29 #define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w)) macro
|
/Linux-v5.4/tools/include/asm-generic/bitops/ |
D | const_hweight.h | 29 #define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w)) macro
|
/Linux-v5.4/tools/include/linux/ |
D | bitops.h | 53 return sizeof(w) == 4 ? hweight32(w) : hweight64(w); in hweight_long()
|
/Linux-v5.4/drivers/char/ |
D | uv_mmtimer.c | 119 ret = hweight64(UVH_RTC_REAL_TIME_CLOCK_MASK); in uv_mmtimer_ioctl()
|
/Linux-v5.4/include/linux/ |
D | bitops.h | 60 return sizeof(w) == 4 ? hweight32(w) : hweight64(w); in hweight_long()
|
/Linux-v5.4/drivers/gpu/drm/i915/selftests/ |
D | i915_buddy.c | 192 if (mm->n_roots != hweight64(mm->size)) { in igt_check_mm() 194 mm->n_roots, hweight64(mm->size)); in igt_check_mm()
|
/Linux-v5.4/arch/ia64/kernel/ |
D | perfmon_default_smpl.c | 129 npmds = hweight64(arg->smpl_pmds[0]); in default_handler()
|
/Linux-v5.4/drivers/nvdimm/ |
D | nd-core.h | 64 dev_WARN_ONCE(&nvdimm->dev, hweight64(flags & state_flags) > 1, in nvdimm_security_flags()
|
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/ |
D | nfp_asm.c | 300 return hweight64(value) & 1; in parity()
|
/Linux-v5.4/drivers/gpu/drm/panfrost/ |
D | panfrost_perfcnt.c | 273 ncoregroups = hweight64(pfdev->features.l2_present); in panfrost_perfcnt_init()
|
D | panfrost_gpu.c | 233 pfdev->features.nr_core_groups = hweight64(pfdev->features.l2_present); in panfrost_gpu_init_features()
|
/Linux-v5.4/fs/btrfs/ |
D | tree-checker.c | 479 if (hweight64(flags & BTRFS_BLOCK_GROUP_PROFILE_MASK) > 1) { in check_block_group_item() 483 hweight64(flags & BTRFS_BLOCK_GROUP_PROFILE_MASK)); in check_block_group_item() 495 type, hweight64(type), in check_block_group_item()
|
/Linux-v5.4/drivers/gpu/drm/i915/ |
D | i915_buddy.c | 123 mm->n_roots = hweight64(size); in i915_buddy_init()
|
/Linux-v5.4/drivers/clk/ |
D | clk-stm32f4.c | 873 return stm32fx_end_primary_clk - 1 + hweight64(table[0]) + in stm32f4_rcc_lookup_clk_idx() 874 (BIT_ULL_WORD(secondary) >= 1 ? hweight64(table[1]) : 0) + in stm32f4_rcc_lookup_clk_idx() 875 (BIT_ULL_WORD(secondary) >= 2 ? hweight64(table[2]) : 0); in stm32f4_rcc_lookup_clk_idx()
|
/Linux-v5.4/fs/xfs/scrub/ |
D | ialloc.c | 127 return hweight64(freemask); in xchk_iallocbt_freecount()
|
/Linux-v5.4/arch/sparc/kernel/ |
D | unaligned_64.c | 410 ret = hweight64(value); in handle_popc()
|
/Linux-v5.4/drivers/gpu/drm/ |
D | drm_property.c | 218 int num_values = hweight64(supported_bits); in drm_property_create_bitmask()
|
/Linux-v5.4/drivers/net/ethernet/cavium/liquidio/ |
D | lio_main.c | 836 vfs_referencing_pf = hweight64(vfs_mask1); in liquidio_watchdog() 837 vfs_referencing_pf += hweight64(vfs_mask2); in liquidio_watchdog() 3492 num_iqueues = hweight64(resp->cfg_info.iqmask); in setup_nic_devices() 3493 num_oqueues = hweight64(resp->cfg_info.oqmask); in setup_nic_devices()
|
/Linux-v5.4/drivers/net/ethernet/freescale/enetc/ |
D | enetc_pf.c | 107 res |= (hweight64(fold & (mask << i)) & 0x1) << i; in enetc_mac_addr_hash_idx()
|