Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/ntfs3/attrib.c attr_collapse_range() -> mi_pack_runs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mi | 4096-ptr_max |
| PARAM_VALUE | 1 | attr | 4096-ptr_max |
| PARAM_VALUE | 2 | run | 4096-ptr_max |
| BUF_SIZE | 2 | run | 24 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | attr->flags | 0-u16max |
| USER_DATA | 1 | attr->id | 0-u16max |
| USER_DATA | 1 | attr->name_len | 0-255 |
| USER_DATA | 1 | attr->name_off | 0-u16max |
| USER_DATA | 1 | attr->non_res | 0-255 |
| USER_DATA | 1 | attr->nres.alloc_size | 0-u64max |
| USER_DATA | 1 | attr->nres.c_unit | 0-255 |
| USER_DATA | 1 | attr->nres.data_size | 0-u64max |
| USER_DATA | 1 | attr->nres.evcn | 0-u64max |
| USER_DATA | 1 | attr->nres.run_off | 0-u16max |
| USER_DATA | 1 | attr->nres.svcn | 0-u64max |
| USER_DATA | 1 | attr->nres.total_size | 0-u64max |
| USER_DATA | 1 | attr->nres.valid_size | 0-u64max |
| USER_DATA | 1 | attr->res.data_off | 0-u16max |
| USER_DATA | 1 | attr->res.data_size | 0-u32max |
| USER_DATA | 1 | attr->res.flags | 0-255 |
| USER_DATA | 1 | attr->res.res | 0-255 |
| USER_DATA | 1 | attr->size | 0-u32max |
| USER_DATA | 1 | attr->type | 1-256[u] |
| UNITS | 3 | len | unit_bit |
| USER_PTR | 1 | attr | |
| LOCK2 | &inode->i_rwsem | ||
| LOCK2 | &ni->base->ni_lock | ||
| LOCK2 | &ni->file.run_lock | ||
| HALF_LOCKED2 | &mapping->invalidate_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem | ||
| TYPE_LOCK | (struct ntfs_inode)->file.run_lock | ||
| TYPE_LOCK | (struct ntfs_inode)->ni_lock |
fs/ntfs3/attrib.c attr_insert_range() -> mi_pack_runs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mi | 4096-ptr_max |
| PARAM_VALUE | 1 | attr | 4096-ptr_max |
| PARAM_VALUE | 2 | run | 4096-ptr_max |
| BUF_SIZE | 2 | run | 24 |
| CAPPED_DATA | 1 | attr->name_len | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | len | unit_bit |
| LOCK2 | &inode->i_rwsem | ||
| LOCK2 | &ni->base->ni_lock | ||
| LOCK2 | &ni->file.run_lock | ||
| HALF_LOCKED2 | &mapping->invalidate_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem | ||
| TYPE_LOCK | (struct ntfs_inode)->file.run_lock | ||
| TYPE_LOCK | (struct ntfs_inode)->ni_lock |
fs/ntfs3/attrib.c attr_punch_hole() -> mi_pack_runs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mi | 4096-ptr_max |
| PARAM_VALUE | 1 | attr | 4096-ptr_max |
| PARAM_VALUE | 2 | run | 4096-ptr_max |
| BUF_SIZE | 2 | run | 24 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | len | unit_bit |
| LOCK2 | &inode->i_rwsem | ||
| LOCK2 | &ni->base->ni_lock | ||
| LOCK2 | &ni->file.run_lock | ||
| HALF_LOCKED2 | &mapping->invalidate_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem | ||
| TYPE_LOCK | (struct ntfs_inode)->file.run_lock | ||
| TYPE_LOCK | (struct ntfs_inode)->ni_lock |
fs/ntfs3/attrib.c attr_punch_hole() -> mi_pack_runs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mi | 4096-ptr_max |
| PARAM_VALUE | 0 | mi->dirty | 1 |
| PARAM_VALUE | 0 | mi->mrec | 4096-ptr_max |
| PARAM_VALUE | 0 | mi->sbi | 4096-ptr_max |
| PARAM_VALUE | 1 | attr | 4096-ptr_max |
| PARAM_VALUE | 2 | run | 6532517385348227072 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | len | unit_bit |
| LOCK2 | &inode->i_rwsem | ||
| LOCK2 | &ni->base->ni_lock | ||
| LOCK2 | &ni->file.run_lock | ||
| HALF_LOCKED2 | &mapping->invalidate_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem | ||
| TYPE_LOCK | (struct ntfs_inode)->file.run_lock | ||
| TYPE_LOCK | (struct ntfs_inode)->ni_lock |