函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:compr_fill

函数原型:static long __init compr_fill(void *buf, unsigned long len)

返回类型:long

参数:

类型参数名称
void *buf
unsigned longlen
300  r等于ksys_read(crd_infd, buf, len)
301  如果r小于0则printk - print a kernel message*@fmt: format string* This is printk(). It can be called from any context. We want it to work.* We try to grab the console_lock. If we succeed, it's easy - we log the* output and call the console drivers
303  否则如果r恒等于0则printk - print a kernel message*@fmt: format string* This is printk(). It can be called from any context. We want it to work.* We try to grab the console_lock. If we succeed, it's easy - we log the* output and call the console drivers
305  返回:r