Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

fs/cachefiles/namei.c cachefiles_bury_object() -> start_renaming_dentry()

Type Parameter Key Value
PARAM_VALUE 0 rd 7603096213106323456
PARAM_VALUE 0 rd->flags 0
PARAM_VALUE 0 rd->mnt_idmap 1531479832127729664
PARAM_VALUE 0 rd->new_dentry 0
PARAM_VALUE 0 rd->old_dentry 0
PARAM_VALUE 0 rd->old_parent 4096-ptr_max
PARAM_VALUE 1 lookup_flags 0
PARAM_VALUE 2 old_dentry 4096-ptr_max
PARAM_VALUE 2 old_dentry->d_alias->next->pprev 1-u64max
PARAM_VALUE 2 old_dentry->d_fsdata->active.counter s32min-s32max
PARAM_VALUE 2 old_dentry->d_fsdata->cancellations_mtx.magic 0
PARAM_VALUE 2 old_dentry->d_fsdata->d_flags 0-4294967295
PARAM_VALUE 2 old_dentry->d_fsdata->d_hash.pprev 0
PARAM_VALUE 2 old_dentry->d_fsdata->d_inode 0
PARAM_VALUE 2 old_dentry->d_fsdata->d_inode->__i_nlink 0-4294967295
PARAM_VALUE 2 old_dentry->d_fsdata->d_inode->i_atime_nsec 0-4294967295
PARAM_VALUE 2 old_dentry->d_fsdata->d_inode->i_blkbits 0-255
PARAM_VALUE 2 old_dentry->d_fsdata->d_inode->i_bytes 0-u16max
PARAM_VALUE 2 old_dentry->d_fsdata->d_inode->i_ctime_nsec 0-4294967295
PARAM_VALUE 2 old_dentry->d_fsdata->d_inode->i_dir_seq 0-4294967295
PARAM_VALUE 2 old_dentry->d_fsdata->d_inode->i_flags 0-4294967295
PARAM_VALUE 2 old_dentry->d_fsdata->d_inode->i_fsnotify_mask 0-4294967295
PARAM_VALUE 2 old_dentry->d_fsdata->d_inode->i_generation 0-4294967295
PARAM_VALUE 2 old_dentry->d_fsdata->d_inode->i_linklen s32min-s32max
PARAM_VALUE 2 old_dentry->d_fsdata->d_inode->i_mode 0-u16max
PARAM_VALUE 2 old_dentry->d_fsdata->d_inode->i_mtime_nsec 0-4294967295
PARAM_VALUE 2 old_dentry->d_fsdata->d_inode->i_nlink 0-4294967295
PARAM_VALUE 2 old_dentry->d_fsdata->d_inode->i_opflags 0-u16max
PARAM_VALUE 2 old_dentry->d_fsdata->d_inode->i_rdev 0-4294967295
PARAM_VALUE 2 old_dentry->d_fsdata->d_inode->i_wb_frn_avg_time 0-u16max
PARAM_VALUE 2 old_dentry->d_fsdata->d_inode->i_wb_frn_history 0-u16max
PARAM_VALUE 2 old_dentry->d_fsdata->d_inode->i_wb_frn_winner s32min-s32max
PARAM_VALUE 2 old_dentry->d_fsdata->d_inode->i_write_hint 0-4294967295
PARAM_VALUE 2 old_dentry->d_fsdata->d_lockref.count s32min-s32max
PARAM_VALUE 2 old_dentry->d_fsdata->d_parent->d_lockref.count s32min-s32max
PARAM_VALUE 2 old_dentry->d_fsdata->head.first 0
PARAM_VALUE 2 old_dentry->d_fsdata->kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 2 old_dentry->d_fsdata->lease_shared_gen 0
PARAM_VALUE 2 old_dentry->d_fsdata->management_timer.flags 0-4294967295
PARAM_VALUE 2 old_dentry->d_fsdata->owner->refcnt.counter 0-s32max
PARAM_VALUE 2 old_dentry->d_fsdata->ref.refs.counter s32min-s32max
PARAM_VALUE 2 old_dentry->d_fsdata->waiters 0
PARAM_VALUE 2 old_dentry->d_hash.next->pprev 4096-ptr_max
PARAM_VALUE 2 old_dentry->d_hash.pprev 0
PARAM_VALUE 2 old_dentry->d_inode 0
PARAM_VALUE 2 old_dentry->d_inode->i_lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 old_dentry->d_op->d_dname 0,4096-ptr_max
PARAM_VALUE 2 old_dentry->d_op->d_iput 0,4096-ptr_max
PARAM_VALUE 2 old_dentry->d_op->d_prune 0,4096-ptr_max
PARAM_VALUE 2 old_dentry->d_op->d_real 0,4096-ptr_max
PARAM_VALUE 2 old_dentry->d_parent 4096-ptr_max
PARAM_VALUE 2 old_dentry->d_parent->d_inode->i_rwsem.dep_map->name 0-255
PARAM_VALUE 2 old_dentry->d_parent->d_inode->i_rwsem.first_waiter->handoff_set 1
PARAM_VALUE 2 old_dentry->d_parent->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 2 old_dentry->d_parent->d_sb->__s_d_op->d_automount 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016
PARAM_VALUE 2 old_dentry->d_parent->d_sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 2 old_dentry->d_parent->d_sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 2 old_dentry->d_parent->d_sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 2 old_dentry->d_parent->d_sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 2 old_dentry->d_parent->d_sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 2 old_dentry->d_parent->d_sb->__s_d_op->d_unalias_trylock 0,6635409759016140800
PARAM_VALUE 2 old_dentry->d_parent->d_sb->__s_d_op->d_unalias_unlock 0,6336447517789900800
PARAM_VALUE 2 old_dentry->d_parent->d_sb->__s_d_op->d_weak_revalidate 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328
PARAM_VALUE 2 old_dentry->d_rcu.func 1-u64max
PARAM_VALUE 2 old_dentry->d_rcu.next 0
PARAM_VALUE 2 old_dentry->d_sb->__s_d_op->d_automount 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016
PARAM_VALUE 2 old_dentry->d_sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 2 old_dentry->d_sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 2 old_dentry->d_sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 2 old_dentry->d_sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 2 old_dentry->d_sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 2 old_dentry->d_sb->__s_d_op->d_unalias_trylock 0,6635409759016140800
PARAM_VALUE 2 old_dentry->d_sb->__s_d_op->d_unalias_unlock 0,6336447517789900800
PARAM_VALUE 2 old_dentry->d_sb->__s_d_op->d_weak_revalidate 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328
PARAM_VALUE 2 old_dentry->d_sb->s_fs_info->lookup_lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 old_dentry->d_sb->s_roots_lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 old_dentry->d_sib->next->pprev 1-u64max
PARAM_VALUE 2 old_dentry->waiters 0
PARAM_VALUE 2 *old_dentry->d_fsdata->d_fsdata (-4611686018427387904)-4611686018427387903
PARAM_VALUE 2 *old_dentry->d_fsdata->d_inode->i_sb->s_fs_info->nm_info->nat_root.xa_head (-4611686018427387904)-4611686018427387903
PARAM_VALUE 2 *old_dentry->d_fsdata->d_inode->i_sb->s_fs_info->s_first_error_func 0-255
PARAM_VALUE 2 *old_dentry->d_fsdata->d_inode->i_sb->s_fs_info->s_last_error_func 0-255
PARAM_VALUE 2 *old_dentry->d_inode->i_sb->s_fs_info->nm_info->nat_root.xa_head (-4611686018427387904)-4611686018427387903
PARAM_VALUE 2 *old_dentry->d_inode->i_sb->s_fs_info->page_eio_cnt s32min-s32max
PARAM_VALUE 3 new_last 4096-ptr_max
BUF_SIZE 2 old_dentry (-1),1-s32max
BUF_SIZE 2 old_dentry (-1),1-s32max
CAPPED_DATA 2 old_dentry 1
CAPPED_DATA 2 old_dentry->d_parent 1
DATA_SOURCE 2 old_dentry $3
HALF_LOCKED2 &cache->daemon_mutex
HALF_LOCKED2 &cache->store->d_inode->i_rwsem
HALF_LOCKED2 &dir->d_inode->i_rwsem
HALF_LOCKED2 &pool->lock

fs/overlayfs/copy_up.c ovl_copy_up_workdir() -> start_renaming_dentry()

Type Parameter Key Value
PARAM_VALUE 0 rd 3885171864486862848
PARAM_VALUE 0 rd->flags 0
PARAM_VALUE 0 rd->new_dentry 0
PARAM_VALUE 0 rd->old_dentry 0
PARAM_VALUE 1 lookup_flags 0
PARAM_VALUE 2 old_dentry 4096-ptr_max
PARAM_VALUE 3 new_last 4096-ptr_max
BUF_SIZE 2 old_dentry (-1),1-s32max
BUF_SIZE 2 old_dentry (-1),1-s32max
DATA_SOURCE 2 old_dentry r ovl_create_temp
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dentry->d_lockref.lock

fs/overlayfs/copy_up.c ovl_create_index() -> start_renaming_dentry()

Type Parameter Key Value
PARAM_VALUE 0 rd 4492916459052322816
PARAM_VALUE 0 rd->flags 0
PARAM_VALUE 0 rd->new_dentry 0
PARAM_VALUE 0 rd->old_dentry 0
PARAM_VALUE 1 lookup_flags 0
PARAM_VALUE 2 old_dentry 4096-ptr_max
PARAM_VALUE 2 old_dentry->d_inode->i_flctx->flc_lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 old_dentry->d_inode->i_fsnotify_marks 0
PARAM_VALUE 2 old_dentry->d_inode->i_op 0-1144202292485988351,1144202292485988353-u64max
PARAM_VALUE 2 old_dentry->d_inode->i_rwsem.dep_map->name 0-255
PARAM_VALUE 2 old_dentry->d_inode->i_rwsem.first_waiter->handoff_set 1
PARAM_VALUE 2 old_dentry->d_inode->i_rwsem.first_waiter->list.next 2624917664208203776
PARAM_VALUE 2 old_dentry->d_inode->i_rwsem.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 2 old_dentry->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 2 old_dentry->d_inode->i_sb->s_cop->inode_info_offs 1632,1808,2632,2648
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->active.counter s32min-s32max
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_flags 0-4294967295
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->__i_nlink 0-4294967295
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->i_acl->a_refcount.refs.counter s32min-s32max
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->i_atime_nsec 0-4294967295
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->i_blkbits 0-255
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->i_bytes 0-u16max
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->i_ctime_nsec 0-4294967295
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->i_data.nr_thps.counter s32min-s32max
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->i_default_acl->a_refcount.refs.counter s32min-s32max
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->i_dir_seq 0-4294967295
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->i_flags 0-4294967295
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->i_fsnotify_mask 0-4294967295
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->i_generation 0-4294967295
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->i_linklen s32min-s32max
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->i_mode 0-u16max
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->i_mtime_nsec 0-4294967295
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->i_nlink 0-4294967295
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->i_opflags 0-u16max
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->i_private->id 0-4294967295
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->i_private->rcu.flags 0-4294967295
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->i_private->rcu.is_hard 0-1
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->i_private->rcu.is_lazy 0-1
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->i_private->rcu.is_queued 0-1
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->i_private->rcu.is_soft 0-1
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->i_private->work.flags 0-4294967295
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->i_private->work.is_hard 0-1
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->i_private->work.is_lazy 0-1
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->i_private->work.is_queued 0-1
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->i_private->work.is_soft 0-1
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->i_rdev 0-4294967295
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->i_sb->s_fs_info->xa_cache.ht->nelems.counter s32min-s32max
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->i_sb->s_fs_info->xa_cache.ht->tbl->hash_rnd 0-4294967295
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->i_sb->s_fs_info->xa_cache.ht->tbl->nest 0-4294967295
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->i_sb->s_fs_info->xa_cache.ht->tbl->size 0-4294967295
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->i_security->flags 0-4294967295
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->i_security->is_hard 0-1
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->i_security->is_lazy 0-1
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->i_security->is_queued 0-1
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->i_security->is_soft 0-1
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->i_wb->dwork.timer.is_hard 0-1
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->i_wb->dwork.timer.is_lazy 0-1
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->i_wb->dwork.timer.is_queued 0-1
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->i_wb->dwork.timer.is_soft 0-1
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->i_wb->dwork.work.flags 0-4294967295
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->i_wb->dwork.work.is_hard 0-1
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->i_wb->dwork.work.is_lazy 0-1
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->i_wb->dwork.work.is_queued 0-1
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->i_wb->dwork.work.is_soft 0-1
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->i_wb_frn_avg_time 0-u16max
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->i_wb_frn_history 0-u16max
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->i_wb_frn_winner s32min-s32max
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_inode->i_write_hint 0-4294967295
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->d_lockref.count s32min-s32max
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->data->ref.refs.counter s32min-s32max
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->management_timer.flags 0-4294967295
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->management_timer.is_hard 0-1
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->management_timer.is_lazy 0-1
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->management_timer.is_queued 0-1
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->management_timer.is_soft 0-1
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->owner->refcnt.counter 0-s32max
PARAM_VALUE 2 old_dentry->d_parent->d_fsdata->ref.refs.counter s32min-s32max
PARAM_VALUE 2 old_dentry->d_parent->d_hash.next->pprev 4096-ptr_max
PARAM_VALUE 2 *old_dentry->d_parent->d_alias.next->pprev 1-u64max
PARAM_VALUE 2 *old_dentry->d_parent->d_fsdata->d_fsdata (-4611686018427387904)-4611686018427387903
PARAM_VALUE 2 *old_dentry->d_parent->d_fsdata->lease_session->s_auth.authorizer->session_key.key (-4611686018427387904)-4611686018427387903
PARAM_VALUE 2 *old_dentry->d_parent->d_inode->i_hash.next->pprev 1-u64max
PARAM_VALUE 2 *old_dentry->d_parent->d_inode->i_sb->s_fs_info->nm_info->nat_root.xa_head (-4611686018427387904)-4611686018427387903
PARAM_VALUE 3 new_last 652650994032353280
BUF_SIZE 2 old_dentry (-1),1-s32max
BUF_SIZE 2 old_dentry (-1),1-s32max
CAPPED_DATA 2 old_dentry 1
DATA_SOURCE 2 old_dentry r ovl_create_temp
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dentry->d_lockref.lock

fs/overlayfs/super.c ovl_check_rename_whiteout() -> start_renaming_dentry()

Type Parameter Key Value
PARAM_VALUE 0 rd 4064197765444001792
PARAM_VALUE 0 rd->flags 4
PARAM_VALUE 0 rd->new_dentry 0
PARAM_VALUE 0 rd->new_parent 4096-ptr_max
PARAM_VALUE 0 rd->old_dentry 0
PARAM_VALUE 0 rd->old_parent 4096-ptr_max
PARAM_VALUE 1 lookup_flags 0
PARAM_VALUE 2 old_dentry 4096-ptr_max
PARAM_VALUE 3 new_last 4096-ptr_max
BUF_SIZE 2 old_dentry (-1),1-s32max
BUF_SIZE 2 old_dentry (-1),1-s32max
DATA_SOURCE 2 old_dentry r ovl_create_temp
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 old_dentry->d_inode->i_size (-9223372036854775807)-(-4),0-s64max
HALF_LOCKED2 &fc->uapi_mutex
HALF_LOCKED2 &sb->s_umount

fs/smb/server/vfs.c ksmbd_vfs_rename() -> start_renaming_dentry()

Type Parameter Key Value
PARAM_VALUE 0 rd 1289377469132476416
PARAM_VALUE 0 rd->flags 0-1
PARAM_VALUE 0 rd->old_parent 0
PARAM_VALUE 1 lookup_flags 16777216,16777344
PARAM_VALUE 2 old_dentry->d_op->d_iput 0,4096-ptr_max
PARAM_VALUE 2 old_dentry->d_op->d_prune 0,4096-ptr_max
PARAM_VALUE 2 old_dentry->d_op->d_real 0,4096-ptr_max
PARAM_VALUE 2 old_dentry->d_parent->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 2 old_dentry->d_parent->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 3 new_last 343076089070972928
FUZZY_MAX 1 lookup_flags 16777216
BIT_INFO 1 lookup_flags 0x1000000,0x1000080
LOCK2 &pool->lock