Searched refs:mmap (Results 176 - 200 of 794) sorted by relevance

1234567891011>>

/linux-master/drivers/video/fbdev/omap/
H A Domapfb.h161 int (*mmap) (struct fb_info *info, member in struct:lcd_ctrl
/linux-master/tools/testing/selftests/powerpc/mm/
H A Dexec_prot.c138 insns = (unsigned int *)mmap(NULL, pgsize, PROT_READ | PROT_WRITE,
/linux-master/arch/x86/kernel/cpu/sgx/
H A Ddriver.c135 .mmap = sgx_mmap,
/linux-master/drivers/xen/
H A Dprivcmd-buf.c183 .mmap = privcmd_buf_mmap,
/linux-master/net/atm/
H A Dpvc.c128 .mmap = sock_no_mmap,
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dbpf_mod_race.c99 fault_addr = mmap(0, 4096, PROT_READ, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
100 if (!ASSERT_NEQ(fault_addr, MAP_FAILED, "mmap for uffd registration"))
/linux-master/fs/jfs/
H A Dfile.c146 .mmap = generic_file_mmap,
/linux-master/tools/testing/selftests/powerpc/dexcr/
H A Dhashchk_test.c199 child_stack = mmap(NULL, STACK_SIZE, PROT_READ | PROT_WRITE,
/linux-master/tools/perf/tests/
H A Dmmap-thread-lookup.c38 map = mmap(NULL, page_size,
43 perror("mmap failed");
242 DEFINE_SUITE("Lookup mmap thread", mmap_thread_lookup);
H A Dattr.c115 WRITE_ASS(mmap, "d");
/linux-master/include/sound/
H A Dcompress_driver.h26 * @buffer: pointer to kernel buffer, valid only when not in mmap mode or
105 * Can't be implemented if DSP supports mmap
106 * @mmap: DSP mmap method to mmap DSP memory
128 int (*mmap)(struct snd_compr_stream *stream, member in struct:snd_compr_ops
/linux-master/tools/lib/bpf/
H A Dringbuf.c123 tmp = mmap(NULL, rb->page_size, PROT_READ | PROT_WRITE, MAP_SHARED, map_fd, 0);
126 pr_warn("ringbuf: failed to mmap consumer page for map fd=%d: %d\n",
142 tmp = mmap(NULL, (size_t)mmap_sz, PROT_READ, MAP_SHARED, map_fd, rb->page_size);
145 pr_warn("ringbuf: failed to mmap data pages for map fd=%d: %d\n",
437 tmp = mmap(NULL, rb->page_size, PROT_READ, MAP_SHARED, map_fd, 0);
440 pr_warn("user ringbuf: failed to mmap consumer page for map fd=%d: %d\n",
456 tmp = mmap(NULL, (size_t)mmap_sz, PROT_READ | PROT_WRITE, MAP_SHARED,
460 pr_warn("user ringbuf: failed to mmap data pages for map fd=%d: %d\n",
/linux-master/include/linux/raid/
H A Dpq.h169 # define __get_free_pages(x, y) ((unsigned long)mmap(NULL, PAGE_SIZE << (y), \
/linux-master/tools/testing/selftests/cgroup/
H A Dtest_hugetlb_memcg.c112 addr = mmap(ADDR, LENGTH, PROTECTION, FLAGS, 0, 0);
114 ksft_print_msg("fail to mmap.\n");
119 ksft_print_msg("mmap should not increase hugepage usage.\n");
/linux-master/tools/perf/tests/shell/
H A Dtest_intel_pt.sh117 mmap_cnt=$(perf script -i "${perfdatafile}" --no-itrace --show-mmap-events -C 1 2>/dev/null | grep -c MMAP)
229 print "More than 1 mmap for PID " pid
237 print "More than 1 mmap for CPU " cpu
243 print "No mmap for fd " fd
341 m = mmap(0, 4096, PROT_READ | PROT_EXEC, MAP_PRIVATE, fileno(f), 0);
383 void *addr = mmap(0, 4096, PROT_WRITE | PROT_EXEC, MAP_ANONYMOUS | MAP_PRIVATE, -1, 0);
427 perf script -i "${perfdatafile}" --itrace=e-o-l --show-mmap-events | cat
/linux-master/include/media/
H A Dv4l2-dev.h189 * @get_unmapped_area: called by the mmap() syscall, used when %!CONFIG_MMU
190 * @mmap: operations needed to implement the mmap() syscall
211 int (*mmap) (struct file *, struct vm_area_struct *); member in struct:v4l2_file_operations
/linux-master/fs/bfs/
H A Dfile.c30 .mmap = generic_file_mmap,
/linux-master/include/linux/
H A Ddma-buf.h218 * command for userspace mappings established through @mmap, and also
250 * @mmap:
263 * coherency for mmap support, it needs to be able to zap all the ptes
272 * the dma_buf mmap callback. In the specific case of a gem driver the
284 int (*mmap)(struct dma_buf *, struct vm_area_struct *vma); member in struct:dma_buf_ops
/linux-master/tools/perf/util/
H A Dauxtrace.h27 struct mmap;
237 * @mmap_addr: mmap address at which the buffer can be read
238 * @mmap_size: size of the mmap at @mmap_addr
326 * struct auxtrace_mmap - records an mmap of the auxtrace buffer.
332 * @idx: index of this mmap
333 * @tid: tid for a per-thread mmap (also set if there is only 1 tid on a per-cpu
334 * mmap) otherwise %0
335 * @cpu: cpu number for a per-cpu mmap otherwise %-1
353 * @prot: mmap memory protection
354 * @idx: index of this mmap
[all...]
/linux-master/arch/x86/kernel/
H A Dsys_x86_64.c79 SYSCALL_DEFINE6(mmap, unsigned long, addr, unsigned long, len,
98 malloc knows how to fall back to mmap. Give it 1GB
171 /* for MAP_32BIT mappings we force the legacy mmap base */
219 * A failed mmap() very likely causes application failure,
221 * can happen with large stack limits and large mmap()
/linux-master/tools/testing/selftests/filesystems/overlayfs/
H A Ddev_in_maps.c136 addr = mmap(NULL, 4096, PROT_READ | PROT_WRITE, MAP_FILE | MAP_SHARED, fd, 0);
138 return pr_perror("mmap");
/linux-master/drivers/gpu/drm/etnaviv/
H A Detnaviv_gem.c144 * in particular in the case of mmap'd dmabufs)
159 return etnaviv_obj->ops->mmap(etnaviv_obj, vma);
207 dev_err(obj->dev->dev, "could not allocate mmap offset\n");
483 .mmap = etnaviv_gem_mmap_obj,
540 .mmap = etnaviv_gem_mmap,
704 .mmap = etnaviv_gem_userptr_mmap_obj,
/linux-master/tools/testing/selftests/mm/
H A Dcompaction_test.c197 map = mmap(NULL, MAP_SIZE, PROT_READ | PROT_WRITE,
H A Dtranshuge-stress.c77 ptr = mmap(NULL, len + HPAGE_SIZE, PROT_RW, mmap_flags, backing_fd, 0);
79 ksft_exit_fail_msg("initial mmap");
/linux-master/drivers/vfio/pci/pds/
H A Dvfio_dev.c201 .mmap = vfio_pci_core_mmap,

Completed in 225 milliseconds

1234567891011>>