Home
last modified time | relevance | path

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

/linux-4.4.14/tools/perf/util/
Dbitmap.c15 w += hweight_long(bitmap[k]); in __bitmap_weight()
18 w += hweight_long(bitmap[k] & BITMAP_LAST_WORD_MASK(bits)); in __bitmap_weight()
Devsel.c1781 sz = hweight_long(mask) * sizeof(u64); in perf_evsel__parse_sample()
1840 sz = hweight_long(mask) * sizeof(u64); in perf_evsel__parse_sample()
1918 sz = hweight_long(sample->user_regs.mask) * sizeof(u64); in perf_event__sample_event_size()
1946 sz = hweight_long(sample->intr_regs.mask) * sizeof(u64); in perf_event__sample_event_size()
2098 sz = hweight_long(sample->user_regs.mask) * sizeof(u64); in perf_event__synthesize_sample()
2134 sz = hweight_long(sample->intr_regs.mask) * sizeof(u64); in perf_event__synthesize_sample()
/linux-4.4.14/drivers/block/drbd/
Ddrbd_bitmap.c507 cleared = hweight_long(*bm & ~mask); in bm_clear_surplus()
515 cleared += hweight_long(*bm); in bm_clear_surplus()
568 bits += hweight_long(p_addr[i]); in bm_count_bits()
576 bits += hweight_long(p_addr[i]); in bm_count_bits()
578 bits += hweight_long(p_addr[last_word]); in bm_count_bits()
843 bits = hweight_long(*bm); in drbd_bm_merge_lel()
846 b->bm_set += hweight_long(word) - bits; in drbd_bm_merge_lel()
1423 bits = hweight_long(paddr[i]); in bm_set_full_words_within_one_page()
1632 count += hweight_long(*bm++); in drbd_bm_e_weight()
/linux-4.4.14/tools/perf/util/include/linux/
Dbitmap.h36 return hweight_long(*src & BITMAP_LAST_WORD_MASK(nbits)); in bitmap_weight()
/linux-4.4.14/tools/include/linux/
Dbitops.h46 static inline unsigned long hweight_long(unsigned long w) in hweight_long() function
/linux-4.4.14/tools/perf/tests/
Dsample-parsing.c99 size_t sz = hweight_long(s1->user_regs.mask) * sizeof(u64); in samples_same()
130 size_t sz = hweight_long(s1->intr_regs.mask) * sizeof(u64); in samples_same()
/linux-4.4.14/drivers/bus/
Dbrcmstb_gisb.c174 if (hweight_long(mask) != 1) in brcmstb_gisb_master_to_str()
331 if (hweight_long(gdev->valid_mask) == num_masters) { in brcmstb_gisb_arb_probe()
/linux-4.4.14/drivers/hwspinlock/
Domap_hwspinlock.c128 if (hweight_long(i & 0xf) != 1 || i > 8) { in omap_hwspinlock_probe()
/linux-4.4.14/arch/x86/kernel/cpu/
Dperf_event_amd.c558 if (hweight_long(hwc->config & ARCH_PERFMON_EVENTSEL_UMASK) <= 1) in amd_get_event_constraints_f15h()
583 if (hweight_long(hwc->config & ARCH_PERFMON_EVENTSEL_UMASK) <= 1) in amd_get_event_constraints_f15h()
/linux-4.4.14/include/linux/
Dbitops.h78 static __always_inline unsigned long hweight_long(unsigned long w) in hweight_long() function
Dbitmap.h301 return hweight_long(*src & BITMAP_LAST_WORD_MASK(nbits)); in bitmap_weight()
/linux-4.4.14/lib/
Dbitmap.c243 w += hweight_long(bitmap[k]); in __bitmap_weight()
246 w += hweight_long(bitmap[k] & BITMAP_LAST_WORD_MASK(bits)); in __bitmap_weight()
/linux-4.4.14/arch/sh/kernel/
Dio_trapped.c65 if (hweight_long(flags) != 1) in register_trapped_io()
/linux-4.4.14/drivers/ps3/
Dps3stor_lib.c125 n = hweight_long(dev->accessible_regions); in ps3stor_probe_access()
/linux-4.4.14/drivers/pwm/
Dpwm-sti.c127 ncfg = hweight_long(pc->configured); in sti_pwm_config()
/linux-4.4.14/arch/x86/kvm/
Dassigned-dev.c602 if (hweight_long(host_irq_type) > 1) in kvm_vm_ioctl_assign_irq()
604 if (hweight_long(guest_irq_type) > 1) in kvm_vm_ioctl_assign_irq()
/linux-4.4.14/drivers/mtd/maps/
Dvmu-flash.c610 c = hweight_long(test_flash_data); in vmu_connect()
/linux-4.4.14/drivers/misc/lis3lv02d/
Dlis3lv02d.c256 len = 1 << hweight_long(lis3->odr_mask); /* # of possible values */ in lis3lv02d_set_odr()
/linux-4.4.14/fs/reiserfs/
Dbitmap.c1403 info->free_count += BITS_PER_LONG - hweight_long(*cur); in reiserfs_cache_bitmap_metadata()
/linux-4.4.14/drivers/crypto/
Dsahara.c779 if (hweight_long(hdr) % 2 == 0) in sahara_sha_init_hdr()
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
Dd3.c1775 n_matches = hweight_long(matched_profiles); in iwl_mvm_query_netdetect_reasons()
/linux-4.4.14/drivers/edac/
Damd64_edac.c1433 u32 temp = hweight_long((u32) ((sys_addr >> 16) & 0x1F)) % 2; in f1x_determine_channel()
/linux-4.4.14/sound/soc/
Dsoc-pcm.c803 int channels = hweight_long(mask); in soc_pcm_codec_params_fixup()
/linux-4.4.14/drivers/net/usb/
Dlan78xx.c3180 if (hweight_long((unsigned long)wol) > 1) { in lan78xx_set_suspend()
/linux-4.4.14/drivers/mtd/nand/
Dnand_base.c1145 weight = hweight_long(*((unsigned long *)bitmap)); in nand_check_erased_buf()