/linux-master/drivers/video/fbdev/omap/ |
H A D | omapfb.h | 161 int (*mmap) (struct fb_info *info, member in struct:lcd_ctrl
|
/linux-master/tools/testing/selftests/powerpc/mm/ |
H A D | exec_prot.c | 138 insns = (unsigned int *)mmap(NULL, pgsize, PROT_READ | PROT_WRITE,
|
/linux-master/arch/x86/kernel/cpu/sgx/ |
H A D | driver.c | 135 .mmap = sgx_mmap,
|
/linux-master/drivers/xen/ |
H A D | privcmd-buf.c | 183 .mmap = privcmd_buf_mmap,
|
/linux-master/net/atm/ |
H A D | pvc.c | 128 .mmap = sock_no_mmap,
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | bpf_mod_race.c | 99 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 D | file.c | 146 .mmap = generic_file_mmap,
|
/linux-master/tools/testing/selftests/powerpc/dexcr/ |
H A D | hashchk_test.c | 199 child_stack = mmap(NULL, STACK_SIZE, PROT_READ | PROT_WRITE,
|
/linux-master/tools/perf/tests/ |
H A D | mmap-thread-lookup.c | 38 map = mmap(NULL, page_size, 43 perror("mmap failed"); 242 DEFINE_SUITE("Lookup mmap thread", mmap_thread_lookup);
|
H A D | attr.c | 115 WRITE_ASS(mmap, "d");
|
/linux-master/include/sound/ |
H A D | compress_driver.h | 26 * @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 D | ringbuf.c | 123 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 D | pq.h | 169 # define __get_free_pages(x, y) ((unsigned long)mmap(NULL, PAGE_SIZE << (y), \
|
/linux-master/tools/testing/selftests/cgroup/ |
H A D | test_hugetlb_memcg.c | 112 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 D | test_intel_pt.sh | 117 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 D | v4l2-dev.h | 189 * @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 D | file.c | 30 .mmap = generic_file_mmap,
|
/linux-master/include/linux/ |
H A D | dma-buf.h | 218 * 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 D | auxtrace.h | 27 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 D | sys_x86_64.c | 79 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 D | dev_in_maps.c | 136 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 D | etnaviv_gem.c | 144 * 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 D | compaction_test.c | 197 map = mmap(NULL, MAP_SIZE, PROT_READ | PROT_WRITE,
|
H A D | transhuge-stress.c | 77 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 D | vfio_dev.c | 201 .mmap = vfio_pci_core_mmap,
|