Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\read_write.c Create Date:2022-07-28 20:01:21
Last Modify:2020-03-18 10:18:51 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ksys_pread64

Proto:ssize_t ksys_pread64(unsigned int fd, char __user *buf, size_t count, loff_t pos)

Type:ssize_t

Parameter:

TypeParameterName
unsigned intfd
char __user *buf
size_tcount
loff_tpos
630  ret = -EBADF
632  If pos < 0 Then Return -EINVAL
635  f = fdget(fd)
636  If file Then
637  ret = -ESPIPE
638  If f_mode & le can be accessed using pread Then ret = vfs_read(file, buf, count, & pos)
640  fdput(f)
643  Return ret
Caller
NameDescribe
SYSCALL_DEFINE4