Home
last modified time | relevance | path

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

12345678910>>...12

/linux/include/linux/
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 …]
A Dcpumask.h296 [0 ... BITS_TO_LONGS(NR_CPUS)-1] = 0UL \
670 return BITS_TO_LONGS(nr_cpumask_bits) * sizeof(long); in cpumask_size()
867 cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)];
957 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \
964 [0 ... BITS_TO_LONGS(NR_CPUS)-2] = ~0UL, \
965 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \
1028 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \
1033 [0 ... BITS_TO_LONGS(NR_CPUS)-2] = ~0UL, \
1034 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \
1040 [0 ... BITS_TO_LONGS(NR_CPUS)-1] = 0UL \
A Dnodemask.h311 [BITS_TO_LONGS(MAX_NUMNODES)-1] = NODE_MASK_LAST_WORD \
318 [0 ... BITS_TO_LONGS(MAX_NUMNODES)-2] = ~0UL, \
319 [BITS_TO_LONGS(MAX_NUMNODES)-1] = NODE_MASK_LAST_WORD \
326 [0 ... BITS_TO_LONGS(MAX_NUMNODES)-1] = 0UL \
A Dbitmap.h243 unsigned int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); in bitmap_zero()
249 unsigned int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); in bitmap_fill()
256 unsigned int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); in bitmap_copy()
A Dplatform_profile.h30 unsigned long choices[BITS_TO_LONGS(PLATFORM_PROFILE_LAST)];
/linux/tools/include/linux/
A Dbitmap.h11 unsigned long name[BITS_TO_LONGS(bits)]
32 int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); in bitmap_zero()
39 unsigned int nlongs = BITS_TO_LONGS(nbits); in bitmap_fill()
119 return calloc(1, BITS_TO_LONGS(nbits) * sizeof(unsigned long)); in bitmap_zalloc()
/linux/drivers/base/regmap/
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()
/linux/drivers/net/wireless/ti/wlcore/
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)];
A Dwlcore_i.h176 unsigned long scanned_ch[BITS_TO_LONGS(WL1271_MAX_CHANNELS)];
369 unsigned long sta_hlid_map[BITS_TO_LONGS(
387 unsigned long links_map[BITS_TO_LONGS(WLCORE_MAX_LINKS)];
/linux/fs/ocfs2/dlm/
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/fs/xfs/scrub/
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()
/linux/lib/
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()
1267 nlongs_reg = BITS_TO_LONGS(nbits_reg); in __reg_op()
1390 return kmalloc_array(BITS_TO_LONGS(nbits), sizeof(unsigned long), in bitmap_alloc()
1403 return kmalloc_array_node(BITS_TO_LONGS(nbits), sizeof(unsigned long), in bitmap_alloc_node()
/linux/drivers/s390/crypto/
A Dap_bus.h293 unsigned long ioctlm[BITS_TO_LONGS(AP_IOCTLS)];
294 unsigned long apm[BITS_TO_LONGS(AP_DEVICES)];
295 unsigned long aqm[BITS_TO_LONGS(AP_DOMAINS)];
/linux/fs/ocfs2/cluster/
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)];
A Dheartbeat.c46 static unsigned long o2hb_live_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)];
58 static unsigned long o2hb_region_bitmap[BITS_TO_LONGS(O2NM_MAX_REGIONS)];
59 static unsigned long o2hb_live_region_bitmap[BITS_TO_LONGS(O2NM_MAX_REGIONS)];
220 unsigned long hr_live_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)];
251 unsigned long hr_nego_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)];
369 unsigned long live_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2hb_nego_timeout()
1080 unsigned long configured_nodes[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2hb_do_disk_heartbeat()
1081 unsigned long live_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2hb_do_disk_heartbeat()
1276 unsigned long map[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2hb_debug_open()
2467 unsigned long testing_map[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2hb_check_node_heartbeating_no_sem()
[all …]
/linux/net/mac80211/
A Dsta_info.h294 unsigned long tid_rx_timer_expired[BITS_TO_LONGS(IEEE80211_NUM_TIDS)];
295 unsigned long tid_rx_stop_requested[BITS_TO_LONGS(IEEE80211_NUM_TIDS)];
296 unsigned long tid_rx_manage_offl[BITS_TO_LONGS(2 * IEEE80211_NUM_TIDS)];
297 unsigned long agg_session_valid[BITS_TO_LONGS(IEEE80211_NUM_TIDS)];
298 unsigned long unexpected_agg[BITS_TO_LONGS(IEEE80211_NUM_TIDS)];
/linux/drivers/input/rmi4/
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/drivers/net/wireless/intel/iwlwifi/fw/
A Dimg.h54 unsigned long _api[BITS_TO_LONGS(NUM_IWL_UCODE_TLV_API)];
55 unsigned long _capa[BITS_TO_LONGS(NUM_IWL_UCODE_TLV_CAPA)];
/linux/lib/math/
A Dprime_numbers.c9 #define bitmap_size(nbits) (BITS_TO_LONGS(nbits) * sizeof(unsigned long))
257 p->last, p->sz, p->primes[BITS_TO_LONGS(p->sz) - 1], buf); in dump_primes()
/linux/drivers/infiniband/hw/irdma/
A Dhw.c1940 rf->allocated_cqs = &rf->allocated_qps[BITS_TO_LONGS(rf->max_qp)]; in irdma_set_hw_rsrc()
1941 rf->allocated_mrs = &rf->allocated_cqs[BITS_TO_LONGS(rf->max_cq)]; in irdma_set_hw_rsrc()
1942 rf->allocated_pds = &rf->allocated_mrs[BITS_TO_LONGS(rf->max_mr)]; in irdma_set_hw_rsrc()
1947 (&rf->allocated_arps[BITS_TO_LONGS(rf->arp_table_size)]); in irdma_set_hw_rsrc()
1964 rsrc_size += sizeof(unsigned long) * BITS_TO_LONGS(rf->max_qp); in irdma_calc_mem_rsrc_size()
1965 rsrc_size += sizeof(unsigned long) * BITS_TO_LONGS(rf->max_mr); in irdma_calc_mem_rsrc_size()
1966 rsrc_size += sizeof(unsigned long) * BITS_TO_LONGS(rf->max_cq); in irdma_calc_mem_rsrc_size()
1967 rsrc_size += sizeof(unsigned long) * BITS_TO_LONGS(rf->max_pd); in irdma_calc_mem_rsrc_size()
1969 rsrc_size += sizeof(unsigned long) * BITS_TO_LONGS(rf->max_ah); in irdma_calc_mem_rsrc_size()
1970 rsrc_size += sizeof(unsigned long) * BITS_TO_LONGS(rf->max_mcg); in irdma_calc_mem_rsrc_size()
[all …]
/linux/net/rfkill/
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)];
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
A Ddm.c38 kcalloc(BITS_TO_LONGS(steering_icm_blocks), in mlx5_dm_create()
50 kcalloc(BITS_TO_LONGS(header_modify_icm_blocks), in mlx5_dm_create()
/linux/drivers/input/
A Devdev.c652 len = BITS_TO_LONGS(maxbit) * sizeof(long); in bits_to_user()
689 len = BITS_TO_LONGS(maxbit) * sizeof(long); in bits_from_user()
707 BITS_TO_LONGS(maxbit) * sizeof(long); in bits_to_user()
724 len = compat ? BITS_TO_LONGS_COMPAT(maxbit) : BITS_TO_LONGS(maxbit); in bits_from_user()
739 int len = BITS_TO_LONGS(maxbit) * sizeof(long); in bits_to_user()
755 len = BITS_TO_LONGS(maxbit) * sizeof(long); in bits_from_user()
1004 size = sizeof(unsigned long) * BITS_TO_LONGS(cnt); in evdev_get_mask()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
A Dhclge_main.h947 unsigned long vlan_table[VLAN_N_VID][BITS_TO_LONGS(HCLGE_VPORT_NUM)];
948 unsigned long vf_vlan_full[BITS_TO_LONGS(HCLGE_VPORT_NUM)];
950 unsigned long vport_config_block[BITS_TO_LONGS(HCLGE_VPORT_NUM)];
958 unsigned long fd_bmap[BITS_TO_LONGS(MAX_FD_FILTER_NUM)];
1065 unsigned long vlan_del_fail_bmap[BITS_TO_LONGS(VLAN_N_VID)];
/linux/arch/sh/kernel/
A Dperf_event.c30 unsigned long used_mask[BITS_TO_LONGS(MAX_HWEVENTS)];
31 unsigned long active_mask[BITS_TO_LONGS(MAX_HWEVENTS)];

Completed in 71 milliseconds

12345678910>>...12