Defined in 1 files as a function:
Referenced in 3 files:
- fs/ntfs3/lib/decompress_common.h
- fs/ntfs3/lib/lzx_decompress.c
- fs/ntfs3/lib/xpress_decompress.c, line 105
Smatch caller information:
fs/ntfs3/lib/xpress_decompress.c read_huffsym() -> bitstream_ensure_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | is | 39477676124835840 |
| PARAM_VALUE | 0 | is->end | 4096-ptr_max |
| PARAM_VALUE | 1 | num_bits | 15 |
| DATA_SOURCE | 0 | is | $0 |
| DATA_SOURCE | 1 | num_bits | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &sbi->compress.mtx_xpress | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &ni->ni_lock | ||
| TYPE_LOCK | (struct ntfs_sb_info)->compress.mtx_xpress |
fs/ntfs3/lib/xpress_decompress.c xpress_decompress() -> bitstream_ensure_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | is | 39477676124835840 |
| PARAM_VALUE | 0 | is->end | 4096-ptr_max |
| PARAM_VALUE | 0 | is->next | 4096-ptr_max |
| PARAM_VALUE | 1 | num_bits | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &sbi->compress.mtx_xpress | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &ni->ni_lock | ||
| TYPE_LOCK | (struct ntfs_sb_info)->compress.mtx_xpress |
fs/ntfs3/lib/lzx_decompress.c bitstream_read_bits() -> bitstream_ensure_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | is | 1073799313767751680 |
| PARAM_VALUE | 0 | is->end | 4096-ptr_max |
| PARAM_VALUE | 1 | num_bits | 0-13,4294967293-u32max |
| CAPPED_DATA | 0 | is->end | 1 |
| DATA_SOURCE | 0 | is | $0 |
| DATA_SOURCE | 1 | num_bits | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &sbi->compress.mtx_lzx | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &ni->ni_lock | ||
| TYPE_LOCK | (struct ntfs_sb_info)->compress.mtx_lzx |
fs/ntfs3/lib/lzx_decompress.c lzx_read_block_header() -> bitstream_ensure_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | is | 1073799313767751680 |
| PARAM_VALUE | 0 | is->end | 4096-ptr_max |
| PARAM_VALUE | 1 | num_bits | 4 |
| DATA_SOURCE | 0 | is | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &sbi->compress.mtx_lzx | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &ni->ni_lock | ||
| TYPE_LOCK | (struct ntfs_sb_info)->compress.mtx_lzx |
fs/ntfs3/lib/lzx_decompress.c lzx_read_block_header() -> bitstream_ensure_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | is | 1073799313767751680 |
| PARAM_VALUE | 0 | is->end | 4096-ptr_max |
| PARAM_VALUE | 0 | is->next | 4096-ptr_max |
| PARAM_VALUE | 1 | num_bits | 1 |
| DATA_SOURCE | 0 | is | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &sbi->compress.mtx_lzx | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &ni->ni_lock | ||
| TYPE_LOCK | (struct ntfs_sb_info)->compress.mtx_lzx |
fs/ntfs3/lib/lzx_decompress.c read_huffsym() -> bitstream_ensure_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | is | 1073799313767751680 |
| PARAM_VALUE | 0 | is->end | 4096-ptr_max |
| PARAM_VALUE | 1 | num_bits | 7,15-16 |
| CAPPED_DATA | 0 | is->end | 1 |
| DATA_SOURCE | 0 | is | $0 |
| DATA_SOURCE | 1 | num_bits | $3 |
| HARD_MAX | 1 | num_bits | 16 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &sbi->compress.mtx_lzx | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &ni->ni_lock | ||
| TYPE_LOCK | (struct ntfs_sb_info)->compress.mtx_lzx |