Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/f2fs/segment.c __issue_discard_cmd() -> __submit_discard_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->cp_global_sem.internal_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sbi->cp_global_sem.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->cp_rwsem.internal_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sbi->cp_rwsem.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->gc_lock.internal_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sbi->gc_lock.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_tree_lock.internal_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_tree_lock.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->node_change.internal_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sbi->node_change.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->node_write.internal_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sbi->node_write.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->quota_sem.internal_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sbi->quota_sem.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->sb->s_umount.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sbi->sb->s_umount.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | *sbi->next_victim_seg | 0-4294967295 |
| PARAM_VALUE | 1 | dpolicy | 6068081938597814272,7418263998511779840 |
| PARAM_VALUE | 1 | dpolicy->granularity | 0-512 |
| PARAM_VALUE | 1 | dpolicy->type | 0-1,3 |
| PARAM_VALUE | 2 | dc | 4096-ptr_max |
| PARAM_VALUE | 2 | dc->state | 0 |
| PARAM_VALUE | 3 | issued | 8868488870712565760 |
| PARAM_VALUE | 3 | *issued | s32min-(-2),0-s32max |
| BUF_SIZE | 0 | sbi | (-1),1-s32max |
| BUF_SIZE | 0 | sbi | (-1),1-s32max |
| CAPPED_DATA | 1 | dpolicy->granularity | 1 |
| CAPPED_DATA | 2 | &dc->list | 1 |
| DATA_SOURCE | 0 | sbi | $0 |
| DATA_SOURCE | 1 | dpolicy | $1 |
| FUZZY_MAX | 1 | dpolicy->granularity | 512 |
| HARD_MAX | 1 | dpolicy->granularity | 512 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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->node_inode->i_mapping->host->i_bytes | |
| UNITS | 0 | sbi | unit_byte |
| LOCK2 | &dcc->cmd_lock | ||
| HALF_LOCKED2 | 0 | &sbi->umount_mutex | |
| TYPE_LOCK | (struct discard_cmd_control)->cmd_lock |
fs/f2fs/segment.c __issue_discard_cmd_orderly() -> __submit_discard_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->cp_global_sem.internal_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sbi->cp_global_sem.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->cp_rwsem.internal_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sbi->cp_rwsem.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->gc_lock.internal_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sbi->gc_lock.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->meta_inode->i_sb->s_cop->inode_info_offs | 1632,1720,2632,2648 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_tree_lock.internal_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_tree_lock.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->node_change.internal_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sbi->node_change.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->node_inode->i_sb->s_cop->inode_info_offs | 1632,1720,2632,2648 |
| PARAM_VALUE | 0 | sbi->node_write.internal_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sbi->node_write.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->quota_sem.internal_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sbi->quota_sem.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->sb->s_umount.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sbi->sb->s_umount.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | dpolicy | 6068081938597814272,7418263998511779840 |
| PARAM_VALUE | 1 | dpolicy->granularity | 0-512 |
| PARAM_VALUE | 1 | dpolicy->ordered | 1 |
| PARAM_VALUE | 1 | dpolicy->timeout | 0 |
| PARAM_VALUE | 1 | dpolicy->type | 0-1 |
| PARAM_VALUE | 2 | dc | 4096-ptr_max |
| PARAM_VALUE | 2 | dc->state | 0 |
| PARAM_VALUE | 3 | issued | 8868488870712565760 |
| PARAM_VALUE | 3 | *issued | s32min-(-2),0-s32max |
| BUF_SIZE | 0 | sbi | 128 |
| BUF_SIZE | 0 | sbi | 128 |
| CAPPED_DATA | 1 | dpolicy->granularity | 1 |
| CAPPED_DATA | 3 | *issued | 1 |
| DATA_SOURCE | 0 | sbi | $0 |
| DATA_SOURCE | 1 | dpolicy | $1 |
| DATA_SOURCE | 3 | issued | $2 |
| FUZZY_MAX | 1 | dpolicy->granularity | 512 |
| BIT_INFO | 1 | dpolicy->type | 0x0,0x3 |
| HARD_MAX | 1 | dpolicy->granularity | 512 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | sbi->compress_inode->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->compress_inode->i_size | |
| 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_size | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->node_inode->i_size | |
| LOCK2 | &dcc->cmd_lock | ||
| TYPE_LOCK | (struct discard_cmd_control)->cmd_lock |
fs/f2fs/segment.c __issue_discard_cmd_range() -> __submit_discard_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->cp_call_count | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->cp_global_sem.internal_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sbi->cp_global_sem.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->cp_rwsem.internal_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sbi->cp_rwsem.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->gc_lock.internal_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sbi->gc_lock.internal_rwsem.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | sbi->gc_lock.internal_rwsem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | sbi->gc_lock.internal_rwsem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | sbi->gc_lock.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_tree_lock.internal_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_tree_lock.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->node_change.internal_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sbi->node_change.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->node_write.internal_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sbi->node_write.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->quota_sem.internal_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sbi->quota_sem.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->sb->s_bdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->sb->s_umount.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sbi->sb->s_umount.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | *sbi->next_victim_seg | 0-4294967295 |
| PARAM_VALUE | 1 | dpolicy | 4537406422835200 |
| PARAM_VALUE | 1 | dpolicy->granularity | 1-1048575 |
| 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 | dc | 4096-ptr_max |
| PARAM_VALUE | 2 | dc->di.len | 1-u32max |
| PARAM_VALUE | 2 | dc->state | 0 |
| PARAM_VALUE | 3 | issued | 602748969168830464 |
| PARAM_VALUE | 3 | *issued | s32min-(-2),0-s32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| CAPPED_DATA | 1 | dpolicy->granularity | 1 |
| CAPPED_DATA | 2 | dc->di.lstart | 1 |
| DATA_SOURCE | 0 | sbi | $0 |
| DATA_SOURCE | 1 | dpolicy | $1 |
| CAPABLE | 0 | 21 | |
| PARAM_COMPARE | 2 | dc->di.len | >= $1->granularity |
| NOSPEC | 1 | dpolicy->granularity | |
| USER_DATA | 1 | dpolicy->granularity | 1-1048575[c] |
| UNITS | 0 | sbi | unit_byte |
| LOCK2 | &dcc->cmd_lock | ||
| TYPE_LOCK | (struct discard_cmd_control)->cmd_lock |