Defined in 1 files as a function:
Referenced in 4 files:
Smatch caller information:
fs/ntfs3/frecord.c ni_read_frame() -> is_attr_compressed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| CAPPED_DATA | 0 | attr->name_len | 1 |
| DATA_SOURCE | 0 | attr | r ni_find_attr |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &ni->base->ni_lock |
fs/ntfs3/frecord.c ni_write_frame() -> is_attr_compressed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| CAPPED_DATA | 0 | attr->name_len | 1 |
| DATA_SOURCE | 0 | attr | r ni_find_attr |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &inode->i_rwsem | ||
| LOCK2 | &ni->base->ni_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem | ||
| TYPE_LOCK | (struct ntfs_inode)->ni_lock |
fs/ntfs3/attrib.c attr_is_frame_compressed() -> is_attr_compressed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| PARAM_VALUE | 0 | attr->flags | 1-u16max |
| CAPPED_DATA | 0 | attr->name_len | 1 |
| DATA_SOURCE | 0 | attr | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ni->file.run_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &ni->base->ni_lock | ||
| TYPE_LOCK | (struct ntfs_inode)->file.run_lock |
fs/ntfs3/attrib.c attr_make_nonresident() -> is_attr_compressed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| DATA_SOURCE | 0 | attr | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &ni->base->ni_lock | ||
| HALF_LOCKED2 | &ni->file.run_lock |
fs/ntfs3/fslog.c attr_create_nonres_log() -> is_attr_compressed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| BUF_SIZE | 0 | attr | 0-u32max |
| BUF_SIZE | 0 | attr | 0-u32max |
| CAPPED_DATA | 0 | attr->nres.alloc_size | 1 |
| DATA_SOURCE | 0 | attr | r _kzalloc_noprof |
fs/ntfs3/inode.c ntfs_init_ads_node() -> is_attr_compressed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| PARAM_VALUE | 0 | attr->flags | 0-32766,32768-u16max |