/linux-4.4.14/tools/perf/util/ |
H A D | bitmap.c | 27 int nr = BITS_TO_LONGS(bits); __bitmap_or()
|
/linux-4.4.14/tools/perf/util/include/linux/ |
H A D | bitmap.h | 8 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 D | spectrum.h | 53 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 D | pci.c | 837 unsigned long active_cqns[BITS_TO_LONGS(MLXSW_PCI_CQS_MAX)]; mlxsw_pci_eq_tasklet()
|
/linux-4.4.14/include/linux/ |
H A D | input.h | 127 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 D | dma-attrs.h | 24 #define __DMA_ATTRS_LONGS BITS_TO_LONGS(DMA_ATTR_MAX)
|
H A D | cpumask.h | 257 [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 D | bitmap.h | 186 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 D | nodemask.h | 292 [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 D | types.h | 10 unsigned long name[BITS_TO_LONGS(bits)]
|
H A D | bitops.h | 13 #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) macro
|
/linux-4.4.14/drivers/base/regmap/ |
H A D | regcache-rbtree.c | 158 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 D | regcache-lzo.c | 155 sync_bmp = kmalloc(BITS_TO_LONGS(bmp_size) * sizeof(long), regcache_lzo_init()
|
/linux-4.4.14/tools/include/linux/ |
H A D | bitops.h | 17 #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 D | nes_verbs.h | 53 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 D | nes_hw.c | 352 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 D | nes_hw.h | 918 unsigned long first_frag_overflow[BITS_TO_LONGS(NES_NIC_WQ_SIZE)];
|
/linux-4.4.14/drivers/s390/cio/ |
H A D | idset.c | 20 return BITS_TO_LONGS(num_ssid * num_id) * sizeof(unsigned long); bitmap_size()
|
H A D | airq.c | 130 size = BITS_TO_LONGS(bits) * sizeof(unsigned long); airq_iv_create()
|
/linux-4.4.14/drivers/iio/buffer/ |
H A D | industrialio-buffer-cb.c | 77 = kcalloc(BITS_TO_LONGS(indio_dev->masklength), sizeof(long), iio_channel_get_all_cb()
|
/linux-4.4.14/fs/ocfs2/cluster/ |
H A D | nodemanager.h | 70 unsigned long cl_nodes_bitmap[BITS_TO_LONGS(O2NM_MAX_NODES)];
|
H A D | quorum.c | 61 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 D | heartbeat.c | 62 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 D | netdebug.c | 458 unsigned long map[BITS_TO_LONGS(O2NM_MAX_NODES)]; o2net_fill_bitmap()
|
H A D | tcp.c | 1015 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 D | kfd_pasid.c | 35 pasid_bitmap = kcalloc(BITS_TO_LONGS(pasid_limit), sizeof(long), GFP_KERNEL); kfd_pasid_init()
|
H A D | kfd_events.c | 75 #define SLOT_BITMAP_SIZE BITS_TO_LONGS(SLOTS_PER_PAGE)
|
/linux-4.4.14/net/netfilter/ |
H A D | nf_conntrack_labels.c | 101 words = BITS_TO_LONGS(n_bits); nf_connlabels_get()
|
/linux-4.4.14/fs/ocfs2/dlm/ |
H A D | dlmcommon.h | 68 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 D | dlmdomain.c | 1401 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 D | dlmmaster.c | 1181 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 D | wlcore.h | 236 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 D | wlcore_i.h | 185 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 D | rx.c | 215 unsigned long active_hlids[BITS_TO_LONGS(WLCORE_MAX_LINKS)] = {0}; wlcore_rx()
|
H A D | tx.c | 771 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 D | c2_pd.c | 79 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 D | id_table.c | 96 alloc->table = kmalloc(BITS_TO_LONGS(num) * sizeof(long), c4iw_id_table_alloc()
|
/linux-4.4.14/drivers/input/ |
H A D | evdev.c | 680 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 D | input.c | 1118 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 D | mpspec.h | 90 #define PHYSID_ARRAY_SIZE BITS_TO_LONGS(MAX_LOCAL_APIC) early_reserve_e820_mpc_new()
|
/linux-4.4.14/arch/c6x/mm/ |
H A D | dma-coherent.c | 138 bitmap_phys = memblock_alloc(BITS_TO_LONGS(dma_pages) * sizeof(long), coherent_mem_init()
|
/linux-4.4.14/fs/ocfs2/ |
H A D | heartbeat.c | 53 memset(map->map, 0, BITS_TO_LONGS(OCFS2_NODE_MAP_MAX_NODES) * ocfs2_node_map_init()
|
H A D | stack_o2cb.c | 267 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 D | ocfs2.h | 103 unsigned long map[BITS_TO_LONGS(OCFS2_NODE_MAP_MAX_NODES)];
|
/linux-4.4.14/arch/metag/kernel/perf/ |
H A D | perf_event.h | 52 unsigned long used_mask[BITS_TO_LONGS(MAX_HWEVENTS)];
|
/linux-4.4.14/drivers/input/keyboard/ |
H A D | gpio_keys_polled.c | 43 unsigned long rel_axis_seen[BITS_TO_LONGS(REL_CNT)]; 44 unsigned long abs_axis_seen[BITS_TO_LONGS(ABS_CNT)];
|
H A D | sh_keysc.c | 80 for (k = 0; k < BITS_TO_LONGS(SH_KEYSC_MAXKEYS); k++) sh_keysc_map_dbg()
|
H A D | gpio_keys.c | 177 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 D | perf_event.c | 33 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 D | input.c | 44 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 D | hid-input.c | 1394 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 D | hid-core.c | 2747 for (i = 0; i < BITS_TO_LONGS(KEY_MAX); i++) hid_check_keys_pressed()
|
/linux-4.4.14/drivers/xen/ |
H A D | xen-acpi-processor.c | 398 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 D | iforce.h | 68 unsigned long flags[BITS_TO_LONGS(FF_MODCORE_CNT)];
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgb/ |
H A D | ixgb.h | 139 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
/linux-4.4.14/arch/x86/kernel/cpu/ |
H A D | perf_event.h | 57 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 D | perf_event_intel_uncore.h | 101 unsigned long active_mask[BITS_TO_LONGS(UNCORE_PMC_IDX_MAX)];
|
H A D | perf_event_p4.c | 1208 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 D | perf_event_amd_ibs.c | 41 unsigned long state[BITS_TO_LONGS(IBS_MAX_STATES)];
|
H A D | perf_event.c | 661 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 D | perf_event_intel_uncore.c | 413 unsigned long used_mask[BITS_TO_LONGS(UNCORE_PMC_IDX_MAX)]; uncore_assign_events()
|
/linux-4.4.14/arch/arm/mach-davinci/ |
H A D | cp_intc.c | 120 unsigned num_reg = BITS_TO_LONGS(num_irq); cp_intc_of_init()
|
/linux-4.4.14/include/linux/iio/ |
H A D | trigger.h | 74 unsigned long pool[BITS_TO_LONGS(CONFIG_IIO_CONSUMERS_PER_TRIGGER)];
|
/linux-4.4.14/drivers/misc/sgi-gru/ |
H A D | gruhandles.h | 185 unsigned long fault_bits[BITS_TO_LONGS(GRU_NUM_CBE)]; 187 unsigned long done_bits[BITS_TO_LONGS(GRU_NUM_CBE)];
|
H A D | grufault.c | 163 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 D | iwl-fw.h | 108 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 D | irq-gic-v2m.c | 354 v2m->bm = kzalloc(sizeof(long) * BITS_TO_LONGS(v2m->nr_spis), gicv2m_init_one()
|
H A D | irq-gic-v3-its.c | 672 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 D | irq-mips-gic.c | 330 for (i = 0; i < BITS_TO_LONGS(gic_shared_intrs); i++) { gic_handle_shared_int()
|
/linux-4.4.14/drivers/iio/ |
H A D | industrialio-buffer.c | 268 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 D | mthca_allocator.c | 93 alloc->table = kmalloc(BITS_TO_LONGS(num) * sizeof (long), mthca_alloc_init()
|
H A D | mthca_mr.c | 155 s = BITS_TO_LONGS(1 << (buddy->max_order - i)); mthca_buddy_init()
|
/linux-4.4.14/drivers/net/ethernet/intel/igbvf/ |
H A D | igbvf.h | 185 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | uar.c | 147 uuari->bitmap = kcalloc(BITS_TO_LONGS(tot_uuars), sizeof(*uuari->bitmap), mlx5_alloc_uuars()
|
H A D | flow_table.c | 362 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 D | bnad.h | 297 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
/linux-4.4.14/drivers/base/ |
H A D | dma-coherent.c | 27 int bitmap_size = BITS_TO_LONGS(pages) * sizeof(long); dma_init_coherent_memory()
|
/linux-4.4.14/arch/powerpc/sysdev/ |
H A D | msi_bitmap.c | 123 size = BITS_TO_LONGS(irq_count) * sizeof(long); msi_bitmap_alloc()
|
H A D | mpic.c | 1328 unsigned int mapsize = BITS_TO_LONGS(intvec_top + 1); mpic_alloc()
|
/linux-4.4.14/arch/arm64/mm/ |
H A D | context.c | 206 asid_map = kzalloc(BITS_TO_LONGS(NUM_USER_ASIDS) * sizeof(*asid_map), asids_init()
|
/linux-4.4.14/lib/ |
H A D | bitmap.c | 86 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 D | genalloc.c | 188 BITS_TO_LONGS(nbits) * sizeof(long); gen_pool_add_virt()
|
/linux-4.4.14/drivers/tty/ |
H A D | sysrq.c | 594 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 D | internal.h | 342 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 D | sta_info.h | 234 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 D | mesh_plink.c | 440 aid_map = kcalloc(BITS_TO_LONGS(IEEE80211_MAX_AID + 1), mesh_allocate_aid()
|
H A D | ieee80211_i.h | 273 u8 tim[sizeof(unsigned long) * BITS_TO_LONGS(IEEE80211_MAX_AID + 1)]
|
H A D | sta_info.c | 1165 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 D | i40evf.h | 56 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
/linux-4.4.14/drivers/net/vmxnet3/ |
H A D | vmxnet3_int.h | 319 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
/linux-4.4.14/drivers/net/ethernet/neterion/vxge/ |
H A D | vxge-main.h | 336 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
/linux-4.4.14/drivers/net/ethernet/intel/e1000/ |
H A D | e1000.h | 229 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
H A D | i915_gem_tiling.c | 260 obj->bit_17 = kcalloc(BITS_TO_LONGS(obj->base.size >> PAGE_SHIFT), i915_gem_set_tiling()
|
H A D | i915_gem_gtt.c | 430 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 D | i915_gem_fence.c | 783 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 D | perf_event.c | 57 unsigned long used_mask[BITS_TO_LONGS(XCHAL_NUM_PERF_COUNTERS)];
|
/linux-4.4.14/net/batman-adv/ |
H A D | main.h | 81 #define BATADV_NUM_WORDS BITS_TO_LONGS(BATADV_TQ_LOCAL_WINDOW_SIZE)
|
/linux-4.4.14/arch/blackfin/kernel/ |
H A D | perf_event.c | 232 unsigned long used_mask[BITS_TO_LONGS(MAX_HWEVENTS)];
|
/linux-4.4.14/drivers/scsi/ |
H A D | ipr.h | 1494 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 D | scsi_debug.c | 4911 map_storep = vmalloc(BITS_TO_LONGS(map_size) * sizeof(long)); scsi_debug_init()
|
/linux-4.4.14/drivers/misc/sgi-xp/ |
H A D | xpc_partition.c | 176 xpc_nasid_mask_nlongs = BITS_TO_LONGS(rp->SAL_nasids_size * xpc_setup_rsvd_page()
|
H A D | xpnet.c | 538 xpnet_broadcast_partitions = kzalloc(BITS_TO_LONGS(xp_max_npartitions) * xpnet_init()
|
/linux-4.4.14/drivers/misc/cxl/ |
H A D | irq.c | 443 ctx->irq_bitmap = kcalloc(BITS_TO_LONGS(count), afu_allocate_irqs()
|
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/ |
H A D | e1000.h | 219 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k.h | 249 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
/linux-4.4.14/drivers/net/ethernet/intel/igb/ |
H A D | igb.h | 353 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgbevf/ |
H A D | ixgbevf.h | 380 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
/linux-4.4.14/drivers/pci/host/ |
H A D | pci-xgene-msi.c | 281 int size = BITS_TO_LONGS(NR_MSI_VEC) * sizeof(long); xgene_msi_init_allocator()
|
/linux-4.4.14/arch/arc/kernel/ |
H A D | perf_event.c | 35 unsigned long used_mask[BITS_TO_LONGS(ARC_PERF_MAX_COUNTERS)];
|
/linux-4.4.14/mm/ |
H A D | cma.c | 99 int bitmap_size = BITS_TO_LONGS(cma_bitmap_maxno(cma)) * sizeof(long); cma_activate_area()
|
H A D | mempolicy.c | 1250 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 D | slub.c | 3422 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 D | percpu.c | 1628 BITS_TO_LONGS(pcpu_unit_pages) * sizeof(unsigned long); pcpu_setup_first_chunk()
|
H A D | swapfile.c | 2504 frontswap_map = vzalloc(BITS_TO_LONGS(maxpages) * sizeof(long));
|
/linux-4.4.14/net/bridge/ |
H A D | br_if.c | 301 inuse = kcalloc(BITS_TO_LONGS(BR_MAX_PORTS), sizeof(unsigned long), find_portno()
|
H A D | br_vlan.c | 762 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 D | kvm_host.h | 462 unsigned long idle_mask[BITS_TO_LONGS(KVM_MAX_VCPUS)];
|
/linux-4.4.14/virt/kvm/arm/ |
H A D | vgic.c | 156 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 D | aic94xx_hwi.c | 229 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 D | tei.c | 253 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 D | max1363.c | 1456 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 D | ixgbe.h | 238 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 D | wil6210.h | 495 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 D | file.c | 59 #define BITBIT_NR(nr) BITS_TO_LONGS(BITS_TO_LONGS(nr))
|
/linux-4.4.14/kernel/ |
H A D | compat.c | 906 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 D | cpu.c | 747 const unsigned long cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)] = {
|
H A D | sysctl.c | 2683 tmp_bitmap = kzalloc(BITS_TO_LONGS(bitmap_len) * sizeof(unsigned long), proc_do_large_bitmap()
|
/linux-4.4.14/arch/powerpc/kernel/ |
H A D | iommu.c | 663 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 D | genetlink.c | 190 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 D | xen-blkfront.c | 365 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 D | cciss.c | 4831 h->cmd_pool_bits = kmalloc(BITS_TO_LONGS(h->nr_cmds) * cciss_allocate_cmd_pool()
|
/linux-4.4.14/drivers/bus/ |
H A D | arm-cci.c | 1050 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 D | wa-rpipe.c | 487 wa->rpipe_bm = kzalloc(BITS_TO_LONGS(wa->rpipes)*sizeof(unsigned long), wa_rpipes_create()
|
/linux-4.4.14/drivers/thermal/ |
H A D | intel_powerclamp.c | 779 bitmap_size = BITS_TO_LONGS(num_possible_cpus()) * sizeof(long); powerclamp_init()
|
/linux-4.4.14/drivers/s390/net/ |
H A D | qeth_core.h | 798 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
/linux-4.4.14/drivers/iommu/ |
H A D | tegra-smmu.c | 890 size = BITS_TO_LONGS(soc->num_asids) * sizeof(long); tegra_smmu_probe()
|
H A D | intel_irq_remapping.c | 529 bitmap = kcalloc(BITS_TO_LONGS(INTR_REMAP_TABLE_ENTRIES), intel_setup_irq_remapping()
|
H A D | dmar.c | 73 static unsigned long dmar_seq_ids[BITS_TO_LONGS(DMAR_UNITS_SUPPORTED)];
|
H A D | intel-iommu.c | 1625 nlongs = BITS_TO_LONGS(ndomains); iommu_init_domains()
|
/linux-4.4.14/drivers/media/rc/ |
H A D | lirc_dev.c | 317 bytes_in_key = BITS_TO_LONGS(d->code_length) + lirc_register_driver()
|
/linux-4.4.14/drivers/net/wireless/p54/ |
H A D | fwio.c | 179 priv->used_rxkeys = kzalloc(BITS_TO_LONGS( p54_parse_firmware()
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
H A D | alloc.c | 188 bitmap->table = kzalloc(BITS_TO_LONGS(bitmap->max) * mlx4_bitmap_init()
|
H A D | mlx4_en.h | 500 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
H A D | mr.c | 117 s = BITS_TO_LONGS(1 << (buddy->max_order - i)); mlx4_buddy_init()
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/dvm/ |
H A D | dev.h | 667 unsigned long agg_q_alloc[BITS_TO_LONGS(IWL_MAX_HW_QUEUES)];
|
/linux-4.4.14/drivers/nvdimm/ |
H A D | label.c | 646 victim_map = kcalloc(BITS_TO_LONGS(nslot), sizeof(long),
|
/linux-4.4.14/drivers/net/wireless/ath/carl9170/ |
H A D | carl9170.h | 111 #define CARL9170_BAW_SIZE (BITS_TO_LONGS(CARL9170_BAW_BITS))
|
/linux-4.4.14/drivers/net/ethernet/sfc/ |
H A D | siena.c | 501 [0 ... BITS_TO_LONGS(SIENA_STAT_COUNT) - 1] = ~0UL,
|
H A D | siena_sriov.c | 23 #define VI_MASK_LENGTH BITS_TO_LONGS(1 << EFX_VI_SCALE_MAX)
|
H A D | ptp.c | 354 [0 ... BITS_TO_LONGS(PTP_STAT_COUNT) - 1] = ~0UL,
|
H A D | falcon.c | 200 [0 ... BITS_TO_LONGS(FALCON_STAT_COUNT) - 1] = ~0UL,
|
H A D | farch.c | 2850 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 D | be.h | 545 unsigned long vids[BITS_TO_LONGS(VLAN_N_VID)];
|
/linux-4.4.14/arch/tile/kernel/ |
H A D | perf_event.c | 56 unsigned long active_mask[BITS_TO_LONGS(TILE_MAX_COUNTERS)];
|
/linux-4.4.14/arch/x86/include/asm/uv/ |
H A D | uv_bau.h | 201 unsigned long bits[BITS_TO_LONGS(UV_DISTRIBUTION_SIZE)];
|
/linux-4.4.14/fs/f2fs/ |
H A D | segment.h | 98 (BITS_TO_LONGS(nr) * sizeof(unsigned long))
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/ |
H A D | mac-ctxt.c | 86 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 D | mvm.h | 634 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 D | rio-scan.c | 886 BITS_TO_LONGS(RIO_MAX_ROUTE_ENTRIES(port->sys_size)), rio_alloc_net()
|
/linux-4.4.14/drivers/infiniband/core/ |
H A D | user_mad.c | 674 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 D | main.c | 649 uuari->bitmap = kcalloc(BITS_TO_LONGS(gross_uuars), mlx5_ib_alloc_ucontext()
|
/linux-4.4.14/drivers/net/ethernet/intel/i40e/ |
H A D | i40e.h | 463 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/ |
H A D | msgbuf.c | 1429 count = BITS_TO_LONGS(if_msgbuf->nrof_flowrings); brcmf_proto_msgbuf_attach()
|
/linux-4.4.14/drivers/net/ethernet/via/ |
H A D | via-velocity.h | 1442 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
H A D | via-rhine.c | 439 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
/linux-4.4.14/drivers/net/wireless/ath/ath9k/ |
H A D | ath9k.h | 238 unsigned long tx_buf[BITS_TO_LONGS(ATH_TID_MAX_BUFS)];
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_main.c | 1698 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 D | sge.c | 2344 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 D | cxgb4_debugfs.c | 2671 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 D | xgbe.h | 858 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
/linux-4.4.14/net/sched/ |
H A D | cls_u32.c | 564 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 D | powerpc.c | 1372 static unsigned long lpid_inuse[BITS_TO_LONGS(KVMPPC_NR_LPIDS)];
|
H A D | mpic.c | 142 unsigned long queue[BITS_TO_LONGS((MAX_IRQ + 63) & ~63)];
|
/linux-4.4.14/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_hw.c | 1527 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 D | gpiolib.c | 1449 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 D | init.c | 1049 hfi1_cpulist = kcalloc(BITS_TO_LONGS(count), sizeof(long), hfi1_alloc_devdata()
|
/linux-4.4.14/drivers/md/bcache/ |
H A D | super.c | 773 n = BITS_TO_LONGS(d->nr_stripes) * sizeof(unsigned long); bcache_device_init()
|
/linux-4.4.14/drivers/of/ |
H A D | unittest.c | 1119 static unsigned long overlay_id_bits[BITS_TO_LONGS(MAX_UNITTEST_OVERLAYS)];
|
/linux-4.4.14/drivers/net/ethernet/qlogic/qlge/ |
H A D | qlge.h | 2063 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
/linux-4.4.14/arch/sparc/mm/ |
H A D | srmmu.c | 286 __alloc_bootmem(BITS_TO_LONGS(bitmap_bits) * sizeof(long), srmmu_nocache_init()
|
H A D | init_64.c | 660 #define CTX_BMAP_SLOTS BITS_TO_LONGS(MAX_CTX_NR)
|
/linux-4.4.14/arch/mips/kernel/ |
H A D | perf_event_mipsxx.c | 42 unsigned long used_mask[BITS_TO_LONGS(MIPS_MAX_HWEVENTS)];
|
/linux-4.4.14/drivers/tty/vt/ |
H A D | keyboard.c | 124 static unsigned long key_down[BITS_TO_LONGS(KEY_CNT)]; /* keyboard key bitmap */
|
/linux-4.4.14/drivers/net/ethernet/adaptec/ |
H A D | starfire.c | 551 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
/linux-4.4.14/drivers/infiniband/hw/qib/ |
H A D | qib_init.c | 1159 qib_cpulist = kzalloc(BITS_TO_LONGS(count) * qib_alloc_devdata()
|
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic.h | 1160 unsigned long vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
/linux-4.4.14/drivers/dma/ |
H A D | edma.c | 2201 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 D | mce.c | 101 [0 ... BITS_TO_LONGS(MAX_NR_BANKS)-1] = ~0UL
|
/linux-4.4.14/kernel/events/ |
H A D | uprobes.c | 1175 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 D | interrupt.c | 2207 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 D | dma-mapping.c | 1903 unsigned int bitmap_size = BITS_TO_LONGS(bits) * sizeof(long); arm_iommu_create_mapping()
|
/linux-4.4.14/drivers/net/ethernet/rocker/ |
H A D | rocker.c | 212 #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 D | nandsim.c | 591 ns->pages_written = vzalloc(BITS_TO_LONGS(ns->geom.pgnum) * alloc_device()
|
/linux-4.4.14/drivers/infiniband/hw/mlx4/ |
H A D | main.c | 2395 kmalloc(BITS_TO_LONGS(ibdev->steer_qpn_count) * mlx4_ib_add()
|
/linux-4.4.14/drivers/net/wireless/iwlegacy/ |
H A D | common.h | 1302 unsigned long queue_stopped[BITS_TO_LONGS(IL_MAX_HW_QUEUES)];
|
/linux-4.4.14/drivers/net/ethernet/ti/ |
H A D | netcp_ethss.c | 690 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
|
/linux-4.4.14/drivers/atm/ |
H A D | he.c | 782 he_dev->rbpl_table = kmalloc(BITS_TO_LONGS(RBPL_TABLE_SIZE) he_init_group()
|
/linux-4.4.14/drivers/target/iscsi/ |
H A D | iscsi_target.c | 546 size = BITS_TO_LONGS(ISCSIT_BITMAP_BITS) * sizeof(long); iscsi_target_init_module()
|
/linux-4.4.14/drivers/scsi/qla2xxx/ |
H A D | qla_os.c | 3516 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 D | bnxt.c | 2476 bp->ntp_fltr_bmap = kzalloc(BITS_TO_LONGS(BNXT_NTP_FLTR_MAX_FLTR), bnxt_alloc_ntp_fltrs()
|