/linux-4.1.27/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 | 1608 sz = hweight_long(mask) * sizeof(u64); in perf_evsel__parse_sample() 1667 sz = hweight_long(mask) * sizeof(u64); in perf_evsel__parse_sample() 1745 sz = hweight_long(sample->user_regs.mask) * sizeof(u64); in perf_event__sample_event_size() 1773 sz = hweight_long(sample->intr_regs.mask) * sizeof(u64); in perf_event__sample_event_size() 1925 sz = hweight_long(sample->user_regs.mask) * sizeof(u64); in perf_event__synthesize_sample() 1961 sz = hweight_long(sample->intr_regs.mask) * sizeof(u64); in perf_event__synthesize_sample()
|
/linux-4.1.27/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() 1432 bits = hweight_long(paddr[i]); in bm_set_full_words_within_one_page() 1641 count += hweight_long(*bm++); in drbd_bm_e_weight()
|
/linux-4.1.27/tools/perf/util/include/linux/ |
D | bitmap.h | 36 return hweight_long(*src & BITMAP_LAST_WORD_MASK(nbits)); in bitmap_weight()
|
/linux-4.1.27/tools/include/linux/ |
D | bitops.h | 46 static inline unsigned long hweight_long(unsigned long w) in hweight_long() function
|
/linux-4.1.27/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.1.27/drivers/bus/ |
D | brcmstb_gisb.c | 166 if (hweight_long(mask) != 1) in brcmstb_gisb_master_to_str() 322 if (hweight_long(gdev->valid_mask) == num_masters) { in brcmstb_gisb_arb_probe()
|
/linux-4.1.27/drivers/hwspinlock/ |
D | omap_hwspinlock.c | 125 if (hweight_long(i & 0xf) != 1 || i > 8) { in omap_hwspinlock_probe()
|
/linux-4.1.27/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.1.27/include/linux/ |
D | bitops.h | 78 static 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.1.27/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.1.27/arch/sh/kernel/ |
D | io_trapped.c | 65 if (hweight_long(flags) != 1) in register_trapped_io()
|
/linux-4.1.27/drivers/ps3/ |
D | ps3stor_lib.c | 125 n = hweight_long(dev->accessible_regions); in ps3stor_probe_access()
|
/linux-4.1.27/drivers/pwm/ |
D | pwm-sti.c | 127 ncfg = hweight_long(pc->configured); in sti_pwm_config()
|
/linux-4.1.27/arch/x86/kvm/ |
D | assigned-dev.c | 586 if (hweight_long(host_irq_type) > 1) in kvm_vm_ioctl_assign_irq() 588 if (hweight_long(guest_irq_type) > 1) in kvm_vm_ioctl_assign_irq()
|
/linux-4.1.27/drivers/mtd/maps/ |
D | vmu-flash.c | 610 c = hweight_long(test_flash_data); in vmu_connect()
|
/linux-4.1.27/drivers/misc/lis3lv02d/ |
D | lis3lv02d.c | 256 len = 1 << hweight_long(lis3->odr_mask); /* # of possible values */ in lis3lv02d_set_odr()
|
/linux-4.1.27/fs/reiserfs/ |
D | bitmap.c | 1403 info->free_count += BITS_PER_LONG - hweight_long(*cur); in reiserfs_cache_bitmap_metadata()
|
/linux-4.1.27/drivers/crypto/ |
D | sahara.c | 805 if (hweight_long(hdr) % 2 == 0) in sahara_sha_init_hdr()
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/ |
D | d3.c | 1772 n_matches = hweight_long(matched_profiles); in iwl_mvm_query_netdetect_reasons()
|
/linux-4.1.27/drivers/edac/ |
D | amd64_edac.c | 1418 u32 temp = hweight_long((u32) ((sys_addr >> 16) & 0x1F)) % 2; in f1x_determine_channel()
|
/linux-4.1.27/sound/soc/ |
D | soc-pcm.c | 773 int channels = hweight_long(mask); in soc_pcm_codec_params_fixup()
|