Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/ubifs/recovery.c fix_size_in_place() -> ubifs_crc_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | len | unit_byte |
| LOCK2 | &c->umount_mutex | ||
| HALF_LOCKED2 | &fc->uapi_mutex | ||
| HALF_LOCKED2 | &sb->s_umount | ||
| TYPE_LOCK | (struct ubifs_info)->umount_mutex |
fs/ubifs/io.c ubifs_pad() -> ubifs_crc_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 1 | len | 28 |
| DATA_SOURCE | 0 | node | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | node | unit_byte |
| UNITS | 1 | len | unit_byte |
| HALF_LOCKED2 | &c->commit_sem | ||
| HALF_LOCKED2 | &c->tnc_mutex | ||
| HALF_LOCKED2 | &wbuf->lock |
fs/ubifs/io.c ubifs_prep_grp_node() -> ubifs_crc_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| DATA_SOURCE | 0 | node | $1 |
| DATA_SOURCE | 1 | len | $2 |
| NOSPEC | 1 | len | |
| NOSPEC | 1 | len | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | len | 50-4095[c] |
| UNITS | 0 | node | unit_byte |
| UNITS | 1 | len | unit_byte |
| HALF_LOCKED2 | &host_ui->ui_mutex | ||
| HALF_LOCKED2 | &ui->ui_mutex |
fs/ubifs/io.c ubifs_prepare_node_hmac() -> ubifs_crc_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->group_type | 0 |
| PARAM_VALUE | 0 | node->magic | 101718065 |
| BUF_SIZE | 0 | node | (-1)-s32max |
| BUF_SIZE | 0 | node | (-1)-s32max |
| DATA_SOURCE | 0 | node | $1 |
| DATA_SOURCE | 1 | len | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | len | 65-4159,4175[c] |
| UNITS | 0 | node | unit_byte |
| UNITS | 1 | len | unit_byte |
| HALF_LOCKED2 | &c->umount_mutex |