/linux-4.1.27/lib/ |
H A D | memweight.c | 23 ret += bitmap_weight((unsigned long *)bitmap, memweight() 30 * bitmap_weight() call is to compute 1-bits in the last region smaller memweight()
|
H A D | bitmap.c | 30 * for example) or scalar (bitmap_weight, for example) results 708 w = bitmap_weight(new, nbits); for_each_set_bit() 749 int w = bitmap_weight(new, bits); bitmap_bitremap() 824 * bitmap_fold(tmp, orig, bitmap_weight(relmap, bits), bits); 870 * for (m = 0; m < bitmap_weight(relmap, bits); m++) { bitmap_onto()
|
/linux-4.1.27/drivers/net/wireless/ath/ath9k/ |
H A D | common-spectral.h | 49 * [7:0]: all bins {max_magnitude[1:0], bitmap_weight[5:0]} 72 * [7:0]: lower bins {max_magnitude[1:0], bitmap_weight[5:0]} 75 * [7:0]: upper bins {max_magnitude[1:0], bitmap_weight[5:0]}
|
H A D | common-spectral.c | 195 fft_sample_20.bitmap_weight = bitmap_w; ath_cmn_process_fft()
|
H A D | htc_drv_debug.c | 301 bitmap_weight(priv->tx.tx_slot, MAX_TX_BUF_NUM)); read_file_slot()
|
/linux-4.1.27/tools/perf/util/include/linux/ |
H A D | bitmap.h | 33 static inline int bitmap_weight(const unsigned long *src, int nbits) bitmap_weight() function
|
/linux-4.1.27/drivers/net/wireless/ath/ |
H A D | spectral_common.h | 59 u8 bitmap_weight; member in struct:fft_sample_ht20
|
/linux-4.1.27/arch/m32r/include/asm/ |
H A D | smp.h | 32 #define physids_weight(map) bitmap_weight((map).mask, MAX_APICS)
|
/linux-4.1.27/drivers/staging/iio/accel/ |
H A D | lis3l02dq_ring.c | 64 xfers = kcalloc(bitmap_weight(indio_dev->active_scan_mask, lis3l02dq_read_all() 101 for (j = 0; j < bitmap_weight(indio_dev->active_scan_mask, lis3l02dq_read_all() 118 int scan_count = bitmap_weight(indio_dev->active_scan_mask, lis3l02dq_get_buffer_element()
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/ |
H A D | port.c | 550 bitmap_weight(actv_ports.ports, dev->caps.num_ports) + 1; mlx4_get_slave_num_gids() 561 slave_gid -= bitmap_weight(slaves_pport_actv.slaves, mlx4_get_slave_num_gids() 564 vfs = bitmap_weight(slaves_pport.slaves, dev->persist->num_vfs + 1) - 1; mlx4_get_slave_num_gids() 587 bitmap_weight(actv_ports.ports, dev->caps.num_ports) + 1; mlx4_get_base_gid_ix() 598 slave_gid -= bitmap_weight(slaves_pport_actv.slaves, mlx4_get_base_gid_ix() 602 vfs = bitmap_weight(slaves_pport.slaves, dev->persist->num_vfs + 1) - 1; mlx4_get_base_gid_ix() 1192 num_vfs = bitmap_weight(slaves_pport.slaves, mlx4_get_slave_from_roce_gid() 1235 num_vfs_before += bitmap_weight( mlx4_get_slave_from_roce_gid() 1252 bitmap_weight(actv_ports.ports, mlx4_get_slave_from_roce_gid() 1265 slave_gid += bitmap_weight( mlx4_get_slave_from_roce_gid()
|
H A D | cmd.c | 1940 bitmap_weight(port_qos->priority_bm, MLX4_NUM_UP)); mlx4_allocate_port_vpps() 1978 bitmap_weight(actv_ports.ports, priv->dev.caps.num_ports); mlx4_master_activate_admin_state() 2030 bitmap_weight(actv_ports.ports, priv->dev.caps.num_ports); mlx4_master_deactivate_admin_state() 2722 unsigned m = bitmap_weight(actv_ports.ports, dev->caps.num_ports); mlx4_slave_convert_port() 2795 bitmap_weight(actv_ports.ports, dev->caps.num_ports); mlx4_slaves_closest_port()
|
H A D | fw.c | 366 bitmap_weight(actv_ports.ports, dev->caps.num_ports), mlx4_QUERY_FUNC_CAP_wrapper() 1149 bitmap_weight(actv_ports.ports, dev->caps.num_ports); mlx4_QUERY_DEV_CAP_wrapper() 1165 field |= bitmap_weight(actv_ports.ports, dev->caps.num_ports) & 0x0F; mlx4_QUERY_DEV_CAP_wrapper()
|
H A D | en_ethtool.c | 304 h->count = h->advance_array ? bitmap_weight(stats_bitmap, count) bitmap_iterator_init()
|
H A D | resource_tracker.c | 548 bitmap_weight(slaves_pport.slaves, mlx4_init_resource_tracker()
|
/linux-4.1.27/arch/x86/include/asm/ |
H A D | mpspec.h | 123 bitmap_weight((map).mask, MAX_LOCAL_APIC)
|
/linux-4.1.27/drivers/staging/iio/ |
H A D | iio_simple_dummy_buffer.c | 76 i < bitmap_weight(indio_dev->active_scan_mask, iio_simple_dummy_trigger_h()
|
/linux-4.1.27/fs/omfs/ |
H A D | bitmap.c | 15 sum += nbits - bitmap_weight(sbi->s_imap[i], nbits); omfs_count_free()
|
/linux-4.1.27/mm/ |
H A D | cma_debug.c | 42 used = bitmap_weight(cma->bitmap, (int)cma->count); cma_used_get()
|
/linux-4.1.27/drivers/gpu/drm/msm/mdp/mdp5/ |
H A D | mdp5_smp.c | 131 avail = cnt - bitmap_weight(smp->state, cnt); smp_request_block() 139 cur_nblks = bitmap_weight(ps->pending, cnt); smp_request_block()
|
/linux-4.1.27/include/linux/ |
H A D | bitmap.h | 44 * bitmap_weight(src, nbits) Hamming Weight: number set bits 298 static inline int bitmap_weight(const unsigned long *src, unsigned int nbits) bitmap_weight() function
|
H A D | nodemask.h | 228 return bitmap_weight(srcp->bits, nbits); __nodes_weight()
|
H A D | cpumask.h | 476 return bitmap_weight(cpumask_bits(srcp), nr_cpumask_bits); cpumask_weight()
|
/linux-4.1.27/drivers/iio/adc/ |
H A D | ad7298.c | 114 scan_count = bitmap_weight(active_scan_mask, indio_dev->masklength); ad7298_update_scan_mode()
|
H A D | cc10001_adc.c | 271 indio_dev->num_channels = bitmap_weight(&channel_map, cc10001_adc_channel_init()
|
H A D | ad799x.c | 232 st->transfer_size = bitmap_weight(scan_mask, indio_dev->masklength) * 2; ad799x_update_scan_mode()
|
H A D | max1363.c | 856 numelements = bitmap_weight(modemask, MAX1363_MAX_CHANNELS); max1363_monitor_mode_update() 1480 unsigned long numvals = bitmap_weight(st->current_mode->modemask, max1363_trigger_handler()
|
H A D | at91_adc.c | 476 idev->num_channels = bitmap_weight(&st->channels_mask, at91_adc_channel_init()
|
H A D | xilinx-xadc-core.c | 582 n = bitmap_weight(mask, indio_dev->masklength); xadc_update_scan_mode()
|
/linux-4.1.27/drivers/uwb/ |
H A D | drp-ie.c | 157 if (bitmap_weight(tmp_mas_bm, UWB_MAS_PER_ZONE) > 0) { uwb_drp_ie_from_bm()
|
/linux-4.1.27/fs/logfs/ |
H A D | file.c | 173 BUG_ON(bitmap_weight(block->alias_map, LOGFS_BLOCK_FACTOR)); logfs_invalidatepage()
|
H A D | readwrite.c | 1283 super->s_no_object_aliases -= bitmap_weight( fill_shadow_tree()
|
/linux-4.1.27/fs/ocfs2/cluster/ |
H A D | heartbeat.c | 302 failed = bitmap_weight(o2hb_failed_region_bitmap, o2hb_write_timeout() 304 quorum = bitmap_weight(o2hb_quorum_region_bitmap, o2hb_write_timeout() 760 if (bitmap_weight(o2hb_quorum_region_bitmap, o2hb_set_quorum_device() 1810 if (bitmap_weight(o2hb_region_bitmap, O2NM_MAX_REGIONS) == 1) o2hb_region_dev_write() 2161 if (bitmap_weight(o2hb_quorum_region_bitmap, o2hb_heartbeat_group_drop_item() 2461 if (bitmap_weight(o2hb_quorum_region_bitmap, o2hb_region_inc_user()
|
/linux-4.1.27/net/sctp/ |
H A D | tsnmap.c | 276 pending_data -= bitmap_weight(map->tsn_map, gap + 1); sctp_tsnmap_pending()
|
/linux-4.1.27/drivers/iio/ |
H A D | industrialio-trigger.c | 229 = (bitmap_weight(trig->pool, iio_trigger_detach_poll_func()
|
H A D | industrialio-buffer.c | 1010 return bitmap_weight(mask, indio_dev->masklength) == 1; iio_validate_scan_mask_onehot()
|
/linux-4.1.27/drivers/staging/iio/impedance-analyzer/ |
H A D | ad5933.c | 663 int scan_count = bitmap_weight(indio_dev->active_scan_mask, ad5933_work()
|
/linux-4.1.27/block/ |
H A D | blk-mq-tag.c | 460 used += bitmap_weight(&bm->word, bm->depth); bt_unused_tags()
|
/linux-4.1.27/arch/arm/kernel/ |
H A D | perf_event.c | 490 int enabled = bitmap_weight(hw_events->used_mask, armpmu->num_events); armpmu_enable()
|
/linux-4.1.27/net/batman-adv/ |
H A D | bat_iv_ogm.c | 886 *w = bitmap_weight(word, BATADV_TQ_LOCAL_WINDOW_SIZE); hlist_for_each_entry_rcu() 1341 packet_count = bitmap_weight(bitmap, batadv_iv_ogm_update_seqnos() 1671 *weight = bitmap_weight(word, batadv_iv_ogm_process()
|
/linux-4.1.27/drivers/net/wireless/ath/carl9170/ |
H A D | debug.c | 223 bitmap_weight(ar->mem_bitmap, ar->fw.mem_blocks), carl9170_debugfs_mem_usage_read()
|
/linux-4.1.27/arch/x86/include/asm/uv/ |
H A D | uv_bau.h | 723 return bitmap_weight((unsigned long *)&dstp->bits[0], bau_uvhub_weight()
|
/linux-4.1.27/drivers/thermal/ |
H A D | intel_powerclamp.c | 565 if (bitmap_weight(cpu_clamping_mask, num_possible_cpus())) { for_each_set_bit()
|
/linux-4.1.27/fs/hpfs/ |
H A D | super.c | 141 count = bitmap_weight(bits, 2048 * BITS_PER_BYTE); hpfs_count_one_bitmap()
|
/linux-4.1.27/drivers/staging/iio/adc/ |
H A D | mxs-lradc.c | 1261 const int len = bitmap_weight(iio->active_scan_mask, mxs_lradc_buffer_preenable() 1334 const int map_chans = bitmap_weight(mask, LRADC_MAX_TOTAL_CHANS); mxs_lradc_validate_scan_mask()
|
/linux-4.1.27/tools/perf/util/ |
H A D | header.c | 1949 nr_sections = bitmap_weight(header->adds_features, HEADER_FEAT_BITS); perf_header__adds_write() 2099 nr_sections = bitmap_weight(header->adds_features, HEADER_FEAT_BITS); perf_header__process_sections()
|
/linux-4.1.27/drivers/md/bcache/ |
H A D | request.c | 347 i -= bitmap_weight(&rand, BITS_PER_LONG); bch_get_congested()
|
/linux-4.1.27/drivers/powercap/ |
H A D | intel_rapl.c | 1288 rp->nr_domains = bitmap_weight(&rp->domain_map, RAPL_DOMAIN_MAX); rapl_detect_domains()
|
/linux-4.1.27/arch/arm64/kernel/ |
H A D | perf_event.c | 625 int enabled = bitmap_weight(hw_events->used_mask, armpmu->num_events); armpmu_enable()
|
/linux-4.1.27/sound/usb/ |
H A D | endpoint.c | 505 alive = bitmap_weight(&ep->active_mask, ep->nurbs); wait_clear_urbs()
|
/linux-4.1.27/drivers/bus/ |
H A D | arm-cci.c | 495 int enabled = bitmap_weight(hw_events->used_mask, cci_pmu->num_events); cci_pmu_enable()
|
/linux-4.1.27/drivers/memstick/core/ |
H A D | ms_block.c | 162 if (msb->block_count - bitmap_weight(msb->used_blocks_bitmap, msb_validate_used_block_bitmap()
|
/linux-4.1.27/fs/udf/ |
H A D | super.c | 2382 accum += bitmap_weight((const unsigned long *)(ptr + index), udf_count_free_bitmap()
|
/linux-4.1.27/fs/ntfs/ |
H A D | super.c | 2512 nr_free -= bitmap_weight(kaddr, get_nr_free_clusters() 2583 nr_free -= bitmap_weight(kaddr, __get_nr_free_mft_records()
|
/linux-4.1.27/drivers/net/ethernet/freescale/ |
H A D | gianfar.c | 3062 num_act_queues = bitmap_weight(&rstat_rxf, MAX_RX_QS); gfar_poll_rx()
|
/linux-4.1.27/drivers/infiniband/hw/ipath/ |
H A D | ipath_driver.c | 1721 cnt = bitmap_weight(dd->ipath_pioavailkernel, end); ipath_chg_pioavailkernel()
|
/linux-4.1.27/drivers/infiniband/hw/mlx4/ |
H A D | main.c | 2589 ports = bitmap_weight(actv_ports.ports, dev->caps.num_ports); do_slave_init()
|
/linux-4.1.27/fs/btrfs/ |
H A D | scrub.c | 2649 nbits = bitmap_weight(sparity->ebitmap, sparity->nsectors); scrub_free_parity()
|