函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\filemap.c Create Date:2022-07-27 15:25:43
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:This is for filesystems which do not implement ->writepage.

函数原型:int generic_file_readonly_mmap(struct file *file, struct vm_area_struct *vma)

返回类型:int

参数:

类型参数名称
struct file *file
struct vm_area_struct *vma
2721  如果Flags, see mm.h. 按位与VM_SHAREDFlags, see mm.h. 按位与VM_MAYWRITE则返回:负EINVAL
2723  返回:This is used for a general mmap of a disk file