Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/ecryptfs/read_write.c ecryptfs_write_lower_page_segment() -> ecryptfs_write_lower()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | ecryptfs_inode | $0 |
| DATA_SOURCE | 1 | data | r kmap_local_folio |
| DATA_SOURCE | 3 | size | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ecryptfs_inode->i_mode | 0-u16max |
| USER_DATA | 0 | ecryptfs_inode->i_size | (-9223372036854775807)-(-4),0-s64max |
| USER_DATA | 3 | size | 2-8192[c][u] |
| NO_OVERFLOW_SIMPLE | 0 | ecryptfs_inode->i_mapping->host->i_bytes | |
| UNITS | 2 | offset | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/ecryptfs/mmap.c ecryptfs_write_inode_size_to_header() -> ecryptfs_write_lower()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ecryptfs_inode | 4096-ptr_max |
| PARAM_VALUE | 0 | ecryptfs_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ecryptfs_inode->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | data | 4304464061025112064 |
| PARAM_VALUE | 2 | offset | 0 |
| PARAM_VALUE | 3 | size | 8 |
| BUF_SIZE | 1 | data | 8 |
| DATA_SOURCE | 0 | ecryptfs_inode | $0 |
| NOSPEC | 0 | ecryptfs_inode->i_size | |
| NOSPEC | 1 | *data | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ecryptfs_inode->i_mode | 0-u16max |
| USER_DATA | 0 | ecryptfs_inode->i_size | (-9223372036854775807)-(-2),0-s64max |
| USER_DATA | 1 | *data | 0-255 |
| UNITS | 3 | size | unit_byte |
| USER_PTR | 1 | data |
fs/ecryptfs/crypto.c ecryptfs_encrypt_page() -> ecryptfs_write_lower()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 3 | size | 4096 |
| DATA_SOURCE | 1 | data | r kmap_local_page |
| DATA_SOURCE | 2 | offset | r lower_offset_for_page |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | size | unit_byte |
fs/ecryptfs/crypto.c ecryptfs_write_metadata_to_contents() -> ecryptfs_write_lower()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ecryptfs_inode | 4096-ptr_max |
| PARAM_VALUE | 0 | ecryptfs_inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 1 | *data | 0 |
| PARAM_VALUE | 2 | offset | 0 |
| PARAM_VALUE | 3 | size | 0-281470681677825 |
| DATA_SOURCE | 0 | ecryptfs_inode | $0 |
| DATA_SOURCE | 1 | data | $1 |
| DATA_SOURCE | 3 | size | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | size | unit_byte |
| HALF_LOCKED2 | &crypt_stat->cs_mutex | ||
| HALF_LOCKED2 | &ecryptfs_dentry->d_lockref.lock |