Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/ocfs2/namei.c __ocfs2_prepare_orphan_dir() -> ocfs2_prepare_dir_for_insert()

Type Parameter Key Value
PARAM_VALUE 1 dir 4096-ptr_max
PARAM_VALUE 1 dir->i_rwsem.osq.tail.counter 0-s32max
PARAM_VALUE 1 dir->i_sb 4096-ptr_max
PARAM_VALUE 3 name 2299714276761325568,4057619274547458048,6624615875181420544
PARAM_VALUE 4 namelen 16,20
PARAM_VALUE 5 lookup 2832002643498708992,5957395524211900416,6148344443938562048
PARAM_VALUE 5 lookup->dl_dx_leaf_bh 0
PARAM_VALUE 5 lookup->dl_dx_root_bh 0
PARAM_VALUE 5 lookup->dl_entry 0
PARAM_VALUE 5 lookup->dl_hinfo.major_hash 0
PARAM_VALUE 5 lookup->dl_hinfo.minor_hash 0
PARAM_VALUE 5 lookup->dl_leaf_bh 0
PARAM_VALUE 5 lookup->dl_prev_leaf_bh 0
BUF_SIZE 0 osb 1-s32max
BUF_SIZE 0 osb 1-s32max
BUF_SIZE 3 name 17,21
BUF_SIZE 3 name 17,21
DATA_SOURCE 1 dir $0
DATA_SOURCE 2 parent_fe_bh $1
DATA_SOURCE 3 name $3
DATA_SOURCE 5 lookup $4
FUZZY_MAX 4 namelen 20
STR_LEN 0 osb (-1),4
STR_LEN 3 name (-1),4
BIT_INFO 4 namelen 0x10,0x14
HARD_MAX 4 namelen 20
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 dir->i_size
UNITS 0 osb unit_byte
LOCK2 &orphan_dir_inode->i_rwsem
HALF_LOCKED2 &inode->i_rwsem

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

Type Parameter Key Value
PARAM_VALUE 1 dir 4096-ptr_max
PARAM_VALUE 1 dir->i_flctx->flc_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 dir->i_fop->compat_ioctl 0,695240133377245184,3064490898378256384,8277073810606530560
PARAM_VALUE 1 dir->i_fop->fallocate 0,1357960504741019648,5451898604316704768,7294833795076796416
PARAM_VALUE 1 dir->i_fop->fasync 0,5498812003250176
PARAM_VALUE 1 dir->i_fop->flock 0,5107323284942163968
PARAM_VALUE 1 dir->i_fop->fop_flags 0-1,3,64
PARAM_VALUE 1 dir->i_fop->fsync 0,1222922547194068992,3027818812235636736,8217954597197033472
PARAM_VALUE 1 dir->i_fop->get_unmapped_area 0,124971230114684928
PARAM_VALUE 1 dir->i_fop->iopoll 0,4655420991112224768
PARAM_VALUE 1 dir->i_fop->iterate_shared 0,6386994525150380032,8243451648225181696
PARAM_VALUE 1 dir->i_fop->llseek 0,492277767372734464,822347878553698304,5746216189559357440,6546627043791368192,8118194047052775424,8973132240956821504
PARAM_VALUE 1 dir->i_fop->lock 0,957067876168839168
PARAM_VALUE 1 dir->i_fop->mmap_prepare 0,6570010784732049408,6885435863193137152,8278006848728551424
PARAM_VALUE 1 dir->i_fop->open 4096-ptr_max
PARAM_VALUE 1 dir->i_fop->poll 0,3382901614843973632
PARAM_VALUE 1 dir->i_fop->read 0,1706536041323986944
PARAM_VALUE 1 dir->i_fop->read_iter 0,1361316500034015232,2240186942504972288,4899218341707628544,8127867626404999168
PARAM_VALUE 1 dir->i_fop->release 0,2353999083462864896,3782443451574296576,5408471863795695616,6016719737812197376,8602616464973426688
PARAM_VALUE 1 dir->i_fop->remap_file_range 0,1796676283846889472,8958472544276660224
PARAM_VALUE 1 dir->i_fop->setlease 0,8029451603284156416
PARAM_VALUE 1 dir->i_fop->splice_read 0,1218082698985836544,7349024233072300032,8186755288665538560
PARAM_VALUE 1 dir->i_fop->splice_write 0,3145220535271485440
PARAM_VALUE 1 dir->i_fop->unlocked_ioctl 0,865619370521538560,1267359996887056384,5007980196533522432,6849614532843819008
PARAM_VALUE 1 dir->i_fop->uring_cmd 0,1098803881749745664,5186034168622989312
PARAM_VALUE 1 dir->i_fop->write_iter 0,2598072610032832512,5042835639063556096,7989474787723927552,8526717696347947008
PARAM_VALUE 1 dir->i_nlink 1-u32max
PARAM_VALUE 1 dir->i_op->atomic_open 0,4096-ptr_max
PARAM_VALUE 1 dir->i_op->create 0,4096-ptr_max
PARAM_VALUE 1 dir->i_op->fiemap 0,4096-ptr_max
PARAM_VALUE 1 dir->i_op->fileattr_get 0,4096-ptr_max
PARAM_VALUE 1 dir->i_op->fileattr_set 0,4096-ptr_max
PARAM_VALUE 1 dir->i_op->get_acl 0,4096-ptr_max
PARAM_VALUE 1 dir->i_op->get_inode_acl 0,4096-ptr_max
PARAM_VALUE 1 dir->i_op->get_link 0,4096-ptr_max
PARAM_VALUE 1 dir->i_op->get_offset_ctx 0,4096-ptr_max
PARAM_VALUE 1 dir->i_op->getattr 0,4096-ptr_max
PARAM_VALUE 1 dir->i_op->link 0,4096-ptr_max
PARAM_VALUE 1 dir->i_op->listxattr 0,4096-ptr_max
PARAM_VALUE 1 dir->i_op->lookup 0,4096-ptr_max
PARAM_VALUE 1 dir->i_op->mkdir 0,4096-ptr_max
PARAM_VALUE 1 dir->i_op->mknod 0,4096-ptr_max
PARAM_VALUE 1 dir->i_op->permission 0,4096-ptr_max
PARAM_VALUE 1 dir->i_op->readlink 0,1728600404483375104,2832489546165891072,2874824064778891264,3069732422725099520,4516337085607264256
PARAM_VALUE 1 dir->i_op->rename 0,4096-ptr_max
PARAM_VALUE 1 dir->i_op->rmdir 0,4096-ptr_max
PARAM_VALUE 1 dir->i_op->set_acl 0,4096-ptr_max
PARAM_VALUE 1 dir->i_op->setattr 0,4096-ptr_max
PARAM_VALUE 1 dir->i_op->symlink 0,4096-ptr_max
PARAM_VALUE 1 dir->i_op->sync_lazytime 0,4096-ptr_max
PARAM_VALUE 1 dir->i_op->tmpfile 0,4096-ptr_max
PARAM_VALUE 1 dir->i_op->unlink 0,4096-ptr_max
PARAM_VALUE 1 dir->i_op->update_time 0,4096-ptr_max
PARAM_VALUE 1 dir->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 1 dir->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 1 dir->i_sb 4096-ptr_max
PARAM_VALUE 1 dir->i_sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648
PARAM_VALUE 2 parent_fe_bh 1-u64max
PARAM_VALUE 5 lookup 5814776200574484480
PARAM_VALUE 5 lookup->dl_dx_leaf_bh 0
PARAM_VALUE 5 lookup->dl_dx_root_bh 0
PARAM_VALUE 5 lookup->dl_entry 0
PARAM_VALUE 5 lookup->dl_hinfo.major_hash 0
PARAM_VALUE 5 lookup->dl_hinfo.minor_hash 0
PARAM_VALUE 5 lookup->dl_leaf_bh 0
PARAM_VALUE 5 lookup->dl_prev_leaf_bh 0
BUF_SIZE 0 osb 1-s32max
BUF_SIZE 0 osb 1-s32max
BUF_SIZE 3 name s32min-(-2),1-s32max
CAPPED_DATA 1 dir->i_sb 1
CAPPED_DATA 1 dir->i_sb->s_user_ns->gid_map.nr_extents 1
CAPPED_DATA 1 dir->i_sb->s_user_ns->uid_map.nr_extents 1
DATA_SOURCE 1 dir $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 dir->i_mode 0-u16max
USER_DATA 1 dir->i_size (-9223372036854775807)-(-4),0-s64max
UNITS 0 osb unit_byte
UNITS 3 name unit_byte
UNITS 4 namelen 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_prepare_dir_for_insert()

Type Parameter Key Value
PARAM_VALUE 1 dir 4096-ptr_max
PARAM_VALUE 1 dir->i_fop->compat_ioctl 0,695240133377245184,3064490898378256384,8277073810606530560
PARAM_VALUE 1 dir->i_fop->fallocate 0,1357960504741019648,5451898604316704768,7294833795076796416
PARAM_VALUE 1 dir->i_fop->fasync 0,5498812003250176
PARAM_VALUE 1 dir->i_fop->flock 0,5107323284942163968
PARAM_VALUE 1 dir->i_fop->fop_flags 0-1,3,64
PARAM_VALUE 1 dir->i_fop->fsync 0,1222922547194068992,3027818812235636736,8217954597197033472
PARAM_VALUE 1 dir->i_fop->get_unmapped_area 0,124971230114684928
PARAM_VALUE 1 dir->i_fop->iopoll 0,4655420991112224768
PARAM_VALUE 1 dir->i_fop->iterate_shared 0,6386994525150380032,8243451648225181696
PARAM_VALUE 1 dir->i_fop->llseek 0,492277767372734464,822347878553698304,5746216189559357440,6546627043791368192,8118194047052775424,8973132240956821504
PARAM_VALUE 1 dir->i_fop->lock 0,957067876168839168
PARAM_VALUE 1 dir->i_fop->mmap_prepare 0,6570010784732049408,6885435863193137152,8278006848728551424
PARAM_VALUE 1 dir->i_fop->open 4096-ptr_max
PARAM_VALUE 1 dir->i_fop->poll 0,3382901614843973632
PARAM_VALUE 1 dir->i_fop->read 0,1706536041323986944
PARAM_VALUE 1 dir->i_fop->read_iter 0,1361316500034015232,2240186942504972288,4899218341707628544,8127867626404999168
PARAM_VALUE 1 dir->i_fop->release 0,2353999083462864896,3782443451574296576,5408471863795695616,6016719737812197376,8602616464973426688
PARAM_VALUE 1 dir->i_fop->remap_file_range 0,1796676283846889472,8958472544276660224
PARAM_VALUE 1 dir->i_fop->setlease 0,8029451603284156416
PARAM_VALUE 1 dir->i_fop->splice_read 0,1218082698985836544,7349024233072300032,8186755288665538560
PARAM_VALUE 1 dir->i_fop->splice_write 0,3145220535271485440
PARAM_VALUE 1 dir->i_fop->unlocked_ioctl 0,865619370521538560,1267359996887056384,5007980196533522432,6849614532843819008
PARAM_VALUE 1 dir->i_fop->uring_cmd 0,1098803881749745664,5186034168622989312
PARAM_VALUE 1 dir->i_fop->write_iter 0,2598072610032832512,5042835639063556096,7989474787723927552,8526717696347947008
PARAM_VALUE 1 dir->i_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 dir->i_mapping->host->i_sb->s_export_op->fh_to_parent 0,4672,148606482432692224,436469935444291584,457356038048772096
PARAM_VALUE 1 dir->i_op->atomic_open 0,4096-ptr_max
PARAM_VALUE 1 dir->i_op->create 0,4096-ptr_max
PARAM_VALUE 1 dir->i_op->fiemap 0,4096-ptr_max
PARAM_VALUE 1 dir->i_op->fileattr_get 0,4096-ptr_max
PARAM_VALUE 1 dir->i_op->fileattr_set 0,4096-ptr_max
PARAM_VALUE 1 dir->i_op->get_acl 0,4096-ptr_max
PARAM_VALUE 1 dir->i_op->get_inode_acl 0,4096-ptr_max
PARAM_VALUE 1 dir->i_op->get_link 0,4096-ptr_max
PARAM_VALUE 1 dir->i_op->get_offset_ctx 0,4096-ptr_max
PARAM_VALUE 1 dir->i_op->getattr 0,4096-ptr_max
PARAM_VALUE 1 dir->i_op->link 0,4096-ptr_max
PARAM_VALUE 1 dir->i_op->listxattr 0,4096-ptr_max
PARAM_VALUE 1 dir->i_op->lookup 0,4096-ptr_max
PARAM_VALUE 1 dir->i_op->mkdir 0,4096-ptr_max
PARAM_VALUE 1 dir->i_op->mknod 0,4096-ptr_max
PARAM_VALUE 1 dir->i_op->permission 0,4096-ptr_max
PARAM_VALUE 1 dir->i_op->readlink 0,1728600404483375104,2832489546165891072,2874824064778891264,3069732422725099520,4516337085607264256
PARAM_VALUE 1 dir->i_op->rename 0,4096-ptr_max
PARAM_VALUE 1 dir->i_op->rmdir 0,4096-ptr_max
PARAM_VALUE 1 dir->i_op->set_acl 0,4096-ptr_max
PARAM_VALUE 1 dir->i_op->setattr 0,4096-ptr_max
PARAM_VALUE 1 dir->i_op->symlink 0,4096-ptr_max
PARAM_VALUE 1 dir->i_op->sync_lazytime 0,4096-ptr_max
PARAM_VALUE 1 dir->i_op->tmpfile 0,4096-ptr_max
PARAM_VALUE 1 dir->i_op->unlink 0,4096-ptr_max
PARAM_VALUE 1 dir->i_op->update_time 0,4096-ptr_max
PARAM_VALUE 1 dir->i_sb 4096-ptr_max
PARAM_VALUE 1 dir->i_sb->s_export_op->encode_fh 0,2,1398972869330624512,1616549510479982592,2037984473558433792
PARAM_VALUE 2 parent_fe_bh 4096-ptr_max
PARAM_VALUE 2 parent_fe_bh->b_data 4096-ptr_max
PARAM_VALUE 2 parent_fe_bh->b_data->i_links_count 1-u16max
PARAM_VALUE 5 lookup 4107464402564108288
PARAM_VALUE 5 lookup->dl_dx_leaf_bh 0
PARAM_VALUE 5 lookup->dl_dx_root_bh 0
PARAM_VALUE 5 lookup->dl_entry 0
PARAM_VALUE 5 lookup->dl_hinfo.major_hash 0
PARAM_VALUE 5 lookup->dl_hinfo.minor_hash 0
PARAM_VALUE 5 lookup->dl_leaf_bh 0
PARAM_VALUE 5 lookup->dl_prev_leaf_bh 0
BUF_SIZE 0 osb 1-s32max
BUF_SIZE 0 osb 1-s32max
BUF_SIZE 3 name s32min-(-2),1-s32max
CAPPED_DATA 1 dir->i_sb 1
DATA_SOURCE 1 dir $0
UNITS 0 osb unit_byte
UNITS 3 name unit_byte
UNITS 4 namelen unit_byte
LOCK2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem