Home
last modified time | relevance | path

Searched refs:BITS_TO_LONGS (Results 1 – 25 of 253) sorted by relevance

1234567891011

/linux-6.15/include/linux/
H A Dinput.h145 unsigned long evbit[BITS_TO_LONGS(EV_CNT)];
146 unsigned long keybit[BITS_TO_LONGS(KEY_CNT)];
147 unsigned long relbit[BITS_TO_LONGS(REL_CNT)];
148 unsigned long absbit[BITS_TO_LONGS(ABS_CNT)];
149 unsigned long mscbit[BITS_TO_LONGS(MSC_CNT)];
152 unsigned long ffbit[BITS_TO_LONGS(FF_CNT)];
153 unsigned long swbit[BITS_TO_LONGS(SW_CNT)];
180 unsigned long key[BITS_TO_LONGS(KEY_CNT)];
181 unsigned long led[BITS_TO_LONGS(LED_CNT)];
182 unsigned long snd[BITS_TO_LONGS(SND_CNT)];
[all …]
H A Dcpumask.h520 [0 ... BITS_TO_LONGS(NR_CPUS)-1] = 0UL \
1112 cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)];
1216 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \
1223 [0 ... BITS_TO_LONGS(NR_CPUS)-2] = ~0UL, \
1224 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \
1294 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \
1299 [0 ... BITS_TO_LONGS(NR_CPUS)-2] = ~0UL, \
1300 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \
1306 [0 ... BITS_TO_LONGS(NR_CPUS)-1] = 0UL \
H A Dnodemask.h325 [BITS_TO_LONGS(MAX_NUMNODES)-1] = NODE_MASK_LAST_WORD \
332 [0 ... BITS_TO_LONGS(MAX_NUMNODES)-2] = ~0UL, \
333 [BITS_TO_LONGS(MAX_NUMNODES)-1] = NODE_MASK_LAST_WORD \
340 [0 ... BITS_TO_LONGS(MAX_NUMNODES)-1] = 0UL \
/linux-6.15/drivers/s390/crypto/
H A Dap_bus.h284 #define APMASKSIZE (BITS_TO_LONGS(AP_DEVICES) * sizeof(unsigned long))
285 #define AQMASKSIZE (BITS_TO_LONGS(AP_DOMAINS) * sizeof(unsigned long))
288 unsigned long ioctlm[BITS_TO_LONGS(AP_IOCTLS)];
289 unsigned long apm[BITS_TO_LONGS(AP_DEVICES)];
290 unsigned long aqm[BITS_TO_LONGS(AP_DOMAINS)];
291 unsigned long adm[BITS_TO_LONGS(AP_DOMAINS)];
/linux-6.15/lib/
H A Dbitmap.c75 unsigned int k, lim = BITS_TO_LONGS(bits); in __bitmap_complement()
95 unsigned k, lim = BITS_TO_LONGS(nbits); in __bitmap_shift_right()
141 unsigned int lim = BITS_TO_LONGS(nbits); in __bitmap_shift_left()
202 unsigned int len = BITS_TO_LONGS(nbits); in bitmap_cut()
249 unsigned int nr = BITS_TO_LONGS(bits); in __bitmap_or()
260 unsigned int nr = BITS_TO_LONGS(bits); in __bitmap_xor()
288 unsigned int nr = BITS_TO_LONGS(nbits); in __bitmap_replace()
719 return kmalloc_array(BITS_TO_LONGS(nbits), sizeof(unsigned long), in bitmap_alloc()
732 return kmalloc_array_node(BITS_TO_LONGS(nbits), sizeof(unsigned long), in bitmap_alloc_node()
868 const unsigned long *end = bitmap + BITS_TO_LONGS(nbits); in bitmap_to_arr64()
/linux-6.15/drivers/base/regmap/
H A Dregcache-rbtree.c153 mem_size += BITS_TO_LONGS(n->blklen) * sizeof(long); in rbtree_show()
284 if (BITS_TO_LONGS(blklen) > BITS_TO_LONGS(rbnode->blklen)) { in regcache_rbtree_insert_to_block()
286 BITS_TO_LONGS(blklen), sizeof(*present), in regcache_rbtree_insert_to_block()
291 memset(present + BITS_TO_LONGS(rbnode->blklen), 0, in regcache_rbtree_insert_to_block()
292 (BITS_TO_LONGS(blklen) - BITS_TO_LONGS(rbnode->blklen)) in regcache_rbtree_insert_to_block()
351 rbnode->cache_present = kcalloc(BITS_TO_LONGS(rbnode->blklen), in regcache_rbtree_node_alloc()
/linux-6.15/drivers/net/wireless/ti/wlcore/
H A Dwlcore.h227 unsigned long links_map[BITS_TO_LONGS(WLCORE_MAX_LINKS)];
228 unsigned long roles_map[BITS_TO_LONGS(WL12XX_MAX_ROLES)];
229 unsigned long roc_map[BITS_TO_LONGS(WL12XX_MAX_ROLES)];
231 BITS_TO_LONGS(WL12XX_MAX_RATE_POLICIES)];
233 BITS_TO_LONGS(WLCORE_MAX_KLV_TEMPLATES)];
275 unsigned long tx_frames_map[BITS_TO_LONGS(WLCORE_MAX_TX_DESCRIPTORS)];
463 unsigned long rx_filter_enabled[BITS_TO_LONGS(WL1271_MAX_RX_FILTERS)];
H A Dwlcore_i.h179 unsigned long scanned_ch[BITS_TO_LONGS(WL1271_MAX_CHANNELS)];
379 unsigned long sta_hlid_map[BITS_TO_LONGS(
397 unsigned long links_map[BITS_TO_LONGS(WLCORE_MAX_LINKS)];
/linux-6.15/fs/ocfs2/dlm/
H A Ddlmcommon.h48 unsigned long maybe_map[BITS_TO_LONGS(O2NM_MAX_NODES)];
49 unsigned long vote_map[BITS_TO_LONGS(O2NM_MAX_NODES)];
50 unsigned long response_map[BITS_TO_LONGS(O2NM_MAX_NODES)];
51 unsigned long node_map[BITS_TO_LONGS(O2NM_MAX_NODES)];
95 unsigned long node_map[BITS_TO_LONGS(O2NM_MAX_NODES)];
125 unsigned long live_nodes_map[BITS_TO_LONGS(O2NM_MAX_NODES)];
126 unsigned long domain_map[BITS_TO_LONGS(O2NM_MAX_NODES)];
127 unsigned long exit_domain_map[BITS_TO_LONGS(O2NM_MAX_NODES)];
128 unsigned long recovery_map[BITS_TO_LONGS(O2NM_MAX_NODES)];
316 unsigned long refmap[BITS_TO_LONGS(O2NM_MAX_NODES)];
[all …]
/linux-6.15/drivers/gpu/drm/xe/
H A Dxe_gt_types.h43 typedef unsigned long xe_dss_mask_t[BITS_TO_LONGS(XE_MAX_DSS_FUSE_BITS)];
44 typedef unsigned long xe_eu_mask_t[BITS_TO_LONGS(XE_MAX_EU_FUSE_BITS)];
45 typedef unsigned long xe_l3_bank_mask_t[BITS_TO_LONGS(XE_MAX_L3_BANK_MASK_BITS)];
H A Dxe_tuning.c152 n_gt = BITS_TO_LONGS(ARRAY_SIZE(gt_tunings)); in xe_tuning_init()
153 n_engine = BITS_TO_LONGS(ARRAY_SIZE(engine_tunings)); in xe_tuning_init()
154 n_lrc = BITS_TO_LONGS(ARRAY_SIZE(lrc_tunings)); in xe_tuning_init()
/linux-6.15/drivers/acpi/
H A Dplatform_profile.c23 unsigned long choices[BITS_TO_LONGS(PLATFORM_PROFILE_LAST)];
24 unsigned long hidden_choices[BITS_TO_LONGS(PLATFORM_PROFILE_LAST)];
29 unsigned long aggregate[BITS_TO_LONGS(PLATFORM_PROFILE_LAST)];
255 unsigned long tmp[BITS_TO_LONGS(PLATFORM_PROFILE_LAST)]; in _aggregate_choices()
302 .aggregate = { [0 ... BITS_TO_LONGS(PLATFORM_PROFILE_LAST) - 1] = ~0UL }, in platform_profile_choices_show()
413 .aggregate = { [0 ... BITS_TO_LONGS(PLATFORM_PROFILE_LAST) - 1] = ~0UL }, in platform_profile_store()
496 .aggregate = { [0 ... BITS_TO_LONGS(PLATFORM_PROFILE_LAST) - 1] = ~0UL }, in platform_profile_cycle()
/linux-6.15/fs/ocfs2/cluster/
H A Dquorum.c45 unsigned long qs_hb_bm[BITS_TO_LONGS(O2NM_MAX_NODES)];
47 unsigned long qs_conn_bm[BITS_TO_LONGS(O2NM_MAX_NODES)];
49 unsigned long qs_hold_bm[BITS_TO_LONGS(O2NM_MAX_NODES)];
H A Dheartbeat.c47 static unsigned long o2hb_live_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)];
59 static unsigned long o2hb_region_bitmap[BITS_TO_LONGS(O2NM_MAX_REGIONS)];
60 static unsigned long o2hb_live_region_bitmap[BITS_TO_LONGS(O2NM_MAX_REGIONS)];
221 unsigned long hr_live_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)];
250 unsigned long hr_nego_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)];
373 unsigned long live_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2hb_nego_timeout()
1083 unsigned long configured_nodes[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2hb_do_disk_heartbeat()
1084 unsigned long live_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2hb_do_disk_heartbeat()
1279 unsigned long map[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2hb_debug_open()
2468 unsigned long testing_map[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2hb_check_node_heartbeating_no_sem()
[all …]
H A Dnodemanager.h53 unsigned long cl_nodes_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)];
/linux-6.15/drivers/input/rmi4/
H A Drmi_driver.h57 unsigned long subpacket_map[BITS_TO_LONGS(
67 unsigned long presense_map[BITS_TO_LONGS(RMI_REG_DESC_PRESENSE_BITS)];
/linux-6.15/fs/bcachefs/
H A Dec.h179 unsigned long valid[BITS_TO_LONGS(BCH_BKEY_PTRS_MAX)];
215 unsigned long blocks_gotten[BITS_TO_LONGS(BCH_BKEY_PTRS_MAX)];
216 unsigned long blocks_allocated[BITS_TO_LONGS(BCH_BKEY_PTRS_MAX)];
H A Dsuper_types.h27 unsigned long d[BITS_TO_LONGS(BCH_SB_MEMBERS_MAX)];
H A Dsubvolume_types.h19 unsigned long is_ancestor[BITS_TO_LONGS(IS_ANCESTOR_BITMAP)];
/linux-6.15/drivers/net/wireless/intel/iwlwifi/fw/
H A Dimg.h56 unsigned long _api[BITS_TO_LONGS(NUM_IWL_UCODE_TLV_API)];
57 unsigned long _capa[BITS_TO_LONGS(NUM_IWL_UCODE_TLV_CAPA)];
/linux-6.15/net/mac80211/
H A Dsta_info.h285 unsigned long tid_rx_timer_expired[BITS_TO_LONGS(IEEE80211_NUM_TIDS)];
286 unsigned long tid_rx_stop_requested[BITS_TO_LONGS(IEEE80211_NUM_TIDS)];
287 unsigned long tid_rx_manage_offl[BITS_TO_LONGS(2 * IEEE80211_NUM_TIDS)];
288 unsigned long agg_session_valid[BITS_TO_LONGS(IEEE80211_NUM_TIDS)];
289 unsigned long unexpected_agg[BITS_TO_LONGS(IEEE80211_NUM_TIDS)];
/linux-6.15/tools/include/linux/
H A Dbitmap.h13 unsigned long name[BITS_TO_LONGS(bits)]
43 unsigned int nlongs = BITS_TO_LONGS(nbits); in bitmap_fill()
/linux-6.15/drivers/net/wireless/intel/iwlwifi/mld/
H A Dd3.h31 unsigned long tentative_addrs[BITS_TO_LONGS(IWL_PROTO_OFFLOAD_NUM_IPV6_ADDRS_MAX)];
/linux-6.15/arch/x86/events/
H A Dperf_event.h53 unsigned long idxmsk[BITS_TO_LONGS(X86_PMC_IDX_MAX)];
253 unsigned long active_mask[BITS_TO_LONGS(X86_PMC_IDX_MAX)];
254 unsigned long dirty[BITS_TO_LONGS(X86_PMC_IDX_MAX)];
711 unsigned long cntr_mask[BITS_TO_LONGS(X86_PMC_IDX_MAX)];
715 unsigned long fixed_cntr_mask[BITS_TO_LONGS(X86_PMC_IDX_MAX)];
809 unsigned long cntr_mask[BITS_TO_LONGS(X86_PMC_IDX_MAX)];
813 unsigned long fixed_cntr_mask[BITS_TO_LONGS(X86_PMC_IDX_MAX)];
819 unsigned long events_mask[BITS_TO_LONGS(ARCH_PERFMON_EVENTS_COUNT)];
/linux-6.15/net/rfkill/
H A Dinput.c41 static unsigned long rfkill_sw_pending[BITS_TO_LONGS(NUM_RFKILL_TYPES)];
42 static unsigned long rfkill_sw_state[BITS_TO_LONGS(NUM_RFKILL_TYPES)];

1234567891011