Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/ocfs2/dir.c __ocfs2_add_entry() -> ocfs2_journal_access_dr()

Type Parameter Key Value
PARAM_VALUE 0 handle 4096-ptr_max
PARAM_VALUE 0 handle->h_transaction 4096-ptr_max
PARAM_VALUE 0 handle->h_transaction->t_journal->j_superblock->s_errno 0-4294967187,4294967189-u32max
PARAM_VALUE 1 ci 4096-ptr_max
PARAM_VALUE 3 type 1
BUF_SIZE 0 handle (-1)-s32max
BUF_SIZE 0 handle (-1)-s32max
CAPPED_DATA 0 handle->h_transaction 1
DATA_SOURCE 0 handle $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &orphan_dir_inode->i_rwsem

fs/ocfs2/dir.c ocfs2_delete_entry_dx() -> ocfs2_journal_access_dr()

Type Parameter Key Value
PARAM_VALUE 0 handle 4096-ptr_max
PARAM_VALUE 0 handle->h_aborted 0
PARAM_VALUE 0 handle->h_transaction 4096-ptr_max
PARAM_VALUE 0 handle->h_transaction->t_journal->j_superblock->s_errno 0-4294967187,4294967189-u32max
PARAM_VALUE 1 ci 4096-ptr_max
PARAM_VALUE 2 bh 4096-ptr_max
PARAM_VALUE 2 bh->b_data 4096-ptr_max
PARAM_VALUE 3 type 1
BUF_SIZE 0 handle (-1)-s32max
BUF_SIZE 0 handle (-1)-s32max
CAPPED_DATA 0 handle->h_transaction 1
DATA_SOURCE 0 handle $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dir->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/dir.c ocfs2_dx_dir_attach_index() -> ocfs2_journal_access_dr()

Type Parameter Key Value
PARAM_VALUE 0 handle->h_transaction->t_journal->j_abort_mutex.dep_map->name 0-255
PARAM_VALUE 0 handle->h_transaction->t_journal->j_abort_mutex.first_waiter->list.next 5159360019465732096
PARAM_VALUE 0 handle->h_transaction->t_journal->j_abort_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 handle->h_transaction->t_journal->j_abort_mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 0 handle->h_transaction->t_journal->j_commit_timer.is_queued 0-1
PARAM_VALUE 0 handle->h_transaction->t_journal->j_list_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 handle->h_transaction->t_journal->j_running_transaction 1-u64max
PARAM_VALUE 0 handle->h_transaction->t_journal->j_running_transaction->t_journal 4096-ptr_max
PARAM_VALUE 0 handle->h_transaction->t_journal->j_state_lock.raw_lock.cnts.counter 0-s32max
PARAM_VALUE 0 handle->h_transaction->t_journal->j_superblock->s_errno 0-4294967187,4294967189-u32max
PARAM_VALUE 0 handle->h_transaction->t_journal->j_wait_transaction_locked.head.prev->next 4096-ptr_max
PARAM_VALUE 0 handle->h_transaction->t_journal->j_wait_transaction_locked.head.prev->next->next 4096-ptr_max
PARAM_VALUE 1 ci 4096-ptr_max
PARAM_VALUE 2 bh 4096-ptr_max
PARAM_VALUE 3 type 0
BUF_SIZE 2 bh (-1)-s32max
BUF_SIZE 2 bh (-1)-s32max
CAPPED_DATA 2 bh 1
DATA_SOURCE 0 handle $1
DATA_SOURCE 2 bh r sb_getblk

fs/ocfs2/dir.c ocfs2_dx_dir_insert() -> ocfs2_journal_access_dr()

Type Parameter Key Value
PARAM_VALUE 0 handle 4096-ptr_max
PARAM_VALUE 0 handle->h_aborted 0
PARAM_VALUE 0 handle->h_transaction 4096-ptr_max
PARAM_VALUE 0 handle->h_transaction->t_journal->j_abort_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 handle->h_transaction->t_journal->j_abort_mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 0 handle->h_transaction->t_journal->j_revoke_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 handle->h_transaction->t_journal->j_sb_buffer->b_folio->private->codec->users s32min-s32max
PARAM_VALUE 0 handle->h_transaction->t_journal->j_sb_buffer->b_folio->private->hdr.front_len 0-4294967295
PARAM_VALUE 0 handle->h_transaction->t_journal->j_superblock->s_errno 0-4294967187,4294967189-u32max
PARAM_VALUE 1 ci 4096-ptr_max
PARAM_VALUE 3 type 1
BUF_SIZE 0 handle (-1),1-s32max
BUF_SIZE 0 handle (-1),1-s32max
CAPPED_DATA 0 handle->h_transaction 1
DATA_SOURCE 0 handle $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &orphan_dir_inode->i_rwsem

fs/ocfs2/dir.c ocfs2_dx_dir_link_trailer() -> ocfs2_journal_access_dr()

Type Parameter Key Value
PARAM_VALUE 0 handle 4096-ptr_max
PARAM_VALUE 0 handle->h_aborted 0
PARAM_VALUE 0 handle->h_transaction 4096-ptr_max
PARAM_VALUE 0 handle->h_transaction->t_journal->j_abort_mutex.first_waiter->list.next 5159360019465732096
PARAM_VALUE 0 handle->h_transaction->t_journal->j_abort_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 handle->h_transaction->t_journal->j_list_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 handle->h_transaction->t_journal->j_revoke_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 handle->h_transaction->t_journal->j_state_lock.dep_map->name 0-255
PARAM_VALUE 0 handle->h_transaction->t_journal->j_superblock->s_errno 0-4294967187,4294967189-u32max
PARAM_VALUE 1 ci 4096-ptr_max
PARAM_VALUE 2 bh->b_data 4096-ptr_max
PARAM_VALUE 3 type 1
BUF_SIZE 0 handle (-1),1-s32max
BUF_SIZE 0 handle (-1),1-s32max
CAPPED_DATA 0 handle->h_transaction 1
DATA_SOURCE 0 handle $1
DATA_SOURCE 2 bh $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &orphan_dir_inode->i_rwsem

fs/ocfs2/dir.c ocfs2_expand_inline_dx_root() -> ocfs2_journal_access_dr()

Type Parameter Key Value
PARAM_VALUE 0 handle 4096-ptr_max
PARAM_VALUE 1 ci 4096-ptr_max
PARAM_VALUE 2 bh 4096-ptr_max
PARAM_VALUE 2 bh->b_data 4096-ptr_max
PARAM_VALUE 2 bh->b_data->dr_flags 1-255
PARAM_VALUE 2 bh->b_data->dr_num_entries 0-4294967294
PARAM_VALUE 3 type 1
BUF_SIZE 0 handle (-1),1-s32max
BUF_SIZE 0 handle (-1),1-s32max
CAPPED_DATA 2 bh->b_data->dr_entries.de_count 1
DATA_SOURCE 0 handle r ocfs2_start_trans
DATA_SOURCE 2 bh $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &orphan_dir_inode->i_rwsem

fs/ocfs2/alloc.c ocfs2_et_root_journal_access() -> (struct ocfs2_extent_tree)->et_root_journal_access()

Type Parameter Key Value
PARAM_VALUE 0 handle->h_transaction->t_journal->j_superblock->s_errno 0-4294967187,4294967189-u32max
PARAM_VALUE 1 ci 4096-ptr_max
PARAM_VALUE 1 ci->ci_ops->co_get_super 4096-ptr_max
PARAM_VALUE 1 ci->ci_ops->co_owner 4096-ptr_max
PARAM_VALUE 3 type 1
BUF_SIZE 0 handle (-1)-s32max
BUF_SIZE 0 handle (-1)-s32max
DATA_SOURCE 0 handle $0
DATA_SOURCE 3 type $2
STR_LEN 0 handle (-1)-0
STR_LEN 0 handle (-1)-0
CONTAINER 1 *(-32+24) $(-1)
CONTAINER 2 *(-32+8) $(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &tl_inode->i_rwsem

fs/ocfs2/alloc.c ocfs2_path_bh_journal_access() -> ocfs2_path_bh_journal_access ptr access()

Type Parameter Key Value
PARAM_VALUE 0 handle->h_transaction->t_journal->j_superblock->s_errno 0-4294967187,4294967189-u32max
PARAM_VALUE 1 ci 4096-ptr_max
PARAM_VALUE 1 ci->ci_ops->co_get_super 4096-ptr_max
PARAM_VALUE 1 ci->ci_ops->co_owner 4096-ptr_max
PARAM_VALUE 3 type 1
BUF_SIZE 0 handle (-1)-s32max
BUF_SIZE 0 handle (-1)-s32max
DATA_SOURCE 0 handle $0
DATA_SOURCE 1 ci $1
STR_LEN 0 handle (-1)-0
STR_LEN 0 handle (-1)-0
STR_LEN 1 ci (-1)-0
STR_LEN 1 ci (-1)-0
RX_PATH
TASK_NOT_RUNNING