Defined in 3 files as a function:

Referenced in 1 files:

Smatch caller information:

mm/shmem.c __shmem_file_setup() -> shmem_get_inode()

Type Parameter Key Value
PARAM_VALUE 0 idmap 1531479832127729664
PARAM_VALUE 2 dir 0
PARAM_VALUE 3 mode 33279
PARAM_VALUE 4 dev 0
DATA_SOURCE 5 flags $3
RX_PATH
TASK_NOT_RUNNING
UNITS 1 sb unit_byte

mm/shmem.c shmem_fill_super() -> shmem_get_inode()

Type Parameter Key Value
PARAM_VALUE 0 idmap 1531479832127729664
PARAM_VALUE 1 sb 4096-ptr_max
PARAM_VALUE 1 sb->__s_d_op->d_automount 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016
PARAM_VALUE 1 sb->__s_d_op->d_compare 0,4096-ptr_max
PARAM_VALUE 1 sb->__s_d_op->d_delete 0,4096-ptr_max
PARAM_VALUE 1 sb->__s_d_op->d_dname 0,4096-ptr_max
PARAM_VALUE 1 sb->__s_d_op->d_hash 0,4096-ptr_max
PARAM_VALUE 1 sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 1 sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 1 sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 1 sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 1 sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 1 sb->__s_d_op->d_release 0,4096-ptr_max
PARAM_VALUE 1 sb->__s_d_op->d_revalidate 0,4096-ptr_max
PARAM_VALUE 1 sb->__s_d_op->d_unalias_trylock 0,6635409759016140800
PARAM_VALUE 1 sb->__s_d_op->d_unalias_unlock 0,6336447517789900800
PARAM_VALUE 1 sb->__s_d_op->d_weak_revalidate 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328
PARAM_VALUE 1 sb->s_active.counter 0-s32max
PARAM_VALUE 1 sb->s_bdev->bd_mapping->host->i_sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648,2712
PARAM_VALUE 1 sb->s_bdi->wb_switch_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 1 sb->s_bdi->wb_switch_rwsem.first_waiter->type 0-1
PARAM_VALUE 1 sb->s_blocksize_bits 12
PARAM_VALUE 1 sb->s_cop->empty_dir 0,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144
PARAM_VALUE 1 sb->s_cop->get_context 0,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416
PARAM_VALUE 1 sb->s_cop->get_devices 0,5687811845560967168
PARAM_VALUE 1 sb->s_cop->get_dummy_policy 0,5548184023414632448,6265693363421687808,7944682147525111808
PARAM_VALUE 1 sb->s_cop->has_stable_inodes 0,3981700036256542720,5332792210826772480
PARAM_VALUE 1 sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648
PARAM_VALUE 1 sb->s_cop->legacy_key_prefix 0,924751349837991936,5264834109705359360,8765449967581011968
PARAM_VALUE 1 sb->s_cop->set_context 0,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112
PARAM_VALUE 1 sb->s_d_flags 0,128-u32max
PARAM_VALUE 1 sb->s_export_op 6465135311306121216
PARAM_VALUE 1 sb->s_export_op->block_ops 0
PARAM_VALUE 1 sb->s_export_op->commit_metadata 0
PARAM_VALUE 1 sb->s_export_op->encode_fh 3526768263295340544
PARAM_VALUE 1 sb->s_export_op->fh_to_dentry 7175234585051488256
PARAM_VALUE 1 sb->s_export_op->fh_to_parent 0
PARAM_VALUE 1 sb->s_export_op->flags 0
PARAM_VALUE 1 sb->s_export_op->get_name 0
PARAM_VALUE 1 sb->s_export_op->get_parent 1812477326828269568
PARAM_VALUE 1 sb->s_export_op->open 0
PARAM_VALUE 1 sb->s_export_op->permission 0
PARAM_VALUE 1 sb->s_flags 0,65536-u64max
PARAM_VALUE 1 sb->s_fs_info 4096-ptr_max
PARAM_VALUE 1 sb->s_magic 16914836
PARAM_VALUE 1 sb->s_maxbytes s64max
PARAM_VALUE 1 sb->s_op 7364832831810686976
PARAM_VALUE 1 sb->s_op->alloc_inode 2883502809748017152
PARAM_VALUE 1 sb->s_op->destroy_inode 7947572661456150528
PARAM_VALUE 1 sb->s_op->dirty_inode 0
PARAM_VALUE 1 sb->s_op->drop_inode 6878616565964079104
PARAM_VALUE 1 sb->s_op->evict_inode 2379352695054503936
PARAM_VALUE 1 sb->s_op->free_cached_objects 7579570136908226560
PARAM_VALUE 1 sb->s_op->free_inode 897768472842809344
PARAM_VALUE 1 sb->s_op->freeze_fs 0
PARAM_VALUE 1 sb->s_op->freeze_super 0
PARAM_VALUE 1 sb->s_op->get_dquots 1702335611975081984
PARAM_VALUE 1 sb->s_op->nr_cached_objects 2165740340428103680
PARAM_VALUE 1 sb->s_op->put_super 2488819099309596672
PARAM_VALUE 1 sb->s_op->quota_read 0
PARAM_VALUE 1 sb->s_op->quota_write 0
PARAM_VALUE 1 sb->s_op->remove_bdev 0
PARAM_VALUE 1 sb->s_op->report_error 0
PARAM_VALUE 1 sb->s_op->show_devname 0
PARAM_VALUE 1 sb->s_op->show_options 886799294535434240
PARAM_VALUE 1 sb->s_op->show_path 0
PARAM_VALUE 1 sb->s_op->show_stats 0
PARAM_VALUE 1 sb->s_op->shutdown 0
PARAM_VALUE 1 sb->s_op->statfs 3607119270405541888
PARAM_VALUE 1 sb->s_op->sync_fs 0
PARAM_VALUE 1 sb->s_op->thaw_super 0
PARAM_VALUE 1 sb->s_op->umount_begin 0
PARAM_VALUE 1 sb->s_op->unfreeze_fs 0
PARAM_VALUE 1 sb->s_op->write_inode 0
PARAM_VALUE 1 sb->s_root 0
PARAM_VALUE 1 sb->s_time_gran 1
PARAM_VALUE 1 sb->s_umount.dep_map->name 0-255
PARAM_VALUE 1 sb->s_umount.first_waiter->handoff_set 0-1
PARAM_VALUE 1 sb->s_umount.first_waiter->list.next 2212933610777083904,2624917664208203776
PARAM_VALUE 1 sb->s_umount.first_waiter->list.prev 2212933610777083904,2624917664208203776
PARAM_VALUE 1 sb->s_umount.first_waiter->type 0-1
PARAM_VALUE 1 sb->s_umount.osq.tail.counter 0-s32max
PARAM_VALUE 1 sb->s_uuid_len 16
PARAM_VALUE 1 sb->s_xattr 6794752977798041600
PARAM_VALUE 2 dir 0
PARAM_VALUE 4 dev 0
PARAM_VALUE 5 flags s64min-(-4096),4096-s64max
BUF_SIZE 1 sb (-1),2880
BUF_SIZE 1 sb (-1),2880
BUF_SIZE 1 sb->dq_op (-1),88
BUF_SIZE 1 sb->s_export_op 80
BUF_SIZE 1 sb->s_fs_info 376
BUF_SIZE 1 sb->s_op 224
BUF_SIZE 1 sb->s_qcop (-1),88
BUF_SIZE 1 sb->s_xattr 32
DATA_SOURCE 1 sb $0
STR_LEN 0 idmap (-1),8
STR_LEN 1 sb (-1),8
BIT_INFO 1 sb->s_d_flags 0x80,0xffffffffffffffff
BIT_INFO 1 sb->s_flags 0x10010000,0xffffffffffffffff
BIT_INFO 3 mode 0x4000,0xffff
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 sb->s_flags 268500992[c]
HALF_LOCKED2 &fc->uapi_mutex

mm/shmem.c shmem_mknod() -> shmem_get_inode()

Type Parameter Key Value
PARAM_VALUE 1 sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648
PARAM_VALUE 2 dir 4096-ptr_max
PARAM_VALUE 2 dir->i_op 4096-ptr_max
PARAM_VALUE 2 dir->i_op->atomic_open 0,4096-ptr_max
PARAM_VALUE 2 dir->i_op->create 0,4096-ptr_max
PARAM_VALUE 2 dir->i_op->mkdir 0,4096-ptr_max
PARAM_VALUE 2 dir->i_op->mknod 0,4096-ptr_max
PARAM_VALUE 2 dir->i_op->rename 0,4096-ptr_max
PARAM_VALUE 2 dir->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 2 dir->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 2 dir->i_sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648
PARAM_VALUE 5 flags s64min-(-4096),4096-s64max
DATA_SOURCE 0 idmap $0
DATA_SOURCE 2 dir $1
DATA_SOURCE 3 mode $3
DATA_SOURCE 4 dev $4
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 dir->i_mode 0-u16max
USER_DATA 2 dir->i_size (-9223372036854775807)-(-4),0-s64max
USER_DATA 3 mode 0-u16max[c]
USER_DATA 4 dev 0-u32max[c]
UNITS 1 sb unit_byte
HALF_LOCKED2 2 &dir->i_rwsem

mm/shmem.c shmem_symlink() -> shmem_get_inode()

Type Parameter Key Value
PARAM_VALUE 1 sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648
PARAM_VALUE 2 dir 4096-ptr_max
PARAM_VALUE 2 dir->i_flctx->flc_lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 dir->i_op 4096-ptr_max
PARAM_VALUE 2 dir->i_op->symlink 4096-ptr_max
PARAM_VALUE 2 dir->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 2 dir->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 2 dir->i_sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648
PARAM_VALUE 3 mode 41471
PARAM_VALUE 4 dev 0
PARAM_VALUE 5 flags s64min-(-4096),4096-s64max
CAPPED_DATA 1 sb->s_user_ns->gid_map.nr_extents 1
CAPPED_DATA 1 sb->s_user_ns->uid_map.nr_extents 1
CAPPED_DATA 2 dir->i_sb->s_user_ns->gid_map.nr_extents 1
CAPPED_DATA 2 dir->i_sb->s_user_ns->uid_map.nr_extents 1
DATA_SOURCE 0 idmap $0
DATA_SOURCE 2 dir $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 dir->i_mode 0-u16max
USER_DATA 2 dir->i_size (-9223372036854775807)-(-4),0-s64max
UNITS 1 sb unit_byte

mm/shmem.c shmem_tmpfile() -> shmem_get_inode()

Type Parameter Key Value
PARAM_VALUE 1 sb 4096-ptr_max
PARAM_VALUE 2 dir 4096-ptr_max
PARAM_VALUE 2 dir->i_lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 dir->i_op 4096-ptr_max
PARAM_VALUE 2 dir->i_op->tmpfile 4096-ptr_max
PARAM_VALUE 2 dir->i_sb 4096-ptr_max
PARAM_VALUE 4 dev 0
PARAM_VALUE 5 flags s64min-(-4096),4096-s64max
CAPPED_DATA 1 sb->s_user_ns->gid_map.nr_extents 1
CAPPED_DATA 1 sb->s_user_ns->uid_map.nr_extents 1
CAPPED_DATA 2 dir->i_sb->s_user_ns->gid_map.nr_extents 1
CAPPED_DATA 2 dir->i_sb->s_user_ns->uid_map.nr_extents 1
DATA_SOURCE 0 idmap $0
DATA_SOURCE 2 dir $1
DATA_SOURCE 3 mode $3
RX_PATH
TASK_NOT_RUNNING
USER_DATA 3 mode 0-u16max[c]
UNITS 1 sb unit_byte