函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:xz_dec_test_open

函数原型:static int xz_dec_test_open(struct inode *i, struct file *f)

返回类型:int

参数:

类型参数名称
struct inode *i
struct file *f
66  如果We reuse the same decoder state, and thus can decode only one* file at a time.则返回:负EBUSY
69  We reuse the same decoder state, and thus can decode only one* file at a time. = true
71  xz_dec_reset(state)
72  Return value of xz_dec_run(). We need to avoid calling xz_dec_run() after* it has returned XZ_STREAM_END, so we make this static.等于XZ_OK
73  CRC32 of uncompressed data. This is used to give the user a simple way* to check that the decoder produces correct output.等于0xFFFFFFFF
75  in_pos等于0
76  in_size等于0
77  out_pos等于0
79  printk(formational Device name to pass to register_chrdev(). ": opened\n")
80  返回:0