Home
last modified time | relevance | path

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

12345678

/linux/drivers/s390/crypto/
H A Dap_bus.h284 #define APMASKSIZE (BITS_TO_LONGS(AP_DEVICES) * sizeof(unsigned long))
285 #define AQMASKSIZE (BITS_TO_LONGS(AP_DOMAINS) * sizeof(unsigned long))
288 unsigned long ioctlm[BITS_TO_LONGS(AP_IOCTLS)];
289 unsigned long apm[BITS_TO_LONGS(AP_DEVICES)];
290 unsigned long aqm[BITS_TO_LONGS(AP_DOMAINS)];
291 unsigned long adm[BITS_TO_LONGS(AP_DOMAINS)];
/linux/lib/
H A Dbitmap.c75 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()
719 return kmalloc_array(BITS_TO_LONGS(nbits), sizeof(unsigned long), in bitmap_alloc()
732 return kmalloc_array_node(BITS_TO_LONGS(nbits), sizeof(unsigned long), in bitmap_alloc_node()
868 const unsigned long *end = bitmap + BITS_TO_LONGS(nbits); in bitmap_to_arr64()
/linux/drivers/net/wireless/ti/wlcore/
H 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)];
H A Dwlcore_i.h179 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 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/include/linux/
H A Dcpumask.h503 [0 ... BITS_TO_LONGS(NR_CPUS)-1] = 0UL \
1085 cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)];
1189 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \
1196 [0 ... BITS_TO_LONGS(NR_CPUS)-2] = ~0UL, \
1197 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \
1267 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \
1272 [0 ... BITS_TO_LONGS(NR_CPUS)-2] = ~0UL, \
1273 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \
1279 [0 ... BITS_TO_LONGS(NR_CPUS)-1] = 0UL \
H A Dnodemask.h319 [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 \
/linux/drivers/acpi/
H A Dplatform_profile.c23 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)];
254 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()
415 .aggregate = { [0 ... BITS_TO_LONGS(PLATFORM_PROFILE_LAST) - 1] = ~0UL }, in platform_profile_store()
498 .aggregate = { [0 ... BITS_TO_LONGS(PLATFORM_PROFILE_LAST) - 1] = ~0UL }, in platform_profile_cycle()
/linux/drivers/gpu/drm/xe/
H A Dxe_gt_types.h43 typedef unsigned long xe_dss_mask_t[BITS_TO_LONGS(XE_MAX_DSS_FUSE_BITS)];
44 typedef unsigned long xe_eu_mask_t[BITS_TO_LONGS(XE_MAX_EU_FUSE_BITS)];
45 typedef unsigned long xe_l3_bank_mask_t[BITS_TO_LONGS(XE_MAX_L3_BANK_MASK_BITS)];
/linux/fs/bcachefs/
H A Dec.h141 unsigned long valid[BITS_TO_LONGS(BCH_BKEY_PTRS_MAX)];
177 unsigned long blocks_gotten[BITS_TO_LONGS(BCH_BKEY_PTRS_MAX)];
178 unsigned long blocks_allocated[BITS_TO_LONGS(BCH_BKEY_PTRS_MAX)];
H A Dsubvolume_types.h19 unsigned long is_ancestor[BITS_TO_LONGS(IS_ANCESTOR_BITMAP)];
/linux/drivers/input/rmi4/
H 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/tools/include/linux/
H A Dbitmap.h13 unsigned long name[BITS_TO_LONGS(bits)]
42 unsigned int nlongs = BITS_TO_LONGS(nbits); in bitmap_fill()
/linux/net/rfkill/
H 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/input/
H A Devdev.c650 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/arch/sh/kernel/
H A Dperf_event.c30 unsigned long used_mask[BITS_TO_LONGS(MAX_HWEVENTS)];
31 unsigned long active_mask[BITS_TO_LONGS(MAX_HWEVENTS)];
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.h955 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/fs/ocfs2/cluster/
H A Dnodemanager.h53 unsigned long cl_nodes_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)];
/linux/tools/perf/util/
H A Dmmap.h22 (BITS_TO_LONGS(((struct mmap_cpu_mask *)m)->nbits) * sizeof(unsigned long))
/linux/drivers/infiniband/hw/irdma/
H A Dhw.c1964 rf->allocated_cqs = &rf->allocated_qps[BITS_TO_LONGS(rf->max_qp)]; in irdma_set_hw_rsrc()
1965 rf->allocated_mrs = &rf->allocated_cqs[BITS_TO_LONGS(rf->max_cq)]; in irdma_set_hw_rsrc()
1966 rf->allocated_pds = &rf->allocated_mrs[BITS_TO_LONGS(rf->max_mr)]; in irdma_set_hw_rsrc()
1967 rf->allocated_ahs = &rf->allocated_pds[BITS_TO_LONGS(rf->max_pd)]; in irdma_set_hw_rsrc()
1968 rf->allocated_mcgs = &rf->allocated_ahs[BITS_TO_LONGS(rf->max_ah)]; in irdma_set_hw_rsrc()
1969 rf->allocated_arps = &rf->allocated_mcgs[BITS_TO_LONGS(rf->max_mcg)]; in irdma_set_hw_rsrc()
1971 (&rf->allocated_arps[BITS_TO_LONGS(rf->arp_table_size)]); in irdma_set_hw_rsrc()
1990 rsrc_size += sizeof(unsigned long) * BITS_TO_LONGS(rf->max_qp); in irdma_calc_mem_rsrc_size()
1991 rsrc_size += sizeof(unsigned long) * BITS_TO_LONGS(rf->max_mr); in irdma_calc_mem_rsrc_size()
1992 rsrc_size += sizeof(unsigned long) * BITS_TO_LONGS(rf->max_cq); in irdma_calc_mem_rsrc_size()
[all …]
/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_cfg_common.h20 #define ADF_DEVS_ARRAY_SIZE BITS_TO_LONGS(ADF_MAX_DEVICES)
/linux/drivers/misc/sgi-gru/
H A Dgruhandles.h172 unsigned long fault_bits[BITS_TO_LONGS(GRU_NUM_CBE)];
174 unsigned long done_bits[BITS_TO_LONGS(GRU_NUM_CBE)];
/linux/drivers/gpu/drm/nouveau/nvkm/falcon/
H A Dqmgr.h50 unsigned long tbl[BITS_TO_LONGS(NVKM_FALCON_QMGR_SEQ_NUM)];
/linux/net/ethtool/
H A Dfeatures.c136 const unsigned int words = BITS_TO_LONGS(NETDEV_FEATURE_COUNT); in ethnl_features_to_bitmap()
146 const unsigned int words = BITS_TO_LONGS(NETDEV_FEATURE_COUNT); in ethnl_bitmap_to_features()
/linux/fs/ocfs2/
H A Dstack_o2cb.c257 unsigned long hbmap[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2cb_cluster_check()
258 unsigned long netmap[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2cb_cluster_check()

12345678