Home
last modified time | relevance | path

Searched refs:BITS_TO_LONGS (Results 1 – 200 of 205) sorted by relevance

12

/linux-4.4.14/include/linux/
Dinput.h127 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 …]
Dcpumask.h257 [0 ... BITS_TO_LONGS(NR_CPUS)-1] = 0UL \
611 return BITS_TO_LONGS(nr_cpumask_bits) * sizeof(long); in cpumask_size()
754 cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)];
768 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \
775 [0 ... BITS_TO_LONGS(NR_CPUS)-2] = ~0UL, \
776 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \
800 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \
805 [0 ... BITS_TO_LONGS(NR_CPUS)-2] = ~0UL, \
806 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \
812 [0 ... BITS_TO_LONGS(NR_CPUS)-1] = 0UL \
Dbitmap.h186 unsigned int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); in bitmap_zero()
193 unsigned int nlongs = BITS_TO_LONGS(nbits); in bitmap_fill()
207 unsigned int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); in bitmap_copy()
Dnodemask.h292 [BITS_TO_LONGS(MAX_NUMNODES)-1] = NODE_MASK_LAST_WORD \
299 [0 ... BITS_TO_LONGS(MAX_NUMNODES)-2] = ~0UL, \
300 [BITS_TO_LONGS(MAX_NUMNODES)-1] = NODE_MASK_LAST_WORD \
307 [0 ... BITS_TO_LONGS(MAX_NUMNODES)-1] = 0UL \
Ddma-attrs.h24 #define __DMA_ATTRS_LONGS BITS_TO_LONGS(DMA_ATTR_MAX)
Dtypes.h10 unsigned long name[BITS_TO_LONGS(bits)]
Dbitops.h13 #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) macro
/linux-4.4.14/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum.h53 unsigned long active_vfids[BITS_TO_LONGS(VLAN_N_VID)];
54 unsigned long active_fids[BITS_TO_LONGS(VLAN_N_VID)];
95 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
97 unsigned long active_vfids[BITS_TO_LONGS(VLAN_N_VID)];
Dpci.c837 unsigned long active_cqns[BITS_TO_LONGS(MLXSW_PCI_CQS_MAX)]; in mlxsw_pci_eq_tasklet()
/linux-4.4.14/drivers/base/regmap/
Dregcache-rbtree.c158 mem_size += BITS_TO_LONGS(n->blklen) * sizeof(long); in rbtree_show()
299 if (BITS_TO_LONGS(blklen) > BITS_TO_LONGS(rbnode->blklen)) { in regcache_rbtree_insert_to_block()
301 BITS_TO_LONGS(blklen) * sizeof(*present), in regcache_rbtree_insert_to_block()
308 memset(present + BITS_TO_LONGS(rbnode->blklen), 0, in regcache_rbtree_insert_to_block()
309 (BITS_TO_LONGS(blklen) - BITS_TO_LONGS(rbnode->blklen)) in regcache_rbtree_insert_to_block()
369 rbnode->cache_present = kzalloc(BITS_TO_LONGS(rbnode->blklen) * in regcache_rbtree_node_alloc()
Dregcache-lzo.c155 sync_bmp = kmalloc(BITS_TO_LONGS(bmp_size) * sizeof(long), in regcache_lzo_init()
/linux-4.4.14/drivers/net/wireless/ti/wlcore/
Dwlcore.h236 unsigned long links_map[BITS_TO_LONGS(WLCORE_MAX_LINKS)];
237 unsigned long roles_map[BITS_TO_LONGS(WL12XX_MAX_ROLES)];
238 unsigned long roc_map[BITS_TO_LONGS(WL12XX_MAX_ROLES)];
240 BITS_TO_LONGS(WL12XX_MAX_RATE_POLICIES)];
242 BITS_TO_LONGS(WLCORE_MAX_KLV_TEMPLATES)];
284 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)];
Dwlcore_i.h185 unsigned long scanned_ch[BITS_TO_LONGS(WL1271_MAX_CHANNELS)];
371 unsigned long sta_hlid_map[BITS_TO_LONGS(
389 unsigned long links_map[BITS_TO_LONGS(WLCORE_MAX_LINKS)];
Drx.c215 unsigned long active_hlids[BITS_TO_LONGS(WLCORE_MAX_LINKS)] = {0}; in wlcore_rx()
Dtx.c771 unsigned long active_hlids[BITS_TO_LONGS(WLCORE_MAX_LINKS)] = {0}; in wlcore_tx_work_locked()
/linux-4.4.14/tools/perf/util/include/linux/
Dbitmap.h8 unsigned long name[BITS_TO_LONGS(bits)]
28 int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); in bitmap_zero()
/linux-4.4.14/fs/ocfs2/dlm/
Ddlmcommon.h68 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)];
144 unsigned long live_nodes_map[BITS_TO_LONGS(O2NM_MAX_NODES)];
145 unsigned long domain_map[BITS_TO_LONGS(O2NM_MAX_NODES)];
146 unsigned long exit_domain_map[BITS_TO_LONGS(O2NM_MAX_NODES)];
147 unsigned long recovery_map[BITS_TO_LONGS(O2NM_MAX_NODES)];
335 unsigned long refmap[BITS_TO_LONGS(O2NM_MAX_NODES)];
[all …]
Ddlmdomain.c1401 if (map_size != (BITS_TO_LONGS(O2NM_MAX_NODES) * in dlm_send_join_cancels()
1405 map_size, (unsigned)BITS_TO_LONGS(O2NM_MAX_NODES)); in dlm_send_join_cancels()
1579 unsigned long live_map[BITS_TO_LONGS(O2NM_MAX_NODES)];
1580 unsigned long yes_resp_map[BITS_TO_LONGS(O2NM_MAX_NODES)];
Ddlmmaster.c1181 unsigned long diff_bm[BITS_TO_LONGS(O2NM_MAX_NODES)];
1202 for (i = 0; i < BITS_TO_LONGS(O2NM_MAX_NODES); i++) { in dlm_bitmap_diff_iter_init()
2122 unsigned long nodemap[BITS_TO_LONGS(O2NM_MAX_NODES)]; in dlm_assert_master_worker()
/linux-4.4.14/fs/ocfs2/cluster/
Dquorum.c61 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)];
Dheartbeat.c62 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)];
958 unsigned long configured_nodes[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2hb_do_disk_heartbeat()
959 unsigned long live_node_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2hb_do_disk_heartbeat()
1151 unsigned long map[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2hb_debug_open()
1384 BUG_ON(bytes < (BITS_TO_LONGS(O2NM_MAX_NODES) * sizeof(unsigned long))); in o2hb_fill_node_map_from_callback()
[all …]
Dnodemanager.h70 unsigned long cl_nodes_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)];
Dnetdebug.c458 unsigned long map[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2net_fill_bitmap()
Dtcp.c1015 BUG_ON(bytes < (BITS_TO_LONGS(O2NM_MAX_NODES) * sizeof(unsigned long))); in o2net_fill_node_map()
/linux-4.4.14/drivers/net/wireless/iwlwifi/
Diwl-fw.h108 unsigned long _api[BITS_TO_LONGS(NUM_IWL_UCODE_TLV_API)];
109 unsigned long _capa[BITS_TO_LONGS(NUM_IWL_UCODE_TLV_CAPA)];
/linux-4.4.14/drivers/infiniband/hw/nes/
Dnes_verbs.h53 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)];
Dnes_hw.c352 adapter_size += sizeof(unsigned long) * BITS_TO_LONGS(max_qp); in nes_init_adapter()
353 adapter_size += sizeof(unsigned long) * BITS_TO_LONGS(max_mr); in nes_init_adapter()
354 adapter_size += sizeof(unsigned long) * BITS_TO_LONGS(max_cq); in nes_init_adapter()
355 adapter_size += sizeof(unsigned long) * BITS_TO_LONGS(num_pds); in nes_init_adapter()
356 adapter_size += sizeof(unsigned long) * BITS_TO_LONGS(arp_table_size); in nes_init_adapter()
441 nesadapter->allocated_cqs = &nesadapter->allocated_qps[BITS_TO_LONGS(max_qp)]; in nes_init_adapter()
442 nesadapter->allocated_mrs = &nesadapter->allocated_cqs[BITS_TO_LONGS(max_cq)]; in nes_init_adapter()
443 nesadapter->allocated_pds = &nesadapter->allocated_mrs[BITS_TO_LONGS(max_mr)]; in nes_init_adapter()
444 nesadapter->allocated_arps = &nesadapter->allocated_pds[BITS_TO_LONGS(num_pds)]; in nes_init_adapter()
445 …nesadapter->qp_table = (struct nes_qp **)(&nesadapter->allocated_arps[BITS_TO_LONGS(arp_table_size… in nes_init_adapter()
Dnes_hw.h918 unsigned long first_frag_overflow[BITS_TO_LONGS(NES_NIC_WQ_SIZE)];
/linux-4.4.14/lib/
Dbitmap.c86 unsigned k, lim = BITS_TO_LONGS(nbits); in __bitmap_shift_right()
132 unsigned int lim = BITS_TO_LONGS(nbits); in __bitmap_shift_left()
173 unsigned int nr = BITS_TO_LONGS(bits); in __bitmap_or()
184 unsigned int nr = BITS_TO_LONGS(bits); in __bitmap_xor()
964 nlongs_reg = BITS_TO_LONGS(nbits_reg); in __reg_op()
Dgenalloc.c188 BITS_TO_LONGS(nbits) * sizeof(long); in gen_pool_add_virt()
/linux-4.4.14/tools/perf/util/
Dbitmap.c27 int nr = BITS_TO_LONGS(bits); in __bitmap_or()
/linux-4.4.14/drivers/gpu/drm/amd/amdkfd/
Dkfd_pasid.c35 pasid_bitmap = kcalloc(BITS_TO_LONGS(pasid_limit), sizeof(long), GFP_KERNEL); in kfd_pasid_init()
Dkfd_events.c75 #define SLOT_BITMAP_SIZE BITS_TO_LONGS(SLOTS_PER_PAGE)
/linux-4.4.14/arch/metag/kernel/perf/
Dperf_event.h52 unsigned long used_mask[BITS_TO_LONGS(MAX_HWEVENTS)];
/linux-4.4.14/drivers/input/
Devdev.c680 len = BITS_TO_LONGS(maxbit) * sizeof(long); in bits_to_user()
717 len = BITS_TO_LONGS(maxbit) * sizeof(long); in bits_from_user()
735 BITS_TO_LONGS(maxbit) * sizeof(long); in bits_to_user()
752 len = compat ? BITS_TO_LONGS_COMPAT(maxbit) : BITS_TO_LONGS(maxbit); in bits_from_user()
767 int len = BITS_TO_LONGS(maxbit) * sizeof(long); in bits_to_user()
783 len = BITS_TO_LONGS(maxbit) * sizeof(long); in bits_from_user()
924 len = BITS_TO_LONGS(maxbit) * sizeof(unsigned long); in evdev_handle_get_val()
1000 mask = kcalloc(sizeof(unsigned long), BITS_TO_LONGS(cnt), GFP_KERNEL); in evdev_set_mask()
1034 size = sizeof(unsigned long) * BITS_TO_LONGS(cnt); in evdev_get_mask()
Dinput.c1118 for (i = BITS_TO_LONGS(max) - 1; i >= 0; i--) { in input_seq_print_bitmap()
1441 for (i = BITS_TO_LONGS(max) - 1; i >= 0; i--) { in input_print_bitmap()
/linux-4.4.14/tools/include/linux/
Dbitops.h17 #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) macro
/linux-4.4.14/net/rfkill/
Dinput.c44 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-4.4.14/drivers/hid/
Dhid-input.c1394 for (i = 0; i < BITS_TO_LONGS(EV_CNT); i++) in hidinput_has_been_populated()
1397 for (i = 0; i < BITS_TO_LONGS(KEY_CNT); i++) in hidinput_has_been_populated()
1400 for (i = 0; i < BITS_TO_LONGS(REL_CNT); i++) in hidinput_has_been_populated()
1403 for (i = 0; i < BITS_TO_LONGS(ABS_CNT); i++) in hidinput_has_been_populated()
1406 for (i = 0; i < BITS_TO_LONGS(MSC_CNT); i++) in hidinput_has_been_populated()
1409 for (i = 0; i < BITS_TO_LONGS(LED_CNT); i++) in hidinput_has_been_populated()
1412 for (i = 0; i < BITS_TO_LONGS(SND_CNT); i++) in hidinput_has_been_populated()
1415 for (i = 0; i < BITS_TO_LONGS(FF_CNT); i++) in hidinput_has_been_populated()
1418 for (i = 0; i < BITS_TO_LONGS(SW_CNT); i++) in hidinput_has_been_populated()
Dhid-core.c2747 for (i = 0; i < BITS_TO_LONGS(KEY_MAX); i++) in hid_check_keys_pressed()
/linux-4.4.14/include/linux/iio/
Dtrigger.h74 unsigned long pool[BITS_TO_LONGS(CONFIG_IIO_CONSUMERS_PER_TRIGGER)];
/linux-4.4.14/arch/x86/kernel/cpu/
Dperf_event.h57 unsigned long idxmsk[BITS_TO_LONGS(X86_PMC_IDX_MAX)];
182 unsigned long active_mask[BITS_TO_LONGS(X86_PMC_IDX_MAX)];
183 unsigned long running[BITS_TO_LONGS(X86_PMC_IDX_MAX)];
531 unsigned long events_mask[BITS_TO_LONGS(ARCH_PERFMON_EVENTS_COUNT)];
Dperf_event_intel_uncore.h101 unsigned long active_mask[BITS_TO_LONGS(UNCORE_PMC_IDX_MAX)];
Dperf_event_p4.c1208 unsigned long used_mask[BITS_TO_LONGS(X86_PMC_IDX_MAX)]; in p4_pmu_schedule_events()
1209 unsigned long escr_mask[BITS_TO_LONGS(P4_ESCR_MSR_TABLE_SIZE)]; in p4_pmu_schedule_events()
Dperf_event_amd_ibs.c41 unsigned long state[BITS_TO_LONGS(IBS_MAX_STATES)];
Dperf_event.c661 unsigned long used[BITS_TO_LONGS(X86_PMC_IDX_MAX)];
834 unsigned long used_mask[BITS_TO_LONGS(X86_PMC_IDX_MAX)]; in x86_schedule_events()
Dperf_event_intel_uncore.c413 unsigned long used_mask[BITS_TO_LONGS(UNCORE_PMC_IDX_MAX)]; in uncore_assign_events()
/linux-4.4.14/arch/sh/kernel/
Dperf_event.c33 unsigned long used_mask[BITS_TO_LONGS(MAX_HWEVENTS)];
34 unsigned long active_mask[BITS_TO_LONGS(MAX_HWEVENTS)];
/linux-4.4.14/drivers/staging/rdma/amso1100/
Dc2_pd.c79 c2dev->pd_table.table = kmalloc(BITS_TO_LONGS(c2dev->props.max_pd) * in c2_init_pd_table()
/linux-4.4.14/fs/ocfs2/
Dheartbeat.c53 memset(map->map, 0, BITS_TO_LONGS(OCFS2_NODE_MAP_MAX_NODES) * in ocfs2_node_map_init()
Dstack_o2cb.c267 unsigned long hbmap[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2cb_cluster_check()
268 unsigned long netmap[BITS_TO_LONGS(O2NM_MAX_NODES)]; in o2cb_cluster_check()
Docfs2.h103 unsigned long map[BITS_TO_LONGS(OCFS2_NODE_MAP_MAX_NODES)];
/linux-4.4.14/drivers/misc/sgi-gru/
Dgruhandles.h185 unsigned long fault_bits[BITS_TO_LONGS(GRU_NUM_CBE)];
187 unsigned long done_bits[BITS_TO_LONGS(GRU_NUM_CBE)];
Dgrufault.c163 for (i = 0; i < BITS_TO_LONGS(GRU_NUM_CBE); i++) { in get_clear_fault_map()
/linux-4.4.14/arch/c6x/mm/
Ddma-coherent.c138 bitmap_phys = memblock_alloc(BITS_TO_LONGS(dma_pages) * sizeof(long), in coherent_mem_init()
/linux-4.4.14/drivers/infiniband/hw/cxgb4/
Did_table.c96 alloc->table = kmalloc(BITS_TO_LONGS(num) * sizeof(long), in c4iw_id_table_alloc()
/linux-4.4.14/drivers/input/joystick/iforce/
Diforce.h68 unsigned long flags[BITS_TO_LONGS(FF_MODCORE_CNT)];
/linux-4.4.14/drivers/xen/
Dxen-acpi-processor.c398 acpi_id_present = kcalloc(BITS_TO_LONGS(nr_acpi_bits), sizeof(unsigned long), GFP_KERNEL); in check_acpi_ids()
402 acpi_id_cst_present = kcalloc(BITS_TO_LONGS(nr_acpi_bits), sizeof(unsigned long), GFP_KERNEL); in check_acpi_ids()
518 acpi_ids_done = kcalloc(BITS_TO_LONGS(nr_acpi_bits), sizeof(unsigned long), GFP_KERNEL); in xen_acpi_processor_init()
/linux-4.4.14/drivers/net/ethernet/intel/ixgb/
Dixgb.h139 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
/linux-4.4.14/net/mac80211/
Dsta_info.h234 unsigned long tid_rx_timer_expired[BITS_TO_LONGS(IEEE80211_NUM_TIDS)];
235 unsigned long tid_rx_stop_requested[BITS_TO_LONGS(IEEE80211_NUM_TIDS)];
Dmesh_plink.c440 aid_map = kcalloc(BITS_TO_LONGS(IEEE80211_MAX_AID + 1), in mesh_allocate_aid()
Dieee80211_i.h273 u8 tim[sizeof(unsigned long) * BITS_TO_LONGS(IEEE80211_MAX_AID + 1)]
Dsta_info.c1165 BUILD_BUG_ON(BITS_TO_LONGS(IEEE80211_NUM_TIDS) > 1); in ieee80211_sta_ps_deliver_wakeup()
/linux-4.4.14/drivers/s390/cio/
Didset.c20 return BITS_TO_LONGS(num_ssid * num_id) * sizeof(unsigned long); in bitmap_size()
Dairq.c130 size = BITS_TO_LONGS(bits) * sizeof(unsigned long); in airq_iv_create()
/linux-4.4.14/net/netfilter/
Dnf_conntrack_labels.c101 words = BITS_TO_LONGS(n_bits); in nf_connlabels_get()
/linux-4.4.14/drivers/iio/buffer/
Dindustrialio-buffer-cb.c77 = kcalloc(BITS_TO_LONGS(indio_dev->masklength), sizeof(long), in iio_channel_get_all_cb()
/linux-4.4.14/drivers/input/keyboard/
Dgpio_keys_polled.c43 unsigned long rel_axis_seen[BITS_TO_LONGS(REL_CNT)];
44 unsigned long abs_axis_seen[BITS_TO_LONGS(ABS_CNT)];
Dgpio_keys.c177 bits = kcalloc(BITS_TO_LONGS(n_events), sizeof(*bits), GFP_KERNEL); in gpio_keys_attr_show_helper()
220 bits = kcalloc(BITS_TO_LONGS(n_events), sizeof(*bits), GFP_KERNEL); in gpio_keys_attr_store_helper()
Dsh_keysc.c80 for (k = 0; k < BITS_TO_LONGS(SH_KEYSC_MAXKEYS); k++) in sh_keysc_map_dbg()
/linux-4.4.14/drivers/net/wireless/iwlwifi/pcie/
Dinternal.h342 unsigned long queue_used[BITS_TO_LONGS(IWL_MAX_HW_QUEUES)];
343 unsigned long queue_stopped[BITS_TO_LONGS(IWL_MAX_HW_QUEUES)];
/linux-4.4.14/arch/x86/include/asm/
Dmpspec.h90 #define PHYSID_ARRAY_SIZE BITS_TO_LONGS(MAX_LOCAL_APIC)
/linux-4.4.14/arch/arm64/mm/
Dcontext.c206 asid_map = kzalloc(BITS_TO_LONGS(NUM_USER_ASIDS) * sizeof(*asid_map), in asids_init()
/linux-4.4.14/arch/arm/mach-davinci/
Dcp_intc.c120 unsigned num_reg = BITS_TO_LONGS(num_irq); in cp_intc_of_init()
/linux-4.4.14/drivers/net/ethernet/intel/igbvf/
Digbvf.h185 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
/linux-4.4.14/drivers/iio/
Dindustrialio-buffer.c268 av_masks += BITS_TO_LONGS(masklength); in iio_scan_mask_match()
299 BITS_TO_LONGS(indio_dev->masklength), in iio_scan_mask_set()
672 compound_mask = kcalloc(BITS_TO_LONGS(indio_dev->masklength), in iio_verify_update()
1071 buffer->scan_mask = kcalloc(BITS_TO_LONGS(indio_dev->masklength), in iio_buffer_alloc_sysfs_and_mask()
/linux-4.4.14/drivers/gpu/drm/i915/
Di915_gem_tiling.c260 obj->bit_17 = kcalloc(BITS_TO_LONGS(obj->base.size >> PAGE_SHIFT), in i915_gem_set_tiling()
Di915_gem_gtt.c430 pt->used_ptes = kcalloc(BITS_TO_LONGS(count), sizeof(*pt->used_ptes), in alloc_pt()
490 pd->used_pdes = kcalloc(BITS_TO_LONGS(I915_PDES), in alloc_pd()
533 pdp->used_pdpes = kcalloc(BITS_TO_LONGS(pdpes), in __pdp_init()
1184 pds = kcalloc(BITS_TO_LONGS(pdpes), sizeof(unsigned long), GFP_TEMPORARY); in alloc_gen8_temp_bitmaps()
1188 pts = kcalloc(pdpes, BITS_TO_LONGS(I915_PDES) * sizeof(unsigned long), in alloc_gen8_temp_bitmaps()
1254 new_page_tables + pdpe * BITS_TO_LONGS(I915_PDES)); in gen8_alloc_va_range_3lvl()
1312 BITS_TO_LONGS(I915_PDES), I915_PDES) in gen8_alloc_va_range_3lvl()
Di915_gem_fence.c783 obj->bit_17 = kcalloc(BITS_TO_LONGS(page_count), in i915_gem_object_save_bit_17_swizzle()
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/
Di40evf.h56 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
/linux-4.4.14/drivers/net/ethernet/intel/e1000/
De1000.h229 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
/linux-4.4.14/arch/powerpc/sysdev/
Dmsi_bitmap.c123 size = BITS_TO_LONGS(irq_count) * sizeof(long); in msi_bitmap_alloc()
Dmpic.c1328 unsigned int mapsize = BITS_TO_LONGS(intvec_top + 1); in mpic_alloc()
/linux-4.4.14/drivers/tty/
Dsysrq.c594 unsigned long key_down[BITS_TO_LONGS(KEY_CNT)];
604 unsigned long reset_keybit[BITS_TO_LONGS(KEY_CNT)];
/linux-4.4.14/Documentation/input/
Dff.txt52 #define BITS_TO_LONGS(x) \
54 unsigned long features[BITS_TO_LONGS(FF_CNT)];
Dinput-programming.txt221 1.4 BITS_TO_LONGS(), BIT_WORD(), BIT_MASK()
226 BITS_TO_LONGS(x) - returns the length of a bitfield array in longs for
/linux-4.4.14/drivers/net/vmxnet3/
Dvmxnet3_int.h319 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
/linux-4.4.14/drivers/base/
Ddma-coherent.c27 int bitmap_size = BITS_TO_LONGS(pages) * sizeof(long); in dma_init_coherent_memory()
/linux-4.4.14/net/batman-adv/
Dmain.h81 #define BATADV_NUM_WORDS BITS_TO_LONGS(BATADV_TQ_LOCAL_WINDOW_SIZE)
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/
Duar.c147 uuari->bitmap = kcalloc(BITS_TO_LONGS(tot_uuars), sizeof(*uuari->bitmap), in mlx5_alloc_uuars()
Dflow_table.c362 bm = kcalloc(BITS_TO_LONGS(ft_size), sizeof(uintptr_t), GFP_KERNEL); in mlx5_create_flow_table()
/linux-4.4.14/drivers/net/wireless/ath/wil6210/
Dwil6210.h495 unsigned long tid_rx_timer_expired[BITS_TO_LONGS(WIL_STA_TID_NUM)];
496 unsigned long tid_rx_stop_requested[BITS_TO_LONGS(WIL_STA_TID_NUM)];
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe.h238 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
609 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
/linux-4.4.14/arch/x86/include/asm/uv/
Duv_bau.h201 unsigned long bits[BITS_TO_LONGS(UV_DISTRIBUTION_SIZE)];
/linux-4.4.14/drivers/net/ethernet/brocade/bna/
Dbnad.h297 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
/linux-4.4.14/drivers/infiniband/hw/mthca/
Dmthca_allocator.c93 alloc->table = kmalloc(BITS_TO_LONGS(num) * sizeof (long), in mthca_alloc_init()
Dmthca_mr.c155 s = BITS_TO_LONGS(1 << (buddy->max_order - i)); in mthca_buddy_init()
/linux-4.4.14/mm/
Dcma.c99 int bitmap_size = BITS_TO_LONGS(cma_bitmap_maxno(cma)) * sizeof(long); in cma_activate_area()
Dmempolicy.c1250 nlongs = BITS_TO_LONGS(maxnode); in get_nodes()
1258 if (nlongs > BITS_TO_LONGS(MAX_NUMNODES)) { in get_nodes()
1261 for (k = BITS_TO_LONGS(MAX_NUMNODES); k < nlongs; k++) { in get_nodes()
1271 nlongs = BITS_TO_LONGS(MAX_NUMNODES); in get_nodes()
1286 const int nbytes = BITS_TO_LONGS(MAX_NUMNODES) * sizeof(long); in copy_nodes_to_user()
Dslub.c3422 unsigned long *map = kzalloc(BITS_TO_LONGS(page->objects) * in list_slab_objects()
4160 unsigned long *map = kmalloc(BITS_TO_LONGS(oo_objects(s->max)) * in validate_slab_cache()
4321 unsigned long *map = kmalloc(BITS_TO_LONGS(oo_objects(s->max)) * in list_locations()
Dpercpu.c1628 BITS_TO_LONGS(pcpu_unit_pages) * sizeof(unsigned long); in pcpu_setup_first_chunk()
Dswapfile.c2504 frontswap_map = vzalloc(BITS_TO_LONGS(maxpages) * sizeof(long)); in SYSCALL_DEFINE2()
/linux-4.4.14/drivers/net/ethernet/neterion/vxge/
Dvxge-main.h336 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
/linux-4.4.14/drivers/misc/sgi-xp/
Dxpc_partition.c176 xpc_nasid_mask_nlongs = BITS_TO_LONGS(rp->SAL_nasids_size * in xpc_setup_rsvd_page()
Dxpnet.c538 xpnet_broadcast_partitions = kzalloc(BITS_TO_LONGS(xp_max_npartitions) * in xpnet_init()
/linux-4.4.14/drivers/irqchip/
Dirq-gic-v2m.c354 v2m->bm = kzalloc(sizeof(long) * BITS_TO_LONGS(v2m->nr_spis), in gicv2m_init_one()
Dirq-gic-v3-its.c672 lpi_bitmap = kzalloc(BITS_TO_LONGS(lpi_chunks) * sizeof(long), in its_lpi_init()
706 bitmap = kzalloc(BITS_TO_LONGS(nr_chunks * IRQS_PER_CHUNK) * sizeof (long), in its_lpi_alloc_chunks()
Dirq-mips-gic.c330 for (i = 0; i < BITS_TO_LONGS(gic_shared_intrs); i++) { in gic_handle_shared_int()
/linux-4.4.14/fs/
Dfile.c59 #define BITBIT_NR(nr) BITS_TO_LONGS(BITS_TO_LONGS(nr))
/linux-4.4.14/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf.h380 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
/linux-4.4.14/arch/blackfin/kernel/
Dperf_event.c232 unsigned long used_mask[BITS_TO_LONGS(MAX_HWEVENTS)];
/linux-4.4.14/drivers/net/ethernet/intel/igb/
Digb.h353 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
/linux-4.4.14/arch/xtensa/kernel/
Dperf_event.c57 unsigned long used_mask[BITS_TO_LONGS(XCHAL_NUM_PERF_COUNTERS)];
/linux-4.4.14/drivers/pci/host/
Dpci-xgene-msi.c281 int size = BITS_TO_LONGS(NR_MSI_VEC) * sizeof(long); in xgene_msi_init_allocator()
/linux-4.4.14/arch/powerpc/kernel/
Diommu.c663 sz = BITS_TO_LONGS(tbl->it_size) * sizeof(unsigned long); in iommu_init_table()
738 bitmap_sz = BITS_TO_LONGS(tbl->it_size) * sizeof(unsigned long); in iommu_free_table()
/linux-4.4.14/net/bridge/
Dbr_if.c301 inuse = kcalloc(BITS_TO_LONGS(BR_MAX_PORTS), sizeof(unsigned long), in find_portno()
Dbr_vlan.c762 changed = kcalloc(BITS_TO_LONGS(BR_MAX_PORTS), sizeof(unsigned long), in __br_vlan_set_default_pvid()
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/
Dfm10k.h249 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/
De1000.h219 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
/linux-4.4.14/drivers/scsi/
Dipr.h1494 unsigned long target_ids[BITS_TO_LONGS(IPR_MAX_SIS64_DEVS)];
1495 unsigned long array_ids[BITS_TO_LONGS(IPR_MAX_SIS64_DEVS)];
1496 unsigned long vset_ids[BITS_TO_LONGS(IPR_MAX_SIS64_DEVS)];
/linux-4.4.14/drivers/bus/
Darm-cci.c1050 unsigned long mask[BITS_TO_LONGS(cci_pmu->num_cntrs)]; in validate_group()
1058 memset(mask, 0, BITS_TO_LONGS(cci_pmu->num_cntrs) * sizeof(unsigned long)); in validate_group()
1488 BITS_TO_LONGS(CCI_PMU_MAX_HW_CNTRS(model)), in cci_pmu_alloc()
/linux-4.4.14/net/netlink/
Dgenetlink.c190 BITS_TO_LONGS(n_groups); in genl_allocate_reserve_groups()
205 for (i = 0; i < BITS_TO_LONGS(n_groups); i++) in genl_allocate_reserve_groups()
/linux-4.4.14/virt/kvm/arm/
Dvgic.c156 nr_longs = nr_cpus + BITS_TO_LONGS(nr_irqs - VGIC_NR_PRIVATE_IRQS); in vgic_init_bitmap()
1878 int nr_longs = BITS_TO_LONGS(nr_irqs - VGIC_NR_PRIVATE_IRQS); in vgic_vcpu_init_maps()
2001 dist->irq_pending_on_cpu = kzalloc(BITS_TO_LONGS(nr_cpus) * sizeof(long), in vgic_init()
2003 dist->irq_active_on_cpu = kzalloc(BITS_TO_LONGS(nr_cpus) * sizeof(long), in vgic_init()
/linux-4.4.14/arch/arc/kernel/
Dperf_event.c35 unsigned long used_mask[BITS_TO_LONGS(ARC_PERF_MAX_COUNTERS)];
/linux-4.4.14/drivers/net/ethernet/amd/xgbe/
Dxgbe.h858 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
/linux-4.4.14/arch/s390/include/asm/
Dkvm_host.h462 unsigned long idle_mask[BITS_TO_LONGS(KVM_MAX_VCPUS)];
/linux-4.4.14/drivers/net/wireless/ath/carl9170/
Dcarl9170.h111 #define CARL9170_BAW_SIZE (BITS_TO_LONGS(CARL9170_BAW_BITS))
/linux-4.4.14/kernel/
Dcpu.c747 const unsigned long cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)] = {
Dcompat.c906 for (i = 0; i < BITS_TO_LONGS(bitmap_size); i++) { in compat_get_bitmap()
948 for (i = 0; i < BITS_TO_LONGS(bitmap_size); i++) { in compat_put_bitmap()
Dsysctl.c2683 tmp_bitmap = kzalloc(BITS_TO_LONGS(bitmap_len) * sizeof(unsigned long), in proc_do_large_bitmap()
Dworkqueue.c3079 BITS_TO_LONGS(nr_cpumask_bits) * sizeof(long), hash); in wqattrs_hash()
/linux-4.4.14/drivers/net/wireless/iwlwifi/dvm/
Ddev.h667 unsigned long agg_q_alloc[BITS_TO_LONGS(IWL_MAX_HW_QUEUES)];
/linux-4.4.14/drivers/usb/wusbcore/
Dwa-rpipe.c487 wa->rpipe_bm = kzalloc(BITS_TO_LONGS(wa->rpipes)*sizeof(unsigned long), in wa_rpipes_create()
/linux-4.4.14/drivers/thermal/
Dintel_powerclamp.c779 bitmap_size = BITS_TO_LONGS(num_possible_cpus()) * sizeof(long); in powerclamp_init()
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
Dmvm.h634 unsigned long sta_drained[BITS_TO_LONGS(IWL_MVM_STATION_COUNT)];
707 unsigned long fw_key_table[BITS_TO_LONGS(STA_KEY_MAX_NUM)];
Dmac-ctxt.c86 unsigned long available_mac_ids[BITS_TO_LONGS(NUM_MAC_INDEX_DRIVER)];
87 unsigned long available_tsf_ids[BITS_TO_LONGS(NUM_TSF_IDS)];
/linux-4.4.14/drivers/misc/cxl/
Dirq.c443 ctx->irq_bitmap = kcalloc(BITS_TO_LONGS(count), in afu_allocate_irqs()
/linux-4.4.14/drivers/scsi/aic94xx/
Daic94xx_hwi.c229 bitmap_bytes = BITS_TO_LONGS(bitmap_bytes*8)*sizeof(unsigned long); in asd_init_scbs()
611 bitmap_bytes = BITS_TO_LONGS(bitmap_bytes*8)*sizeof(unsigned long); in asd_init_ctxmem()
/linux-4.4.14/fs/f2fs/
Dsegment.h98 (BITS_TO_LONGS(nr) * sizeof(unsigned long))
/linux-4.4.14/drivers/block/
Dxen-blkfront.c365 bitmap = kcalloc(BITS_TO_LONGS(end), sizeof(*bitmap), in xlbd_reserve_minors()
374 BITS_TO_LONGS(nr_minors) * sizeof(*bitmap)); in xlbd_reserve_minors()
376 nr_minors = BITS_TO_LONGS(end) * BITS_PER_LONG; in xlbd_reserve_minors()
/linux-4.4.14/drivers/media/rc/
Dlirc_dev.c317 bytes_in_key = BITS_TO_LONGS(d->code_length) + in lirc_register_driver()
/linux-4.4.14/drivers/s390/net/
Dqeth_core.h798 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Dmlx4_en.h500 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
Dalloc.c188 bitmap->table = kzalloc(BITS_TO_LONGS(bitmap->max) * in mlx4_bitmap_init()
Dmr.c117 s = BITS_TO_LONGS(1 << (buddy->max_order - i)); in mlx4_buddy_init()
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e.h463 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
/linux-4.4.14/arch/tile/kernel/
Dperf_event.c56 unsigned long active_mask[BITS_TO_LONGS(TILE_MAX_COUNTERS)];
/linux-4.4.14/drivers/iio/adc/
Dmax1363.c1456 BITS_TO_LONGS(MAX1363_MAX_CHANNELS) * sizeof(long) * in max1363_alloc_scan_masks()
1462 bitmap_copy(masks + BITS_TO_LONGS(MAX1363_MAX_CHANNELS)*i, in max1363_alloc_scan_masks()
/linux-4.4.14/drivers/net/ethernet/emulex/benet/
Dbe.h545 unsigned long vids[BITS_TO_LONGS(VLAN_N_VID)];
/linux-4.4.14/drivers/gpio/
Dgpiolib.c1449 unsigned long mask[BITS_TO_LONGS(chip->ngpio)]; in gpiod_set_array_value_priv()
1450 unsigned long bits[BITS_TO_LONGS(chip->ngpio)]; in gpiod_set_array_value_priv()
/linux-4.4.14/drivers/isdn/mISDN/
Dtei.c253 DECLARE_BITMAP(ids, 64) = { [0 ... BITS_TO_LONGS(64) - 1] = 0 }; in get_free_id()
277 DECLARE_BITMAP(ids, 64) = { [0 ... BITS_TO_LONGS(64) - 1] = 0 }; in get_free_tei()
/linux-4.4.14/drivers/net/wireless/ath/ath9k/
Dath9k.h238 unsigned long tx_buf[BITS_TO_LONGS(ATH_TID_MAX_BUFS)];
/linux-4.4.14/drivers/net/wireless/p54/
Dfwio.c179 priv->used_rxkeys = kzalloc(BITS_TO_LONGS( in p54_parse_firmware()
/linux-4.4.14/drivers/net/ethernet/via/
Dvia-velocity.h1442 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
Dvia-rhine.c439 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
/linux-4.4.14/drivers/iommu/
Dtegra-smmu.c890 size = BITS_TO_LONGS(soc->num_asids) * sizeof(long); in tegra_smmu_probe()
Dintel_irq_remapping.c529 bitmap = kcalloc(BITS_TO_LONGS(INTR_REMAP_TABLE_ENTRIES), in intel_setup_irq_remapping()
Ddmar.c73 static unsigned long dmar_seq_ids[BITS_TO_LONGS(DMAR_UNITS_SUPPORTED)];
Dintel-iommu.c1625 nlongs = BITS_TO_LONGS(ndomains); in iommu_init_domains()
/linux-4.4.14/drivers/rapidio/
Drio-scan.c886 BITS_TO_LONGS(RIO_MAX_ROUTE_ENTRIES(port->sys_size)), in rio_alloc_net()
/linux-4.4.14/drivers/net/ethernet/sfc/
Dsiena.c501 [0 ... BITS_TO_LONGS(SIENA_STAT_COUNT) - 1] = ~0UL,
Dptp.c354 [0 ... BITS_TO_LONGS(PTP_STAT_COUNT) - 1] = ~0UL,
Dsiena_sriov.c23 #define VI_MASK_LENGTH BITS_TO_LONGS(1 << EFX_VI_SCALE_MAX)
Dfalcon.c200 [0 ... BITS_TO_LONGS(FALCON_STAT_COUNT) - 1] = ~0UL,
Dfarch.c2850 table->used_bitmap = kcalloc(BITS_TO_LONGS(table->size), in efx_farch_filter_table_probe()
/linux-4.4.14/drivers/nvdimm/
Dlabel.c646 victim_map = kcalloc(BITS_TO_LONGS(nslot), sizeof(long), in __blk_label_update()
/linux-4.4.14/net/sched/
Dcls_u32.c564 unsigned long *bitmap = kzalloc(BITS_TO_LONGS(NR_U32_NODE) * sizeof(unsigned long), in gen_new_kid()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_main.c1698 stid_bmap_size = BITS_TO_LONGS(t->nstids + t->nsftids); in tid_init()
3915 adap->sge.starving_fl = kcalloc(BITS_TO_LONGS(adap->sge.egr_sz), in adap_init0()
3922 adap->sge.txq_maperr = kcalloc(BITS_TO_LONGS(adap->sge.egr_sz), in adap_init0()
3930 adap->sge.blocked_fl = kcalloc(BITS_TO_LONGS(adap->sge.egr_sz), in adap_init0()
Dsge.c2344 for (i = 0; i < BITS_TO_LONGS(s->egr_sz); i++) in sge_rx_timer_cb()
2381 for (i = 0; i < BITS_TO_LONGS(s->egr_sz); i++) in sge_tx_timer_cb()
Dcxgb4_debugfs.c2671 t = kcalloc(BITS_TO_LONGS(adap->sge.egr_sz), sizeof(long), GFP_KERNEL); in blocked_fl_write()
/linux-4.4.14/arch/powerpc/kvm/
Dpowerpc.c1372 static unsigned long lpid_inuse[BITS_TO_LONGS(KVMPPC_NR_LPIDS)];
Dmpic.c142 unsigned long queue[BITS_TO_LONGS((MAX_IRQ + 63) & ~63)];
/linux-4.4.14/arch/mips/kernel/
Dperf_event_mipsxx.c42 unsigned long used_mask[BITS_TO_LONGS(MIPS_MAX_HWEVENTS)];
/linux-4.4.14/drivers/staging/rdma/hfi1/
Dinit.c1049 hfi1_cpulist = kcalloc(BITS_TO_LONGS(count), sizeof(long), in hfi1_alloc_devdata()
/linux-4.4.14/drivers/infiniband/core/
Duser_mad.c674 for (i = 0; i < BITS_TO_LONGS(IB_MGMT_MAX_METHODS); ++i) in ib_umad_reg_agent()
/linux-4.4.14/drivers/net/ethernet/qlogic/qlge/
Dqlge.h2063 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
/linux-4.4.14/arch/sparc/mm/
Dsrmmu.c286 __alloc_bootmem(BITS_TO_LONGS(bitmap_bits) * sizeof(long), in srmmu_nocache_init()
Dinit_64.c660 #define CTX_BMAP_SLOTS BITS_TO_LONGS(MAX_CTX_NR)
/linux-4.4.14/drivers/infiniband/hw/qib/
Dqib_init.c1159 qib_cpulist = kzalloc(BITS_TO_LONGS(count) * in qib_alloc_devdata()
/linux-4.4.14/drivers/of/
Dunittest.c1119 static unsigned long overlay_id_bits[BITS_TO_LONGS(MAX_UNITTEST_OVERLAYS)];
/linux-4.4.14/include/net/
Dmac80211.h2050 unsigned long flags[BITS_TO_LONGS(NUM_IEEE80211_HW_FLAGS)];
/linux-4.4.14/drivers/infiniband/hw/mlx5/
Dmain.c649 uuari->bitmap = kcalloc(BITS_TO_LONGS(gross_uuars), in mlx5_ib_alloc_ucontext()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Dmsgbuf.c1429 count = BITS_TO_LONGS(if_msgbuf->nrof_flowrings); in brcmf_proto_msgbuf_attach()
/linux-4.4.14/kernel/events/
Duprobes.c1175 area->bitmap = kzalloc(BITS_TO_LONGS(UINSNS_PER_PAGE) * sizeof(long), GFP_KERNEL); in __create_xol_area()
/linux-4.4.14/arch/x86/kernel/cpu/mcheck/
Dmce.c101 [0 ... BITS_TO_LONGS(MAX_NR_BANKS)-1] = ~0UL
/linux-4.4.14/drivers/tty/vt/
Dkeyboard.c124 static unsigned long key_down[BITS_TO_LONGS(KEY_CNT)]; /* keyboard key bitmap */
/linux-4.4.14/drivers/infiniband/hw/ocrdma/
Docrdma_hw.c1527 BITS_TO_LONGS(rsp->pd_count) * sizeof(long); in ocrdma_mbx_alloc_pd_range()
1545 pd_bitmap_size = BITS_TO_LONGS(rsp->pd_count) * sizeof(long); in ocrdma_mbx_alloc_pd_range()
/linux-4.4.14/arch/arm/mm/
Ddma-mapping.c1903 unsigned int bitmap_size = BITS_TO_LONGS(bits) * sizeof(long); in arm_iommu_create_mapping()
/linux-4.4.14/drivers/net/ethernet/adaptec/
Dstarfire.c551 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic.h1160 unsigned long vlans[BITS_TO_LONGS(VLAN_N_VID)];
/linux-4.4.14/drivers/mtd/nand/
Dnandsim.c591 ns->pages_written = vzalloc(BITS_TO_LONGS(ns->geom.pgnum) * in alloc_device()
/linux-4.4.14/drivers/net/wireless/iwlegacy/
Dcommon.h1302 unsigned long queue_stopped[BITS_TO_LONGS(IL_MAX_HW_QUEUES)];
/linux-4.4.14/drivers/md/bcache/
Dsuper.c773 n = BITS_TO_LONGS(d->nr_stripes) * sizeof(unsigned long); in bcache_device_init()
/linux-4.4.14/drivers/dma/
Dedma.c2201 ecc->slot_inuse = devm_kcalloc(dev, BITS_TO_LONGS(ecc->num_slots), in edma_probe()
/linux-4.4.14/arch/s390/kvm/
Dinterrupt.c2207 unsigned long sigp_emerg_pending[BITS_TO_LONGS(KVM_MAX_VCPUS)]; in kvm_s390_get_irq_state()
/linux-4.4.14/drivers/net/ethernet/rocker/
Drocker.c212 #define ROCKER_VLAN_BITMAP_LEN BITS_TO_LONGS(VLAN_N_VID)
213 #define ROCKER_INTERNAL_VLAN_BITMAP_LEN BITS_TO_LONGS(ROCKER_N_INTERNAL_VLANS)
/linux-4.4.14/drivers/atm/
Dhe.c782 he_dev->rbpl_table = kmalloc(BITS_TO_LONGS(RBPL_TABLE_SIZE) in he_init_group()
/linux-4.4.14/drivers/infiniband/hw/mlx4/
Dmain.c2395 kmalloc(BITS_TO_LONGS(ibdev->steer_qpn_count) * in mlx4_ib_add()
/linux-4.4.14/drivers/net/ethernet/ti/
Dnetcp_ethss.c690 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
/linux-4.4.14/drivers/target/iscsi/
Discsi_target.c546 size = BITS_TO_LONGS(ISCSIT_BITMAP_BITS) * sizeof(long); in iscsi_target_init_module()

12