/openbmc/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 | 456 [0 ... BITS_TO_LONGS(NR_CPUS)-1] = 0UL \ 1054 cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)]; 1144 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \ 1151 [0 ... BITS_TO_LONGS(NR_CPUS)-2] = ~0UL, \ 1152 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \ 1219 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \ 1224 [0 ... BITS_TO_LONGS(NR_CPUS)-2] = ~0UL, \ 1225 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \ 1231 [0 ... BITS_TO_LONGS(NR_CPUS)-1] = 0UL \
|
H A D | platform_profile.h | 30 unsigned long choices[BITS_TO_LONGS(PLATFORM_PROFILE_LAST)];
|
H A D | nodemask.h | 319 [BITS_TO_LONGS(MAX_NUMNODES)-1] = NODE_MASK_LAST_WORD \ 326 [0 ... BITS_TO_LONGS(MAX_NUMNODES)-2] = ~0UL, \ 327 [BITS_TO_LONGS(MAX_NUMNODES)-1] = NODE_MASK_LAST_WORD \ 334 [0 ... BITS_TO_LONGS(MAX_NUMNODES)-1] = 0UL \
|
/openbmc/qemu/include/qemu/ |
H A D | bitmap.h | 70 unsigned long name[BITS_TO_LONGS(bits)] 103 long nelem = BITS_TO_LONGS(nbits); in bitmap_try_new() 109 long nelem = BITS_TO_LONGS(nbits); in bitmap_new() 118 long len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); in bitmap_zero() 125 size_t nlongs = BITS_TO_LONGS(nbits); in bitmap_fill() 139 long len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); in bitmap_copy() 273 long new_nelem = BITS_TO_LONGS(new_nbits); in bitmap_zero_extend()
|
/openbmc/linux/drivers/s390/crypto/ |
H A D | ap_bus.h | 295 #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)];
|
/openbmc/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()
|
/openbmc/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 | 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)];
|
/openbmc/linux/lib/ |
H A D | bitmap.c | 86 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(nbits), sizeof(unsigned long), in bitmap_alloc_node() [all …]
|
/openbmc/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 …]
|
/openbmc/qemu/util/ |
H A D | bitmap.c | 116 long nr = BITS_TO_LONGS(bits); in slow_bitmap_and() 129 long nr = BITS_TO_LONGS(bits); in slow_bitmap_or() 140 long nr = BITS_TO_LONGS(bits); in slow_bitmap_xor() 151 long nr = BITS_TO_LONGS(bits); in slow_bitmap_andnot() 422 long len = BITS_TO_LONGS(nbits); in bitmap_to_from_le()
|
/openbmc/u-boot/drivers/gpio/ |
H A D | kw_gpio.c | 21 static unsigned long gpio_valid_input[BITS_TO_LONGS(GPIO_MAX)]; 22 static unsigned long gpio_valid_output[BITS_TO_LONGS(GPIO_MAX)];
|
/openbmc/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 | 46 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)]; 60 static unsigned long o2hb_quorum_region_bitmap[BITS_TO_LONGS(O2NM_MAX_REGIONS)]; 61 static unsigned long o2hb_failed_region_bitmap[BITS_TO_LONGS(O2NM_MAX_REGIONS)]; 220 unsigned long hr_live_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)]; 249 unsigned long hr_nego_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)]; 367 unsigned long live_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2hb_nego_timeout() 1075 unsigned long configured_nodes[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2hb_do_disk_heartbeat() 1076 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)];
|
/openbmc/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)];
|
/openbmc/linux/tools/include/linux/ |
H A D | bitmap.h | 13 unsigned long name[BITS_TO_LONGS(bits)] 42 unsigned int nlongs = BITS_TO_LONGS(nbits); in bitmap_fill()
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/ |
H A D | img.h | 55 unsigned long _api[BITS_TO_LONGS(NUM_IWL_UCODE_TLV_API)]; 56 unsigned long _capa[BITS_TO_LONGS(NUM_IWL_UCODE_TLV_CAPA)];
|
/openbmc/linux/net/mac80211/ |
H A D | sta_info.h | 288 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)];
|
/openbmc/u-boot/include/linux/ |
H A D | bitmap.h | 17 int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); in bitmap_zero()
|
/openbmc/qemu/include/exec/ |
H A D | ram_addr.h | 367 long nr = BITS_TO_LONGS(pages); in cpu_physical_memory_set_dirty_lebitmap() 404 if (++offset >= BITS_TO_LONGS(DIRTY_MEMORY_BLOCK_SIZE)) { in cpu_physical_memory_set_dirty_lebitmap() 492 int nr = BITS_TO_LONGS(length >> TARGET_PAGE_BITS); in cpu_physical_memory_sync_dirty_bitmap() 512 if (++offset >= BITS_TO_LONGS(DIRTY_MEMORY_BLOCK_SIZE)) { in cpu_physical_memory_sync_dirty_bitmap()
|
/openbmc/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)];
|
/openbmc/linux/tools/perf/util/ |
H A D | mmap.h | 22 (BITS_TO_LONGS(((struct mmap_cpu_mask *)m)->nbits) * sizeof(unsigned long))
|
/openbmc/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)];
|