Home
last modified time | relevance | path

Searched refs:vmalloc (Results 1 – 200 of 343) sorted by relevance

12

/linux-4.4.14/mm/
Dkmemleak-test.c69 pr_info("vmalloc(64) = %p\n", vmalloc(64)); in kmemleak_test_init()
70 pr_info("vmalloc(64) = %p\n", vmalloc(64)); in kmemleak_test_init()
71 pr_info("vmalloc(64) = %p\n", vmalloc(64)); in kmemleak_test_init()
72 pr_info("vmalloc(64) = %p\n", vmalloc(64)); in kmemleak_test_init()
73 pr_info("vmalloc(64) = %p\n", vmalloc(64)); in kmemleak_test_init()
Dframe_vector.c209 vec = vmalloc(size); in frame_vector_create()
DMakefile11 vmalloc.o pagewalk.o pgtable-generic.o
Dnommu.c337 void *vmalloc(unsigned long size) in vmalloc() function
341 EXPORT_SYMBOL(vmalloc);
375 return vmalloc(size); in vmalloc_node()
Dsparse.c629 ret = vmalloc(memmap_size); in __kmalloc_section_memmap()
/linux-4.4.14/fs/jffs2/
Dcompr_lzo.c32 lzo_mem = vmalloc(LZO1X_MEM_COMPRESS); in alloc_workspace()
33 lzo_compress_buf = vmalloc(lzo1x_worst_compress(PAGE_SIZE)); in alloc_workspace()
Dcompr_zlib.c45 def_strm.workspace = vmalloc(zlib_deflate_workspacesize(MAX_WBITS, in alloc_workspaces()
52 inf_strm.workspace = vmalloc(zlib_inflate_workspacesize()); in alloc_workspaces()
/linux-4.4.14/drivers/media/v4l2-core/
DMakefile33 obj-$(CONFIG_VIDEOBUF_VMALLOC) += videobuf-vmalloc.o
38 obj-$(CONFIG_VIDEOBUF2_VMALLOC) += videobuf2-vmalloc.o
Dvideobuf-dma-sg.c103 sglist = vmalloc(nr_pages * sizeof(*sglist)); in videobuf_pages_to_sg()
299 dma->sglist = vmalloc(sizeof(*dma->sglist)); in videobuf_dma_map()
/linux-4.4.14/sound/drivers/opl4/
Dopl4_proc.c59 buf = vmalloc(count); in snd_opl4_mem_proc_read()
80 buf = vmalloc(count); in snd_opl4_mem_proc_write()
/linux-4.4.14/fs/squashfs/
Dlzo_wrapper.c48 stream->input = vmalloc(block_size); in lzo_init()
51 stream->output = vmalloc(block_size); in lzo_init()
Dlz4_wrapper.c62 stream->input = vmalloc(block_size); in lz4_init()
65 stream->output = vmalloc(block_size); in lz4_init()
Dzlib_wrapper.c42 stream->workspace = vmalloc(zlib_inflate_workspacesize()); in zlib_init()
/linux-4.4.14/Documentation/x86/x86_64/
Dmm.txt11 ffffc90000000000 - ffffe8ffffffffff (=45 bits) vmalloc/ioremap space
28 vmalloc space is lazily synchronized into the different PML4 pages of
/linux-4.4.14/drivers/gpu/drm/vmwgfx/
Dvmwgfx_fb.c42 void *vmalloc; member
225 src_ptr = (u8 *)par->vmalloc + in vmw_fb_dirty_flush()
669 par->vmalloc = NULL; in vmw_fb_init()
689 par->vmalloc = vzalloc(fb_size); in vmw_fb_init()
690 if (unlikely(par->vmalloc == NULL)) { in vmw_fb_init()
712 info->screen_base = (char __iomem *)par->vmalloc; in vmw_fb_init()
769 vfree(par->vmalloc); in vmw_fb_init()
795 vfree(par->vmalloc); in vmw_fb_close()
Dvmwgfx_fifo.c109 fifo->static_buffer = vmalloc(fifo->static_buffer_size); in vmw_fifo_init()
370 fifo_state->dynamic_buffer = vmalloc(bytes); in vmw_local_fifo_reserve()
/linux-4.4.14/arch/um/include/shared/
Dum_malloc.h14 extern void *vmalloc(unsigned long size);
/linux-4.4.14/Documentation/
Dflexible-arrays.txt7 pages with vmalloc(). This solution not ideal, though. On 32-bit systems,
8 memory from vmalloc() must be mapped into a relatively small address space;
10 vmalloc() allocations can require expensive cross-processor interrupts on
11 all CPUs. And, on all systems, use of space in the vmalloc() range
15 In many cases, the need for memory from vmalloc() can be eliminated by
DIntel-IOMMU.txt47 IOVA generation is pretty generic. We used the same technique as vmalloc()
DDMA-API-HOWTO.txt18 kmalloc(), vmalloc(), and similar interfaces is a virtual address and can
122 returned from vmalloc() for DMA. It is possible to DMA to the
123 _underlying_ memory mapped into a vmalloc() area, but this requires
140 call and DMA to/from that. This is similar to vmalloc().
Dkmemleak.txt72 The memory allocations via kmalloc, vmalloc, kmem_cache_alloc and
/linux-4.4.14/Documentation/arm/
Dmemory.txt48 mapping within the vmalloc space.
50 VMALLOC_START VMALLOC_END-1 vmalloc() / ioremap() space.
51 Memory returned by vmalloc/ioremap will
DPorting94 Virtual addresses bounding the vmalloc() area. There must not be
95 any static mappings in this area; vmalloc will overwrite them.
97 Normally, the vmalloc() area starts VMALLOC_OFFSET bytes above the
102 between virtual RAM and the vmalloc area. We do this to allow
/linux-4.4.14/drivers/scsi/fnic/
Dfnic_debugfs.c77 vmalloc(sizeof(struct fc_trace_flag_type)); in fnic_debugfs_init()
254 fnic_dbg_prt->buffer = vmalloc(3 * in fnic_trace_debugfs_open()
265 vmalloc(3 * (fnic_fc_trace_max_pages * PAGE_SIZE)); in fnic_trace_debugfs_open()
687 debug->debug_buffer = vmalloc(buf_size); in fnic_stats_debugfs_open()
Dfnic_trace.c406 fnic_trace_buf_p = (unsigned long)vmalloc((trace_max_pages * PAGE_SIZE)); in fnic_trace_buf_init()
415 fnic_trace_entries.page_offset = vmalloc(fnic_max_trace_entries * in fnic_trace_buf_init()
493 fnic_fc_ctlr_trace_buf_p = (unsigned long)vmalloc( in fnic_fc_trace_init()
506 fc_trace_entries.page_offset = vmalloc(fc_trace_max_entries * in fnic_fc_trace_init()
/linux-4.4.14/drivers/video/
Dvgastate.c362 saved->vga_cmap = vmalloc(768); in save_vga()
384 saved->attr = vmalloc(total); in save_vga()
421 saved->vga_font0 = vmalloc(4 * 8192); in save_vga()
433 saved->vga_font1 = vmalloc(state->memsize); in save_vga()
444 saved->vga_text = vmalloc(8192 * 2); in save_vga()
/linux-4.4.14/drivers/mtd/tests/
Dstresstest.c200 readbuf = vmalloc(bufsize); in mtd_stresstest_init()
201 writebuf = vmalloc(bufsize); in mtd_stresstest_init()
/linux-4.4.14/lib/
Ddecompress_unxz.c155 #undef vmalloc
159 #define vmalloc(size) malloc(size) macro
Drhashtable.c83 tbl->locks = vmalloc(size * sizeof(spinlock_t)); in alloc_bucket_locks()
/linux-4.4.14/include/linux/decompress/
Dmm.h83 #define large_malloc(a) vmalloc(a)
/linux-4.4.14/fs/btrfs/
Dlzo.c57 workspace->mem = vmalloc(LZO1X_MEM_COMPRESS); in lzo_alloc_workspace()
58 workspace->buf = vmalloc(lzo1x_worst_compress(PAGE_CACHE_SIZE)); in lzo_alloc_workspace()
59 workspace->cbuf = vmalloc(lzo1x_worst_compress(PAGE_CACHE_SIZE)); in lzo_alloc_workspace()
Dzlib.c61 workspace->strm.workspace = vmalloc(workspacesize); in zlib_alloc_workspace()
/linux-4.4.14/sound/
Dsound_firmware.c29 dp = vmalloc(l); in do_mod_firmware_load()
/linux-4.4.14/fs/cramfs/
Duncompress.c61 stream.workspace = vmalloc(zlib_inflate_workspacesize()); in cramfs_uncompress_init()
/linux-4.4.14/security/apparmor/
Dlib.c103 buffer = vmalloc(size); in __aa_kvmalloc()
/linux-4.4.14/fs/ncpfs/
Dfile.c130 freepage = vmalloc(freelen); in ncp_file_read_iter()
194 bouncebuffer = vmalloc(bufsize); in ncp_file_write_iter()
Dinode.c627 server->packet = vmalloc(NCP_PACKET_SIZE); in ncp_fill_super()
630 server->txbuf = vmalloc(NCP_PACKET_SIZE); in ncp_fill_super()
633 server->rxbuf = vmalloc(NCP_PACKET_SIZE); in ncp_fill_super()
/linux-4.4.14/arch/cris/arch-v10/
DREADME.mm102 is used by the vmalloc() kernel function to allocate virtual contiguous function
111 ( seg_d, page ) | // kernel vmalloc area
223 kernel's internal paged memory system, vmalloc/vfree.
225 void * vmalloc(unsigned long size) function
227 The vmalloc-system keeps a paged segment in kernel-space at 0xd0000000. What
/linux-4.4.14/Documentation/video4linux/
Dvideobuf29 contiguous; buffers allocated with vmalloc(), in other words. These
56 <media/videobuf-vmalloc.h> /* vmalloc() buffers */
118 /* vmalloc drivers */
287 Drivers using the vmalloc() method need not (and cannot) concern themselves
320 vmalloc() case especially. So the driver should be prepared for the list
331 scatterlist structure described above. Drivers using the vmalloc() method
353 drivers should be written. Vivi only uses the vmalloc() API, but it's good
/linux-4.4.14/crypto/
Dlzo.c37 ctx->lzo_comp_mem = vmalloc(LZO1X_MEM_COMPRESS); in lzo_init()
Dlz4hc.c34 ctx->lz4hc_comp_mem = vmalloc(LZ4HC_MEM_COMPRESS); in lz4hc_init()
Dlz4.c35 ctx->lz4_comp_mem = vmalloc(LZ4_MEM_COMPRESS); in lz4_init()
/linux-4.4.14/drivers/mtd/ubi/
Dmisc.c70 buf = vmalloc(vol->usable_leb_size); in ubi_check_volume()
Dupd.c136 vol->upd_buf = vmalloc(ubi->leb_size); in ubi_start_update()
196 vol->upd_buf = vmalloc(ALIGN((int)req->bytes, ubi->min_io_size)); in ubi_start_leb_change()
Dcdev.c217 tbuf = vmalloc(tbuf_size); in vol_cdev_read()
298 tbuf = vmalloc(tbuf_size); in vol_cdev_direct_write()
Ddebug.c41 buf = vmalloc(len); in ubi_dump_flash()
/linux-4.4.14/net/bridge/netfilter/
Debtables.c896 vmalloc(nr_cpu_ids * sizeof(*(newinfo->chainstack))); in translate_table()
901 vmalloc(udc_cnt * sizeof(*(newinfo->chainstack[0]))); in translate_table()
911 cl_s = vmalloc(udc_cnt * sizeof(*cl_s)); in translate_table()
992 counterstmp = vmalloc(size); in do_replace_finish()
1126 newinfo = vmalloc(sizeof(*newinfo) + countersize); in do_replace()
1133 newinfo->entries = vmalloc(tmp.entries_size); in do_replace()
1179 newinfo = vmalloc(sizeof(*newinfo) + countersize); in ebt_register_table()
1184 p = vmalloc(repl->entries_size); in ebt_register_table()
1292 tmp = vmalloc(num_counters * sizeof(*tmp)); in do_update_counters()
1413 counterstmp = vmalloc(nentries * sizeof(*counterstmp)); in copy_counters_to_user()
[all …]
/linux-4.4.14/fs/logfs/
Dcompr.c86 stream.workspace = vmalloc(size); in logfs_compr_init()
/linux-4.4.14/fs/pstore/
Dpmsg.c39 buffer = vmalloc(buffer_size); in write_pmsg()
/linux-4.4.14/arch/ia64/sn/kernel/
Dmca.c99 u8 *newbuf = vmalloc(*sn_oemdata_size); in sn_platform_plat_specific_err_print()
/linux-4.4.14/drivers/staging/rts5208/
Drtsx_scsi.c509 buf = vmalloc(scsi_bufflen(srb)); in inquiry()
646 buf = vmalloc(scsi_bufflen(srb)); in request_sense()
1139 buf = vmalloc(len); in read_eeprom()
1208 buf = vmalloc(len); in write_eeprom()
1258 buf = vmalloc(len); in read_mem()
1317 buf = vmalloc(len); in write_mem()
1412 buf = vmalloc(scsi_bufflen(srb)); in trace_msg_cmd()
1972 buf = vmalloc(len); in read_phy_register()
2037 buf = vmalloc(len); in write_phy_register()
2140 buf = vmalloc(len); in read_eeprom2()
[all …]
Dxd.c879 xd_card->zone = vmalloc(size); in xd_init_l2p_tbl()
1437 zone->l2p_table = vmalloc(2000); in xd_build_l2p_tbl()
1446 zone->free_table = vmalloc(XD_FREE_TABLE_CNT * 2); in xd_build_l2p_tbl()
/linux-4.4.14/sound/oss/
Dmidibuf.c180 midi_in_buf[dev] = vmalloc(sizeof(struct midi_buf)); in MIDIbuf_open()
190 midi_out_buf[dev] = vmalloc(sizeof(struct midi_buf)); in MIDIbuf_open()
Ddev_table.c69 …d = (struct audio_driver *) (sound_mem_blocks[sound_nblocks] = vmalloc(sizeof(struct audio_driver)… in sound_install_audiodrv()
Dpss.c865 buf = vmalloc(sizeof(copr_buffer)); in pss_coproc_ioctl()
877 mbuf = vmalloc(sizeof(copr_msg)); in pss_coproc_ioctl()
901 mbuf = vmalloc(sizeof(copr_msg)); in pss_coproc_ioctl()
Dmsnd.c102 f->data = vmalloc(n); in msnd_fifo_alloc()
Dsequencer.c1639 queue = vmalloc(SEQ_MAX_QUEUE * EV_SZ); in sequencer_init()
1645 iqueue = vmalloc(SEQ_MAX_QUEUE * IEV_SZ); in sequencer_init()
/linux-4.4.14/drivers/gpu/drm/
Ddrm_memory.c83 page_map = vmalloc(num_pages * sizeof(struct page *)); in agp_remap()
/linux-4.4.14/drivers/oprofile/
Devent_buffer.c94 event_buffer = vmalloc(sizeof(unsigned long) * buffer_size); in alloc_event_buffer()
/linux-4.4.14/drivers/s390/cio/
Didset.c27 set = vmalloc(sizeof(struct idset) + bitmap_size(num_ssid, num_id)); in idset_new()
/linux-4.4.14/drivers/scsi/snic/
Dsnic_trc.c129 tbuf = vmalloc(tbuf_sz); in snic_trc_init()
/linux-4.4.14/kernel/gcov/
Dgcc_4_7.c298 dci_ptr->values = vmalloc(cv_size); in gcov_info_dup()
487 iter->buffer = vmalloc(iter->size); in gcov_iter_new()
Dgcc_3_4.c271 dup->counts[i].values = vmalloc(size); in gcov_info_dup()
/linux-4.4.14/arch/m68k/include/asm/
Dfloppy.h146 return (unsigned long) vmalloc(size); in vdma_mem_alloc()
/linux-4.4.14/arch/um/os-Linux/
Dmain.c209 else ret = vmalloc(size); in __wrap_malloc()
/linux-4.4.14/drivers/mtd/
Dmtdoops.c353 cxt->oops_page_used = vmalloc(DIV_ROUND_UP(mtdoops_pages, in mtdoops_notify_add()
422 cxt->oops_buf = vmalloc(record_size); in mtdoops_init()
Dbcm63xxpart.c99 buf = vmalloc(sizeof(struct bcm_tag)); in bcm63xx_parse_cfe_partitions()
Dredboot.c97 buf = vmalloc(master->erasesize); in parse_redboot_partitions()
Dmtdblock.c270 mtdblk->cache_data = vmalloc(mtdblk->mbd.mtd->erasesize); in mtdblock_writesect()
Dmtdswap.c1367 d->page_data = vmalloc(sizeof(int)*pages); in mtdswap_init()
1371 d->revmap = vmalloc(sizeof(int)*blocks); in mtdswap_init()
Drfd_ftl.c192 part->sector_map = vmalloc(part->sector_count * sizeof(u_long)); in scan_header()
/linux-4.4.14/Documentation/DocBook/
Dkernel-api.xml.db224 API-vmalloc
226 API-vmalloc-user
227 API-vmalloc-node
229 API-vmalloc-32
230 API-vmalloc-32-user
231 API-remap-vmalloc-range-partial
232 API-remap-vmalloc-range
Dalsa-driver-api.xml.db99 API-snd-pcm-lib-alloc-vmalloc-buffer
100 API-snd-pcm-lib-alloc-vmalloc-32-buffer
130 API-snd-pcm-lib-free-vmalloc-buffer
131 API-snd-pcm-lib-get-vmalloc-page
D.kernel-api.xml.cmd2 ….h arch/x86/lib/usercopy_32.c mm/readahead.c mm/filemap.c mm/memory.c mm/vmalloc.c mm/page_alloc.c…
Ddevice-drivers.xml.db661 API-snd-pcm-lib-alloc-vmalloc-buffer
662 API-snd-pcm-lib-alloc-vmalloc-32-buffer
708 API-snd-pcm-lib-free-vmalloc-buffer
709 API-snd-pcm-lib-get-vmalloc-page
/linux-4.4.14/drivers/net/wireless/ath/carl9170/
Ddebug.c84 buf = vmalloc(dfops->read_bufsize); in carl9170_debugfs_read()
135 buf = vmalloc(count); in carl9170_debugfs_write()
492 buf = vmalloc(max_len); \
522 buf = vmalloc(max_len); \
/linux-4.4.14/drivers/net/ethernet/cavium/liquidio/
Docteon_device.c701 buf = vmalloc(size); in octeon_allocate_device_mem()
762 vmalloc(sizeof(struct octeon_instr_queue)); in octeon_setup_instr_queues()
798 oct->droq[i] = vmalloc(sizeof(*oct->droq[i])); in octeon_setup_output_queues()
982 vmalloc(sizeof(struct octeon_dispatch)); in octeon_register_dispatch_fn()
Drequest_manager.c112 iq->request_list = vmalloc(sizeof(*iq->request_list) * num_descs); in octeon_init_instr_queue()
202 vmalloc(sizeof(struct octeon_instr_queue)); in octeon_setup_iq()
Docteon_droq.c300 vmalloc(droq->max_count * in octeon_init_droq()
960 droq = vmalloc(sizeof(*droq)); in octeon_create_droq()
/linux-4.4.14/drivers/mtd/devices/
Dmtdram.c157 addr = vmalloc(MTDRAM_TOTAL_SIZE); in init_mtdram()
DKconfig150 This enables a test MTD device driver which uses vmalloc() to
/linux-4.4.14/include/linux/
Dvmalloc.h69 extern void *vmalloc(unsigned long size);
/linux-4.4.14/drivers/media/pci/zoran/
Dzoran_procfs.c147 string = sp = vmalloc(count + 1); in zoran_write()
/linux-4.4.14/drivers/media/dvb-core/
Ddvb_demux.c708 feed->buffer = vmalloc(feed->buffer_size); in dmx_ts_feed_set()
917 dvbdmxfeed->buffer = vmalloc(dvbdmxfeed->buffer_size); in dmx_section_feed_set()
1254 dvbdemux->filter = vmalloc(dvbdemux->filternum * sizeof(struct dvb_demux_filter)); in dvb_dmx_init()
1259 dvbdemux->feed = vmalloc(dvbdemux->feednum * sizeof(struct dvb_demux_feed)); in dvb_dmx_init()
1274 dvbdemux->cnt_storage = vmalloc(MAX_PID + 1); in dvb_dmx_init()
Ddmxdev.c152 mem = vmalloc(DVR_BUFFER_SIZE); in dvb_dvr_open()
268 newmem = vmalloc(size); in dvb_dvr_set_buffer_size()
309 newmem = vmalloc(size); in dvb_dmxdev_set_buffer_size()
621 mem = vmalloc(filter->buffer.size); in dvb_dmxdev_filter_start()
1233 dmxdev->filter = vmalloc(dmxdev->filternum * sizeof(struct dmxdev_filter)); in dvb_dmxdev_init()
/linux-4.4.14/drivers/md/
Ddm-log.c426 lc->clean_bits = vmalloc(bitset_size); in create_log_context()
467 lc->disk_header = vmalloc(buf_size); in create_log_context()
482 lc->sync_bits = vmalloc(bitset_size); in create_log_context()
Ddm-snap-persistent.c178 ps->area = vmalloc(len); in alloc_area()
186 ps->header_area = vmalloc(len); in alloc_area()
Ddm-switch.c117 sctx->region_table = vmalloc(nr_slots * sizeof(region_table_slot_t)); in alloc_region_table()
Ddm-region-hash.c204 rh->buckets = vmalloc(nr_buckets * sizeof(*rh->buckets)); in dm_region_hash_create()
/linux-4.4.14/net/dccp/
Dprobe.c130 tbuf = vmalloc(len); in dccpprobe_read()
/linux-4.4.14/drivers/net/ppp/
Dppp_deflate.c110 state->strm.workspace = vmalloc(zlib_deflate_workspacesize(-w_size, 8)); in z_comp_alloc()
326 state->strm.workspace = vmalloc(zlib_inflate_workspacesize()); in z_decomp_alloc()
Dbsd_comp.c409 db->dict = vmalloc(hsize * sizeof(struct bsd_dict)); in bsd_alloc()
428 db->lens = vmalloc((maxmaxcode + 1) * sizeof(db->lens[0])); in bsd_alloc()
/linux-4.4.14/arch/parisc/include/asm/
Dfloppy.h174 return (unsigned long) vmalloc(size); in vdma_mem_alloc()
/linux-4.4.14/drivers/scsi/bfa/
Dbfad_debugfs.c83 fw_debug->debug_buffer = vmalloc(fw_debug->buffer_len); in bfad_debugfs_open_fwtrc()
127 fw_debug->debug_buffer = vmalloc(fw_debug->buffer_len); in bfad_debugfs_open_fwsave()
Dbfad.c616 kva_elem->kva = vmalloc(kva_elem->mem_len); in bfad_hal_mem_alloc()
1770 *bfi_image = vmalloc(fw->size); in bfad_read_firmware()
/linux-4.4.14/arch/ia64/sn/kernel/sn2/
Dsn_hwperf.c69 objbuf = vmalloc(sz); in sn_hwperf_enum_objects()
723 p = vmalloc(a.sz); in sn_hwperf_ioctl()
909 if ((sn_hwperf_salheap = vmalloc(v)) == NULL) { in sn_hwperf_init()
/linux-4.4.14/drivers/infiniband/hw/qib/
Dqib_eeprom.c184 buf = vmalloc(len); in qib_get_eeprom_info()
Dqib_diag.c610 tmpbuf = vmalloc(plen); in qib_diagpkt_write()
704 olp = vmalloc(sizeof(*olp)); in qib_register_observer()
/linux-4.4.14/net/sctp/
Dprobe.c105 tbuf = vmalloc(len); in sctpprobe_read()
/linux-4.4.14/arch/sparc/kernel/
Dmodule.c38 return vmalloc(size); in module_map()
/linux-4.4.14/arch/x86/include/asm/
Dfloppy.h162 return (unsigned long)vmalloc(size); in vdma_mem_alloc()
/linux-4.4.14/drivers/firmware/broadcom/
Dbcm47xx_nvram.c239 nvram = vmalloc(*nvram_size); in bcm47xx_nvram_get_contents()
/linux-4.4.14/arch/cris/arch-v32/kernel/
Dhead.S81 ;; e used for vmalloc
86 ;; d used for vmalloc
/linux-4.4.14/fs/
Dxattr.c344 vvalue = vmalloc(size); in setxattr()
445 vvalue = vmalloc(size); in getxattr()
531 vlist = vmalloc(size); in listxattr()
Dfile.c44 return vmalloc(size); in alloc_fdmem()
Dseq_file.c41 buf = vmalloc(size); in seq_buf_alloc()
/linux-4.4.14/fs/ubifs/
Dlpt.c634 buf = vmalloc(c->leb_size); in ubifs_create_dflt_lpt()
635 ltab = vmalloc(sizeof(struct ubifs_lpt_lprops) * c->lpt_lebs); in ubifs_create_dflt_lpt()
1331 buf = vmalloc(c->ltab_sz); in read_ltab()
1354 buf = vmalloc(c->lsave_sz); in read_lsave()
1629 c->ltab = vmalloc(sizeof(struct ubifs_lpt_lprops) * c->lpt_lebs); in lpt_init_rd()
1691 c->ltab_cmt = vmalloc(sizeof(struct ubifs_lpt_lprops) * c->lpt_lebs); in lpt_init_wr()
1695 c->lpt_buf = vmalloc(c->leb_size); in lpt_init_wr()
Dsuper.c1196 c->sbuf = vmalloc(c->leb_size); in mount_ubifs()
1201 c->ileb_buf = vmalloc(c->leb_size); in mount_ubifs()
1617 c->ileb_buf = vmalloc(c->leb_size); in ubifs_remount_rw()
1644 c->orph_buf = vmalloc(c->leb_size); in ubifs_remount_rw()
Dlog.c643 buf = vmalloc(c->leb_size); in ubifs_consolidate_log()
Dorphan.c716 c->orph_buf = vmalloc(c->leb_size); in ubifs_mount_orphans()
/linux-4.4.14/sound/pci/asihpi/
Dhpioctl.c227 pa->p_buffer = vmalloc(size); in asihpi_hpi_ioctl()
404 adapter.p_buffer = vmalloc(prealloc_stream_buf); in asihpi_adapter_probe()
/linux-4.4.14/arch/sparc/include/asm/
Dfloppy_32.h77 #define fd_dma_mem_alloc(size) ((unsigned long) vmalloc(size))
/linux-4.4.14/drivers/isdn/hardware/eicon/
Dplatform.h167 ret = (void *) vmalloc((unsigned int) size); in diva_os_malloc()
/linux-4.4.14/drivers/isdn/i4l/
Disdn_bsdcomp.c343 db->dict = vmalloc(hsize * sizeof(struct bsd_dict)); in bsd_alloc()
356 db->lens = vmalloc((maxmaxcode + 1) * sizeof(db->lens[0])); in bsd_alloc()
/linux-4.4.14/drivers/md/bcache/
Dutil.h50 (heap)->data = vmalloc(_bytes); \
144 (fifo)->data = vmalloc(_bytes); \
/linux-4.4.14/drivers/block/
Dz2ram.c190 vfree(vmalloc (size)); in z2_open()
/linux-4.4.14/drivers/media/pci/cx18/
Dcx18-alsa-pcm.c243 runtime->dma_area = vmalloc(size); in snd_pcm_alloc_vmalloc_buffer()
/linux-4.4.14/arch/s390/hypfs/
Dhypfs_vm.c95 data = vmalloc(size + offset); in diag2fc_store()
Dhypfs_diag.c389 diag204_buf_vmalloc = vmalloc(PAGE_SIZE * (pages + 1)); in diag204_alloc_vbuf()
/linux-4.4.14/Documentation/device-mapper/
Ddm-io.txt47 The third I/O service type takes a pointer to a vmalloc'd memory buffer as the
Dstatistics.txt33 fallback to using vmalloc space. At most, 1/4 of the overall system
/linux-4.4.14/drivers/gpu/drm/radeon/
Dradeon_gart.c352 rdev->gart.pages_entry = vmalloc(sizeof(uint64_t) * in radeon_gart_init()
/linux-4.4.14/arch/avr32/kernel/
Dmodule.c85 module->arch.syminfo = vmalloc(module->arch.nsyms in module_frob_arch_sections()
/linux-4.4.14/drivers/media/pci/ivtv/
Divtv-alsa-pcm.c250 runtime->dma_area = vmalloc(size); in snd_pcm_alloc_vmalloc_buffer()
/linux-4.4.14/drivers/media/usb/go7007/
Dsnd-go7007.c116 substream->runtime->dma_area = vmalloc(bytes); in go7007_snd_hw_params()
/linux-4.4.14/Documentation/zh_CN/video4linux/
Dv4l2-framework.txt777 线性 DMA(videobuf-dma-contig)以及大多用于 USB 设备的用 vmalloc
778 分配的缓冲(videobuf-vmalloc)。
/linux-4.4.14/net/rds/
Diw_cm.c322 ic->i_sends = vmalloc(ic->i_send_ring.w_nr * sizeof(struct rds_iw_send_work)); in rds_iw_setup_qp()
330 ic->i_recvs = vmalloc(ic->i_recv_ring.w_nr * sizeof(struct rds_iw_recv_work)); in rds_iw_setup_qp()
/linux-4.4.14/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_private.h118 kmalloc((size), (mask)) : vmalloc(size); \
/linux-4.4.14/fs/isofs/
Dcompress.c370 zisofs_zlib_workspace = vmalloc(zlib_inflate_workspacesize()); in zisofs_init()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
Dbase.c250 iobj->suspend = vmalloc(size); in nvkm_instmem_fini()
/linux-4.4.14/drivers/scsi/qla2xxx/
Dqla_attr.c191 ha->fw_dump_template = vmalloc(size); in qla2x00_sysfs_write_fw_dump_template()
214 ha->fw_dump = vmalloc(size); in qla2x00_sysfs_write_fw_dump_template()
428 ha->optrom_buffer = vmalloc(ha->optrom_region_size); in qla2x00_sysfs_write_optrom_ctl()
502 ha->optrom_buffer = vmalloc(ha->optrom_region_size); in qla2x00_sysfs_write_optrom_ctl()
609 tmp_data = vmalloc(256); in qla2x00_sysfs_write_vpd()
804 tmp_data = vmalloc(256); in qla2x00_sysfs_write_reset()
/linux-4.4.14/drivers/gpu/drm/mgag200/
Dmgag200_fb.c187 sysram = vmalloc(size); in mgag200fb_create()
/linux-4.4.14/arch/powerpc/kernel/
Drtasd.c559 rtas_log_buf = vmalloc(rtas_error_log_buffer_max*LOG_NUMBER); in rtas_init()
/linux-4.4.14/drivers/gpu/drm/nouveau/
Dnv84_fence.c174 priv->suspend = vmalloc(priv->base.contexts * sizeof(u32)); in nv84_fence_suspend()
/linux-4.4.14/kernel/bpf/
Dhashtab.c100 htab->buckets = vmalloc(htab->n_buckets * sizeof(struct hlist_head)); in htab_map_alloc()
/linux-4.4.14/Documentation/filesystems/
Dproc.txt936 VmallocTotal: total size of vmalloc memory area
937 VmallocUsed: amount of vmalloc area which is used
938 VmallocChunk: largest contiguous block of vmalloc area which is free
952 vmalloc vmalloc() area
961 /0x2c0 pages=512 vmalloc N0=128 N1=128 N2=128 N3=128
963 /0x2c0 pages=256 vmalloc N0=64 N1=64 N2=64 N3=64
970 /0x80 pages=11 vmalloc N0=3 N1=3 N2=2 N3=3
972 pages=2 vmalloc N1=2
974 /0x130 [x_tables] pages=4 vmalloc N0=4
976 pages=14 vmalloc N2=14
[all …]
/linux-4.4.14/drivers/staging/rdma/ipath/
Dipath_eeprom.c752 buf = vmalloc(len); in ipath_get_eeprom_info()
895 buf = vmalloc(len); in ipath_update_eeprom_log()
Dipath_init_chip.c95 skbinfo = vmalloc(sizeof(*dd->ipath_port0_skbinfo) * egrcnt); in create_port0_egr()
456 addrs = vmalloc(dd->ipath_cfgports * dd->ipath_rcvtidcnt * in init_shadow_tids()
Dipath_diag.c423 tmpbuf = vmalloc(plen); in ipath_diagpkt_write()
/linux-4.4.14/drivers/staging/media/lirc/
Dlirc_zilog.c774 tx_data = vmalloc(sizeof(*tx_data)); in fw_load()
783 tx_data->datap = vmalloc(fw_entry->size); in fw_load()
819 tx_data->code_sets = vmalloc( in fw_load()
/linux-4.4.14/kernel/power/
Dswap.c682 data = vmalloc(sizeof(*data) * nr_threads); in save_image_lzo()
1168 page = vmalloc(sizeof(*page) * LZO_MAX_RD_PAGES); in load_image_lzo()
1175 data = vmalloc(sizeof(*data) * nr_threads); in load_image_lzo()
/linux-4.4.14/drivers/media/pci/ngene/
Dngene-core.c1171 dev->tsout_buf = vmalloc(TSOUT_BUF_SIZE); in ngene_get_buffers()
1178 dev->tsin_buf = vmalloc(TSIN_BUF_SIZE); in ngene_get_buffers()
1185 dev->ain_buf = vmalloc(AIN_BUF_SIZE); in ngene_get_buffers()
1191 dev->vin_buf = vmalloc(VIN_BUF_SIZE); in ngene_get_buffers()
/linux-4.4.14/drivers/net/wireless/ath/ath10k/
Ddebug.c429 buf = vmalloc(ATH10K_FW_STATS_BUF_SIZE); in ath10k_fw_stats_open()
922 buf = vmalloc(count); in ath10k_mem_value_read()
974 buf = vmalloc(count); in ath10k_mem_value_write()
1417 buf = vmalloc(QCA988X_CAL_DATA_LEN); in ath10k_debug_cal_data_open()
1777 buf = vmalloc(ATH10K_TPC_CONFIG_BUF_SIZE); in ath10k_tpc_stats_open()
/linux-4.4.14/drivers/media/usb/tm6000/
Dtm6000-alsa.c129 substream->runtime->dma_area = vmalloc(size); in dsp_buffer_alloc()
/linux-4.4.14/drivers/media/pci/ttpci/
Dav7110_ca.c97 data = vmalloc(size); in ci_ll_init()
Dav7110_ir.c282 page = vmalloc(size); in av7110_ir_proc_write()
Dav7110_ipack.c26 if (!(p->buf = vmalloc(size*sizeof(u8)))) { in av7110_ipack_init()
/linux-4.4.14/net/core/
Dsysctl_net_core.c65 vmalloc(RPS_SOCK_FLOW_TABLE_SIZE(size)); in rps_sock_flow_sysctl()
/linux-4.4.14/drivers/gpu/drm/cirrus/
Dcirrus_fbdev.c192 sysram = vmalloc(size); in cirrusfb_create()
/linux-4.4.14/drivers/staging/android/ion/
Dion_heap.c37 struct page **pages = vmalloc(sizeof(struct page *) * npages); in ion_heap_map_kernel()
/linux-4.4.14/drivers/gpu/drm/ast/
Dast_fb.c215 sysram = vmalloc(size); in astfb_create()
/linux-4.4.14/arch/powerpc/lib/
Dcode-patching.c351 buf = vmalloc(PAGE_ALIGN(0x2000000 + 1)); in test_translate_branch()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/
Dfalcon.c118 void *p = vmalloc(len); in vmemdup()
/linux-4.4.14/fs/nilfs2/
Dioctl.c941 kbufs[n] = vmalloc(len); in nilfs_ioctl_clean_segments()
1269 kbuf = vmalloc(len); in nilfs_ioctl_set_suinfo()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbevf/
Dethtool.c302 tx_ring = vmalloc(adapter->num_tx_queues * sizeof(*tx_ring)); in ixgbevf_set_ringparam()
328 rx_ring = vmalloc(adapter->num_rx_queues * sizeof(*rx_ring)); in ixgbevf_set_ringparam()
/linux-4.4.14/arch/s390/kernel/
Dmodule.c131 me->arch.syminfo = vmalloc(me->arch.nsyms * in module_frob_arch_sections()
/linux-4.4.14/drivers/staging/comedi/
Dcomedi_buf.c113 pages = vmalloc(sizeof(struct page *) * n_pages); in __comedi_buf_alloc()
/linux-4.4.14/drivers/iommu/
Dtegra-gart.c415 gart->savedata = vmalloc(sizeof(u32) * gart->page_count); in tegra_gart_probe()
/linux-4.4.14/drivers/net/ethernet/intel/igbvf/
Dethtool.c248 temp_ring = vmalloc(sizeof(struct igbvf_ring)); in igbvf_set_ringparam()
/linux-4.4.14/sound/core/seq/
Dseq_memory.c387 cellptr = vmalloc(sizeof(struct snd_seq_event_cell) * pool->size); in snd_seq_pool_init()
/linux-4.4.14/net/netfilter/
Dx_tables.c467 xp->compat_tab = vmalloc(sizeof(struct compat_delta) * xp->number); in xt_compat_add_offset()
816 mem = vmalloc(len); in xt_copy_counters_from_user()
907 info = vmalloc(sz); in xt_alloc_table_info()
/linux-4.4.14/lib/xz/
Dxz_dec_lzma2.c1119 s->dict.buf = vmalloc(dict_max); in xz_dec_lzma2_create()
1150 s->dict.buf = vmalloc(s->dict.size); in xz_dec_lzma2_reset()
/linux-4.4.14/Documentation/frv/
Dmmu-layout.txt65 D0000000-D7FFFFFF various TLB,xAMR1 D-NS??V 128MB vmalloc area
181 Page tables for the vmalloc area are allocated at boot time and shared between all mm_structs.
/linux-4.4.14/drivers/media/pci/cobalt/
Dcobalt-alsa-pcm.c272 runtime->dma_area = vmalloc(size); in snd_pcm_alloc_vmalloc_buffer()
/linux-4.4.14/arch/alpha/
DKconfig633 be streamlined if we restrict the kernel to one PGD for all vmalloc
639 much vmalloc space as is available.
641 Say N unless you know you need gobs and gobs of vmalloc space.
/linux-4.4.14/arch/arc/mm/
Dtlbex.S371 ; -If PAGE_GLOBAL set, they refer to kernel-only flags (vmalloc)
/linux-4.4.14/Documentation/zh_CN/
DCodingStyle577 vmalloc()。请参考API文档以获取有关它们的详细信息。
/linux-4.4.14/drivers/nvdimm/
Ddimm_devs.c105 ndd->data = vmalloc(ndd->nsarea.config_size); in nvdimm_init_config_data()
Dbus.c576 buf = vmalloc(buf_len); in __nd_ioctl()
/linux-4.4.14/drivers/misc/vmw_vmci/
Dvmci_guest.c503 vmci_dev->data_buffer = vmalloc(VMCI_MAX_DG_SIZE); in vmci_guest_probe_device()
/linux-4.4.14/security/keys/
Dkeyctl.c106 payload = vmalloc(plen); in SYSCALL_DEFINE5()
1043 payload = vmalloc(plen); in keyctl_instantiate_key_common()
/linux-4.4.14/drivers/usb/misc/sisusbvga/
Dsisusb_con.c1323 sisusb->font_backup = vmalloc(charcount * 32); in sisusbcon_font_set()
1502 if (!(sisusb->scrbuf = (unsigned long)vmalloc(sisusb->scrbuf_size))) { in sisusb_console_init()
/linux-4.4.14/sound/pci/emu10k1/
Demu10k1_main.c1943 emu->page_ptr_table = vmalloc(emu->max_cache_pages * sizeof(void *)); in snd_emu10k1_create()
1944 emu->page_addr_table = vmalloc(emu->max_cache_pages * in snd_emu10k1_create()
2101 emu->saved_ptr = vmalloc(4 * NUM_G * size); in alloc_pm_buffer()
Dp16v.c885 emu->p16v_saved = vmalloc(NUM_CHS * 4 * 0x80); in snd_p16v_alloc_pm_buffer()
/linux-4.4.14/arch/ia64/kernel/
Dsalinfo.c376 !(data->log_buffer = vmalloc(ia64_sal_get_state_info_size(data->type)))) { in salinfo_log_open()
/linux-4.4.14/drivers/xen/
Devtchn.c92 ring = vmalloc(s); in evtchn_alloc_ring()
/linux-4.4.14/ipc/
Dutil.c408 out = vmalloc(size); in ipc_alloc()
/linux-4.4.14/drivers/hid/
Dhid-picolcd_fb.c550 fbdata->bitmap = vmalloc(PICOLCDFB_SIZE*8); in picolcd_init_framebuffer()
/linux-4.4.14/drivers/misc/
Dlkdtm.c455 u32 *vmalloc_area = vmalloc(EXEC_SIZE); in lkdtm_do_action()
/linux-4.4.14/drivers/gpu/drm/qxl/
Dqxl_fb.c368 shadow = vmalloc(mode_cmd.pitches[0] * mode_cmd.height); in qxlfb_create()
/linux-4.4.14/arch/metag/
DKconfig89 vmalloc space and actual amount of RAM, you may not need this
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/
Ddebug.c407 buf = vmalloc(count); in ath6kl_fwlog_read()
461 buf = vmalloc(count); in ath6kl_fwlog_block_read()
958 buf = vmalloc(reg_len); in ath6kl_regdump_open()
/linux-4.4.14/drivers/infiniband/hw/cxgb4/
Ddevice.c334 qpd->buf = vmalloc(qpd->bufsize); in qp_open()
428 stagd->buf = vmalloc(stagd->bufsize); in stag_open()
682 epd->buf = vmalloc(epd->bufsize); in ep_open()
/linux-4.4.14/kernel/locking/
Dlockdep_proc.c612 struct lock_stat_seq *data = vmalloc(sizeof(struct lock_stat_seq)); in lock_stat_open()
/linux-4.4.14/fs/ntfs/
Dcompress.c79 ntfs_compression_buffer = vmalloc(NTFS_MAX_CB_SIZE); in allocate_compression_buffers()
/linux-4.4.14/drivers/video/fbdev/
Dmetronomefb.c653 par->csum_table = vmalloc(videomemorysize/PAGE_SIZE); in metronomefb_probe()
Dxen-fbfront.c405 info->gfns = vmalloc(sizeof(unsigned long) * info->nr_pages); in xenfb_probe()
/linux-4.4.14/net/ipv4/
Dinet_hashtables.c654 hashinfo->ehash_locks = vmalloc(nblocks * locksz); in inet_ehash_locks_alloc()
/linux-4.4.14/drivers/scsi/qla4xxx/
Dql4_83xx.c640 p_cache = vmalloc(size); in qla4_83xx_copy_bootloader()
780 ha->reset_tmplt.buff = vmalloc(QLA83XX_RESTART_TEMPLATE_SIZE); in qla4_83xx_read_reset_template()
/linux-4.4.14/drivers/net/wireless/mwifiex/
Dsdio.c2305 entry->mem_ptr = vmalloc(memory_size + 1); in mwifiex_sdio_fw_dump()
2405 entry->mem_ptr = vmalloc(0xf0000 + 1); in mwifiex_sdio_generic_fw_dump()
2433 tmp_ptr = vmalloc(entry->mem_size + 0x4000 + 1); in mwifiex_sdio_generic_fw_dump()
/linux-4.4.14/drivers/net/ethernet/tehuti/
Dtehuti.c940 db = vmalloc(sizeof(struct rxdb) in bdx_rxdb_create()
1443 d->start = vmalloc(memsz); in bdx_tx_db_init()
1928 nic = vmalloc(sizeof(*nic)); in bdx_probe()
/linux-4.4.14/arch/x86/kernel/cpu/microcode/
Damd.c723 equiv_cpu_table = vmalloc(size); in install_equiv_cpu_table()
Dintel.c934 mc = vmalloc(mc_size); in generic_load_microcode()
/linux-4.4.14/arch/mips/kernel/
Dvpe.c798 v->pbuffer = vmalloc(P_SIZE); in vpe_open()
/linux-4.4.14/drivers/media/usb/cx231xx/
Dcx231xx-audio.c403 runtime->dma_area = vmalloc(size); in snd_pcm_alloc_vmalloc_buffer()
Dcx231xx-417.c959 p_current_fw = vmalloc(1884180 * 4); in cx231xx_load_firmware()
966 p_buffer = vmalloc(4096); in cx231xx_load_firmware()
/linux-4.4.14/fs/dlm/
Dlockspace.c513 ls->ls_rsbtbl = vmalloc(sizeof(struct dlm_rsbtable) * size); in new_lockspace()
/linux-4.4.14/drivers/video/fbdev/omap2/omapfb/
Domapfb-ioctl.c502 buf = vmalloc(mr->buffer_size); in omapfb_memory_read()
/linux-4.4.14/sound/core/oss/
Dpcm_plugin.c70 plugin->buf = vmalloc(size); in snd_pcm_plugin_alloc()
/linux-4.4.14/arch/s390/kvm/
Dkvm-s390.c832 keys = vmalloc(sizeof(uint8_t) * args->count); in kvm_s390_get_skeys()
876 keys = vmalloc(sizeof(uint8_t) * args->count); in kvm_s390_set_skeys()
2466 tmpbuf = vmalloc(mop->size); in kvm_s390_guest_mem_op()

12