Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\xz\xz_dec_test.c Create Date:2022-07-28 07:08:57
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:xz_dec_test_open

Proto:static int xz_dec_test_open(struct inode *i, struct file *f)

Type:int

Parameter:

TypeParameterName
struct inode *i
struct file *f
66  If We reuse the same decoder state, and thus can decode only one* file at a time. Then Return -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  Return 0