/linux-6.6.21/lib/ |
D | memweight.c | 24 ret += bitmap_weight((unsigned long *)bitmap, in memweight()
|
D | find_bit_benchmark.c | 120 unsigned long l, n, w = bitmap_weight(bitmap, len); in test_find_nth_bit()
|
D | bitmap.c | 968 return bitmap_weight(buf, pos); in bitmap_pos_to_ord() 1013 w = bitmap_weight(new, nbits); in bitmap_remap() 1054 int w = bitmap_weight(new, bits); in bitmap_bitremap()
|
D | sbitmap.c | 306 weight += bitmap_weight(&word->word, word_depth); in __sbitmap_weight() 308 weight += bitmap_weight(&word->cleared, word_depth); in __sbitmap_weight()
|
/linux-6.6.21/drivers/gpu/drm/msm/disp/mdp5/ |
D | mdp5_smp.c | 80 avail = cnt - bitmap_weight(state->state, cnt); in smp_request_block() 355 int inuse = bitmap_weight(cs, smp->blk_cnt); in mdp5_smp_dump() 367 bitmap_weight(state->state, smp->blk_cnt)); in mdp5_smp_dump()
|
/linux-6.6.21/drivers/net/wireless/ath/ |
D | spectral_common.h | 60 u8 bitmap_weight; member
|
/linux-6.6.21/tools/include/linux/ |
D | bitmap.h | 64 static inline unsigned int bitmap_weight(const unsigned long *src, unsigned int nbits) in bitmap_weight() function
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx4/ |
D | port.c | 1108 bitmap_weight(actv_ports.ports, dev->caps.num_ports) + 1; in mlx4_get_slave_num_gids() 1119 slave_gid -= bitmap_weight(slaves_pport_actv.slaves, in mlx4_get_slave_num_gids() 1122 vfs = bitmap_weight(slaves_pport.slaves, dev->persist->num_vfs + 1) - 1; in mlx4_get_slave_num_gids() 1145 bitmap_weight(actv_ports.ports, dev->caps.num_ports) + 1; in mlx4_get_base_gid_ix() 1156 slave_gid -= bitmap_weight(slaves_pport_actv.slaves, in mlx4_get_base_gid_ix() 1160 vfs = bitmap_weight(slaves_pport.slaves, dev->persist->num_vfs + 1) - 1; in mlx4_get_base_gid_ix() 1871 num_vfs = bitmap_weight(slaves_pport.slaves, in mlx4_get_slave_from_roce_gid() 1914 num_vfs_before += bitmap_weight( in mlx4_get_slave_from_roce_gid() 1931 bitmap_weight(actv_ports.ports, in mlx4_get_slave_from_roce_gid() 1944 slave_gid += bitmap_weight( in mlx4_get_slave_from_roce_gid()
|
/linux-6.6.21/tools/perf/util/ |
D | mem2node.c | 59 max += bitmap_weight(n->set, n->size); in mem2node__init()
|
/linux-6.6.21/drivers/acpi/x86/ |
D | apple.c | 86 numvalid = bitmap_weight(valid, numprops); in acpi_extract_apple_properties()
|
/linux-6.6.21/mm/ |
D | cma_debug.c | 41 used = bitmap_weight(cma->bitmap, (int)cma_bitmap_maxno(cma)); in cma_used_get()
|
/linux-6.6.21/fs/omfs/ |
D | bitmap.c | 16 sum += nbits - bitmap_weight(sbi->s_imap[i], nbits); in omfs_count_free()
|
/linux-6.6.21/drivers/gpu/drm/i915/gt/ |
D | intel_sseu.c | 28 return bitmap_weight(sseu->subslice_mask.xehp, in intel_sseu_subslice_total() 869 bitmap_weight(sseu->geometry_subslice_mask.xehp, in intel_sseu_print_ss_info() 872 bitmap_weight(sseu->compute_subslice_mask.xehp, in intel_sseu_print_ss_info()
|
/linux-6.6.21/fs/ocfs2/cluster/ |
D | heartbeat.c | 296 failed = bitmap_weight(o2hb_failed_region_bitmap, in o2hb_write_timeout() 298 quorum = bitmap_weight(o2hb_quorum_region_bitmap, in o2hb_write_timeout() 872 if (bitmap_weight(o2hb_quorum_region_bitmap, in o2hb_set_quorum_device() 1840 if (bitmap_weight(o2hb_region_bitmap, O2NM_MAX_REGIONS) == 1) in o2hb_region_dev_store() 2115 if (bitmap_weight(o2hb_quorum_region_bitmap, in o2hb_heartbeat_group_drop_item() 2359 if (bitmap_weight(o2hb_quorum_region_bitmap, in o2hb_region_inc_user()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
D | meter.c | 300 if (bitmap_weight(meters_obj->meters_map, total) == total - 1) { in __mlx5e_flow_meter_alloc() 346 n = bitmap_weight(meters_obj->meters_map, meters_obj->total_meters); in __mlx5e_flow_meter_free()
|
/linux-6.6.21/net/sctp/ |
D | tsnmap.c | 261 pending_data -= bitmap_weight(map->tsn_map, gap + 1); in sctp_tsnmap_pending()
|
/linux-6.6.21/drivers/iio/adc/ |
D | ad7298.c | 112 scan_count = bitmap_weight(active_scan_mask, indio_dev->masklength); in ad7298_update_scan_mode()
|
D | cc10001_adc.c | 270 indio_dev->num_channels = bitmap_weight(&channel_map, in cc10001_adc_channel_init()
|
/linux-6.6.21/drivers/crypto/ccp/ |
D | ccp-dev-v5.c | 601 queues = bitmap_weight(cmd_q->lsbmask, MAX_LSB_CNT); in ccp_find_lsb_regions() 630 qlsb_wgt = bitmap_weight(cmd_q->lsbmask, MAX_LSB_CNT); in ccp_find_and_assign_lsb_to_q() 682 n_lsbs = bitmap_weight(lsb_pub, MAX_LSB_CNT); in ccp_assign_lsbs()
|
/linux-6.6.21/drivers/net/wireless/realtek/rtw89/ |
D | chan.c | 206 weight = bitmap_weight(hal->entity_map, NUM_OF_RTW89_SUB_ENTITY); in rtw89_entity_recalc()
|
/linux-6.6.21/fs/proc/ |
D | fd.c | 297 *count = bitmap_weight(fdt->open_fds, fdt->max_fds); in proc_readfd_count()
|
/linux-6.6.21/drivers/net/ethernet/intel/ice/ |
D | ice_vf_lib.c | 1177 return (!bitmap_weight(vf->rxq_ena, ICE_MAX_RSS_QS_PER_VF) && in ice_vf_has_no_qs_ena() 1178 !bitmap_weight(vf->txq_ena, ICE_MAX_RSS_QS_PER_VF)); in ice_vf_has_no_qs_ena()
|
/linux-6.6.21/drivers/block/drbd/ |
D | drbd_bitmap.c | 564 bits += bitmap_weight(p_addr, BITS_PER_PAGE); in bm_count_bits() 571 bits += bitmap_weight(p_addr, last_word * BITS_PER_LONG); in bm_count_bits() 1690 count += bitmap_weight(bm, n * BITS_PER_LONG); in drbd_bm_e_weight()
|
/linux-6.6.21/drivers/net/dsa/mv88e6xxx/ |
D | global1_atu.c | 384 shift = bitmap_weight(&mask, 16); in mv88e6xxx_g1_atu_move()
|
/linux-6.6.21/kernel/irq/ |
D | matrix.c | 492 unsigned int nsys = bitmap_weight(m->system_map, m->matrix_bits); in irq_matrix_debug_show()
|