Searched refs:hweight64 (Results 1 – 20 of 20) sorted by relevance
6 unsigned long hweight64(__u64 w);
19 unsigned long hweight64(__u64 w) in hweight64() function
27 #define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w)) macro
228 return hweight64(gru->gs_cbr_map) >= cbr_au_count in check_gru_resources()229 && hweight64(gru->gs_dsr_map) >= dsr_au_count in check_gru_resources()503 length = hweight64(dsrmap) * GRU_DSR_AU_BYTES; in gru_load_context_data()538 length = hweight64(dsrmap) * GRU_DSR_AU_BYTES; in gru_unload_context_data()850 gru->gs_gid, ctxnum, ngts, cbr, dsr, hweight64(gru->gs_cbr_map), in gru_steal_context()851 hweight64(gru->gs_dsr_map)); in gru_steal_context()
218 cbrfree = hweight64(gru->gs_cbr_map) * GRU_CBR_AU_SIZE; in gru_seq_show()219 dsrfree = hweight64(gru->gs_dsr_map) * GRU_DSR_AU_BYTES; in gru_seq_show()
291 n = hweight64(gru->gs_cbr_map) * GRU_CBR_AU_SIZE; in gru_init_tables()293 n = hweight64(gru->gs_dsr_map) * GRU_DSR_AU_BYTES; in gru_init_tables()
155 cbrcnt = hweight64(cch->cbr_allocation_map) * in gru_dump_context()
119 ret = hweight64(UVH_RTC_REAL_TIME_CLOCK_MASK); in uv_mmtimer_ioctl()
41 return sizeof(w) == 4 ? hweight32(w) : hweight64(w); in hweight_long()
66 return sizeof(w) == 4 ? hweight32(w) : hweight64(w); in hweight_long()
128 npmds = hweight64(arg->smpl_pmds[0]); in default_handler()
391 ret = hweight64(value); in handle_popc()
186 int bit_count = hweight64(priv->stats_bitmap); in mlx4_en_get_sset_count()
777 hweight64(uv_read_local_mmr( UVH_NODE_PRESENT_TABLE + i * 8)); in uv_system_init()
485 nr_matches = hweight64(match_mask); in seek_firmware()
664 nr_diffs = hweight64(id_diff_mask) + hweight32(type_diff_mask); in seek_firmware()
1094 if (__ffs64(mask) + hweight64(mask) != fls64(mask)) { in ieee80211_assign_perm_addr()
400 n_bits = hweight64(sset_mask); in ethtool_get_sset_info()
1924 used += hweight64(*res_ptr); in ioc_show()
2752 if (hweight64(reg_val & port01_mask) & 1) in vlan_entry_set_parity()2757 if (hweight64(reg_val & port23_mask) & 1) in vlan_entry_set_parity()