Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:init\initramfs.c Create Date:2022-07-28 13:54:17
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:xwrite

Proto:static ssize_t __init xwrite(int fd, const char *p, size_t count)

Type:ssize_t

Parameter:

TypeParameterName
intfd
const char *p
size_tcount
17  out = 0
20  When count cycle
21  rv = ksys_write(fd, p, count)
23  If rv < 0 Then
24  If rv == -EINTR || rv == -EAGAIN Then Continue
26  Return If out Then out Else rv
27  Else if rv == 0 Then Break
30  p += rv
31  out += rv
32  count -= rv
35  Return out
Caller
NameDescribe
do_copy