/Linux-v5.10/include/linux/ |
D | input.h | 137 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_CNT)]; [all …]
|
D | cpumask.h | 319 [0 ... BITS_TO_LONGS(NR_CPUS)-1] = 0UL \ 693 return BITS_TO_LONGS(nr_cpumask_bits) * sizeof(long); in cpumask_size() 882 cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)]; 896 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \ 903 [0 ... BITS_TO_LONGS(NR_CPUS)-2] = ~0UL, \ 904 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \ 928 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \ 933 [0 ... BITS_TO_LONGS(NR_CPUS)-2] = ~0UL, \ 934 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \ 940 [0 ... BITS_TO_LONGS(NR_CPUS)-1] = 0UL \
|
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 \
|
D | bitmap.h | 237 unsigned int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); in bitmap_zero() 243 unsigned int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); in bitmap_fill() 250 unsigned int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); in bitmap_copy()
|
/Linux-v5.10/tools/include/linux/ |
D | bitmap.h | 11 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()
|
/Linux-v5.10/fs/xfs/scrub/ |
D | attr.h | 56 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-v5.10/drivers/base/regmap/ |
D | regcache-rbtree.c | 153 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() 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() 354 rbnode->cache_present = kcalloc(BITS_TO_LONGS(rbnode->blklen), in regcache_rbtree_node_alloc()
|
/Linux-v5.10/drivers/net/wireless/ti/wlcore/ |
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)];
|
D | wlcore_i.h | 176 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-v5.10/fs/ocfs2/dlm/ |
D | dlmcommon.h | 53 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_NODES)]; [all …]
|
/Linux-v5.10/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-v5.10/lib/ |
D | bitmap.c | 84 unsigned int k, lim = BITS_TO_LONGS(bits); in __bitmap_complement() 104 unsigned k, lim = BITS_TO_LONGS(nbits); in __bitmap_shift_right() 150 unsigned int lim = BITS_TO_LONGS(nbits); in __bitmap_shift_left() 211 unsigned int len = BITS_TO_LONGS(nbits); in bitmap_cut() 258 unsigned int nr = BITS_TO_LONGS(bits); in __bitmap_or() 269 unsigned int nr = BITS_TO_LONGS(bits); in __bitmap_xor() 297 unsigned int nr = BITS_TO_LONGS(nbits); in __bitmap_replace() 1125 nlongs_reg = BITS_TO_LONGS(nbits_reg); in __reg_op() 1248 return kmalloc_array(BITS_TO_LONGS(nbits), sizeof(unsigned long), in bitmap_alloc()
|
/Linux-v5.10/drivers/s390/crypto/ |
D | ap_bus.h | 297 unsigned long ioctlm[BITS_TO_LONGS(AP_IOCTLS)]; 298 unsigned long apm[BITS_TO_LONGS(AP_DEVICES)]; 299 unsigned long aqm[BITS_TO_LONGS(AP_DOMAINS)];
|
/Linux-v5.10/fs/ocfs2/cluster/ |
D | quorum.c | 47 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)];
|
D | heartbeat.c | 48 static unsigned long o2hb_live_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)]; 60 static unsigned long o2hb_region_bitmap[BITS_TO_LONGS(O2NM_MAX_REGIONS)]; 61 static unsigned long o2hb_live_region_bitmap[BITS_TO_LONGS(O2NM_MAX_REGIONS)]; 62 static unsigned long o2hb_quorum_region_bitmap[BITS_TO_LONGS(O2NM_MAX_REGIONS)]; 63 static unsigned long o2hb_failed_region_bitmap[BITS_TO_LONGS(O2NM_MAX_REGIONS)]; 222 unsigned long hr_live_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)]; 253 unsigned long hr_nego_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)]; 371 unsigned long live_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2hb_nego_timeout() 1082 unsigned long configured_nodes[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2hb_do_disk_heartbeat() 1083 unsigned long live_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2hb_do_disk_heartbeat() [all …]
|
D | nodemanager.h | 55 unsigned long cl_nodes_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)];
|
/Linux-v5.10/drivers/input/rmi4/ |
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-v5.10/arch/c6x/mm/ |
D | dma-coherent.c | 135 dma_bitmap = memblock_alloc(BITS_TO_LONGS(dma_pages) * sizeof(long), in coherent_mem_init() 139 __func__, BITS_TO_LONGS(dma_pages) * sizeof(long), in coherent_mem_init()
|
/Linux-v5.10/net/mac80211/ |
D | sta_info.h | 283 unsigned long tid_rx_timer_expired[BITS_TO_LONGS(IEEE80211_NUM_TIDS)]; 284 unsigned long tid_rx_stop_requested[BITS_TO_LONGS(IEEE80211_NUM_TIDS)]; 285 unsigned long tid_rx_manage_offl[BITS_TO_LONGS(2 * IEEE80211_NUM_TIDS)]; 286 unsigned long agg_session_valid[BITS_TO_LONGS(IEEE80211_NUM_TIDS)]; 287 unsigned long unexpected_agg[BITS_TO_LONGS(IEEE80211_NUM_TIDS)];
|
/Linux-v5.10/arch/arm64/mm/ |
D | context.c | 81 unsigned int len = BITS_TO_LONGS(NUM_USER_ASIDS) * sizeof(unsigned long); in set_kpti_asid_bits() 405 asid_map = kcalloc(BITS_TO_LONGS(NUM_USER_ASIDS), sizeof(*asid_map), in asids_init() 411 pinned_asid_map = kcalloc(BITS_TO_LONGS(NUM_USER_ASIDS), in asids_init()
|
/Linux-v5.10/drivers/net/wireless/intel/iwlwifi/fw/ |
D | img.h | 110 unsigned long _api[BITS_TO_LONGS(NUM_IWL_UCODE_TLV_API)]; 111 unsigned long _capa[BITS_TO_LONGS(NUM_IWL_UCODE_TLV_CAPA)];
|
/Linux-v5.10/lib/math/ |
D | prime_numbers.c | 9 #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-v5.10/drivers/misc/habanalabs/common/ |
D | asid.c | 14 hdev->asid_bitmap = kcalloc(BITS_TO_LONGS(hdev->asic_prop.max_asid), in hl_asid_init()
|
/Linux-v5.10/tools/perf/util/ |
D | mmap.h | 25 (BITS_TO_LONGS(((struct mmap_cpu_mask *)m)->nbits) * sizeof(unsigned long))
|
/Linux-v5.10/drivers/crypto/qat/qat_common/ |
D | adf_cfg_common.h | 20 #define ADF_DEVS_ARRAY_SIZE BITS_TO_LONGS(ADF_MAX_DEVICES)
|