Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:vm_mmap_pgoff

Proto:unsigned long vm_mmap_pgoff(struct file *file, unsigned long addr, unsigned long len, unsigned long prot, unsigned long flag, unsigned long pgoff)

Type:unsigned long

Parameter:

TypeParameterName
struct file *file
unsigned longaddr
unsigned longlen
unsigned longprot
unsigned longflag
unsigned longpgoff
498  mm = mm
500  LIST_HEAD(uf)
502  ret = security_mmap_file(file, prot, flag)
503  If Not ret Then
504  If lock for writing Then Return -EINTR
506  ret = do_mmap_pgoff(file, addr, len, prot, flag, pgoff, & populate, & uf)
508  lease a write lock
509  userfaultfd_unmap_complete(mm, & uf)
510  If populate Then mm_populate(ret, populate)
513  Return ret
Caller
NameDescribe
vm_mmap
ksys_mmap_pgoff
ksys_mmap_pgoff