Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\shmem_fs.h Create Date:2022-07-28 09:22:23
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:shmem_file

Proto:static inline bool shmem_file(struct file *file)

Type:bool

Parameter:

TypeParameterName
struct file *file
106  If Not IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_SHMEM) Then Return false
108  If Not file || Not f_mapping Then Return false
110  Return shmem_mapping(f_mapping)
Caller
NameDescribe
hugepage_vma_check
khugepaged_scan_mm_slot
memfd_file_seals_ptr