Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\sync.c Create Date:2022-07-28 20:11:44
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ksys_sync_file_range() permits finely controlled syncing over a segment of* a file in the range offset

Proto:int ksys_sync_file_range(int fd, loff_t offset, loff_t nbytes, unsigned int flags)

Type:int

Parameter:

TypeParameterName
intfd
loff_toffset
loff_tnbytes
unsigned intflags
370  ret = -EBADF
371  f = fdget(fd)
372  If file Then ret = sync_file_range(file, offset, nbytes, flags)
375  fdput(f)
376  Return ret
Caller
NameDescribe
SYSCALL_DEFINE4
SYSCALL_DEFINE4It would be nice if people remember that not all the world's an i386when they introduce new system calls