Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/ntfs3/frecord.c ni_decompress_file() -> ni_read_frame()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ni | 4096-ptr_max |
| PARAM_VALUE | 0 | ni->file.run_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ni->file.run_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | frame_vbo | 0-18446744073709551614 |
| PARAM_VALUE | 2 | pages | 16,4096-ptr_max |
| PARAM_VALUE | 3 | pages_per_frame | 0-1048575 |
| PARAM_VALUE | 4 | copy | 1 |
| BUF_SIZE | 2 | pages | 0-8388600 |
| BUF_SIZE | 2 | pages | 0-8388600 |
| CAPPED_DATA | 1 | frame_vbo | 1 |
| CAPPED_DATA | 1 | frame_vbo | 1 |
| CAPPED_DATA | 3 | pages_per_frame | 1 |
| DATA_SOURCE | 0 | ni | $0 [m] |
| DATA_SOURCE | 2 | pages | r _kzalloc_noprof |
| FUZZY_MAX | 1 | frame_vbo | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 3 | pages_per_frame | |
| UNITS | 1 | frame_vbo | unit_byte |
| UNITS | 3 | pages_per_frame | unit_array_size |
fs/ntfs3/frecord.c ni_read_folio_cmpr() -> ni_read_frame()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ni | 4096-ptr_max |
| PARAM_VALUE | 0 | ni->base->ni_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ni->base->ni_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ni->base->ni_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ni->base->ni_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | ni->base->ni_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ni->i_valid | 1-u64max |
| PARAM_VALUE | 0 | ni->ni_bad | 0 |
| PARAM_VALUE | 0 | ni->vfs_inode.i_size | s64min-(-1),1-s64max |
| PARAM_VALUE | 2 | pages | 4096-ptr_max |
| PARAM_VALUE | 3 | pages_per_frame | 0-1048575 |
| PARAM_VALUE | 4 | copy | 0 |
| BUF_SIZE | 2 | pages | 0-8388600 |
| BUF_SIZE | 2 | pages | 0-8388600 |
| CAPPED_DATA | 3 | pages_per_frame | 1 |
| DATA_SOURCE | 0 | ni | $0 |
| DATA_SOURCE | 2 | pages | r _kzalloc_noprof |
| FUZZY_MAX | 3 | pages_per_frame | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 3 | pages_per_frame | |
| UNITS | 1 | frame_vbo | unit_byte |
| UNITS | 3 | pages_per_frame | unit_array_size |
| LOCK2 | 0 | &ni->base->ni_lock | |
| HALF_LOCKED2 | &mapping->invalidate_lock | ||
| TYPE_LOCK | (struct ntfs_inode)->ni_lock |
fs/ntfs3/file.c ntfs_compress_write() -> ni_read_frame()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ni | 4096-ptr_max |
| PARAM_VALUE | 0 | ni->file.run_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ni->file.run_lock.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | ni->file.run_lock.first_waiter->list.next | 2212933610777083904,2624917664208203776 |
| PARAM_VALUE | 0 | ni->file.run_lock.first_waiter->list.prev | 2212933610777083904,2624917664208203776 |
| PARAM_VALUE | 0 | ni->file.run_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ni->mi.sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | ni->mi.sbi->compress.lznt->max_len | 0-s64max |
| PARAM_VALUE | 0 | ni->mi.sbi->compress.lznt->unc | 0-s64max |
| PARAM_VALUE | 1 | frame_vbo | 0-18446744073709551614 |
| PARAM_VALUE | 2 | pages | 16,4096-ptr_max |
| PARAM_VALUE | 3 | pages_per_frame | 0-1048575 |
| PARAM_VALUE | 4 | copy | 0 |
| BUF_SIZE | 2 | pages | 0-8388600 |
| BUF_SIZE | 2 | pages | 0-8388600 |
| CAPPED_DATA | 1 | frame_vbo | 1 |
| CAPPED_DATA | 1 | frame_vbo | 1 |
| CAPPED_DATA | 3 | pages_per_frame | 1 |
| DATA_SOURCE | 0 | ni | r ntfs_i |
| DATA_SOURCE | 2 | pages | r _kmalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 3 | pages_per_frame | |
| UNITS | 1 | frame_vbo | unit_byte |
| UNITS | 3 | pages_per_frame | unit_array_size |
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ntfs3/file.c ntfs_compress_write() -> ni_read_frame()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ni | 4096-ptr_max |
| PARAM_VALUE | 0 | ni->file.run_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ni->file.run_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ni->mi.sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | ni->mi.sbi->compress.lznt->max_len | 0-s64max |
| PARAM_VALUE | 0 | ni->mi.sbi->compress.lznt->unc | 0-s64max |
| PARAM_VALUE | 2 | pages | 16,4096-ptr_max |
| PARAM_VALUE | 3 | pages_per_frame | 0-1048575 |
| PARAM_VALUE | 4 | copy | 0 |
| BUF_SIZE | 2 | pages | 0-8388600 |
| BUF_SIZE | 2 | pages | 0-8388600 |
| CAPPED_DATA | 1 | frame_vbo | 1 |
| CAPPED_DATA | 1 | frame_vbo | 1 |
| CAPPED_DATA | 3 | pages_per_frame | 1 |
| DATA_SOURCE | 0 | ni | r ntfs_i |
| DATA_SOURCE | 2 | pages | r _kmalloc_noprof |
| FUZZY_MAX | 3 | pages_per_frame | 0 |
| BIT_INFO | 1 | frame_vbo | 0x0,0x7fffffffffffffff |
| BIT_INFO | 1 | frame_vbo | 0x0,0x7fffffffffffffff |
| NOSPEC | 1 | frame_vbo | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | frame_vbo | 0-9223372036854775807[c] |
| NO_OVERFLOW_SIMPLE | 3 | pages_per_frame | |
| UNITS | 1 | frame_vbo | unit_byte |
| UNITS | 3 | pages_per_frame | unit_array_size |
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |