| /linux/include/linux/ |
| H A D | input.h | 143 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_CNT)]; [all …]
|
| H A D | cpumask.h | 586 [0 ... BITS_TO_LONGS(NR_CPUS)-1] = 0UL \ 1195 cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)]; 1304 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \ 1311 [0 ... BITS_TO_LONGS(NR_CPUS)-2] = ~0UL, \ 1312 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \ 1382 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \ 1387 [0 ... BITS_TO_LONGS(NR_CPUS)-2] = ~0UL, \ 1388 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \ 1394 [0 ... BITS_TO_LONGS(NR_CPUS)-1] = 0UL \
|
| H A D | nodemask.h | 305 [BITS_TO_LONGS(MAX_NUMNODES)-1] = NODE_MASK_LAST_WORD \ 312 [0 ... BITS_TO_LONGS(MAX_NUMNODES)-2] = ~0UL, \ 313 [BITS_TO_LONGS(MAX_NUMNODES)-1] = NODE_MASK_LAST_WORD \ 320 [0 ... BITS_TO_LONGS(MAX_NUMNODES)-1] = 0UL \
|
| /linux/drivers/s390/crypto/ |
| H A D | ap_bus.h | 273 #define APMASKSIZE (BITS_TO_LONGS(AP_DEVICES) * sizeof(unsigned long)) 274 #define AQMASKSIZE (BITS_TO_LONGS(AP_DOMAINS) * sizeof(unsigned long)) 277 unsigned long ioctlm[BITS_TO_LONGS(AP_IOCTLS)]; 278 unsigned long apm[BITS_TO_LONGS(AP_DEVICES)]; 279 unsigned long aqm[BITS_TO_LONGS(AP_DOMAINS)]; 280 unsigned long adm[BITS_TO_LONGS(AP_DOMAINS)];
|
| /linux/lib/ |
| H A D | bitmap.c | 75 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() 725 return kmalloc_array(BITS_TO_LONGS(nbits), sizeof(unsigned long), in bitmap_alloc() 738 return kmalloc_array_node(BITS_TO_LONGS(nbits), sizeof(unsigned long), in bitmap_alloc_node() 874 const unsigned long *end = bitmap + BITS_TO_LONGS(nbits); in bitmap_to_arr64()
|
| /linux/drivers/base/regmap/ |
| H A D | regcache-rbtree.c | 153 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/ |
| H A D | wlcore.h | 227 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 D | wlcore_i.h | 179 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/fs/ocfs2/dlm/ |
| H A D | dlmcommon.h | 48 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/drivers/acpi/ |
| H A D | platform_profile.c | 23 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)]; 256 unsigned long tmp[BITS_TO_LONGS(PLATFORM_PROFILE_LAST)]; in _aggregate_choices() 303 .aggregate = { [0 ... BITS_TO_LONGS(PLATFORM_PROFILE_LAST) - 1] = ~0UL }, in platform_profile_choices_show() 414 .aggregate = { [0 ... BITS_TO_LONGS(PLATFORM_PROFILE_LAST) - 1] = ~0UL }, in platform_profile_store() 497 .aggregate = { [0 ... BITS_TO_LONGS(PLATFORM_PROFILE_LAST) - 1] = ~0UL }, in platform_profile_cycle()
|
| /linux/arch/x86/events/ |
| H A D | perf_event.h | 58 unsigned long idxmsk[BITS_TO_LONGS(X86_PMC_IDX_MAX)]; 270 unsigned long active_mask[BITS_TO_LONGS(X86_PMC_IDX_MAX)]; 271 unsigned long dirty[BITS_TO_LONGS(X86_PMC_IDX_MAX)]; 742 unsigned long cntr_mask[BITS_TO_LONGS(X86_PMC_IDX_MAX)]; 746 unsigned long fixed_cntr_mask[BITS_TO_LONGS(X86_PMC_IDX_MAX)]; 751 unsigned long acr_cntr_mask[BITS_TO_LONGS(X86_PMC_IDX_MAX)]; 755 unsigned long acr_cause_mask[BITS_TO_LONGS(X86_PMC_IDX_MAX)]; 855 unsigned long cntr_mask[BITS_TO_LONGS(X86_PMC_IDX_MAX)]; 859 unsigned long fixed_cntr_mask[BITS_TO_LONGS(X86_PMC_IDX_MAX)]; 863 unsigned long acr_cntr_mask[BITS_TO_LONGS(X86_PMC_IDX_MAX)]; [all …]
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_tuning.c | 161 n_gt = BITS_TO_LONGS(ARRAY_SIZE(gt_tunings)); in xe_tuning_init() 162 n_engine = BITS_TO_LONGS(ARRAY_SIZE(engine_tunings)); in xe_tuning_init() 163 n_lrc = BITS_TO_LONGS(ARRAY_SIZE(lrc_tunings)); in xe_tuning_init()
|
| /linux/fs/ocfs2/cluster/ |
| H A D | quorum.c | 45 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 D | heartbeat.c | 47 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)]; 61 static unsigned long o2hb_quorum_region_bitmap[BITS_TO_LONGS(O2NM_MAX_REGIONS)]; 62 static unsigned long o2hb_failed_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() [all …]
|
| H A D | nodemanager.h | 53 unsigned long cl_nodes_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)];
|
| /linux/drivers/input/rmi4/ |
| H A D | rmi_driver.h | 57 unsigned long subpacket_map[BITS_TO_LONGS( 67 unsigned long presense_map[BITS_TO_LONGS(RMI_REG_DESC_PRESENSE_BITS)];
|
| /linux/net/mac80211/ |
| H A D | sta_info.h | 285 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/tools/include/linux/ |
| H A D | bitmap.h | 14 unsigned long name[BITS_TO_LONGS(bits)] 48 unsigned int nlongs = BITS_TO_LONGS(nbits); in bitmap_fill()
|
| /linux/net/rfkill/ |
| H A D | input.c | 41 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/input/ |
| H A D | evdev.c | 650 len = BITS_TO_LONGS(maxbit) * sizeof(long); in bits_to_user() 687 len = BITS_TO_LONGS(maxbit) * sizeof(long); in bits_from_user() 705 BITS_TO_LONGS(maxbit) * sizeof(long); in bits_to_user() 722 len = compat ? BITS_TO_LONGS_COMPAT(maxbit) : BITS_TO_LONGS(maxbit); in bits_from_user() 737 int len = BITS_TO_LONGS(maxbit) * sizeof(long); in bits_to_user() 753 len = BITS_TO_LONGS(maxbit) * sizeof(long); in bits_from_user() 1002 size = sizeof(unsigned long) * BITS_TO_LONGS(cnt); in evdev_get_mask()
|
| /linux/drivers/infiniband/hw/irdma/ |
| H A D | hw.c | 2086 rf->allocated_cqs = &rf->allocated_qps[BITS_TO_LONGS(rf->max_qp)]; in irdma_set_hw_rsrc() 2087 rf->allocated_srqs = &rf->allocated_cqs[BITS_TO_LONGS(rf->max_cq)]; in irdma_set_hw_rsrc() 2088 rf->allocated_mrs = &rf->allocated_srqs[BITS_TO_LONGS(rf->max_srq)]; in irdma_set_hw_rsrc() 2089 rf->allocated_pds = &rf->allocated_mrs[BITS_TO_LONGS(rf->max_mr)]; in irdma_set_hw_rsrc() 2090 rf->allocated_ahs = &rf->allocated_pds[BITS_TO_LONGS(rf->max_pd)]; in irdma_set_hw_rsrc() 2091 rf->allocated_mcgs = &rf->allocated_ahs[BITS_TO_LONGS(rf->max_ah)]; in irdma_set_hw_rsrc() 2092 rf->allocated_arps = &rf->allocated_mcgs[BITS_TO_LONGS(rf->max_mcg)]; in irdma_set_hw_rsrc() 2094 (&rf->allocated_arps[BITS_TO_LONGS(rf->arp_table_size)]); in irdma_set_hw_rsrc() 2113 rsrc_size += sizeof(unsigned long) * BITS_TO_LONGS(rf->max_qp); in irdma_calc_mem_rsrc_size() 2114 rsrc_size += sizeof(unsigned long) * BITS_TO_LONGS(rf->max_mr); in irdma_calc_mem_rsrc_size() [all …]
|
| /linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| H A D | hclge_main.h | 955 unsigned long vlan_table[VLAN_N_VID][BITS_TO_LONGS(HCLGE_VPORT_NUM)]; 956 unsigned long vf_vlan_full[BITS_TO_LONGS(HCLGE_VPORT_NUM)]; 958 unsigned long vport_config_block[BITS_TO_LONGS(HCLGE_VPORT_NUM)]; 968 unsigned long fd_bmap[BITS_TO_LONGS(MAX_FD_FILTER_NUM)]; 1062 unsigned long vlan_del_fail_bmap[BITS_TO_LONGS(VLAN_N_VID)];
|
| /linux/arch/sh/kernel/ |
| H A D | perf_event.c | 30 unsigned long used_mask[BITS_TO_LONGS(MAX_HWEVENTS)]; 31 unsigned long active_mask[BITS_TO_LONGS(MAX_HWEVENTS)];
|
| /linux/drivers/net/wireless/intel/iwlwifi/mld/ |
| H A D | d3.h | 31 unsigned long tentative_addrs[BITS_TO_LONGS(IWL_PROTO_OFFLOAD_NUM_IPV6_ADDRS_MAX)];
|
| /linux/tools/perf/util/ |
| H A D | mmap.h | 22 (BITS_TO_LONGS(((struct mmap_cpu_mask *)m)->nbits) * sizeof(unsigned long))
|