Searched refs:BITS_TO_LONGS (Results 1 - 200 of 203) sorted by relevance

12

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

Completed in 8088 milliseconds

12