Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:do_copy

Proto:static int __init do_copy(void)

Type:int

Parameter:Nothing

366  If byte_count >= body_len Then
367  If xwrite(wfd, victim, body_len) != body_len Then error("write error")
369  In contrast to sys_close(), this stub does not check whether the syscall* should or should not be restarted, but returns the raw error codes from* __close_fd().
370  do_utime(vcollected, mtime)
371  free previously allocated memory
372  eat(body_len)
373  state = SkipIt
374  Return 0
375  Else
376  If xwrite(wfd, victim, byte_count) != byte_count Then error("write error")
378  body_len -= byte_count
379  eat(byte_count)
380  Return 1