函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ksys_sync_file_range() permits finely controlled syncing over a segment of* a file in the range offset

函数原型:int ksys_sync_file_range(int fd, loff_t offset, loff_t nbytes, unsigned int flags)

返回类型:int

参数:

类型参数名称
intfd
loff_toffset
loff_tnbytes
unsigned intflags
370  ret等于负EBADF
371  f等于fdget(fd)
372  如果fileret等于sync_file_range(file, offset, nbytes, flags)
375  fdput(f)
376  返回:ret
调用者
名称描述
SYSCALL_DEFINE4
SYSCALL_DEFINE4It would be nice if people remember that not all the world's an i386when they introduce new system calls