函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:flush_buffer

函数原型:static long __init flush_buffer(void *bufv, unsigned long len)

返回类型:long

参数:

类型参数名称
void *bufv
unsigned longlen
419  buf等于bufv
421  origLen等于len
422  如果message则返回:负1
424 written等于write_buffer(buf, len)小于len且非message循环
425  c等于buf[written]
426  如果c恒等于'0'则
427  buf加等于written
428  len减等于written
429  state = Start
430  否则如果c恒等于0则
431  buf加等于written
432  len减等于written
433  state = Reset
434  否则error("junk within compressed archive")
437  返回:origLen