hweight64 1553 arch/arm64/kernel/insn.c ones = hweight64(imm); hweight64 1885 arch/ia64/hp/common/sba_iommu.c used += hweight64(*res_ptr); hweight64 129 arch/ia64/kernel/perfmon_default_smpl.c npmds = hweight64(arg->smpl_pmds[0]); hweight64 410 arch/sparc/kernel/unaligned_64.c ret = hweight64(value); hweight64 5124 arch/x86/events/intel/core.c c->weight = hweight64(c->idxmsk64); hweight64 1310 arch/x86/kernel/apic/x2apic_uv_x.c uv_pb += hweight64(np); hweight64 119 drivers/char/uv_mmtimer.c ret = hweight64(UVH_RTC_REAL_TIME_CLOCK_MASK); hweight64 873 drivers/clk/clk-stm32f4.c return stm32fx_end_primary_clk - 1 + hweight64(table[0]) + hweight64 874 drivers/clk/clk-stm32f4.c (BIT_ULL_WORD(secondary) >= 1 ? hweight64(table[1]) : 0) + hweight64 875 drivers/clk/clk-stm32f4.c (BIT_ULL_WORD(secondary) >= 2 ? hweight64(table[2]) : 0); hweight64 218 drivers/gpu/drm/drm_property.c int num_values = hweight64(supported_bits); hweight64 522 drivers/gpu/drm/i915/display/intel_display_power.c int refs = hweight64(power_well->desc->domains & hweight64 1726 drivers/gpu/drm/i915/display/intel_display_power.c DRM_DEBUG_DRIVER("%s (%lu):\n", prefix, hweight64(mask)); hweight64 2110 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c return hweight64(INTEL_INFO(i915)->engine_mask & hweight64 123 drivers/gpu/drm/i915/i915_buddy.c mm->n_roots = hweight64(size); hweight64 192 drivers/gpu/drm/i915/selftests/i915_buddy.c if (mm->n_roots != hweight64(mm->size)) { hweight64 194 drivers/gpu/drm/i915/selftests/i915_buddy.c mm->n_roots, hweight64(mm->size)); hweight64 233 drivers/gpu/drm/panfrost/panfrost_gpu.c pfdev->features.nr_core_groups = hweight64(pfdev->features.l2_present); hweight64 285 drivers/gpu/drm/panfrost/panfrost_perfcnt.c ncoregroups = hweight64(pfdev->features.l2_present); hweight64 5738 drivers/infiniband/hw/hfi1/chip.c weight = hweight64(info & PORT_DISCARD_EGRESS_ERRS); hweight64 2737 drivers/infiniband/hw/hfi1/mad.c u8 num_vls = hweight64(vl_select_mask); hweight64 3220 drivers/infiniband/hw/hfi1/mad.c num_pslm = hweight64(be64_to_cpu(req->port_select_mask[3])); hweight64 3389 drivers/infiniband/hw/hfi1/mad.c num_pslm = hweight64(be64_to_cpu(req->port_select_mask[3])); hweight64 3639 drivers/infiniband/hw/hfi1/mad.c num_pslm = hweight64(be64_to_cpu(req->port_select_mask[3])); hweight64 277 drivers/infiniband/sw/rdmavt/qp.c weight = hweight64((u64)bits); hweight64 490 drivers/media/tuners/tuner-xc2028.c nr_matches = hweight64(match_mask); hweight64 646 drivers/media/tuners/xc4000.c nr_diffs = hweight64(id_diff_mask) + hweight32(type_diff_mask); hweight64 283 drivers/misc/sgi-gru/grufile.c n = hweight64(gru->gs_cbr_map) * GRU_CBR_AU_SIZE; hweight64 285 drivers/misc/sgi-gru/grufile.c n = hweight64(gru->gs_dsr_map) * GRU_DSR_AU_BYTES; hweight64 146 drivers/misc/sgi-gru/grukdump.c cbrcnt = hweight64(cch->cbr_allocation_map) * hweight64 215 drivers/misc/sgi-gru/grumain.c return hweight64(gru->gs_cbr_map) >= cbr_au_count hweight64 216 drivers/misc/sgi-gru/grumain.c && hweight64(gru->gs_dsr_map) >= dsr_au_count hweight64 490 drivers/misc/sgi-gru/grumain.c length = hweight64(dsrmap) * GRU_DSR_AU_BYTES; hweight64 525 drivers/misc/sgi-gru/grumain.c length = hweight64(dsrmap) * GRU_DSR_AU_BYTES; hweight64 837 drivers/misc/sgi-gru/grumain.c gru->gs_gid, ctxnum, ngts, cbr, dsr, hweight64(gru->gs_cbr_map), hweight64 838 drivers/misc/sgi-gru/grumain.c hweight64(gru->gs_dsr_map)); hweight64 201 drivers/misc/sgi-gru/gruprocfs.c cbrfree = hweight64(gru->gs_cbr_map) * GRU_CBR_AU_SIZE; hweight64 202 drivers/misc/sgi-gru/gruprocfs.c dsrfree = hweight64(gru->gs_dsr_map) * GRU_DSR_AU_BYTES; hweight64 1056 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c lio->linfo.num_rxpciq = hweight64(resp->cfg_info.iqmask); hweight64 1057 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c lio->linfo.num_txpciq = hweight64(resp->cfg_info.iqmask); hweight64 836 drivers/net/ethernet/cavium/liquidio/lio_main.c vfs_referencing_pf = hweight64(vfs_mask1); hweight64 837 drivers/net/ethernet/cavium/liquidio/lio_main.c vfs_referencing_pf += hweight64(vfs_mask2); hweight64 3492 drivers/net/ethernet/cavium/liquidio/lio_main.c num_iqueues = hweight64(resp->cfg_info.iqmask); hweight64 3493 drivers/net/ethernet/cavium/liquidio/lio_main.c num_oqueues = hweight64(resp->cfg_info.oqmask); hweight64 2016 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c num_iqueues = hweight64(resp->cfg_info.iqmask); hweight64 2017 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c num_oqueues = hweight64(resp->cfg_info.oqmask); hweight64 107 drivers/net/ethernet/freescale/enetc/enetc_pf.c res |= (hweight64(fold & (mask << i)) & 0x1) << i; hweight64 300 drivers/net/ethernet/netronome/nfp/nfp_asm.c return hweight64(value) & 1; hweight64 2734 drivers/net/ethernet/sun/niu.c if (hweight64(reg_val & port01_mask) & 1) hweight64 2739 drivers/net/ethernet/sun/niu.c if (hweight64(reg_val & port23_mask) & 1) hweight64 398 drivers/ntb/test/ntb_perf.c if (hweight64(ntb_msg_read_sts(perf->ntb) & inbits) < 3) hweight64 64 drivers/nvdimm/nd-core.h dev_WARN_ONCE(&nvdimm->dev, hweight64(flags & state_flags) > 1, hweight64 493 fs/btrfs/tree-checker.c if (hweight64(flags & BTRFS_BLOCK_GROUP_PROFILE_MASK) > 1) { hweight64 497 fs/btrfs/tree-checker.c hweight64(flags & BTRFS_BLOCK_GROUP_PROFILE_MASK)); hweight64 509 fs/btrfs/tree-checker.c type, hweight64(type), hweight64 132 fs/xfs/libxfs/xfs_ialloc.c if (hweight64(realfree) != irec->ir_freecount) hweight64 127 fs/xfs/scrub/ialloc.c return hweight64(freemask); hweight64 60 include/linux/bitops.h return sizeof(w) == 4 ? hweight32(w) : hweight64(w); hweight64 6652 kernel/events/core.c size += hweight64(mask) * sizeof(u64); hweight64 6692 kernel/events/core.c size += hweight64(mask) * sizeof(u64); hweight64 832 net/core/ethtool.c n_bits = hweight64(sset_mask); hweight64 1666 net/mac80211/iface.c if (__ffs64(mask) + hweight64(mask) != fls64(mask)) { hweight64 53 tools/include/linux/bitops.h return sizeof(w) == 4 ? hweight32(w) : hweight64(w); hweight64 2139 tools/perf/util/evsel.c sz = hweight64(mask) * sizeof(u64); hweight64 2195 tools/perf/util/evsel.c sz = hweight64(mask) * sizeof(u64); hweight64 37 tools/perf/util/smt.c if (hweight64(siblings) > 1) { hweight64 1193 tools/perf/util/synthetic-events.c sz = hweight64(sample->user_regs.mask) * sizeof(u64); hweight64 1221 tools/perf/util/synthetic-events.c sz = hweight64(sample->intr_regs.mask) * sizeof(u64); hweight64 1350 tools/perf/util/synthetic-events.c sz = hweight64(sample->user_regs.mask) * sizeof(u64); hweight64 1386 tools/perf/util/synthetic-events.c sz = hweight64(sample->intr_regs.mask) * sizeof(u64);