Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\io_uring.c Create Date:2022-07-28 20:22:22
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:io_uring_mmap

Proto:static int io_uring_mmap(struct file *file, struct vm_area_struct *vma)

Type:int

Parameter:

TypeParameterName
struct file *file
struct vm_area_struct *vma
5109  sz = The first byte after our end addresswithin vm_mm. - Our start address within vm_mm.
5113  ptr = io_uring_validate_mmap_request(file, Offset (within vm_file) in PAGE_SIZEunits , sz)
5114  If IS_ERR(ptr) Then Return PTR_ERR(ptr)
5117  pfn = virt_to_phys - map virtual addresses to physical*@address: address to remap* The returned physical address is the physical (CPU) mapping for* the memory address given. It is only valid to use this function on >> PAGE_SHIFT determines the page size
5118  Return remap_pfn_range(vma, Our start address within vm_mm. , pfn, sz, Access permissions of this VMA. )