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_pwrite64

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

Type:ssize_t

Parameter:

TypeParameterName
unsigned intfd
const char __user *buf
size_tcount
loff_tpos
656  ret = -EBADF
658  If pos < 0 Then Return -EINVAL
661  f = fdget(fd)
662  If file Then
663  ret = -ESPIPE
664  If f_mode & le can be accessed using pwrite Then ret = vfs_write(file, buf, count, & pos)
666  fdput(f)
669  Return ret
Caller
NameDescribe
SYSCALL_DEFINE4