Home
last modified time | relevance | path

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

12

/linux-4.1.27/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()
DMakefile11 vmalloc.o pagewalk.o pgtable-generic.o
Dnommu.c353 void *vmalloc(unsigned long size) in vmalloc() function
357 EXPORT_SYMBOL(vmalloc);
391 return vmalloc(size); in vmalloc_node()
Dsparse.c629 ret = vmalloc(memmap_size); in __kmalloc_section_memmap()
Dvmalloc.c1741 void *vmalloc(unsigned long size) in vmalloc() function
1746 EXPORT_SYMBOL(vmalloc);
/linux-4.1.27/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.1.27/drivers/gpu/drm/vmwgfx/
Dvmwgfx_fb.c41 void *vmalloc; member
450 par->vmalloc = NULL; in vmw_fb_init()
457 par->vmalloc = vmalloc(fb_size); in vmw_fb_init()
458 if (unlikely(par->vmalloc == NULL)) { in vmw_fb_init()
493 info->screen_base = par->vmalloc; in vmw_fb_init()
554 vfree(par->vmalloc); in vmw_fb_init()
582 vfree(par->vmalloc); in vmw_fb_close()
Dvmwgfx_fifo.c104 fifo->static_buffer = vmalloc(fifo->static_buffer_size); in vmw_fifo_init()
386 fifo_state->dynamic_buffer = vmalloc(bytes); in vmw_fifo_reserve()
/linux-4.1.27/drivers/media/v4l2-core/
DMakefile28 obj-$(CONFIG_VIDEOBUF_VMALLOC) += videobuf-vmalloc.o
33 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.1.27/sound/drivers/opl4/
Dopl4_proc.c61 buf = vmalloc(count); in snd_opl4_mem_proc_read()
82 buf = vmalloc(count); in snd_opl4_mem_proc_write()
/linux-4.1.27/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.1.27/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.1.27/arch/um/include/shared/
Dum_malloc.h14 extern void *vmalloc(unsigned long size);
/linux-4.1.27/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
Ddma-buf-sharing.txt309 is introduced. This interface should be used very carefully, as vmalloc
317 runs out of vmalloc space. Fallback to kmap should be implemented. Note that
/linux-4.1.27/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.1.27/drivers/scsi/fnic/
Dfnic_debugfs.c76 vmalloc(sizeof(struct fc_trace_flag_type)); in fnic_debugfs_init()
253 fnic_dbg_prt->buffer = vmalloc(3 * in fnic_trace_debugfs_open()
264 vmalloc(3 * (fnic_fc_trace_max_pages * PAGE_SIZE)); in fnic_trace_debugfs_open()
686 debug->debug_buffer = vmalloc(buf_size); in fnic_stats_debugfs_open()
Dfnic_trace.c405 fnic_trace_buf_p = (unsigned long)vmalloc((trace_max_pages * PAGE_SIZE)); in fnic_trace_buf_init()
414 fnic_trace_entries.page_offset = vmalloc(fnic_max_trace_entries * in fnic_trace_buf_init()
492 fnic_fc_ctlr_trace_buf_p = (unsigned long)vmalloc( in fnic_fc_trace_init()
505 fc_trace_entries.page_offset = vmalloc(fc_trace_max_entries * in fnic_fc_trace_init()
/linux-4.1.27/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.1.27/drivers/mtd/tests/
Dstresstest.c200 readbuf = vmalloc(bufsize); in mtd_stresstest_init()
201 writebuf = vmalloc(bufsize); in mtd_stresstest_init()
/linux-4.1.27/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.1.27/include/linux/decompress/
Dmm.h83 #define large_malloc(a) vmalloc(a)
/linux-4.1.27/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.1.27/sound/
Dsound_firmware.c30 dp = vmalloc(l); in do_mod_firmware_load()
/linux-4.1.27/fs/cramfs/
Duncompress.c61 stream.workspace = vmalloc(zlib_inflate_workspacesize()); in cramfs_uncompress_init()
/linux-4.1.27/security/apparmor/
Dlib.c103 buffer = vmalloc(size); in __aa_kvmalloc()
/linux-4.1.27/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()
Dioctl.c288 bouncebuffer = vmalloc(NCP_PACKET_SIZE_INTERNAL); in __ncp_ioctl()
/linux-4.1.27/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.1.27/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.1.27/crypto/
Dlz4.c35 ctx->lz4_comp_mem = vmalloc(LZ4_MEM_COMPRESS); in lz4_init()
Dlz4hc.c34 ctx->lz4hc_comp_mem = vmalloc(LZ4HC_MEM_COMPRESS); in lz4hc_init()
Dlzo.c37 ctx->lzo_comp_mem = vmalloc(LZO1X_MEM_COMPRESS); in lzo_init()
/linux-4.1.27/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.1.27/net/bridge/netfilter/
Debtables.c894 vmalloc(nr_cpu_ids * sizeof(*(newinfo->chainstack))); in translate_table()
899 vmalloc(udc_cnt * sizeof(*(newinfo->chainstack[0]))); in translate_table()
909 cl_s = vmalloc(udc_cnt * sizeof(*cl_s)); in translate_table()
990 counterstmp = vmalloc(size); in do_replace_finish()
1124 newinfo = vmalloc(sizeof(*newinfo) + countersize); in do_replace()
1131 newinfo->entries = vmalloc(tmp.entries_size); in do_replace()
1177 newinfo = vmalloc(sizeof(*newinfo) + countersize); in ebt_register_table()
1182 p = vmalloc(repl->entries_size); in ebt_register_table()
1290 tmp = vmalloc(num_counters * sizeof(*tmp)); in do_update_counters()
1411 counterstmp = vmalloc(nentries * sizeof(*counterstmp)); in copy_counters_to_user()
[all …]
/linux-4.1.27/fs/logfs/
Dcompr.c86 stream.workspace = vmalloc(size); in logfs_compr_init()
/linux-4.1.27/fs/pstore/
Dpmsg.c39 buffer = vmalloc(buffer_size); in write_pmsg()
/linux-4.1.27/arch/ia64/sn/kernel/
Dmca.c99 u8 *newbuf = vmalloc(*sn_oemdata_size); in sn_platform_plat_specific_err_print()
/linux-4.1.27/drivers/staging/rts5208/
Drtsx_scsi.c509 buf = vmalloc(scsi_bufflen(srb)); in inquiry()
646 buf = vmalloc(scsi_bufflen(srb)); in request_sense()
1137 buf = vmalloc(len); in read_eeprom()
1206 buf = vmalloc(len); in write_eeprom()
1256 buf = vmalloc(len); in read_mem()
1315 buf = vmalloc(len); in write_mem()
1410 buf = vmalloc(scsi_bufflen(srb)); in trace_msg_cmd()
1970 buf = vmalloc(len); in read_phy_register()
2035 buf = vmalloc(len); in write_phy_register()
2138 buf = vmalloc(len); in read_eeprom2()
[all …]
Dxd.c879 xd_card->zone = vmalloc(size); in xd_init_l2p_tbl()
1438 zone->l2p_table = vmalloc(2000); in xd_build_l2p_tbl()
1447 zone->free_table = vmalloc(XD_FREE_TABLE_CNT * 2); in xd_build_l2p_tbl()
/linux-4.1.27/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.1.27/drivers/oprofile/
Devent_buffer.c94 event_buffer = vmalloc(sizeof(unsigned long) * buffer_size); in alloc_event_buffer()
/linux-4.1.27/drivers/gpu/drm/
Ddrm_memory.c83 page_map = vmalloc(num_pages * sizeof(struct page *)); in agp_remap()
/linux-4.1.27/drivers/s390/cio/
Didset.c27 set = vmalloc(sizeof(struct idset) + bitmap_size(num_ssid, num_id)); in idset_new()
/linux-4.1.27/kernel/gcov/
Dgcc_4_7.c296 dci_ptr->values = vmalloc(cv_size); in gcov_info_dup()
485 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.1.27/drivers/mtd/devices/
Dmtdram.c136 addr = vmalloc(MTDRAM_TOTAL_SIZE); in init_mtdram()
DKconfig150 This enables a test MTD device driver which uses vmalloc() to
/linux-4.1.27/arch/um/os-Linux/
Dmain.c208 else ret = vmalloc(size); in __wrap_malloc()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
Dbase.c89 iobj->suspend = vmalloc(iobj->size); in _nvkm_instmem_fini()
/linux-4.1.27/arch/m68k/include/asm/
Dfloppy.h146 return (unsigned long) vmalloc(size); in vdma_mem_alloc()
/linux-4.1.27/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.1.27/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.1.27/drivers/media/pci/zoran/
Dzoran_procfs.c147 string = sp = vmalloc(count + 1); in zoran_write()
/linux-4.1.27/drivers/media/dvb-core/
Ddvb_demux.c709 feed->buffer = vmalloc(feed->buffer_size); in dmx_ts_feed_set()
918 dvbdmxfeed->buffer = vmalloc(dvbdmxfeed->buffer_size); in dmx_section_feed_set()
1255 dvbdemux->filter = vmalloc(dvbdemux->filternum * sizeof(struct dvb_demux_filter)); in dvb_dmx_init()
1260 dvbdemux->feed = vmalloc(dvbdemux->feednum * sizeof(struct dvb_demux_feed)); in dvb_dmx_init()
1275 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()
623 mem = vmalloc(filter->buffer.size); in dvb_dmxdev_filter_start()
1231 dmxdev->filter = vmalloc(dmxdev->filternum * sizeof(struct dmxdev_filter)); in dvb_dmxdev_init()
/linux-4.1.27/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.c177 ps->area = vmalloc(len); in alloc_area()
185 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.1.27/net/dccp/
Dprobe.c129 tbuf = vmalloc(len); in dccpprobe_read()
/linux-4.1.27/include/linux/
Dvmalloc.h69 extern void *vmalloc(unsigned long size);
/linux-4.1.27/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.1.27/arch/parisc/include/asm/
Dfloppy.h174 return (unsigned long) vmalloc(size); in vdma_mem_alloc()
/linux-4.1.27/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.1.27/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.1.27/net/sctp/
Dprobe.c105 tbuf = vmalloc(len); in sctpprobe_read()
/linux-4.1.27/arch/sparc/kernel/
Dmodule.c38 return vmalloc(size); in module_map()
/linux-4.1.27/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.1.27/arch/x86/include/asm/
Dfloppy.h162 return (unsigned long)vmalloc(size); in vdma_mem_alloc()
/linux-4.1.27/Documentation/DocBook/
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…
/linux-4.1.27/arch/cris/arch-v32/kernel/
Dhead.S81 ;; e used for vmalloc
86 ;; d used for vmalloc
/linux-4.1.27/arch/x86/kernel/cpu/microcode/
Dintel.c216 mc = vmalloc(mc_size); in generic_load_microcode()
Damd.c248 equiv_cpu_table = vmalloc(size); in install_equiv_cpu_table()
/linux-4.1.27/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.c34 buf = vmalloc(size); in seq_buf_alloc()
/linux-4.1.27/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()
1631 c->ltab = vmalloc(sizeof(struct ubifs_lpt_lprops) * c->lpt_lebs); in lpt_init_rd()
1693 c->ltab_cmt = vmalloc(sizeof(struct ubifs_lpt_lprops) * c->lpt_lebs); in lpt_init_wr()
1697 c->lpt_buf = vmalloc(c->leb_size); in lpt_init_wr()
Dsuper.c1192 c->sbuf = vmalloc(c->leb_size); in mount_ubifs()
1197 c->ileb_buf = vmalloc(c->leb_size); in mount_ubifs()
1613 c->ileb_buf = vmalloc(c->leb_size); in ubifs_remount_rw()
1640 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.1.27/sound/pci/asihpi/
Dhpioctl.c226 pa->p_buffer = vmalloc(size); in asihpi_hpi_ioctl()
403 adapter.p_buffer = vmalloc(prealloc_stream_buf); in asihpi_adapter_probe()
/linux-4.1.27/arch/sparc/include/asm/
Dfloppy_32.h77 #define fd_dma_mem_alloc(size) ((unsigned long) vmalloc(size))
/linux-4.1.27/drivers/isdn/hardware/eicon/
Dplatform.h167 ret = (void *) vmalloc((unsigned int) size); in diva_os_malloc()
/linux-4.1.27/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.1.27/drivers/md/bcache/
Dutil.h49 (heap)->data = vmalloc(_bytes); \
146 (fifo)->data = vmalloc(_bytes); \
Dsysfs.c769 cached = p = vmalloc(ca->sb.nbuckets * sizeof(uint16_t)); in SHOW()
/linux-4.1.27/drivers/media/pci/cx18/
Dcx18-alsa-pcm.c243 runtime->dma_area = vmalloc(size); in snd_pcm_alloc_vmalloc_buffer()
/linux-4.1.27/arch/s390/hypfs/
Dhypfs_vm.c93 data = vmalloc(size + offset); in diag2fc_store()
Dhypfs_diag.c382 diag204_buf_vmalloc = vmalloc(PAGE_SIZE * (pages + 1)); in diag204_alloc_vbuf()
/linux-4.1.27/drivers/block/
Dz2ram.c190 vfree(vmalloc (size)); in z2_open()
/linux-4.1.27/drivers/media/usb/go7007/
Dsnd-go7007.c116 substream->runtime->dma_area = vmalloc(bytes); in go7007_snd_hw_params()
/linux-4.1.27/drivers/media/pci/ivtv/
Divtv-alsa-pcm.c250 runtime->dma_area = vmalloc(size); in snd_pcm_alloc_vmalloc_buffer()
/linux-4.1.27/arch/avr32/kernel/
Dmodule.c85 module->arch.syminfo = vmalloc(module->arch.nsyms in module_frob_arch_sections()
/linux-4.1.27/Documentation/device-mapper/
Ddm-io.txt47 The third I/O service type takes a pointer to a vmalloc'd memory buffer as the
Dstatistics.txt28 fallback to using vmalloc space. At most, 1/4 of the overall system
/linux-4.1.27/drivers/gpu/drm/radeon/
Dradeon_gart.c352 rdev->gart.pages_entry = vmalloc(sizeof(uint64_t) * in radeon_gart_init()
/linux-4.1.27/Documentation/zh_CN/video4linux/
Dv4l2-framework.txt777 线性 DMA(videobuf-dma-contig)以及大多用于 USB 设备的用 vmalloc
778 分配的缓冲(videobuf-vmalloc)。
/linux-4.1.27/net/rds/
Diw_cm.c319 ic->i_sends = vmalloc(ic->i_send_ring.w_nr * sizeof(struct rds_iw_send_work)); in rds_iw_setup_qp()
327 ic->i_recvs = vmalloc(ic->i_recv_ring.w_nr * sizeof(struct rds_iw_recv_work)); in rds_iw_setup_qp()
/linux-4.1.27/fs/isofs/
Dcompress.c370 zisofs_zlib_workspace = vmalloc(zlib_inflate_workspacesize()); in zisofs_init()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/
Dfalcon.c63 void *p = vmalloc(len); in vmemdup()
/linux-4.1.27/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.1.27/drivers/gpu/drm/mgag200/
Dmgag200_fb.c190 sysram = vmalloc(size); in mgag200fb_create()
/linux-4.1.27/arch/powerpc/kernel/
Drtasd.c559 rtas_log_buf = vmalloc(rtas_error_log_buffer_max*LOG_NUMBER); in rtas_init()
/linux-4.1.27/kernel/bpf/
Dhashtab.c77 htab->buckets = vmalloc(htab->n_buckets * sizeof(struct hlist_head)); in htab_map_alloc()
/linux-4.1.27/drivers/gpu/drm/nouveau/
Dnv84_fence.c174 priv->suspend = vmalloc(priv->base.contexts * sizeof(u32)); in nv84_fence_suspend()
/linux-4.1.27/include/net/
Dinet_hashtables.h188 hashinfo->ehash_locks = vmalloc(size * sizeof(spinlock_t)); in inet_ehash_locks_alloc()
/linux-4.1.27/Documentation/filesystems/
Dproc.txt921 VmallocTotal: total size of vmalloc memory area
922 VmallocUsed: amount of vmalloc area which is used
923 VmallocChunk: largest contiguous block of vmalloc area which is free
937 vmalloc vmalloc() area
946 /0x2c0 pages=512 vmalloc N0=128 N1=128 N2=128 N3=128
948 /0x2c0 pages=256 vmalloc N0=64 N1=64 N2=64 N3=64
955 /0x80 pages=11 vmalloc N0=3 N1=3 N2=2 N3=3
957 pages=2 vmalloc N1=2
959 /0x130 [x_tables] pages=4 vmalloc N0=4
961 pages=14 vmalloc N2=14
[all …]
/linux-4.1.27/drivers/infiniband/hw/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.1.27/kernel/power/
Dswap.c606 data = vmalloc(sizeof(*data) * nr_threads); in save_image_lzo()
1090 page = vmalloc(sizeof(*page) * LZO_MAX_RD_PAGES); in load_image_lzo()
1097 data = vmalloc(sizeof(*data) * nr_threads); in load_image_lzo()
/linux-4.1.27/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.1.27/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.1.27/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.1.27/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_private.h145 kmalloc((size), (mask)) : vmalloc(size); \
/linux-4.1.27/net/core/
Dsysctl_net_core.c65 vmalloc(RPS_SOCK_FLOW_TABLE_SIZE(size)); in rps_sock_flow_sysctl()
/linux-4.1.27/drivers/media/usb/tm6000/
Dtm6000-alsa.c129 substream->runtime->dma_area = vmalloc(size); in dsp_buffer_alloc()
/linux-4.1.27/drivers/staging/android/ion/
Dion_heap.c37 struct page **pages = vmalloc(sizeof(struct page *) * npages); in ion_heap_map_kernel()
/linux-4.1.27/drivers/gpu/drm/cirrus/
Dcirrus_fbdev.c194 sysram = vmalloc(size); in cirrusfb_create()
/linux-4.1.27/arch/powerpc/lib/
Dcode-patching.c351 buf = vmalloc(PAGE_ALIGN(0x2000000 + 1)); in test_translate_branch()
/linux-4.1.27/drivers/gpu/drm/ast/
Dast_fb.c216 sysram = vmalloc(size); in astfb_create()
/linux-4.1.27/fs/nilfs2/
Dioctl.c941 kbufs[n] = vmalloc(len); in nilfs_ioctl_clean_segments()
1269 kbuf = vmalloc(len); in nilfs_ioctl_set_suinfo()
/linux-4.1.27/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.1.27/sound/core/seq/
Dseq_memory.c387 cellptr = vmalloc(sizeof(struct snd_seq_event_cell) * pool->size); in snd_seq_pool_init()
/linux-4.1.27/arch/s390/kernel/
Dmodule.c131 me->arch.syminfo = vmalloc(me->arch.nsyms * in module_frob_arch_sections()
/linux-4.1.27/drivers/staging/comedi/
Dcomedi_buf.c113 pages = vmalloc(sizeof(struct page *) * n_pages); in __comedi_buf_alloc()
/linux-4.1.27/drivers/net/ethernet/intel/igbvf/
Dethtool.c250 temp_ring = vmalloc(sizeof(struct igbvf_ring)); in igbvf_set_ringparam()
/linux-4.1.27/drivers/iommu/
Dtegra-gart.c415 gart->savedata = vmalloc(sizeof(u32) * gart->page_count); in tegra_gart_probe()
/linux-4.1.27/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.1.27/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.1.27/arch/alpha/
DKconfig632 be streamlined if we restrict the kernel to one PGD for all vmalloc
638 much vmalloc space as is available.
640 Say N unless you know you need gobs and gobs of vmalloc space.
/linux-4.1.27/drivers/net/wireless/ath/ath10k/
Ddebug.c670 buf = vmalloc(ATH10K_FW_STATS_BUF_SIZE); in ath10k_fw_stats_open()
1158 buf = vmalloc(count); in ath10k_mem_value_read()
1210 buf = vmalloc(count); in ath10k_mem_value_write()
1657 buf = vmalloc(QCA988X_CAL_DATA_LEN); in ath10k_debug_cal_data_open()
/linux-4.1.27/arch/arc/mm/
Dtlbex.S325 ; -If PAGE_GLOBAL set, they refer to kernel-only flags (vmalloc)
/linux-4.1.27/drivers/misc/vmw_vmci/
Dvmci_guest.c503 vmci_dev->data_buffer = vmalloc(VMCI_MAX_DG_SIZE); in vmci_guest_probe_device()
/linux-4.1.27/Documentation/zh_CN/
DCodingStyle577 vmalloc()。请参考API文档以获取有关它们的详细信息。
/linux-4.1.27/security/keys/
Dkeyctl.c109 payload = vmalloc(plen); in SYSCALL_DEFINE5()
1049 payload = vmalloc(plen); in keyctl_instantiate_key_common()
/linux-4.1.27/drivers/usb/misc/sisusbvga/
Dsisusb_con.c1306 sisusb->font_backup = vmalloc(charcount * 32); in sisusbcon_font_set()
1484 if (!(sisusb->scrbuf = (unsigned long)vmalloc(sisusb->scrbuf_size))) { in sisusb_console_init()
/linux-4.1.27/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.1.27/ipc/
Dutil.c408 out = vmalloc(size); in ipc_alloc()
/linux-4.1.27/arch/ia64/kernel/
Dsalinfo.c376 !(data->log_buffer = vmalloc(ia64_sal_get_state_info_size(data->type)))) { in salinfo_log_open()
/linux-4.1.27/arch/metag/
DKconfig89 vmalloc space and actual amount of RAM, you may not need this
/linux-4.1.27/drivers/misc/
Dlkdtm.c455 u32 *vmalloc_area = vmalloc(EXEC_SIZE); in lkdtm_do_action()
/linux-4.1.27/drivers/hid/
Dhid-picolcd_fb.c550 fbdata->bitmap = vmalloc(PICOLCDFB_SIZE*8); in picolcd_init_framebuffer()
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/
Ddebug.c380 buf = vmalloc(count); in ath6kl_fwlog_read()
434 buf = vmalloc(count); in ath6kl_fwlog_block_read()
949 buf = vmalloc(reg_len); in ath6kl_regdump_open()
/linux-4.1.27/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.1.27/fs/ntfs/
Dcompress.c79 ntfs_compression_buffer = vmalloc(NTFS_MAX_CB_SIZE); in allocate_compression_buffers()
/linux-4.1.27/drivers/video/fbdev/
Dmetronomefb.c653 par->csum_table = vmalloc(videomemorysize/PAGE_SIZE); in metronomefb_probe()
Dxen-fbfront.c405 info->mfns = vmalloc(sizeof(unsigned long) * info->nr_pages); in xenfb_probe()
Dw100fb.c566 par->saved_extmem = vmalloc(memsize); in w100fb_save_vidmem()
571 par->saved_intmem = vmalloc(memsize); in w100fb_save_vidmem()
Dsm501fb.c2112 par->store_fb = vmalloc(par->screen.size); in sm501fb_suspend_fb()
2118 par->store_cursor = vmalloc(par->cursor.size); in sm501fb_suspend_fb()
/linux-4.1.27/drivers/staging/unisys/visorchannel/
Dvisorchannel_funcs.c253 u8 *buf = vmalloc(bufsize); in visorchannel_clear()
/linux-4.1.27/kernel/locking/
Dlockdep_proc.c612 struct lock_stat_seq *data = vmalloc(sizeof(struct lock_stat_seq)); in lock_stat_open()
/linux-4.1.27/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()
Dql4_init.c387 ha->fw_dump = vmalloc(ha->fw_dump_size); in qla4xxx_alloc_fw_dump()
/linux-4.1.27/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.1.27/arch/mips/kernel/
Dvpe.c798 v->pbuffer = vmalloc(P_SIZE); in vpe_open()
/linux-4.1.27/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.1.27/arch/s390/kvm/
Dkvm-s390.c766 keys = vmalloc(sizeof(uint8_t) * args->count); in kvm_s390_get_skeys()
810 keys = vmalloc(sizeof(uint8_t) * args->count); in kvm_s390_set_skeys()
2352 tmpbuf = vmalloc(mop->size); in kvm_s390_guest_mem_op()
Dgaccess.c773 pages = vmalloc(nr_pages * sizeof(unsigned long)); in access_guest()
/linux-4.1.27/fs/dlm/
Dlockspace.c513 ls->ls_rsbtbl = vmalloc(sizeof(struct dlm_rsbtable) * size); in new_lockspace()
/linux-4.1.27/drivers/gpu/drm/qxl/
Dqxl_fb.c528 shadow = vmalloc(mode_cmd.pitches[0] * mode_cmd.height); in qxlfb_create()
/linux-4.1.27/sound/core/oss/
Dpcm_plugin.c70 plugin->buf = vmalloc(size); in snd_pcm_plugin_alloc()
/linux-4.1.27/drivers/video/fbdev/omap2/omapfb/
Domapfb-ioctl.c502 buf = vmalloc(mr->buffer_size); in omapfb_memory_read()
/linux-4.1.27/drivers/infiniband/hw/amso1100/
Dc2_provider.c370 page_list = vmalloc(sizeof(u64) * pbl_depth); in c2_reg_phys_mr()
/linux-4.1.27/drivers/media/usb/em28xx/
Dem28xx-audio.c209 runtime->dma_area = vmalloc(size); in snd_pcm_alloc_vmalloc_buffer()
/linux-4.1.27/sound/pci/lola/
Dlola_mixer.c136 chip->mixer.array_saved = vmalloc(sizeof(struct lola_mixer_array)); in lola_init_mixer_widget()
/linux-4.1.27/net/netfilter/
Dxt_hashlimit.c237 hinfo = vmalloc(sizeof(struct xt_hashlimit_htable) + in htable_create()
/linux-4.1.27/net/sched/
Dsch_sfq.c711 ptr = vmalloc(sz); in sfq_alloc()
/linux-4.1.27/arch/x86/kvm/
Dcpuid.c172 cpuid_entries = vmalloc(sizeof(struct kvm_cpuid_entry) * cpuid->nent); in kvm_vcpu_ioctl_set_cpuid()

12