Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:shmem_kernel_file_setup - get an unlinked file living in tmpfs which must be* kernel internal. There will be NO LSM permission checks against the* underlying inode. So users of this interface must do LSM checks at a* higher layer

Proto:struct file *shmem_kernel_file_setup(const char *name, loff_t size, unsigned long flags)

Type:struct file

Parameter:

TypeParameterName
const char *name
loff_tsize
unsigned longflags
4138  Return mmon code
Caller
NameDescribe
shmem_zero_setupshmem_zero_setup - setup a shared anonymous mapping*@vma: the vma to be mmapped is prepared by do_mmap_pgoff