Searched refs:vma (Results 1 – 5 of 5) sorted by relevance
/net/xdp/ |
D | xsk.c | 962 struct vm_area_struct *vma) in xsk_mmap() argument 964 loff_t offset = (loff_t)vma->vm_pgoff << PAGE_SHIFT; in xsk_mmap() 965 unsigned long size = vma->vm_end - vma->vm_start; in xsk_mmap() 1002 return remap_pfn_range(vma, vma->vm_start, pfn, in xsk_mmap() 1003 size, vma->vm_page_prot); in xsk_mmap()
|
/net/ipv4/ |
D | tcp.c | 1724 struct vm_area_struct *vma) in tcp_mmap() argument 1726 if (vma->vm_flags & (VM_WRITE | VM_EXEC)) in tcp_mmap() 1728 vma->vm_flags &= ~(VM_MAYWRITE | VM_MAYEXEC); in tcp_mmap() 1731 vma->vm_flags |= VM_MIXEDMAP; in tcp_mmap() 1733 vma->vm_ops = &tcp_vm_ops; in tcp_mmap() 1744 struct vm_area_struct *vma; in tcp_zerocopy_receive() local 1761 vma = find_vma(current->mm, address); in tcp_zerocopy_receive() 1762 if (!vma || vma->vm_start > address || vma->vm_ops != &tcp_vm_ops) in tcp_zerocopy_receive() 1764 zc->length = min_t(unsigned long, zc->length, vma->vm_end - address); in tcp_zerocopy_receive() 1772 zap_page_range(vma, address, zc->length); in tcp_zerocopy_receive() [all …]
|
/net/packet/ |
D | af_packet.c | 4180 static void packet_mm_open(struct vm_area_struct *vma) in packet_mm_open() argument 4182 struct file *file = vma->vm_file; in packet_mm_open() 4190 static void packet_mm_close(struct vm_area_struct *vma) in packet_mm_close() argument 4192 struct file *file = vma->vm_file; in packet_mm_close() 4430 struct vm_area_struct *vma) in packet_mmap() argument 4440 if (vma->vm_pgoff) in packet_mmap() 4457 size = vma->vm_end - vma->vm_start; in packet_mmap() 4461 start = vma->vm_start; in packet_mmap() 4473 err = vm_insert_page(vma, start, page); in packet_mmap() 4483 vma->vm_ops = &packet_mmap_ops; in packet_mmap()
|
/net/ |
D | socket.c | 114 static int sock_mmap(struct file *file, struct vm_area_struct *vma); 1260 static int sock_mmap(struct file *file, struct vm_area_struct *vma) in sock_mmap() argument 1264 return sock->ops->mmap(file, sock, vma); in sock_mmap()
|
/net/core/ |
D | sock.c | 2727 int sock_no_mmap(struct file *file, struct socket *sock, struct vm_area_struct *vma) in sock_no_mmap() argument
|