Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/crypto/crypto.c fscrypt_decrypt_block_inplace() -> fscrypt_crypt_data_unit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | rw | 0 |
| PARAM_VALUE | 2 | index | 0-4503601774854142,18446744071562067968-u64max |
| PARAM_VALUE | 5 | len | 1-u32max |
| PARAM_VALUE | 6 | offs | 0-4095 |
| DATA_SOURCE | 2 | index | $4 |
| DATA_SOURCE | 3 | src_page | $1 |
| DATA_SOURCE | 4 | dest_page | $1 |
| DATA_SOURCE | 5 | len | $2 |
| DATA_SOURCE | 6 | offs | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | index | 0-4503599627370495 |
| USER_DATA | 6 | offs | 0-4094[c] |
| UNITS | 5 | len | unit_byte |
fs/crypto/crypto.c fscrypt_encrypt_block_inplace() -> fscrypt_crypt_data_unit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | rw | 1 |
| PARAM_VALUE | 2 | index | 0-4503601774854142,18444492273895866368-u64max |
| PARAM_VALUE | 6 | offs | 0-4095 |
| BUF_SIZE | 3 | src_page | (-1),64 |
| BUF_SIZE | 3 | src_page | (-1),64 |
| BUF_SIZE | 4 | dest_page | (-1),64 |
| BUF_SIZE | 4 | dest_page | (-1),64 |
| DATA_SOURCE | 2 | index | $4 |
| DATA_SOURCE | 3 | src_page | $1 |
| DATA_SOURCE | 4 | dest_page | $1 |
| DATA_SOURCE | 5 | len | $2 |
| DATA_SOURCE | 6 | offs | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | index | 0-4503601774854142[c] |
| USER_DATA | 5 | len | 16-4110[c] |
| UNITS | 5 | len | unit_byte |
fs/crypto/crypto.c fscrypt_encrypt_pagecache_blocks() -> fscrypt_crypt_data_unit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 1 | rw | 1 |
| PARAM_VALUE | 3 | src_page | 4096-ptr_max |
| PARAM_VALUE | 4 | dest_page | 1-u64max |
| PARAM_VALUE | 6 | offs | 0,16-4095 |
| DATA_SOURCE | 0 | ci | r fscrypt_get_inode_info_raw |
| DATA_SOURCE | 4 | dest_page | r fscrypt_alloc_bounce_page |
| FUZZY_MAX | 6 | offs | 4095 |
| HARD_MAX | 6 | offs | 4095 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 6 | offs | unit_byte |