/linux-4.4.14/tools/perf/util/ |
D | bitmap.c | 15 w += hweight_long(bitmap[k]); in __bitmap_weight() 18 w += hweight_long(bitmap[k] & BITMAP_LAST_WORD_MASK(bits)); in __bitmap_weight()
|
D | evsel.c | 1781 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/ |
D | drbd_bitmap.c | 507 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/ |
D | bitmap.h | 36 return hweight_long(*src & BITMAP_LAST_WORD_MASK(nbits)); in bitmap_weight()
|
/linux-4.4.14/tools/include/linux/ |
D | bitops.h | 46 static inline unsigned long hweight_long(unsigned long w) in hweight_long() function
|
/linux-4.4.14/tools/perf/tests/ |
D | sample-parsing.c | 99 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/ |
D | brcmstb_gisb.c | 174 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/ |
D | omap_hwspinlock.c | 128 if (hweight_long(i & 0xf) != 1 || i > 8) { in omap_hwspinlock_probe()
|
/linux-4.4.14/arch/x86/kernel/cpu/ |
D | perf_event_amd.c | 558 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/ |
D | bitops.h | 78 static __always_inline unsigned long hweight_long(unsigned long w) in hweight_long() function
|
D | bitmap.h | 301 return hweight_long(*src & BITMAP_LAST_WORD_MASK(nbits)); in bitmap_weight()
|
/linux-4.4.14/lib/ |
D | bitmap.c | 243 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/ |
D | io_trapped.c | 65 if (hweight_long(flags) != 1) in register_trapped_io()
|
/linux-4.4.14/drivers/ps3/ |
D | ps3stor_lib.c | 125 n = hweight_long(dev->accessible_regions); in ps3stor_probe_access()
|
/linux-4.4.14/drivers/pwm/ |
D | pwm-sti.c | 127 ncfg = hweight_long(pc->configured); in sti_pwm_config()
|
/linux-4.4.14/arch/x86/kvm/ |
D | assigned-dev.c | 602 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/ |
D | vmu-flash.c | 610 c = hweight_long(test_flash_data); in vmu_connect()
|
/linux-4.4.14/drivers/misc/lis3lv02d/ |
D | lis3lv02d.c | 256 len = 1 << hweight_long(lis3->odr_mask); /* # of possible values */ in lis3lv02d_set_odr()
|
/linux-4.4.14/fs/reiserfs/ |
D | bitmap.c | 1403 info->free_count += BITS_PER_LONG - hweight_long(*cur); in reiserfs_cache_bitmap_metadata()
|
/linux-4.4.14/drivers/crypto/ |
D | sahara.c | 779 if (hweight_long(hdr) % 2 == 0) in sahara_sha_init_hdr()
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/ |
D | d3.c | 1775 n_matches = hweight_long(matched_profiles); in iwl_mvm_query_netdetect_reasons()
|
/linux-4.4.14/drivers/edac/ |
D | amd64_edac.c | 1433 u32 temp = hweight_long((u32) ((sys_addr >> 16) & 0x1F)) % 2; in f1x_determine_channel()
|
/linux-4.4.14/sound/soc/ |
D | soc-pcm.c | 803 int channels = hweight_long(mask); in soc_pcm_codec_params_fixup()
|
/linux-4.4.14/drivers/net/usb/ |
D | lan78xx.c | 3180 if (hweight_long((unsigned long)wol) > 1) { in lan78xx_set_suspend()
|
/linux-4.4.14/drivers/mtd/nand/ |
D | nand_base.c | 1145 weight = hweight_long(*((unsigned long *)bitmap)); in nand_check_erased_buf()
|