Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:flush_buffer

Proto:static long __init flush_buffer(void *bufv, unsigned long len)

Type:long

Parameter:

TypeParameterName
void *bufv
unsigned longlen
419  buf = bufv
421  origLen = len
422  If message Then Return -1
424  When (written = write_buffer(buf, len)) < len && Not message cycle
425  c = buf[written]
426  If c == '0' Then
427  buf += written
428  len -= written
429  state = Start
430  Else if c == 0 Then
431  buf += written
432  len -= written
433  state = Reset
434  Else error("junk within compressed archive")
437  Return origLen