Home
last modified time | relevance | path

Searched refs:BITS_TO_LONGS (Results 1 - 25 of 524) sorted by relevance

12345678910>>...21

/kernel/linux/linux-5.10/include/linux/
H A Dinput.h137 unsigned long propbit[BITS_TO_LONGS(INPUT_PROP_CNT)];
139 unsigned long evbit[BITS_TO_LONGS(EV_CNT)];
140 unsigned long keybit[BITS_TO_LONGS(KEY_CNT)];
141 unsigned long relbit[BITS_TO_LONGS(REL_CNT)];
142 unsigned long absbit[BITS_TO_LONGS(ABS_CNT)];
143 unsigned long mscbit[BITS_TO_LONGS(MSC_CNT)];
144 unsigned long ledbit[BITS_TO_LONGS(LED_CNT)];
145 unsigned long sndbit[BITS_TO_LONGS(SND_CNT)];
146 unsigned long ffbit[BITS_TO_LONGS(FF_CNT)];
147 unsigned long swbit[BITS_TO_LONGS(SW_CN
[all...]
H A Dcpumask.h341 [0 ... BITS_TO_LONGS(NR_CPUS)-1] = 0UL \
715 return BITS_TO_LONGS(nr_cpumask_bits) * sizeof(long); in cpumask_size()
917 cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)];
931 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \
938 [0 ... BITS_TO_LONGS(NR_CPUS)-2] = ~0UL, \
939 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \
963 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \
968 [0 ... BITS_TO_LONGS(NR_CPUS)-2] = ~0UL, \
969 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \
975 [0 ... BITS_TO_LONGS(NR_CPU
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dinput.h143 unsigned long propbit[BITS_TO_LONGS(INPUT_PROP_CNT)];
145 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)];
150 unsigned long ledbit[BITS_TO_LONGS(LED_CNT)];
151 unsigned long sndbit[BITS_TO_LONGS(SND_CNT)];
152 unsigned long ffbit[BITS_TO_LONGS(FF_CNT)];
153 unsigned long swbit[BITS_TO_LONGS(SW_CN
[all...]
H A Dcpumask.h476 [0 ... BITS_TO_LONGS(NR_CPUS)-1] = 0UL \
856 return BITS_TO_LONGS(large_cpumask_bits) * sizeof(long); in cpumask_size()
1100 cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)];
1190 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \
1197 [0 ... BITS_TO_LONGS(NR_CPUS)-2] = ~0UL, \
1198 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \
1265 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \
1270 [0 ... BITS_TO_LONGS(NR_CPUS)-2] = ~0UL, \
1271 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \
1277 [0 ... BITS_TO_LONGS(NR_CPU
[all...]
/kernel/linux/linux-6.6/drivers/s390/crypto/
H A Dap_bus.h295 #define APMASKSIZE (BITS_TO_LONGS(AP_DEVICES) * sizeof(unsigned long))
296 #define AQMASKSIZE (BITS_TO_LONGS(AP_DOMAINS) * sizeof(unsigned long))
299 unsigned long ioctlm[BITS_TO_LONGS(AP_IOCTLS)];
300 unsigned long apm[BITS_TO_LONGS(AP_DEVICES)];
301 unsigned long aqm[BITS_TO_LONGS(AP_DOMAINS)];
302 unsigned long adm[BITS_TO_LONGS(AP_DOMAINS)];
/kernel/linux/common_modules/tzdriver/core/
H A Dsmc_smp.h62 #ifdef BITS_TO_LONGS
63 #undef BITS_TO_LONGS macro
65 #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(uint64_t)) macro
80 #define DECLARE_BITMAP(name, bits) uint64_t name[BITS_TO_LONGS(bits)]
/kernel/linux/linux-5.10/tools/include/linux/
H A Dbitmap.h11 unsigned long name[BITS_TO_LONGS(bits)]
38 int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); in bitmap_zero()
45 unsigned int nlongs = BITS_TO_LONGS(nbits); in bitmap_fill()
125 return calloc(1, BITS_TO_LONGS(nbits) * sizeof(unsigned long)); in bitmap_alloc()
/kernel/linux/linux-6.6/tools/include/linux/
H A Dbitmap.h12 unsigned long name[BITS_TO_LONGS(bits)]
33 int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); in bitmap_zero()
40 unsigned int nlongs = BITS_TO_LONGS(nbits); in bitmap_fill()
86 return calloc(1, BITS_TO_LONGS(nbits) * sizeof(unsigned long)); in bitmap_zalloc()
/kernel/linux/linux-5.10/drivers/base/regmap/
H A Dregcache-rbtree.c153 mem_size += BITS_TO_LONGS(n->blklen) * sizeof(long); in rbtree_show()
286 if (BITS_TO_LONGS(blklen) > BITS_TO_LONGS(rbnode->blklen)) { in regcache_rbtree_insert_to_block()
288 BITS_TO_LONGS(blklen) * sizeof(*present), in regcache_rbtree_insert_to_block()
293 memset(present + BITS_TO_LONGS(rbnode->blklen), 0, in regcache_rbtree_insert_to_block()
294 (BITS_TO_LONGS(blklen) - BITS_TO_LONGS(rbnode->blklen)) in regcache_rbtree_insert_to_block()
353 rbnode->cache_present = kcalloc(BITS_TO_LONGS(rbnode->blklen), in regcache_rbtree_node_alloc()
/kernel/linux/linux-6.6/drivers/base/regmap/
H A Dregcache-rbtree.c153 mem_size += BITS_TO_LONGS(n->blklen) * sizeof(long); in rbtree_show()
286 if (BITS_TO_LONGS(blklen) > BITS_TO_LONGS(rbnode->blklen)) { in regcache_rbtree_insert_to_block()
288 BITS_TO_LONGS(blklen) * sizeof(*present), in regcache_rbtree_insert_to_block()
293 memset(present + BITS_TO_LONGS(rbnode->blklen), 0, in regcache_rbtree_insert_to_block()
294 (BITS_TO_LONGS(blklen) - BITS_TO_LONGS(rbnode->blklen)) in regcache_rbtree_insert_to_block()
353 rbnode->cache_present = kcalloc(BITS_TO_LONGS(rbnode->blklen), in regcache_rbtree_node_alloc()
/kernel/linux/linux-5.10/fs/xfs/scrub/
H A Dattr.h56 BITS_TO_LONGS(sc->mp->m_attr_geo->blksize); in xchk_xattr_freemap()
65 BITS_TO_LONGS(sc->mp->m_attr_geo->blksize); in xchk_xattr_dstmap()
/kernel/linux/linux-5.10/drivers/hyperhold/
H A Dhp_space.c24 atomic64_sub(BITS_TO_LONGS(spc->nr_ext) * sizeof(long), &spc_mem); in deinit_space()
48 spc->bitmap = kvzalloc(BITS_TO_LONGS(spc->nr_ext) * sizeof(long), GFP_KERNEL); in init_space()
53 atomic64_add(BITS_TO_LONGS(spc->nr_ext) * sizeof(long), &spc_mem); in init_space()
/kernel/linux/linux-6.6/drivers/hyperhold/
H A Dhp_space.c24 atomic64_sub(BITS_TO_LONGS(spc->nr_ext) * sizeof(long), &spc_mem); in deinit_space()
48 spc->bitmap = kvzalloc(BITS_TO_LONGS(spc->nr_ext) * sizeof(long), GFP_KERNEL); in init_space()
53 atomic64_add(BITS_TO_LONGS(spc->nr_ext) * sizeof(long), &spc_mem); in init_space()
/kernel/linux/linux-5.10/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)];
/kernel/linux/linux-6.6/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)];
/kernel/linux/linux-5.10/fs/ocfs2/dlm/
H A Ddlmcommon.h53 unsigned long maybe_map[BITS_TO_LONGS(O2NM_MAX_NODES)];
54 unsigned long vote_map[BITS_TO_LONGS(O2NM_MAX_NODES)];
55 unsigned long response_map[BITS_TO_LONGS(O2NM_MAX_NODES)];
56 unsigned long node_map[BITS_TO_LONGS(O2NM_MAX_NODES)];
100 unsigned long node_map[BITS_TO_LONGS(O2NM_MAX_NODES)];
130 unsigned long live_nodes_map[BITS_TO_LONGS(O2NM_MAX_NODES)];
131 unsigned long domain_map[BITS_TO_LONGS(O2NM_MAX_NODES)];
132 unsigned long exit_domain_map[BITS_TO_LONGS(O2NM_MAX_NODES)];
133 unsigned long recovery_map[BITS_TO_LONGS(O2NM_MAX_NODES)];
321 unsigned long refmap[BITS_TO_LONGS(O2NM_MAX_NODE
[all...]
/kernel/linux/linux-6.6/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_NODE
[all...]
/kernel/linux/linux-6.6/lib/
H A Dbitmap.c86 unsigned int k, lim = BITS_TO_LONGS(bits); in __bitmap_complement()
106 unsigned k, lim = BITS_TO_LONGS(nbits); in __bitmap_shift_right()
152 unsigned int lim = BITS_TO_LONGS(nbits); in __bitmap_shift_left()
213 unsigned int len = BITS_TO_LONGS(nbits); in bitmap_cut()
260 unsigned int nr = BITS_TO_LONGS(bits); in __bitmap_or()
271 unsigned int nr = BITS_TO_LONGS(bits); in __bitmap_xor()
299 unsigned int nr = BITS_TO_LONGS(nbits); in __bitmap_replace()
1265 nlongs_reg = BITS_TO_LONGS(nbits_reg); in __reg_op()
1388 return kmalloc_array(BITS_TO_LONGS(nbits), sizeof(unsigned long), in bitmap_alloc()
1401 return kmalloc_array_node(BITS_TO_LONGS(nbit in bitmap_alloc_node()
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/
H A Di40iw_hw.c67 resources_size += sizeof(unsigned long) * BITS_TO_LONGS(max_qp); in i40iw_initialize_hw_resources()
68 resources_size += sizeof(unsigned long) * BITS_TO_LONGS(max_mr); in i40iw_initialize_hw_resources()
69 resources_size += sizeof(unsigned long) * BITS_TO_LONGS(max_cq); in i40iw_initialize_hw_resources()
70 resources_size += sizeof(unsigned long) * BITS_TO_LONGS(num_pds); in i40iw_initialize_hw_resources()
71 resources_size += sizeof(unsigned long) * BITS_TO_LONGS(arp_table_size); in i40iw_initialize_hw_resources()
90 iwdev->allocated_cqs = &iwdev->allocated_qps[BITS_TO_LONGS(max_qp)]; in i40iw_initialize_hw_resources()
91 iwdev->allocated_mrs = &iwdev->allocated_cqs[BITS_TO_LONGS(max_cq)]; in i40iw_initialize_hw_resources()
92 iwdev->allocated_pds = &iwdev->allocated_mrs[BITS_TO_LONGS(max_mr)]; in i40iw_initialize_hw_resources()
93 iwdev->allocated_arps = &iwdev->allocated_pds[BITS_TO_LONGS(num_pds)]; in i40iw_initialize_hw_resources()
94 iwdev->qp_table = (struct i40iw_qp **)(&iwdev->allocated_arps[BITS_TO_LONGS(arp_table_siz in i40iw_initialize_hw_resources()
[all...]
/kernel/linux/linux-5.10/lib/
H A Dbitmap.c86 unsigned int k, lim = BITS_TO_LONGS(bits); in __bitmap_complement()
106 unsigned k, lim = BITS_TO_LONGS(nbits); in __bitmap_shift_right()
152 unsigned int lim = BITS_TO_LONGS(nbits); in __bitmap_shift_left()
213 unsigned int len = BITS_TO_LONGS(nbits); in bitmap_cut()
260 unsigned int nr = BITS_TO_LONGS(bits); in __bitmap_or()
271 unsigned int nr = BITS_TO_LONGS(bits); in __bitmap_xor()
299 unsigned int nr = BITS_TO_LONGS(nbits); in __bitmap_replace()
1127 nlongs_reg = BITS_TO_LONGS(nbits_reg); in __reg_op()
1250 return kmalloc_array(BITS_TO_LONGS(nbits), sizeof(unsigned long), in bitmap_alloc()
/kernel/linux/linux-5.10/drivers/s390/crypto/
H A Dap_bus.h291 unsigned long ioctlm[BITS_TO_LONGS(AP_IOCTLS)];
292 unsigned long apm[BITS_TO_LONGS(AP_DEVICES)];
293 unsigned long aqm[BITS_TO_LONGS(AP_DOMAINS)];
/kernel/linux/linux-5.10/fs/ocfs2/cluster/
H A Dquorum.c47 unsigned long qs_hb_bm[BITS_TO_LONGS(O2NM_MAX_NODES)];
49 unsigned long qs_conn_bm[BITS_TO_LONGS(O2NM_MAX_NODES)];
51 unsigned long qs_hold_bm[BITS_TO_LONGS(O2NM_MAX_NODES)];
/kernel/linux/linux-6.6/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)];
/kernel/linux/linux-5.10/net/mac80211/
H A Dsta_info.h284 unsigned long tid_rx_timer_expired[BITS_TO_LONGS(IEEE80211_NUM_TIDS)];
285 unsigned long tid_rx_stop_requested[BITS_TO_LONGS(IEEE80211_NUM_TIDS)];
286 unsigned long tid_rx_manage_offl[BITS_TO_LONGS(2 * IEEE80211_NUM_TIDS)];
287 unsigned long agg_session_valid[BITS_TO_LONGS(IEEE80211_NUM_TIDS)];
288 unsigned long unexpected_agg[BITS_TO_LONGS(IEEE80211_NUM_TIDS)];
/kernel/linux/linux-6.6/net/mac80211/
H A Dsta_info.h288 unsigned long tid_rx_timer_expired[BITS_TO_LONGS(IEEE80211_NUM_TIDS)];
289 unsigned long tid_rx_stop_requested[BITS_TO_LONGS(IEEE80211_NUM_TIDS)];
290 unsigned long tid_rx_manage_offl[BITS_TO_LONGS(2 * IEEE80211_NUM_TIDS)];
291 unsigned long agg_session_valid[BITS_TO_LONGS(IEEE80211_NUM_TIDS)];
292 unsigned long unexpected_agg[BITS_TO_LONGS(IEEE80211_NUM_TIDS)];

Completed in 25 milliseconds

12345678910>>...21