Home
last modified time | relevance | path

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

/linux-4.1.27/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.c1608 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/
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()
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/
Dbitmap.h36 return hweight_long(*src & BITMAP_LAST_WORD_MASK(nbits)); in bitmap_weight()
/linux-4.1.27/tools/include/linux/
Dbitops.h46 static inline unsigned long hweight_long(unsigned long w) in hweight_long() function
/linux-4.1.27/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.1.27/drivers/bus/
Dbrcmstb_gisb.c166 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/
Domap_hwspinlock.c125 if (hweight_long(i & 0xf) != 1 || i > 8) { in omap_hwspinlock_probe()
/linux-4.1.27/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.1.27/include/linux/
Dbitops.h78 static 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.1.27/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.1.27/arch/sh/kernel/
Dio_trapped.c65 if (hweight_long(flags) != 1) in register_trapped_io()
/linux-4.1.27/drivers/ps3/
Dps3stor_lib.c125 n = hweight_long(dev->accessible_regions); in ps3stor_probe_access()
/linux-4.1.27/drivers/pwm/
Dpwm-sti.c127 ncfg = hweight_long(pc->configured); in sti_pwm_config()
/linux-4.1.27/arch/x86/kvm/
Dassigned-dev.c586 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/
Dvmu-flash.c610 c = hweight_long(test_flash_data); in vmu_connect()
/linux-4.1.27/drivers/misc/lis3lv02d/
Dlis3lv02d.c256 len = 1 << hweight_long(lis3->odr_mask); /* # of possible values */ in lis3lv02d_set_odr()
/linux-4.1.27/fs/reiserfs/
Dbitmap.c1403 info->free_count += BITS_PER_LONG - hweight_long(*cur); in reiserfs_cache_bitmap_metadata()
/linux-4.1.27/drivers/crypto/
Dsahara.c805 if (hweight_long(hdr) % 2 == 0) in sahara_sha_init_hdr()
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
Dd3.c1772 n_matches = hweight_long(matched_profiles); in iwl_mvm_query_netdetect_reasons()
/linux-4.1.27/drivers/edac/
Damd64_edac.c1418 u32 temp = hweight_long((u32) ((sys_addr >> 16) & 0x1F)) % 2; in f1x_determine_channel()
/linux-4.1.27/sound/soc/
Dsoc-pcm.c773 int channels = hweight_long(mask); in soc_pcm_codec_params_fixup()