Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/f2fs/segment.c __wait_all_discard_cmd() -> __init_discard_policy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 1 | dpolicy | 1496318901556084736 |
| PARAM_VALUE | 2 | discard_type | 2 |
| PARAM_VALUE | 3 | granularity | 1 |
| BUF_SIZE | 0 | sbi | (-1),1-s32max |
| BUF_SIZE | 0 | sbi | (-1),1-s32max |
| DATA_SOURCE | 0 | sbi | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | sbi->compress_inode->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->compress_inode->i_mapping->host->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->compress_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->meta_inode->i_mapping->host->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->meta_inode->i_mapping->host->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->meta_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->node_inode->i_mapping->host->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->node_inode->i_mapping->host->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->node_inode->i_size | |
| UNITS | 0 | sbi | unit_byte |
| HALF_LOCKED2 | 0 | &sbi->umount_mutex |
fs/f2fs/segment.c __wait_all_discard_cmd() -> __init_discard_policy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 1 | dpolicy | 1496318901556084736 |
| PARAM_VALUE | 1 | dpolicy->granularity | 1 |
| PARAM_VALUE | 1 | dpolicy->io_aware | 0 |
| PARAM_VALUE | 1 | dpolicy->ordered | 0 |
| PARAM_VALUE | 1 | dpolicy->sync | 1 |
| PARAM_VALUE | 1 | dpolicy->timeout | 0 |
| PARAM_VALUE | 1 | dpolicy->type | 2 |
| PARAM_VALUE | 2 | discard_type | 3 |
| PARAM_VALUE | 3 | granularity | 1 |
| BUF_SIZE | 0 | sbi | (-1),1-s32max |
| BUF_SIZE | 0 | sbi | (-1),1-s32max |
| DATA_SOURCE | 0 | sbi | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | sbi->compress_inode->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->compress_inode->i_mapping->host->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->compress_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->meta_inode->i_mapping->host->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->meta_inode->i_mapping->host->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->meta_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->node_inode->i_mapping->host->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->node_inode->i_mapping->host->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->node_inode->i_size | |
| UNITS | 0 | sbi | unit_byte |
| HALF_LOCKED2 | 0 | &sbi->umount_mutex |
fs/f2fs/segment.c f2fs_issue_discard_timeout() -> __init_discard_policy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 1 | dpolicy | 7418263998511779840 |
| PARAM_VALUE | 2 | discard_type | 3 |
| BUF_SIZE | 0 | sbi | (-1),1-s32max |
| BUF_SIZE | 0 | sbi | (-1),1-s32max |
| DATA_SOURCE | 0 | sbi | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | sbi | unit_byte |
| UNITS | 3 | granularity | unit_page |
| HALF_LOCKED2 | 0 | &sbi->umount_mutex |
fs/f2fs/segment.c f2fs_trim_fs() -> __init_discard_policy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 1 | dpolicy | 4537406422835200 |
| PARAM_VALUE | 2 | discard_type | 2 |
| PARAM_VALUE | 3 | granularity | 1-1048575 |
| BUF_SIZE | 0 | sbi | 1-s32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| CAPPED_DATA | 3 | granularity | 1 |
| DATA_SOURCE | 0 | sbi | $0 |
| CAPABLE | 0 | 21 | |
| NOSPEC | 3 | granularity | |
| NOSPEC | 3 | granularity | |
| NOCHECK_CALL | |||
| USER_DATA | 3 | granularity | 1-1048575[c] |
| UNITS | 0 | sbi | unit_byte |
| UNITS | 3 | granularity | unit_page |
fs/f2fs/segment.c issue_discard_thread() -> __init_discard_policy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 1 | dpolicy | 6068081938597814272 |
| PARAM_VALUE | 2 | discard_type | 1 |
| PARAM_VALUE | 3 | granularity | 1 |
| BUF_SIZE | 0 | sbi | 128 |
| BUF_SIZE | 0 | sbi | 128 |
| DATA_SOURCE | 0 | sbi | $0 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/f2fs/segment.c issue_discard_thread() -> __init_discard_policy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 1 | dpolicy | 6068081938597814272 |
| PARAM_VALUE | 2 | discard_type | 0 |
| BUF_SIZE | 0 | sbi | 128 |
| BUF_SIZE | 0 | sbi | 128 |
| DATA_SOURCE | 0 | sbi | $0 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 3 | granularity | unit_page |