Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/ocfs2/suballoc.c ocfs2_block_group_clear_bits() -> ocfs2_journal_access_gd()

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 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-2
BUF_SIZE 0 handle (-1),1-s32max
BUF_SIZE 0 handle (-1),1-s32max
CAPPED_DATA 0 handle 1
DATA_SOURCE 0 handle $0
DATA_SOURCE 2 bh $3
FUZZY_MAX 3 type 2
STR_LEN 0 handle (-1)-0
STR_LEN 0 handle (-1)-0
HARD_MAX 3 type 2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &alloc_inode->i_rwsem

fs/ocfs2/suballoc.c ocfs2_block_group_fill() -> ocfs2_journal_access_gd()

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
PARAM_VALUE 1 ci 4096-ptr_max
PARAM_VALUE 2 bh 4096-ptr_max
PARAM_VALUE 3 type 0
BUF_SIZE 0 handle (-1)-s32max
BUF_SIZE 0 handle (-1)-s32max
BUF_SIZE 2 bh (-1)-s32max
BUF_SIZE 2 bh (-1)-s32max
CAPPED_DATA 0 handle 1
CAPPED_DATA 2 bh 1
CAPPED_DATA 2 bh->b_blocknr 1
DATA_SOURCE 0 handle $0
DATA_SOURCE 2 bh $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &alloc_inode->i_rwsem
HALF_LOCKED2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/suballoc.c ocfs2_block_group_grow_discontig() -> ocfs2_journal_access_gd()

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_journal 0,4096-ptr_max
PARAM_VALUE 0 handle->h_reserved 0
PARAM_VALUE 0 handle->h_revoke_credits 0
PARAM_VALUE 0 handle->h_transaction 0,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.next 5159360019465732096
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_abort_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 handle->h_transaction->t_journal->j_commit_timer.is_queued 0-1
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_running_transaction 1-u64max
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->saved_alloc_context 0,262144
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->bg_bits 0-u16max
PARAM_VALUE 2 bh->b_data->bg_chain 0
PARAM_VALUE 2 bh->b_data->bg_check.bc_crc32e 0
PARAM_VALUE 2 bh->b_data->bg_check.bc_ecc 0
PARAM_VALUE 2 bh->b_data->bg_check.bc_reserved1 0
PARAM_VALUE 2 bh->b_data->bg_contig_free_bits 0
PARAM_VALUE 2 bh->b_data->bg_free_bits_count 0-u16max
PARAM_VALUE 2 bh->b_data->bg_generation 0-4294967295
PARAM_VALUE 2 bh->b_data->bg_list.l_count 0-u16max
PARAM_VALUE 2 bh->b_data->bg_list.l_next_free_rec 0-u16max
PARAM_VALUE 2 bh->b_data->bg_list.l_reserved1 0
PARAM_VALUE 2 bh->b_data->bg_list.l_reserved2 0
PARAM_VALUE 2 bh->b_data->bg_list.l_tree_depth 0
PARAM_VALUE 2 bh->b_data->bg_reserved1 0
PARAM_VALUE 2 bh->b_data->bg_reserved2 0
PARAM_VALUE 2 bh->b_data->bg_signature 0
PARAM_VALUE 2 bh->b_data->bg_size 0-u16max
PARAM_VALUE 2 bh->b_private 4096-ptr_max
PARAM_VALUE 2 bh->b_private->b_bh->b_folio->mapping->host->i_state.__state 0-4294967295
PARAM_VALUE 2 bh->b_private->b_state_lock.rlock.dep_map->name 0-255
PARAM_VALUE 3 type 0
BUF_SIZE 0 handle (-1)-s32max
BUF_SIZE 0 handle (-1)-s32max
BUF_SIZE 2 bh (-1)-s32max
BUF_SIZE 2 bh (-1)-s32max
CAPPED_DATA 0 handle 1
CAPPED_DATA 0 handle->h_transaction 1
CAPPED_DATA 2 bh 1
DATA_SOURCE 0 handle $0
DATA_SOURCE 2 bh $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &alloc_inode->i_rwsem
HALF_LOCKED2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/suballoc.c ocfs2_block_group_set_bits() -> ocfs2_journal_access_gd()

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->prev 5159360019465732096
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 3 type 1-2
BUF_SIZE 0 handle (-1)-s32max
BUF_SIZE 0 handle (-1)-s32max
CAPPED_DATA 0 handle 1
CAPPED_DATA 2 bh 1
DATA_SOURCE 0 handle $0
DATA_SOURCE 2 bh $3
FUZZY_MAX 3 type 2
STR_LEN 0 handle (-1)-0
STR_LEN 0 handle (-1)-0
HARD_MAX 3 type 2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &alloc_inode->i_rwsem
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &tl_inode->i_rwsem

fs/ocfs2/suballoc.c ocfs2_relink_block_group() -> ocfs2_journal_access_gd()

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 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
DATA_SOURCE 0 handle $0
DATA_SOURCE 2 bh $4
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &orphan_dir_inode->i_rwsem

fs/ocfs2/suballoc.c ocfs2_relink_block_group() -> ocfs2_journal_access_gd()

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.next 5159360019465732096
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 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->bg_bits 0-u16max
PARAM_VALUE 2 bh->b_data->bg_chain 0-u16max
PARAM_VALUE 2 bh->b_data->bg_check.bc_crc32e 0-4294967295
PARAM_VALUE 2 bh->b_data->bg_check.bc_ecc 0-u16max
PARAM_VALUE 2 bh->b_data->bg_check.bc_reserved1 0-u16max
PARAM_VALUE 2 bh->b_data->bg_contig_free_bits 0-u16max
PARAM_VALUE 2 bh->b_data->bg_free_bits_count 2-u16max
PARAM_VALUE 2 bh->b_data->bg_generation 0-4294967295
PARAM_VALUE 2 bh->b_data->bg_list.l_count 0-u16max
PARAM_VALUE 2 bh->b_data->bg_list.l_next_free_rec 0-u16max
PARAM_VALUE 2 bh->b_data->bg_list.l_reserved1 0-u16max
PARAM_VALUE 2 bh->b_data->bg_list.l_tree_depth 0-u16max
PARAM_VALUE 2 bh->b_data->bg_reserved1 0-u16max
PARAM_VALUE 2 bh->b_data->bg_size 0-u16max
PARAM_VALUE 2 bh->b_private->b_jcount s32min-s32max
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
DATA_SOURCE 2 bh $3
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &orphan_dir_inode->i_rwsem

fs/ocfs2/resize.c ocfs2_group_add() -> ocfs2_journal_access_gd()

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->bg_chain 0
PARAM_VALUE 2 bh->b_data->bg_check.bc_reserved1 0
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->bg_bits 1
CAPPED_DATA 2 bh->b_data->bg_free_bits_count 1
CAPPED_DATA 2 bh->b_data->bg_size 1
DATA_SOURCE 0 handle r ocfs2_start_trans
CAPABLE 0 24
LOCK2 &main_bm_inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/resize.c ocfs2_update_last_group_and_inode() -> ocfs2_journal_access_gd()

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 3 type 1
BUF_SIZE 0 handle (-1),1-s32max
BUF_SIZE 0 handle (-1),1-s32max
DATA_SOURCE 0 handle $0
DATA_SOURCE 2 bh $3
CAPABLE 0 24
LOCK2 &bm_inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem