Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/jbd2/journal.c jbd2_journal_flush() -> jbd2_cleanup_journal_tail()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | journal | 4096-ptr_max |
| PARAM_VALUE | 0 | journal->j_checkpoint_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | journal->j_checkpoint_transactions | 0 |
| PARAM_VALUE | 0 | journal->j_list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | journal->j_running_transaction | 0,4096-ptr_max |
| PARAM_VALUE | 0 | journal->j_sb_buffer->b_folio->mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | journal->j_sb_buffer->b_folio->mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | journal->j_state_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | journal->j_superblock->s_errno | 0-4294967187,4294967189-u32max |
| PARAM_VALUE | 0 | journal->j_superblock->s_header.h_blocktype | 1-2,5 |
| CAPPED_DATA | 0 | &journal->j_checkpoint_mutex | 1 |
| DATA_SOURCE | 0 | journal | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &journal->j_checkpoint_mutex | |
| HALF_LOCKED2 | &inode->i_mapping->invalidate_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &journal->j_trans_barrier | ||
| HALF_LOCKED2 | &sb->s_umount | ||
| HALF_LOCKED2 | &tl_inode->i_rwsem | ||
| HALF_LOCKED2 | 0 | &journal->j_barrier | |
| TYPE_LOCK | (struct journal_s)->j_checkpoint_mutex |
fs/jbd2/checkpoint.c __jbd2_log_wait_for_space() -> jbd2_cleanup_journal_tail()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | journal | 4096-ptr_max |
| PARAM_VALUE | 0 | journal->j_barrier_count | 0 |
| PARAM_VALUE | 0 | journal->j_checkpoint_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | journal->j_checkpoint_transactions | 0 |
| PARAM_VALUE | 0 | journal->j_committing_transaction | 0,4096-ptr_max |
| PARAM_VALUE | 0 | journal->j_list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | journal->j_max_transaction_buffers | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | journal->j_running_transaction | 4096-ptr_max |
| PARAM_VALUE | 0 | journal->j_running_transaction->t_state | 0 |
| PARAM_VALUE | 0 | journal->j_sb_buffer->b_folio->mapping->host->i_wb->dwork.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | journal->j_sb_buffer->b_folio->mapping->host->i_wb->dwork.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | journal->j_sb_buffer->b_folio->mapping->host->i_wb->dwork.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | journal->j_sb_buffer->b_folio->mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | journal->j_sb_buffer->b_folio->mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | journal->j_state_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | journal->j_state_lock.owner | (-1) |
| PARAM_VALUE | 0 | journal->j_state_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | journal->j_state_lock.raw_lock.wlocked | 0 |
| PARAM_VALUE | 0 | journal->j_superblock->s_errno | 0-4294967187,4294967189-u32max |
| CAPPED_DATA | 0 | &journal->j_checkpoint_mutex | 1 |
| DATA_SOURCE | 0 | journal | $0 |
| STR_LEN | 0 | journal | (-1)-0 |
| STR_LEN | 0 | journal | (-1)-0 |
| STR_LEN | 0 | journal->j_running_transaction->t_journal | (-1) |
| BIT_INFO | 0 | journal->j_flags | 0x0,0xfffffffffffffffd |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &journal->j_checkpoint_mutex | |
| TYPE_LOCK | (struct journal_s)->j_checkpoint_mutex |
fs/jbd2/checkpoint.c jbd2_log_do_checkpoint() -> jbd2_cleanup_journal_tail()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | journal | 4096-ptr_max |
| PARAM_VALUE | 0 | journal->j_checkpoint_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | journal->j_checkpoint_transactions | 1-u64max |
| PARAM_VALUE | 0 | journal->j_inode->i_mapping->host->i_op->readlink | 0,1728600404483375104,2832489546165891072,2874824064778891264,3069732422725099520,4516337085607264256 |
| PARAM_VALUE | 0 | journal->j_inode->i_mapping->host->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | journal->j_inode->i_mapping->host->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | journal->j_list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | journal->j_running_transaction | 0,4096-ptr_max |
| PARAM_VALUE | 0 | journal->j_sb_buffer->b_folio->mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | journal->j_sb_buffer->b_folio->mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | journal->j_state_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | journal->j_superblock->s_errno | 0-4294967187,4294967189-u32max |
| PARAM_VALUE | 0 | journal->j_superblock->s_header.h_blocktype | 1-2,5 |
| DATA_SOURCE | 0 | journal | $0 |
| STR_LEN | 0 | journal | (-1)-0 |
| STR_LEN | 0 | journal | (-1)-0 |
| STR_LEN | 0 | journal->j_running_transaction->t_journal | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | journal->j_dev->bd_mapping->host->i_bytes | |
| LOCK2 | 0 | &journal->j_checkpoint_mutex | |
| HALF_LOCKED2 | 0 | &journal->j_barrier | |
| TYPE_LOCK | (struct journal_s)->j_checkpoint_mutex |
fs/jbd2/checkpoint.c jbd2_log_do_checkpoint() -> jbd2_cleanup_journal_tail()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | journal | 4096-ptr_max |
| PARAM_VALUE | 0 | journal->j_checkpoint_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | journal->j_checkpoint_transactions | 4096-ptr_max |
| PARAM_VALUE | 0 | journal->j_inode->i_mapping->host->i_op->readlink | 0,1728600404483375104,2832489546165891072,2874824064778891264,3069732422725099520,4516337085607264256 |
| PARAM_VALUE | 0 | journal->j_inode->i_mapping->host->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | journal->j_inode->i_mapping->host->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | journal->j_list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | journal->j_running_transaction | 0,4096-ptr_max |
| PARAM_VALUE | 0 | journal->j_sb_buffer->b_folio->mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | journal->j_sb_buffer->b_folio->mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | journal->j_state_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | journal->j_superblock->s_errno | 0-4294967187,4294967189-u32max |
| PARAM_VALUE | 0 | journal->j_superblock->s_header.h_blocktype | 1-2,5 |
| CAPPED_DATA | 0 | journal->j_checkpoint_transactions | 1 |
| DATA_SOURCE | 0 | journal | $0 |
| STR_LEN | 0 | journal | (-1)-0 |
| STR_LEN | 0 | journal | (-1)-0 |
| STR_LEN | 0 | journal->j_running_transaction->t_journal | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | journal->j_dev->bd_mapping->host->i_bytes | |
| LOCK2 | 0 | &journal->j_checkpoint_mutex | |
| HALF_LOCKED2 | 0 | &journal->j_barrier | |
| TYPE_LOCK | (struct journal_s)->j_checkpoint_mutex |