/Linux-v4.19/include/linux/ |
D | input.h | 127 unsigned long propbit[BITS_TO_LONGS(INPUT_PROP_CNT)]; 129 unsigned long evbit[BITS_TO_LONGS(EV_CNT)]; 130 unsigned long keybit[BITS_TO_LONGS(KEY_CNT)]; 131 unsigned long relbit[BITS_TO_LONGS(REL_CNT)]; 132 unsigned long absbit[BITS_TO_LONGS(ABS_CNT)]; 133 unsigned long mscbit[BITS_TO_LONGS(MSC_CNT)]; 134 unsigned long ledbit[BITS_TO_LONGS(LED_CNT)]; 135 unsigned long sndbit[BITS_TO_LONGS(SND_CNT)]; 136 unsigned long ffbit[BITS_TO_LONGS(FF_CNT)]; 137 unsigned long swbit[BITS_TO_LONGS(SW_CNT)]; [all …]
|
D | cpumask.h | 296 [0 ... BITS_TO_LONGS(NR_CPUS)-1] = 0UL \ 659 return BITS_TO_LONGS(nr_cpumask_bits) * sizeof(long); in cpumask_size() 855 cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)]; 869 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \ 876 [0 ... BITS_TO_LONGS(NR_CPUS)-2] = ~0UL, \ 877 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \ 901 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \ 906 [0 ... BITS_TO_LONGS(NR_CPUS)-2] = ~0UL, \ 907 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \ 913 [0 ... BITS_TO_LONGS(NR_CPUS)-1] = 0UL \
|
D | bitmap.h | 215 unsigned int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); in bitmap_zero() 225 unsigned int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); in bitmap_fill() 236 unsigned int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); in bitmap_copy()
|
D | nodemask.h | 311 [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 \
|
/Linux-v4.19/tools/include/linux/ |
D | bitmap.h | 11 unsigned long name[BITS_TO_LONGS(bits)] 35 int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); in bitmap_zero() 42 unsigned int nlongs = BITS_TO_LONGS(nbits); in bitmap_fill() 122 return calloc(1, BITS_TO_LONGS(nbits) * sizeof(unsigned long)); in bitmap_alloc()
|
/Linux-v4.19/drivers/net/wireless/ti/wlcore/ |
D | wlcore.h | 239 unsigned long links_map[BITS_TO_LONGS(WLCORE_MAX_LINKS)]; 240 unsigned long roles_map[BITS_TO_LONGS(WL12XX_MAX_ROLES)]; 241 unsigned long roc_map[BITS_TO_LONGS(WL12XX_MAX_ROLES)]; 243 BITS_TO_LONGS(WL12XX_MAX_RATE_POLICIES)]; 245 BITS_TO_LONGS(WLCORE_MAX_KLV_TEMPLATES)]; 287 unsigned long tx_frames_map[BITS_TO_LONGS(WLCORE_MAX_TX_DESCRIPTORS)]; 475 unsigned long rx_filter_enabled[BITS_TO_LONGS(WL1271_MAX_RX_FILTERS)];
|
D | wlcore_i.h | 190 unsigned long scanned_ch[BITS_TO_LONGS(WL1271_MAX_CHANNELS)]; 382 unsigned long sta_hlid_map[BITS_TO_LONGS( 400 unsigned long links_map[BITS_TO_LONGS(WLCORE_MAX_LINKS)];
|
/Linux-v4.19/drivers/base/regmap/ |
D | regcache-rbtree.c | 157 mem_size += BITS_TO_LONGS(n->blklen) * sizeof(long); in rbtree_show() 298 if (BITS_TO_LONGS(blklen) > BITS_TO_LONGS(rbnode->blklen)) { in regcache_rbtree_insert_to_block() 300 BITS_TO_LONGS(blklen) * sizeof(*present), in regcache_rbtree_insert_to_block() 307 memset(present + BITS_TO_LONGS(rbnode->blklen), 0, in regcache_rbtree_insert_to_block() 308 (BITS_TO_LONGS(blklen) - BITS_TO_LONGS(rbnode->blklen)) in regcache_rbtree_insert_to_block() 368 rbnode->cache_present = kcalloc(BITS_TO_LONGS(rbnode->blklen), in regcache_rbtree_node_alloc()
|
/Linux-v4.19/fs/ocfs2/dlm/ |
D | dlmcommon.h | 68 unsigned long maybe_map[BITS_TO_LONGS(O2NM_MAX_NODES)]; 69 unsigned long vote_map[BITS_TO_LONGS(O2NM_MAX_NODES)]; 70 unsigned long response_map[BITS_TO_LONGS(O2NM_MAX_NODES)]; 71 unsigned long node_map[BITS_TO_LONGS(O2NM_MAX_NODES)]; 115 unsigned long node_map[BITS_TO_LONGS(O2NM_MAX_NODES)]; 145 unsigned long live_nodes_map[BITS_TO_LONGS(O2NM_MAX_NODES)]; 146 unsigned long domain_map[BITS_TO_LONGS(O2NM_MAX_NODES)]; 147 unsigned long exit_domain_map[BITS_TO_LONGS(O2NM_MAX_NODES)]; 148 unsigned long recovery_map[BITS_TO_LONGS(O2NM_MAX_NODES)]; 337 unsigned long refmap[BITS_TO_LONGS(O2NM_MAX_NODES)]; [all …]
|
/Linux-v4.19/drivers/infiniband/hw/i40iw/ |
D | i40iw_hw.c | 67 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_size)]); in i40iw_initialize_hw_resources()
|
/Linux-v4.19/lib/ |
D | bitmap.c | 68 unsigned int k, lim = BITS_TO_LONGS(bits); in __bitmap_complement() 88 unsigned k, lim = BITS_TO_LONGS(nbits); in __bitmap_shift_right() 134 unsigned int lim = BITS_TO_LONGS(nbits); in __bitmap_shift_left() 175 unsigned int nr = BITS_TO_LONGS(bits); in __bitmap_or() 186 unsigned int nr = BITS_TO_LONGS(bits); in __bitmap_xor() 1008 nlongs_reg = BITS_TO_LONGS(nbits_reg); in __reg_op() 1131 return kmalloc_array(BITS_TO_LONGS(nbits), sizeof(unsigned long), in bitmap_alloc()
|
D | prime_numbers.c | 8 #define bitmap_size(nbits) (BITS_TO_LONGS(nbits) * sizeof(unsigned long)) 256 p->last, p->sz, p->primes[BITS_TO_LONGS(p->sz) - 1], buf); in dump_primes()
|
/Linux-v4.19/net/mac80211/ |
D | sta_info.h | 264 unsigned long tid_rx_timer_expired[BITS_TO_LONGS(IEEE80211_NUM_TIDS)]; 265 unsigned long tid_rx_stop_requested[BITS_TO_LONGS(IEEE80211_NUM_TIDS)]; 266 unsigned long tid_rx_manage_offl[BITS_TO_LONGS(2 * IEEE80211_NUM_TIDS)]; 267 unsigned long agg_session_valid[BITS_TO_LONGS(IEEE80211_NUM_TIDS)]; 268 unsigned long unexpected_agg[BITS_TO_LONGS(IEEE80211_NUM_TIDS)];
|
/Linux-v4.19/drivers/input/rmi4/ |
D | rmi_driver.h | 60 unsigned long subpacket_map[BITS_TO_LONGS( 70 unsigned long presense_map[BITS_TO_LONGS(RMI_REG_DESC_PRESENSE_BITS)];
|
/Linux-v4.19/fs/ocfs2/cluster/ |
D | quorum.c | 61 unsigned long qs_hb_bm[BITS_TO_LONGS(O2NM_MAX_NODES)]; 63 unsigned long qs_conn_bm[BITS_TO_LONGS(O2NM_MAX_NODES)]; 65 unsigned long qs_hold_bm[BITS_TO_LONGS(O2NM_MAX_NODES)];
|
D | heartbeat.c | 62 static unsigned long o2hb_live_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)]; 74 static unsigned long o2hb_region_bitmap[BITS_TO_LONGS(O2NM_MAX_REGIONS)]; 75 static unsigned long o2hb_live_region_bitmap[BITS_TO_LONGS(O2NM_MAX_REGIONS)]; 76 static unsigned long o2hb_quorum_region_bitmap[BITS_TO_LONGS(O2NM_MAX_REGIONS)]; 77 static unsigned long o2hb_failed_region_bitmap[BITS_TO_LONGS(O2NM_MAX_REGIONS)]; 242 unsigned long hr_live_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)]; 277 unsigned long hr_nego_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)]; 395 unsigned long live_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2hb_nego_timeout() 1100 unsigned long configured_nodes[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2hb_do_disk_heartbeat() 1101 unsigned long live_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2hb_do_disk_heartbeat() [all …]
|
D | nodemanager.h | 70 unsigned long cl_nodes_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)];
|
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/fw/ |
D | img.h | 111 unsigned long _api[BITS_TO_LONGS(NUM_IWL_UCODE_TLV_API)]; 112 unsigned long _capa[BITS_TO_LONGS(NUM_IWL_UCODE_TLV_CAPA)];
|
/Linux-v4.19/drivers/infiniband/hw/nes/ |
D | nes_verbs.h | 53 unsigned long allocated_doorbells[BITS_TO_LONGS(NES_MAX_USER_DB_REGIONS)]; 56 unsigned long allocated_wqs[BITS_TO_LONGS(NES_MAX_USER_WQ_REGIONS)];
|
/Linux-v4.19/mm/ |
D | init-mm.c | 38 .cpu_bitmap = { [BITS_TO_LONGS(NR_CPUS)] = 0},
|
/Linux-v4.19/drivers/crypto/qat/qat_common/ |
D | adf_cfg_common.h | 64 #define ADF_DEVS_ARRAY_SIZE BITS_TO_LONGS(ADF_MAX_DEVICES)
|
/Linux-v4.19/net/rfkill/ |
D | input.c | 44 static unsigned long rfkill_sw_pending[BITS_TO_LONGS(NUM_RFKILL_TYPES)]; 45 static unsigned long rfkill_sw_state[BITS_TO_LONGS(NUM_RFKILL_TYPES)];
|
/Linux-v4.19/tools/testing/selftests/kvm/lib/ |
D | kvm_util_internal.h | 23 #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_LONG) macro
|
/Linux-v4.19/fs/xfs/scrub/ |
D | attr.c | 48 BITS_TO_LONGS(sc->mp->m_attr_geo->blksize)); in xchk_setup_xattr() 168 freemap = (unsigned long *)sc->buf + BITS_TO_LONGS(mapsize); in xchk_xattr_check_freemap() 178 dstmap = freemap + BITS_TO_LONGS(mapsize); in xchk_xattr_check_freemap()
|
/Linux-v4.19/tools/testing/selftests/rcutorture/formal/srcu-cbmc/include/linux/ |
D | types.h | 17 unsigned long name[BITS_TO_LONGS(bits)]
|