Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- fs/ext4/ext4_jbd2.c, line 249
- fs/ext4/super.c, line 774
- fs/jbd2/journal.c, line 62
- fs/ocfs2/journal.c, line 711
Smatch caller information:
fs/ocfs2/journal.c __ocfs2_journal_access() -> jbd2_journal_get_write_access()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 1-u64max |
| PARAM_VALUE | 0 | handle->h_transaction->t_journal->j_superblock->s_errno | 0-4294967187,4294967189-u32max |
| PARAM_VALUE | 1 | bh | 4096-ptr_max |
| BUF_SIZE | 0 | handle | (-1)-s32max |
| BUF_SIZE | 0 | handle | (-1)-s32max |
| BUF_SIZE | 1 | bh | (-1)-s32max |
| BUF_SIZE | 1 | bh | (-1)-s32max |
| DATA_SOURCE | 0 | handle | $0 |
| DATA_SOURCE | 1 | bh | $2 |
| STR_LEN | 0 | handle | (-1)-0 |
| STR_LEN | 0 | handle | (-1)-0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | *bh->b_data | 0-255 |
| USER_PTR | 1 | bh->b_data |
fs/ext4/ext4_jbd2.c __ext4_journal_get_write_access() -> jbd2_journal_get_write_access()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->h_invalid | 0 |
| BUF_SIZE | 0 | handle | (-1)-s32max |
| BUF_SIZE | 0 | handle | (-1)-s32max |
| BUF_SIZE | 1 | bh | (-1)-s32max |
| BUF_SIZE | 1 | bh | (-1)-s32max |
| DATA_SOURCE | 0 | handle | $2 |
| DATA_SOURCE | 1 | bh | $4 |
| STR_LEN | 0 | handle | (-1)-24,26-27,29,31-32,63,99,115,254 |
| STR_LEN | 0 | handle | (-1)-24,26-27,29,31-32,63,99,115,254 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | bh->b_blocknr | 0-576460756598390781,18446744069414584321-u64max |
| NO_OVERFLOW_SIMPLE | 1 | bh->b_size | |
| UNITS | 1 | bh | unit_byte |
| HALF_LOCKED2 | &ei->i_data_sem | ||
| HALF_LOCKED2 | &elr->lr_super->s_umount | ||
| HALF_LOCKED2 | &grp->alloc_sem | ||
| HALF_LOCKED2 | &sbi->s_orphan_lock |
fs/ext4/super.c update_super_work() -> jbd2_journal_get_write_access()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| BUF_SIZE | 0 | handle | (-1),1-s32max |
| BUF_SIZE | 0 | handle | (-1),1-s32max |
| DATA_SOURCE | 0 | handle | r jbd2_journal_start |
| HALF_LOCKED2 | &pool->lock |