bitmap_weight     698 arch/nds32/kernel/perf_event_cpu.c 	int enabled = bitmap_weight(hw_events->used_mask,
bitmap_weight     124 arch/x86/include/asm/mpspec.h 	bitmap_weight((map).mask, MAX_LOCAL_APIC)
bitmap_weight     793 arch/x86/include/asm/uv/uv_bau.h 	return bitmap_weight((unsigned long *)&dstp->bits[0],
bitmap_weight    1265 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	num_b = bitmap_weight(&cbm, r->cache.cbm_len);
bitmap_weight    2587 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	if (bitmap_weight(&tmp_cbm, r->cache.cbm_len) < r->cache.min_cbm_bits) {
bitmap_weight    1401 arch/x86/kvm/hyperv.c 			bitmap_weight((unsigned long *)&valid_bank_mask, 64) *
bitmap_weight    1499 arch/x86/kvm/hyperv.c 		sparse_banks_len = bitmap_weight(&valid_bank_mask, 64) *
bitmap_weight      82 drivers/acpi/x86/apple.c 	numvalid = bitmap_weight(valid, numprops);
bitmap_weight     566 drivers/block/drbd/drbd_bitmap.c 		bits += bitmap_weight(p_addr, BITS_PER_PAGE);
bitmap_weight     573 drivers/block/drbd/drbd_bitmap.c 	bits += bitmap_weight(p_addr, last_word * BITS_PER_LONG);
bitmap_weight    1655 drivers/block/drbd/drbd_bitmap.c 		count += bitmap_weight(bm, n * BITS_PER_LONG);
bitmap_weight     601 drivers/crypto/ccp/ccp-dev-v5.c 	queues = bitmap_weight(cmd_q->lsbmask, MAX_LSB_CNT);
bitmap_weight     630 drivers/crypto/ccp/ccp-dev-v5.c 		qlsb_wgt = bitmap_weight(cmd_q->lsbmask, MAX_LSB_CNT);
bitmap_weight     682 drivers/crypto/ccp/ccp-dev-v5.c 	n_lsbs = bitmap_weight(lsb_pub, MAX_LSB_CNT);
bitmap_weight     224 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c 		bitmap_weight(adev->gfx.mec.queue_bitmap, AMDGPU_MAX_COMPUTE_QUEUES);
bitmap_weight     253 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c 		bitmap_weight(adev->gfx.me.queue_bitmap, AMDGPU_MAX_GFX_QUEUES);
bitmap_weight    6309 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 	if (!bitmap_weight(adev->gfx.pipe_reserve_bitmap, AMDGPU_MAX_COMPUTE_QUEUES)) {
bitmap_weight    5188 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	if (!bitmap_weight(adev->gfx.pipe_reserve_bitmap, AMDGPU_MAX_COMPUTE_QUEUES)) {
bitmap_weight      88 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c 	return bitmap_weight(dqm->dev->shared_resources.queue_bitmap,
bitmap_weight      71 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c 	WARN_ON(bitmap_weight(cs, cnt) > 0);
bitmap_weight      80 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c 	avail = cnt - bitmap_weight(state->state, cnt);
bitmap_weight     357 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c 			int inuse = bitmap_weight(cs, smp->blk_cnt);
bitmap_weight     369 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c 			bitmap_weight(state->state, smp->blk_cnt));
bitmap_weight     819 drivers/iio/accel/adxl372.c 	st->fifo_set_size = bitmap_weight(indio_dev->active_scan_mask,
bitmap_weight     113 drivers/iio/adc/ad7298.c 	scan_count = bitmap_weight(active_scan_mask, indio_dev->masklength);
bitmap_weight     228 drivers/iio/adc/ad799x.c 	st->transfer_size = bitmap_weight(scan_mask, indio_dev->masklength) * 2;
bitmap_weight     482 drivers/iio/adc/at91_adc.c 	idev->num_channels = bitmap_weight(&st->channels_mask,
bitmap_weight     271 drivers/iio/adc/cc10001_adc.c 	indio_dev->num_channels = bitmap_weight(&channel_map,
bitmap_weight     855 drivers/iio/adc/max1363.c 	numelements = bitmap_weight(modemask, MAX1363_MAX_CHANNELS);
bitmap_weight    1478 drivers/iio/adc/max1363.c 	unsigned long numvals = bitmap_weight(st->current_mode->modemask,
bitmap_weight     542 drivers/iio/adc/mxs-lradc-adc.c 	const int map_chans = bitmap_weight(mask, LRADC_MAX_TOTAL_CHANS);
bitmap_weight    1277 drivers/iio/adc/stm32-adc.c 	adc->num_conv = bitmap_weight(scan_mask, indio_dev->masklength);
bitmap_weight     988 drivers/iio/adc/stm32-dfsdm-adc.c 	adc->nconv = bitmap_weight(scan_mask, indio_dev->masklength);
bitmap_weight     590 drivers/iio/adc/xilinx-xadc-core.c 	n = bitmap_weight(mask, indio_dev->masklength);
bitmap_weight      75 drivers/iio/dummy/iio_simple_dummy_buffer.c 		     i < bitmap_weight(indio_dev->active_scan_mask,
bitmap_weight     295 drivers/iio/health/max30102.c 	unsigned int measurements = bitmap_weight(indio_dev->active_scan_mask,
bitmap_weight    1365 drivers/iio/industrialio-buffer.c 	return bitmap_weight(mask, indio_dev->masklength) == 1;
bitmap_weight     298 drivers/iio/industrialio-trigger.c 		= (bitmap_weight(trig->pool,
bitmap_weight    3067 drivers/infiniband/hw/mlx4/main.c 	ports = bitmap_weight(actv_ports.ports, dev->caps.num_ports);
bitmap_weight    2057 drivers/input/input.c 		events += bitmap_weight(dev->relbit, REL_CNT);
bitmap_weight     613 drivers/input/rmi4/rmi_driver.c 	rdesc->num_registers = bitmap_weight(rdesc->presense_map,
bitmap_weight     676 drivers/input/rmi4/rmi_driver.c 		item->num_subpackets = bitmap_weight(item->subpacket_map,
bitmap_weight    4813 drivers/iommu/intel-iommu.c 	return sprintf(buf, "%d\n", bitmap_weight(iommu->domain_ids,
bitmap_weight     967 drivers/lightnvm/pblk-core.c 			bitmap_weight(line->blk_bitmap, lm->blk_per_line);
bitmap_weight    1117 drivers/lightnvm/pblk-core.c 		bitmap_weight(line->invalid_bitmap, lm->sec_per_line)) {
bitmap_weight     187 drivers/lightnvm/pblk-map.c 			bitmap_weight(d_line->blk_bitmap, lm->blk_per_line)) {
bitmap_weight     119 drivers/lightnvm/pblk-recovery.c 	int nr_bb = bitmap_weight(line->blk_bitmap, lm->blk_per_line);
bitmap_weight     264 drivers/lightnvm/pblk-sysfs.c 		meta_weight = bitmap_weight(&l_mg->meta_bitmap,
bitmap_weight     269 drivers/lightnvm/pblk-sysfs.c 			map_weight = bitmap_weight(l_mg->data_line->map_bitmap,
bitmap_weight     661 drivers/md/dm-clone-metadata.c 	return bitmap_weight(cmd->region_map, cmd->nr_regions);
bitmap_weight     158 drivers/memstick/core/ms_block.c 	if (msb->block_count - bitmap_weight(msb->used_blocks_bitmap,
bitmap_weight    1491 drivers/net/dsa/b53/b53_common.c 	if (bitmap_weight(free_bins, dev->num_arl_entries) == 0)
bitmap_weight    1058 drivers/net/dsa/bcm_sf2_cfp.c 		nfc->rule_cnt = bitmap_weight(priv->cfp.unique,
bitmap_weight     297 drivers/net/dsa/mv88e6xxx/global1_atu.c 	shift = bitmap_weight(&mask, 16);
bitmap_weight    2134 drivers/net/ethernet/broadcom/bcmsysport.c 	if (bitmap_weight(priv->filters, RXCHK_BRCM_TAG_MAX) ==
bitmap_weight    2702 drivers/net/ethernet/freescale/gianfar.c 	num_act_queues = bitmap_weight(&rstat_rxf, MAX_RX_QS);
bitmap_weight     249 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c 	if (bitmap_weight(adapter->fwd_bitmask, adapter->num_rx_pools) == 1) {
bitmap_weight     295 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c 	num_rx_pools = bitmap_weight(adapter->fwd_bitmask,
bitmap_weight     151 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 	used = bitmap_weight(rsrc->bmap, rsrc->max);
bitmap_weight    1967 drivers/net/ethernet/mellanox/mlx4/cmd.c 		   bitmap_weight(port_qos->priority_bm, MLX4_NUM_UP));
bitmap_weight    2007 drivers/net/ethernet/mellanox/mlx4/cmd.c 		bitmap_weight(actv_ports.ports, priv->dev.caps.num_ports);
bitmap_weight    2073 drivers/net/ethernet/mellanox/mlx4/cmd.c 		bitmap_weight(actv_ports.ports, priv->dev.caps.num_ports);
bitmap_weight    2797 drivers/net/ethernet/mellanox/mlx4/cmd.c 	unsigned m = bitmap_weight(actv_ports.ports, dev->caps.num_ports);
bitmap_weight    2870 drivers/net/ethernet/mellanox/mlx4/cmd.c 		bitmap_weight(actv_ports.ports, dev->caps.num_ports);
bitmap_weight    3412 drivers/net/ethernet/mellanox/mlx4/cmd.c 		bitmap_weight(actv_ports.ports, priv->dev.caps.num_ports);
bitmap_weight     320 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	h->count = h->advance_array ? bitmap_weight(stats_bitmap, count)
bitmap_weight    1441 drivers/net/ethernet/mellanox/mlx4/eq.c 	return !!(bitmap_weight(priv->eq_table.eq[vector].actv_ports.ports,
bitmap_weight     465 drivers/net/ethernet/mellanox/mlx4/fw.c 			bitmap_weight(actv_ports.ports, dev->caps.num_ports),
bitmap_weight    1301 drivers/net/ethernet/mellanox/mlx4/fw.c 	     bitmap_weight(actv_ports.ports, dev->caps.num_ports);
bitmap_weight    1317 drivers/net/ethernet/mellanox/mlx4/fw.c 	field |= bitmap_weight(actv_ports.ports, dev->caps.num_ports) & 0x0F;
bitmap_weight    1385 drivers/net/ethernet/mellanox/mlx4/main.c 	if (bitmap_weight(slaves_port_1_2, dev->persist->num_vfs + 1) > 1) {
bitmap_weight    1393 drivers/net/ethernet/mellanox/mlx4/main.c 	nvfs = bitmap_weight(slaves_port1.slaves, dev->persist->num_vfs + 1) +
bitmap_weight    1394 drivers/net/ethernet/mellanox/mlx4/main.c 		bitmap_weight(slaves_port2.slaves, dev->persist->num_vfs + 1) - 2;
bitmap_weight    1108 drivers/net/ethernet/mellanox/mlx4/port.c 		bitmap_weight(actv_ports.ports, dev->caps.num_ports) + 1;
bitmap_weight    1119 drivers/net/ethernet/mellanox/mlx4/port.c 		slave_gid -= bitmap_weight(slaves_pport_actv.slaves,
bitmap_weight    1122 drivers/net/ethernet/mellanox/mlx4/port.c 	vfs = bitmap_weight(slaves_pport.slaves, dev->persist->num_vfs + 1) - 1;
bitmap_weight    1145 drivers/net/ethernet/mellanox/mlx4/port.c 		bitmap_weight(actv_ports.ports, dev->caps.num_ports) + 1;
bitmap_weight    1156 drivers/net/ethernet/mellanox/mlx4/port.c 		slave_gid -= bitmap_weight(slaves_pport_actv.slaves,
bitmap_weight    1160 drivers/net/ethernet/mellanox/mlx4/port.c 	vfs = bitmap_weight(slaves_pport.slaves, dev->persist->num_vfs + 1) - 1;
bitmap_weight    1871 drivers/net/ethernet/mellanox/mlx4/port.c 	num_vfs = bitmap_weight(slaves_pport.slaves,
bitmap_weight    1914 drivers/net/ethernet/mellanox/mlx4/port.c 				num_vfs_before += bitmap_weight(
bitmap_weight    1931 drivers/net/ethernet/mellanox/mlx4/port.c 				bitmap_weight(actv_ports.ports,
bitmap_weight    1944 drivers/net/ethernet/mellanox/mlx4/port.c 				slave_gid += bitmap_weight(
bitmap_weight     488 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	ports = bitmap_weight(actv_ports.ports, dev->caps.num_ports);
bitmap_weight     592 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 							bitmap_weight(slaves_pport.slaves,
bitmap_weight    1551 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	if (bitmap_weight((unsigned long *)&fecparam->fec,
bitmap_weight     485 drivers/net/ethernet/mellanox/mlx5/core/fs_counters.c 	return bitmap_weight(bulk->bitmask, bulk->bulk_len);
bitmap_weight    1709 drivers/net/ethernet/qlogic/qed/qed_dev.c 	if (bitmap_weight(&pq_flags,
bitmap_weight    1306 drivers/net/ethernet/qlogic/qed/qed_iwarp.c 	weight = bitmap_weight(bmap->bitmap, bmap->max_count);
bitmap_weight    1312 drivers/net/ethernet/qlogic/qed/qed_iwarp.c 		weight = bitmap_weight(bmap->bitmap, bmap->max_count);
bitmap_weight     320 drivers/net/ethernet/qlogic/qed/qed_rdma.c 	int weight = bitmap_weight(bmap->bitmap, bmap->max_count);
bitmap_weight     337 drivers/net/ethernet/qlogic/qed/qed_rdma.c 		if (bitmap_weight((unsigned long *)&pmap[item], 64 * 8))
bitmap_weight     351 drivers/net/ethernet/qlogic/qed/qed_rdma.c 	    (bitmap_weight((unsigned long *)&pmap[item],
bitmap_weight     109 drivers/net/ethernet/qlogic/qed/qed_roce.c 	while (bitmap_weight(rcid_map->bitmap, rcid_map->max_count)) {
bitmap_weight     164 drivers/net/wireless/ath/ath9k/common-spectral.c 	fft_sample_20.bitmap_weight = bitmap_w;
bitmap_weight     301 drivers/net/wireless/ath/ath9k/htc_drv_debug.c 			bitmap_weight(priv->tx.tx_slot, MAX_TX_BUF_NUM));
bitmap_weight     225 drivers/net/wireless/ath/carl9170/debug.c 	    bitmap_weight(ar->mem_bitmap, ar->fw.mem_blocks),
bitmap_weight      59 drivers/net/wireless/ath/spectral_common.h 	u8 bitmap_weight;
bitmap_weight     635 drivers/nvdimm/label.c 	return bitmap_weight(free, nslot);
bitmap_weight    1100 drivers/perf/arm-cci.c 	int enabled = bitmap_weight(hw_events->used_mask, cci_pmu->num_cntrs);
bitmap_weight    1094 drivers/perf/arm-ccn.c 	return bitmap_weight(ccn->dt.pmu_counters_mask,
bitmap_weight     451 drivers/perf/arm_pmu.c 	int enabled = bitmap_weight(hw_events->used_mask, armpmu->num_events);
bitmap_weight     705 drivers/perf/arm_pmu.c 	int enabled = bitmap_weight(hw_events->used_mask, armpmu->num_events);
bitmap_weight     323 drivers/perf/hisilicon/hisi_uncore_pmu.c 	int enabled = bitmap_weight(hisi_pmu->pmu_events.used_mask,
bitmap_weight     460 drivers/perf/thunderx2_pmu.c 	if (bitmap_weight(tx2_pmu->active_counters,
bitmap_weight     873 drivers/perf/xgene_pmu.c 	int enabled = bitmap_weight(pmu_dev->cntr_assign_mask,
bitmap_weight    1221 drivers/powercap/intel_rapl_common.c 	rp->nr_domains = bitmap_weight(&rp->domain_map, RAPL_DOMAIN_MAX);
bitmap_weight     195 drivers/pwm/pwm-lpc18xx-sct.c 	requested_events = bitmap_weight(&lpc18xx_pwm->event_map,
bitmap_weight     644 drivers/staging/iio/impedance-analyzer/ad5933.c 		int scan_count = bitmap_weight(indio_dev->active_scan_mask,
bitmap_weight     144 drivers/staging/uwb/drp-ie.c 		if (bitmap_weight(tmp_mas_bm, UWB_MAS_PER_ZONE) > 0) {
bitmap_weight     805 drivers/target/target_core_user.c 	return thresh - bitmap_weight(bitmap, thresh);
bitmap_weight     562 drivers/thermal/intel/intel_powerclamp.c 	if (bitmap_weight(cpu_clamping_mask, num_possible_cpus())) {
bitmap_weight    2706 fs/btrfs/scrub.c 	nbits = bitmap_weight(sparity->ebitmap, sparity->nsectors);
bitmap_weight     142 fs/hpfs/super.c 	count = bitmap_weight(bits, 2048 * BITS_PER_BYTE);
bitmap_weight    2488 fs/ntfs/super.c 		nr_free -= bitmap_weight(kaddr,
bitmap_weight    2559 fs/ntfs/super.c 		nr_free -= bitmap_weight(kaddr,
bitmap_weight     302 fs/ocfs2/cluster/heartbeat.c 		failed = bitmap_weight(o2hb_failed_region_bitmap,
bitmap_weight     304 fs/ocfs2/cluster/heartbeat.c 		quorum = bitmap_weight(o2hb_quorum_region_bitmap,
bitmap_weight     881 fs/ocfs2/cluster/heartbeat.c 	if (bitmap_weight(o2hb_quorum_region_bitmap,
bitmap_weight    1858 fs/ocfs2/cluster/heartbeat.c 		if (bitmap_weight(o2hb_region_bitmap, O2NM_MAX_REGIONS) == 1)
bitmap_weight    2130 fs/ocfs2/cluster/heartbeat.c 	if (bitmap_weight(o2hb_quorum_region_bitmap,
bitmap_weight    2374 fs/ocfs2/cluster/heartbeat.c 	if (bitmap_weight(o2hb_quorum_region_bitmap,
bitmap_weight      16 fs/omfs/bitmap.c 		sum += nbits - bitmap_weight(sbi->s_imap[i], nbits);
bitmap_weight    2448 fs/udf/super.c 		accum += bitmap_weight((const unsigned long *)(ptr + index),
bitmap_weight     556 include/linux/cpumask.h 	return bitmap_weight(cpumask_bits(srcp), nr_cpumask_bits);
bitmap_weight     240 include/linux/nodemask.h 	return bitmap_weight(srcp->bits, nbits);
bitmap_weight     483 kernel/irq/matrix.c 	unsigned int nsys = bitmap_weight(m->system_map, m->matrix_bits);
bitmap_weight    2774 kernel/locking/lockdep.c 	return bitmap_weight(lock_chains_in_use, ARRAY_SIZE(lock_chains));
bitmap_weight    3145 kernel/rcu/tree.c 	nbits = bitmap_weight(&oldmask, BITS_PER_LONG);
bitmap_weight     801 lib/bitmap.c   	w = bitmap_weight(new, nbits);
bitmap_weight     841 lib/bitmap.c   	int w = bitmap_weight(new, bits);
bitmap_weight      24 lib/memweight.c 		ret += bitmap_weight((unsigned long *)bitmap,
bitmap_weight     264 lib/sbitmap.c  			weight += bitmap_weight(&word->word, word->depth);
bitmap_weight     266 lib/sbitmap.c  			weight += bitmap_weight(&word->cleared, word->depth);
bitmap_weight      41 mm/cma_debug.c 	used = bitmap_weight(cma->bitmap, (int)cma_bitmap_maxno(cma));
bitmap_weight     766 net/batman-adv/bat_iv_ogm.c 				*w = bitmap_weight(word,
bitmap_weight    1280 net/batman-adv/bat_iv_ogm.c 		packet_count = bitmap_weight(bitmap,
bitmap_weight    1546 net/batman-adv/bat_iv_ogm.c 	*weight = bitmap_weight(orig_ifinfo->bat_iv.bcast_own,
bitmap_weight    2388 net/core/ethtool.c 	n_queue = bitmap_weight(queue_mask, MAX_NUM_QUEUE);
bitmap_weight     261 net/sctp/tsnmap.c 	pending_data -= bitmap_weight(map->tsn_map, gap + 1);
bitmap_weight     515 sound/usb/endpoint.c 		alive = bitmap_weight(&ep->active_mask, ep->nurbs);
bitmap_weight    1099 tools/perf/builtin-c2c.c 		if (!bitmap_weight(set, c2c.cpus_cnt)) {
bitmap_weight    1119 tools/perf/builtin-c2c.c 			int num = bitmap_weight(set, c2c.cpus_cnt);
bitmap_weight    1214 tools/perf/builtin-c2c.c 	scnprintf(buf, 10, "%d", bitmap_weight(c2c_he->cpuset, c2c.cpus_cnt));
bitmap_weight    1962 tools/perf/builtin-c2c.c 	if (bitmap_weight(c2c_he->nodeset, c2c.nodes_cnt)) {
bitmap_weight    1544 tools/perf/builtin-sched.c 		cpus_nr = bitmap_weight(sched->map.comp_cpus_mask, MAX_CPUS);
bitmap_weight      50 tools/perf/util/cpumap.c 	nr = bitmap_weight(mask->mask, nbits);
bitmap_weight    1863 tools/perf/util/header.c 	size = bsize * bitmap_weight(n->set, n->size);
bitmap_weight    2996 tools/perf/util/header.c 	nr_sections = bitmap_weight(header->adds_features, HEADER_FEAT_BITS);
bitmap_weight    3151 tools/perf/util/header.c 	nr_sections = bitmap_weight(header->adds_features, HEADER_FEAT_BITS);
bitmap_weight      58 tools/perf/util/mem2node.c 		max += bitmap_weight(n->set, n->size);
bitmap_weight     953 tools/perf/util/pmu.c 	w = bitmap_weight(format, PERF_PMU_FORMAT_BITS);
bitmap_weight    1075 tools/perf/util/pmu.c 		    bitmap_weight(format->bits, PERF_PMU_FORMAT_BITS) > 1) {