函数逻辑报告 |
Source Code:mm\mmap.c |
Create Date:2022-07-27 16:16:14 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:file_mmap_size_max
函数原型:static inline u64 file_mmap_size_max(struct file *file, struct inode *inode)
返回类型:u64
参数:
类型 | 参数 | 名称 |
---|---|---|
struct file * | file | |
struct inode * | inode |
1334 | 如果S_ISREG(i_mode)则返回:Page cache limit. The filesystems should put that into their s_maxbytes limits, otherwise bad things can happen in VM. |
1337 | 如果S_ISBLK(i_mode)则返回:Page cache limit. The filesystems should put that into their s_maxbytes limits, otherwise bad things can happen in VM. |
1340 | 如果S_ISSOCK(i_mode)则返回:Page cache limit. The filesystems should put that into their s_maxbytes limits, otherwise bad things can happen in VM. |
1344 | 如果f_mode按位与File is huge (eg. /dev/kmem): treat loff_t as unsigned 则返回:0 |
1348 | 返回:ULONG_MAX |
名称 | 描述 |
---|---|
file_mmap_ok |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |