Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

fs/ocfs2/suballoc.c _ocfs2_reclaim_suballoc_to_main() -> ocfs2_extend_trans()

Type Parameter Key Value
PARAM_VALUE 0 handle 4096-ptr_max
PARAM_VALUE 0 handle->h_err (-117),(-30),(-28),(-22)
PARAM_VALUE 0 handle->h_transaction 4096-ptr_max
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.prev->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_flags 0,2-u64max
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 nblocks 7
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 $0
STR_LEN 0 handle (-1)-0
STR_LEN 0 handle (-1)-0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &alloc_inode->i_rwsem

fs/ocfs2/suballoc.c ocfs2_block_group_alloc_discontig() -> ocfs2_extend_trans()

Type Parameter Key Value
PARAM_VALUE 0 handle 4096-ptr_max
PARAM_VALUE 0 handle->h_err (-117),(-30),(-28),(-22)
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.prev->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_flags 0,2-u64max
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_sb_buffer->b_folio->private->wb_kref s32min-s32max
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_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 1 nblocks 0-u16max
BUF_SIZE 0 handle (-1),1-s32max
BUF_SIZE 0 handle (-1),1-s32max
DATA_SOURCE 0 handle $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &alloc_inode->i_rwsem
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &orphan_dir_inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/alloc.c ocfs2_adjust_rightmost_branch() -> ocfs2_extend_trans()

Type Parameter Key Value
PARAM_VALUE 0 handle->h_transaction->t_journal->j_superblock->s_errno 0-4294967187,4294967189-u32max
BUF_SIZE 0 handle (-1)-s32max
BUF_SIZE 0 handle (-1)-s32max
DATA_SOURCE 0 handle $0
STR_LEN 0 handle (-1)-0
STR_LEN 0 handle (-1)-0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

fs/ocfs2/alloc.c ocfs2_extend_rotate_transaction() -> ocfs2_extend_trans()

Type Parameter Key Value
PARAM_VALUE 0 handle 4096-ptr_max
PARAM_VALUE 0 handle->h_transaction->t_journal->j_superblock->s_errno 0-4294967187,4294967189-u32max
BUF_SIZE 0 handle (-1)-s32max
BUF_SIZE 0 handle (-1)-s32max
CAPPED_DATA 0 handle 1
DATA_SOURCE 0 handle $0
STR_LEN 0 handle (-1)-0
STR_LEN 0 handle (-1)-0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

fs/ocfs2/alloc.c ocfs2_insert_path() -> ocfs2_extend_trans()

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_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_superblock->s_errno 0-4294967187,4294967189-u32max
BUF_SIZE 0 handle (-1)-s32max
BUF_SIZE 0 handle (-1)-s32max
CAPPED_DATA 0 handle 1
CAPPED_DATA 0 handle->h_transaction 1
DATA_SOURCE 0 handle $0
STR_LEN 0 handle (-1)-0
STR_LEN 0 handle (-1)-0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 1 nblocks unit_array_size

fs/ocfs2/alloc.c ocfs2_split_tree() -> ocfs2_extend_trans()

Type Parameter Key Value
PARAM_VALUE 0 handle 4096-ptr_max
PARAM_VALUE 0 handle->h_transaction->t_journal->j_superblock->s_errno 0-4294967187,4294967189-u32max
BUF_SIZE 0 handle (-1)-s32max
BUF_SIZE 0 handle (-1)-s32max
DATA_SOURCE 0 handle $0
STR_LEN 0 handle (-1)-0
STR_LEN 0 handle (-1)-0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &tl_inode->i_rwsem

fs/ocfs2/journal.c ocfs2_assure_trans_credits() -> ocfs2_extend_trans()

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_checkpoint_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 handle->h_transaction->t_journal->j_flags 0,2-u64max
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_state_lock.dep_map->name 0-255
PARAM_VALUE 0 handle->h_transaction->t_journal->j_state_lock.owner (-1)
PARAM_VALUE 0 handle->h_transaction->t_journal->j_state_lock.owner_cpu u32max
PARAM_VALUE 0 handle->h_transaction->t_journal->j_superblock->s_errno 0-4294967187,4294967189-u32max
PARAM_VALUE 1 nblocks 1-196621
BUF_SIZE 0 handle (-1)-s32max
BUF_SIZE 0 handle (-1)-s32max
DATA_SOURCE 0 handle $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &oi->ip_alloc_sem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ocfs2_inode_info)->ip_alloc_sem

fs/ocfs2/refcounttree.c ocfs2_adjust_refcount_rec() -> ocfs2_extend_trans()

Type Parameter Key Value
PARAM_VALUE 0 handle 4096-ptr_max
PARAM_VALUE 0 handle->h_err (-117),(-30),(-28),(-22)
PARAM_VALUE 0 handle->h_transaction 4096-ptr_max
PARAM_VALUE 0 handle->h_transaction->t_journal->j_abort_mutex.first_waiter->list.prev->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_revoke_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 handle->h_transaction->t_journal->j_superblock->s_errno 0-4294967187,4294967189-u32max
PARAM_VALUE 1 nblocks 2
BUF_SIZE 0 handle (-1),1-s32max
BUF_SIZE 0 handle (-1),1-s32max
CAPPED_DATA 0 handle 1
CAPPED_DATA 0 handle->h_transaction 1
DATA_SOURCE 0 handle $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/xattr.c __ocfs2_xattr_set_handle() -> ocfs2_extend_trans()

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_flags 0,2-u64max
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
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 nblocks s32min-s32max[c][u]

fs/ocfs2/xattr.c __ocfs2_xattr_set_handle() -> ocfs2_extend_trans()

Type Parameter Key Value
PARAM_VALUE 0 handle->h_transaction->t_journal->j_superblock->s_errno 0-4294967187,4294967189-u32max
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 nblocks s32min-s32max[c][u]

fs/ocfs2/xattr.c __ocfs2_xattr_set_handle() -> ocfs2_extend_trans()

Type Parameter Key Value
PARAM_VALUE 0 handle 1-u64max
PARAM_VALUE 0 handle->h_transaction->t_journal->j_commit_timer.is_hard 0-1
PARAM_VALUE 0 handle->h_transaction->t_journal->j_commit_timer.is_lazy 0-1
PARAM_VALUE 0 handle->h_transaction->t_journal->j_commit_timer.is_queued 0-1
PARAM_VALUE 0 handle->h_transaction->t_journal->j_commit_timer.is_soft 0-1
PARAM_VALUE 0 handle->h_transaction->t_journal->j_state_lock.owner (-1)
PARAM_VALUE 0 handle->h_transaction->t_journal->j_state_lock.owner_cpu u32max
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 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 nblocks s32min-s32max[c][u]

fs/ocfs2/xattr.c ocfs2_divide_xattr_cluster() -> ocfs2_extend_trans()

Type Parameter Key Value
PARAM_VALUE 0 handle 1-u64max
PARAM_VALUE 0 handle->h_transaction->t_journal->j_abort_mutex.first_waiter->list.prev->next 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_abort_mutex.osq.tail.counter 0-s32max
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_state_lock.dep_map->name 0-255
PARAM_VALUE 0 handle->h_transaction->t_journal->j_state_lock.owner (-1)
PARAM_VALUE 0 handle->h_transaction->t_journal->j_state_lock.owner_cpu u32max
PARAM_VALUE 0 handle->h_transaction->t_journal->j_superblock->s_errno 0-4294967187,4294967189-u32max
PARAM_VALUE 1 nblocks 0-131070
BUF_SIZE 0 handle (-1),1-s32max
BUF_SIZE 0 handle (-1),1-s32max
DATA_SOURCE 0 handle $1
STR_LEN 0 handle (-1)-0
STR_LEN 0 handle (-1)-0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/xattr.c ocfs2_extend_xattr_bucket() -> ocfs2_extend_trans()

Type Parameter Key Value
PARAM_VALUE 0 handle 1-u64max
PARAM_VALUE 0 handle->h_transaction->t_journal->j_abort_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 handle->h_transaction->t_journal->j_commit_timer.is_hard 0-1
PARAM_VALUE 0 handle->h_transaction->t_journal->j_commit_timer.is_lazy 0-1
PARAM_VALUE 0 handle->h_transaction->t_journal->j_commit_timer.is_soft 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->t_inode_list.next 4096-ptr_max
PARAM_VALUE 0 handle->h_transaction->t_journal->j_running_transaction->t_inode_list.prev 4096-ptr_max
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.dep_map->name 0-255
PARAM_VALUE 0 handle->h_transaction->t_journal->j_state_lock.owner (-1)
PARAM_VALUE 0 handle->h_transaction->t_journal->j_state_lock.owner_cpu u32max
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
BUF_SIZE 0 handle (-1),1-s32max
BUF_SIZE 0 handle (-1),1-s32max
CAPPED_DATA 0 handle 1
DATA_SOURCE 0 handle $1
STR_LEN 0 handle (-1)-0
STR_LEN 0 handle (-1)-0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 1 nblocks unit_byte
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/xattr.c ocfs2_mv_xattr_buckets() -> ocfs2_extend_trans()

Type Parameter Key Value
PARAM_VALUE 0 handle 1-u64max
PARAM_VALUE 0 handle->h_transaction->t_journal->j_abort_mutex.first_waiter->list.prev->next 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_superblock->s_errno 0-4294967187,4294967189-u32max
BUF_SIZE 0 handle (-1),1-s32max
BUF_SIZE 0 handle (-1),1-s32max
DATA_SOURCE 0 handle $1
STR_LEN 0 handle (-1)-0
STR_LEN 0 handle (-1)-0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/xattr.c ocfs2_xattr_extend_allocation() -> ocfs2_extend_trans()

Type Parameter Key Value
PARAM_VALUE 0 handle 4096-ptr_max
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_superblock->s_errno 0-4294967187,4294967189-u32max
PARAM_VALUE 1 nblocks 10-196621
BUF_SIZE 0 handle (-1),1-s32max
BUF_SIZE 0 handle (-1),1-s32max
CAPPED_DATA 0 handle 1
DATA_SOURCE 1 nblocks r ocfs2_calc_extend_credits
STR_LEN 0 handle (-1)-0
STR_LEN 0 handle (-1)-0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &(inode->i_sb)->s_fs_info->nfs_sync_rwlock