Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/ocfs2/namei.c ocfs2_link() -> ocfs2_add_entry()

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_abort_mutex.first_waiter->task->blocked_on 0
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_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_superblock->s_errno 0-4294967187,4294967189-u32max
PARAM_VALUE 1 dentry 4096-ptr_max
PARAM_VALUE 1 dentry->d_inode 0
PARAM_VALUE 1 dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 1 dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 1 dentry->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 1 dentry->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 1 dentry->d_parent->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 1 dentry->d_parent->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 2 inode 4096-ptr_max
PARAM_VALUE 2 inode->i_sb 4096-ptr_max
PARAM_VALUE 4 parent_fe_bh 1-u64max
PARAM_VALUE 5 lookup 5814776200574484480
BUF_SIZE 0 handle (-1),1-s32max
BUF_SIZE 0 handle (-1),1-s32max
BUF_SIZE 1 dentry (-1),1-s32max
BUF_SIZE 1 dentry (-1),1-s32max
CAPPED_DATA 0 handle->h_transaction 1
CAPPED_DATA 2 inode->i_sb->s_time_max 1
DATA_SOURCE 0 handle r ocfs2_start_trans
DATA_SOURCE 1 dentry $2
PARAM_COMPARE 2 inode->i_sb->s_time_max >= $2->i_sb->s_time_min
RX_PATH
TASK_NOT_RUNNING
UNITS 3 blkno unit_byte
LOCK2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/namei.c ocfs2_mv_orphaned_inode_to_new() -> ocfs2_add_entry()

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_abort_mutex.first_waiter->task->blocked_on 0
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_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.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_state_lock.raw_lock.cnts.counter 0-s32max
PARAM_VALUE 0 handle->h_transaction->t_journal->j_state_lock.raw_lock.wlocked 0
PARAM_VALUE 0 handle->h_transaction->t_journal->j_superblock->s_errno 0-4294967187,4294967189-u32max
PARAM_VALUE 1 dentry 4096-ptr_max
PARAM_VALUE 1 dentry->d_inode 0
PARAM_VALUE 2 inode 4096-ptr_max
PARAM_VALUE 2 inode->dirtied_when 0
PARAM_VALUE 2 inode->free_inode 969555570071666688,1043220274440278016,1666922238075551744,3997674223337074688,5136016008750800896,8212791493360840704,8419817925873025024,8974172554605899776
PARAM_VALUE 2 inode->i_acl (-1)
PARAM_VALUE 2 inode->i_bytes 0-65023
PARAM_VALUE 2 inode->i_cdev 0
PARAM_VALUE 2 inode->i_count.counter 1
PARAM_VALUE 2 inode->i_data.a_ops 8032838596130566144
PARAM_VALUE 2 inode->i_data.flags 0
PARAM_VALUE 2 inode->i_data.gfp_mask 1051850
PARAM_VALUE 2 inode->i_data.host->i_sb->s_export_op->encode_fh 0,2,1398972869330624512,1616549510479982592,2037984473558433792
PARAM_VALUE 2 inode->i_data.host->i_sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864
PARAM_VALUE 2 inode->i_data.host->i_sb->s_export_op->fh_to_parent 0,5297,148606482432692224,436469935444291584,467281172929331200
PARAM_VALUE 2 inode->i_data.host->i_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896
PARAM_VALUE 2 inode->i_data.wb_err 0
PARAM_VALUE 2 inode->i_data.writeback_index 0
PARAM_VALUE 2 inode->i_default_acl (-1)
PARAM_VALUE 2 inode->i_dio_count.counter 0
PARAM_VALUE 2 inode->i_dir_seq 0
PARAM_VALUE 2 inode->i_flags 0
PARAM_VALUE 2 inode->i_flctx 0
PARAM_VALUE 2 inode->i_fop 969555570071666688,1043220274440278016,1666922238075551744,3997674223337074688,5136016008750800896,8212791493360840704,8419817925873025024,8974172554605899776
PARAM_VALUE 2 inode->i_fsnotify_mask 0
PARAM_VALUE 2 inode->i_link 0
PARAM_VALUE 2 inode->i_lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864
PARAM_VALUE 2 inode->i_mapping->host->i_sb->s_export_op->fh_to_parent 0,4672,148606482432692224,436469935444291584,457356038048772096
PARAM_VALUE 2 inode->i_op 815131705843052544,2990038710592217088,3677560588157521920,7045498244020637696,8888400814819930112
PARAM_VALUE 2 inode->i_op->atomic_open 0,4096-ptr_max
PARAM_VALUE 2 inode->i_op->create 0,4096-ptr_max
PARAM_VALUE 2 inode->i_op->fiemap 0,4096-ptr_max
PARAM_VALUE 2 inode->i_op->fileattr_get 0,4096-ptr_max
PARAM_VALUE 2 inode->i_op->fileattr_set 0,4096-ptr_max
PARAM_VALUE 2 inode->i_op->get_acl 0,4096-ptr_max
PARAM_VALUE 2 inode->i_op->get_inode_acl 0,4096-ptr_max
PARAM_VALUE 2 inode->i_op->get_link 0,4096-ptr_max
PARAM_VALUE 2 inode->i_op->get_offset_ctx 0,4096-ptr_max
PARAM_VALUE 2 inode->i_op->getattr 0,4096-ptr_max
PARAM_VALUE 2 inode->i_op->link 0,4096-ptr_max
PARAM_VALUE 2 inode->i_op->listxattr 0,4096-ptr_max
PARAM_VALUE 2 inode->i_op->lookup 0,4096-ptr_max
PARAM_VALUE 2 inode->i_op->mkdir 0,4096-ptr_max
PARAM_VALUE 2 inode->i_op->mknod 0,4096-ptr_max
PARAM_VALUE 2 inode->i_op->permission 0,4096-ptr_max
PARAM_VALUE 2 inode->i_op->readlink 0,1728600404483375104,2832489546165891072,2874824064778891264,3069732422725099520,4516337085607264256
PARAM_VALUE 2 inode->i_op->rename 0,4096-ptr_max
PARAM_VALUE 2 inode->i_op->rmdir 0,4096-ptr_max
PARAM_VALUE 2 inode->i_op->set_acl 0,4096-ptr_max
PARAM_VALUE 2 inode->i_op->setattr 0,4096-ptr_max
PARAM_VALUE 2 inode->i_op->symlink 0,4096-ptr_max
PARAM_VALUE 2 inode->i_op->sync_lazytime 0,4096-ptr_max
PARAM_VALUE 2 inode->i_op->tmpfile 0,4096-ptr_max
PARAM_VALUE 2 inode->i_op->unlink 0,4096-ptr_max
PARAM_VALUE 2 inode->i_op->update_time 0,4096-ptr_max
PARAM_VALUE 2 inode->i_opflags 0,8,32,40
PARAM_VALUE 2 inode->i_pipe 0
PARAM_VALUE 2 inode->i_private 0
PARAM_VALUE 2 inode->i_rdev 0
PARAM_VALUE 2 inode->i_rwsem.dep_map->name 0-255
PARAM_VALUE 2 inode->i_rwsem.first_waiter->handoff_set 1
PARAM_VALUE 2 inode->i_rwsem.first_waiter->list.next 2624917664208203776
PARAM_VALUE 2 inode->i_rwsem.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 2 inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 2 inode->i_sb->s_cop->empty_dir 0,86,661756434209751040,4392966320616476672,5234023279986843648
PARAM_VALUE 2 inode->i_sb->s_cop->get_context 0,706,17350455714160640,4513809449498124288,5149251875611672576
PARAM_VALUE 2 inode->i_sb->s_cop->inode_info_offs 1632,1808,2632,2648
PARAM_VALUE 2 inode->i_sb->s_cop->set_context 0,67,317457138841939968,3250154607523569664,5979066299606671360
PARAM_VALUE 2 inode->i_sb->s_export_op->encode_fh 0,2,1398972869330624512,1616549510479982592,2037984473558433792
PARAM_VALUE 2 inode->i_sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864
PARAM_VALUE 2 inode->i_sb->s_export_op->fh_to_parent 0,5297,148606482432692224,436469935444291584,467281172929331200
PARAM_VALUE 2 inode->i_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896
PARAM_VALUE 2 inode->i_sb->s_fs_info->alloc_stats.bg_extends.counter s32min-s32max
PARAM_VALUE 2 inode->i_sb->s_fs_info->alloc_stats.moves.counter s32min-s32max
PARAM_VALUE 2 inode->i_sb->s_fs_info->journal->j_num_trans.counter s32min-s32max
PARAM_VALUE 2 inode->i_sb->s_fs_info->journal->j_trans_barrier.first_waiter->handoff_set 0-1
PARAM_VALUE 2 inode->i_sb->s_fs_info->journal->j_trans_barrier.first_waiter->list.next 2212933610777083904
PARAM_VALUE 2 inode->i_sb->s_fs_info->journal->j_trans_barrier.first_waiter->type 0-1
PARAM_VALUE 2 inode->i_sb->s_fs_info->la_enable_wq.cpu s32min-s32max
PARAM_VALUE 2 inode->i_sb->s_fs_info->la_enable_wq.timer.flags 0-4294967295
PARAM_VALUE 2 inode->i_sb->s_fs_info->la_enable_wq.wq->dfl_pwq 0-s64max
PARAM_VALUE 2 inode->i_sb->s_fs_info->la_enable_wq.wq->saved_max_active s32min-s32max
PARAM_VALUE 2 inode->i_sb->s_fs_info->la_enable_wq.wq->saved_min_active s32min-s32max
PARAM_VALUE 2 inode->i_sb->s_fs_info->local_alloc_bh->b_count.counter s32min-s32max
PARAM_VALUE 2 inode->i_sb->s_fs_info->local_alloc_bh->b_private->b_jcount s32min-s32max
PARAM_VALUE 2 inode->i_sb->s_fs_info->local_alloc_bits 0-4294967295
PARAM_VALUE 2 inode->i_sb->s_fs_info->local_alloc_state 0-4294967295
PARAM_VALUE 2 inode->i_sb->s_fs_info->osb_la_resmap.m_bitmap_len 0-4294967295
PARAM_VALUE 2 inode->i_sb->s_fs_info->osb_tl_bh->b_count.counter s32min-s32max
PARAM_VALUE 2 inode->i_sb->s_fs_info->osb_tl_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 2 inode->i_sb->s_fs_info->osb_tl_inode->i_rwsem.first_waiter->list.next 2624917664208203776
PARAM_VALUE 2 inode->i_sb->s_fs_info->osb_tl_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 2 inode->i_sb->s_fs_info->s_inode_steal_slot 0-u16max
PARAM_VALUE 2 inode->i_sb->s_fs_info->s_meta_steal_slot 0-u16max
PARAM_VALUE 2 inode->i_sb->s_fs_info->s_num_meta_stolen.counter s32min-s32max
PARAM_VALUE 2 inode->i_sb->s_fs_info->sb->s_blocksize_bits 0-255
PARAM_VALUE 2 inode->i_sb->s_fs_info->sys_root_inode->i_atime_nsec 0-4294967295
PARAM_VALUE 2 inode->i_sb->s_fs_info->sys_root_inode->i_ctime_nsec 0-4294967295
PARAM_VALUE 2 inode->i_sb->s_fs_info->sys_root_inode->i_mode 0-u16max
PARAM_VALUE 2 inode->i_sb->s_fs_info->sys_root_inode->i_mtime_nsec 0-4294967295
PARAM_VALUE 2 inode->i_sb->s_fs_info->sys_root_inode->i_op->readlink 0,1728600404483375104,2832489546165891072,2874824064778891264,3069732422725099520,4516337085607264256
PARAM_VALUE 2 inode->i_sb->s_fs_info->sys_root_inode->i_opflags 0-u16max
PARAM_VALUE 2 inode->i_sb->s_fs_info->system_file_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 2 inode->i_sb->s_fs_info->system_file_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 2 inode->i_sb->s_fs_info->system_file_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 2 inode->i_sb->s_fs_info->system_file_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 2 inode->i_sb->s_fs_info->system_file_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 2 inode->i_sb->s_fs_info->truncated_clusters 0-4294967295
PARAM_VALUE 2 inode->i_security 0
PARAM_VALUE 2 inode->i_sequence.counter 0
PARAM_VALUE 2 inode->i_state.__state 0
PARAM_VALUE 2 inode->i_wb_frn_avg_time 0
PARAM_VALUE 2 inode->i_wb_frn_history 0
PARAM_VALUE 2 inode->i_wb_frn_winner 0
PARAM_VALUE 2 inode->i_write_hint 0
PARAM_VALUE 2 inode->i_writecount.counter 0
PARAM_VALUE 2 *inode->i_sb->s_fs_info->local_alloc_bh->b_data 0-255
PARAM_VALUE 2 *inode->i_sb->s_fs_info->local_alloc_bh->b_private (-4611686018427387904)-4611686018427387903
PARAM_VALUE 2 *inode->i_sb->s_fs_info->osb_la_resmap.m_disk_bitmap 0-255
PARAM_VALUE 2 *inode->i_sb->s_fs_info->osb_tl_bh->b_data 0-255
PARAM_VALUE 2 *inode->i_sb->s_fs_info->osb_tl_bh->b_private (-4611686018427387904)-4611686018427387903
PARAM_VALUE 4 parent_fe_bh 4096-ptr_max
PARAM_VALUE 4 parent_fe_bh->b_data->i_links_count 1-u16max
PARAM_VALUE 5 lookup 4107464402564108288
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 r ocfs2_start_trans
DATA_SOURCE 1 dentry $2
DATA_SOURCE 2 inode $1
NO_OVERFLOW_SIMPLE 2 inode->i_blkbits
NO_OVERFLOW_SIMPLE 2 inode->i_bytes
UNITS 3 blkno unit_byte
LOCK2 &inode->i_rwsem
LOCK2 &orphan_dir_inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem