函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\dax.h Create Date:2022-07-27 06:53:05
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Check if given mapping is supported by the file / underlying device.

函数原型:static inline bool daxdev_mapping_supported(struct vm_area_struct *vma, struct dax_device *dax_dev)

返回类型:bool

参数:

类型参数名称
struct vm_area_struct *vma
struct dax_device *dax_dev
65  如果非Flags, see mm.h. 按位与Synchronous page faults 的值则返回:true
67  如果非IS_DAX(file_inode(File we map to (can be NULL). ))则返回:false
69  返回:dax_synchronous(dax_dev)