函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\libfs.c Create Date:2022-07-29 10:41:02
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:generic_file_fsync - generic fsync implementation for simple filesystems* with flush*@file: file to synchronize*@start: start offset in bytes*@end: end offset in bytes (inclusive)*@datasync: only synchronize essential metadata if true

函数原型:int generic_file_fsync(struct file *file, loff_t start, loff_t end, int datasync)

返回类型:int

参数:

类型参数名称
struct file *file
loff_tstart
loff_tend
intdatasync
1038  inode等于host
1041  err等于__generic_file_fsync - generic fsync implementation for simple filesystems*@file: file to synchronize*@start: start offset in bytes*@end: end offset in bytes (inclusive)*@datasync: only synchronize essential metadata if true* This is a generic
1042  如果err则返回:err
1044  返回:blkdev_issue_flush(s_bdev, GFP_KERNEL, NULL)