函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:init\initramfs.c Create Date:2022-07-27 15:17:02
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:do_copy

函数原型:static int __init do_copy(void)

返回类型:int

参数:

366  如果byte_count大于等于body_len
367  如果xwrite(wfd, victim, body_len)不等于body_lenerror("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  释放内存
372  eat(body_len)
373  state = SkipIt
374  返回:0
375  否则
376  如果xwrite(wfd, victim, byte_count)不等于byte_counterror("write error")
378  body_len减等于byte_count
379  eat(byte_count)
380  返回:1