Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/cachefiles/cache.c cachefiles_add_cache() -> cachefiles_get_directory()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 0 cache->bcull 0
PARAM_VALUE 0 cache->bcull_percent 1-4294967294
PARAM_VALUE 0 cache->brun 0
PARAM_VALUE 0 cache->brun_percent 2-99
PARAM_VALUE 0 cache->bshift 0-63
PARAM_VALUE 0 cache->bstop 0
PARAM_VALUE 0 cache->bstop_percent 0-4294967294
PARAM_VALUE 0 cache->cache_cred 4096-ptr_max
PARAM_VALUE 0 cache->cache_cred->group_info 4096-ptr_max
PARAM_VALUE 0 cache->cache_cred->jit_keyring 1
PARAM_VALUE 0 cache->cache_cred->non_rcu 0
PARAM_VALUE 0 cache->cache_cred->process_keyring 0,4096-ptr_max
PARAM_VALUE 0 cache->cache_cred->process_keyring->user->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 cache->cache_cred->process_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 0 cache->cache_cred->process_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 0 cache->cache_cred->request_key_auth 0,4096-ptr_max
PARAM_VALUE 0 cache->cache_cred->request_key_auth->user->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 cache->cache_cred->request_key_auth->user->qnbytes s32min-s32max
PARAM_VALUE 0 cache->cache_cred->request_key_auth->user->qnkeys s32min-s32max
PARAM_VALUE 0 cache->cache_cred->security 0,4096-ptr_max
PARAM_VALUE 0 cache->cache_cred->session_keyring 0,4096-ptr_max
PARAM_VALUE 0 cache->cache_cred->session_keyring->user->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 cache->cache_cred->session_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 0 cache->cache_cred->session_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 0 cache->cache_cred->thread_keyring 0,4096-ptr_max
PARAM_VALUE 0 cache->cache_cred->thread_keyring->user->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 cache->cache_cred->thread_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 0 cache->cache_cred->thread_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 0 cache->cache_cred->ucounts 4096-ptr_max
PARAM_VALUE 0 cache->cache_cred->ucounts->ns->work.entry.next 4096-ptr_max
PARAM_VALUE 0 cache->cache_cred->ucounts->ns->work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 cache->cache_cred->usage.counter 1
PARAM_VALUE 0 cache->cache_cred->user 4096-ptr_max
PARAM_VALUE 0 cache->cache_cred->user->uidhash_node->next->pprev 1-u64max
PARAM_VALUE 0 cache->cache_cred->user->uidhash_node.next->pprev 1-u64max
PARAM_VALUE 0 cache->cache_cred->user_ns->work.entry.next 4096-ptr_max
PARAM_VALUE 0 cache->cache_cred->user_ns->work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 cache->daemon_mutex.dep_map->name 0-255
PARAM_VALUE 0 cache->daemon_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 cache->daemon_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 cache->daemon_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 cache->daemon_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 cache->daemon_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 cache->daemon_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 cache->daemon_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 cache->fcull 0
PARAM_VALUE 0 cache->fcull_percent 1-4294967294
PARAM_VALUE 0 cache->frun 0
PARAM_VALUE 0 cache->frun_percent 2-99
PARAM_VALUE 0 cache->fstop 0
PARAM_VALUE 0 cache->fstop_percent 0-4294967294
PARAM_VALUE 0 cache->mnt 4096-ptr_max
PARAM_VALUE 0 cache->rootdirname 4096-ptr_max
PARAM_VALUE 0 cache->tag 1-u64max
PARAM_VALUE 1 dir 4096-ptr_max
PARAM_VALUE 1 dir->d_sb 4096-ptr_max
PARAM_VALUE 1 dir->d_sb->s_blocksize 0-4096
PARAM_VALUE 1 dir->d_sb->s_op 4096-ptr_max
PARAM_VALUE 1 dir->d_sb->s_op->statfs 4096-ptr_max
PARAM_VALUE 1 dir->d_sb->s_op->sync_fs 4096-ptr_max
PARAM_VALUE 2 dirname 6635405425222115328
PARAM_VALUE 3 _is_new 0
BUF_SIZE 0 cache s32min-(-2),1-s32max
BUF_SIZE 0 cache s32min-(-2),1-s32max
BUF_SIZE 2 dirname 6
CAPPED_DATA 0 cache->bcull_percent 1
CAPPED_DATA 0 cache->bstop_percent 1
CAPPED_DATA 0 cache->fcull_percent 1
CAPPED_DATA 0 cache->fstop_percent 1
DATA_SOURCE 0 cache $0
FUZZY_MAX 1 dir->d_sb->s_blocksize 4096
STR_LEN 0 cache 5
TERMINATED 2 dirname 1
HARD_MAX 0 cache->brun_percent 99
HARD_MAX 0 cache->frun_percent 99
HARD_MAX 1 dir->d_sb->s_blocksize 4096
LOCK2 0 &cache->daemon_mutex
TYPE_LOCK (struct cachefiles_cache)->daemon_mutex

fs/cachefiles/cache.c cachefiles_add_cache() -> cachefiles_get_directory()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 0 cache->bcull 0
PARAM_VALUE 0 cache->bcull_percent 1-4294967294
PARAM_VALUE 0 cache->brun 0
PARAM_VALUE 0 cache->brun_percent 2-99
PARAM_VALUE 0 cache->bshift 0-63
PARAM_VALUE 0 cache->bstop 0
PARAM_VALUE 0 cache->bstop_percent 0-4294967294
PARAM_VALUE 0 cache->cache_cred 4096-ptr_max
PARAM_VALUE 0 cache->cache_cred->group_info 4096-ptr_max
PARAM_VALUE 0 cache->cache_cred->jit_keyring 1
PARAM_VALUE 0 cache->cache_cred->non_rcu 0
PARAM_VALUE 0 cache->cache_cred->process_keyring 0,4096-ptr_max
PARAM_VALUE 0 cache->cache_cred->process_keyring->user->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 cache->cache_cred->process_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 0 cache->cache_cred->process_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 0 cache->cache_cred->request_key_auth 0,4096-ptr_max
PARAM_VALUE 0 cache->cache_cred->request_key_auth->user->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 cache->cache_cred->request_key_auth->user->qnbytes s32min-s32max
PARAM_VALUE 0 cache->cache_cred->request_key_auth->user->qnkeys s32min-s32max
PARAM_VALUE 0 cache->cache_cred->security 0,4096-ptr_max
PARAM_VALUE 0 cache->cache_cred->session_keyring 0,4096-ptr_max
PARAM_VALUE 0 cache->cache_cred->session_keyring->user->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 cache->cache_cred->session_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 0 cache->cache_cred->session_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 0 cache->cache_cred->thread_keyring 0,4096-ptr_max
PARAM_VALUE 0 cache->cache_cred->thread_keyring->user->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 cache->cache_cred->thread_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 0 cache->cache_cred->thread_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 0 cache->cache_cred->ucounts 4096-ptr_max
PARAM_VALUE 0 cache->cache_cred->ucounts->ns->work.entry.next 4096-ptr_max
PARAM_VALUE 0 cache->cache_cred->ucounts->ns->work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 cache->cache_cred->usage.counter 1
PARAM_VALUE 0 cache->cache_cred->user 4096-ptr_max
PARAM_VALUE 0 cache->cache_cred->user->uidhash_node->next->pprev 1-u64max
PARAM_VALUE 0 cache->cache_cred->user->uidhash_node.next->pprev 1-u64max
PARAM_VALUE 0 cache->cache_cred->user_ns->work.entry.next 4096-ptr_max
PARAM_VALUE 0 cache->cache_cred->user_ns->work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 cache->daemon_mutex.dep_map->name 0-255
PARAM_VALUE 0 cache->daemon_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 cache->daemon_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 cache->daemon_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 cache->daemon_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 cache->daemon_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 cache->daemon_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 cache->daemon_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 cache->fcull 0
PARAM_VALUE 0 cache->fcull_percent 1-4294967294
PARAM_VALUE 0 cache->frun 0
PARAM_VALUE 0 cache->frun_percent 2-99
PARAM_VALUE 0 cache->fstop 0
PARAM_VALUE 0 cache->fstop_percent 0-4294967294
PARAM_VALUE 0 cache->mnt 4096-ptr_max
PARAM_VALUE 0 cache->rootdirname 4096-ptr_max
PARAM_VALUE 0 cache->store 0,4096-ptr_max
PARAM_VALUE 0 cache->store->d_hash.pprev 0
PARAM_VALUE 0 cache->store->d_inode 0
PARAM_VALUE 0 cache->store->waiters 0
PARAM_VALUE 0 cache->tag 1-u64max
PARAM_VALUE 1 dir 4096-ptr_max
PARAM_VALUE 1 dir->d_children->first->pprev 1-u64max
PARAM_VALUE 1 dir->d_children.first 4096-ptr_max
PARAM_VALUE 1 dir->d_children.first->pprev 0
PARAM_VALUE 1 dir->d_inode->i_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 dir->d_inode->i_rwsem.dep_map->name 0-255
PARAM_VALUE 1 dir->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 1 dir->d_inode->i_rwsem.first_waiter->list.next 2624917664208203776
PARAM_VALUE 1 dir->d_inode->i_rwsem.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 1 dir->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 1 dir->d_inode->i_rwsem.osq.tail.counter 0-s32max
PARAM_VALUE 1 dir->d_sb 4096-ptr_max
PARAM_VALUE 1 dir->d_sb->__s_d_op 0,4096-ptr_max
PARAM_VALUE 1 dir->d_sb->s_blocksize 0-4096
PARAM_VALUE 1 dir->d_sb->s_fs_info->s_bmap_bits 0-4294967295
PARAM_VALUE 1 dir->d_sb->s_fs_info->s_bmap_count 0-4294967295
PARAM_VALUE 1 dir->d_sb->s_fs_info->s_data_blksize 0-4294967295
PARAM_VALUE 1 dir->d_sb->s_fs_info->s_hashsize s32min-s32max
PARAM_VALUE 1 dir->d_sb->s_fs_info->s_last_bmap 0-4294967295
PARAM_VALUE 1 dir->d_sb->s_fs_info->s_mode 0-u16max
PARAM_VALUE 1 dir->d_sb->s_fs_info->s_partition_size s32min-s32max
PARAM_VALUE 1 dir->d_sb->s_fs_info->s_reserved s32min-s32max
PARAM_VALUE 1 dir->d_sb->s_fs_info->s_root_block 0-4294967295
PARAM_VALUE 1 dir->d_sb->s_fs_info->work_queued s32min-s32max
PARAM_VALUE 1 dir->d_sb->s_op 4096-ptr_max
PARAM_VALUE 1 dir->d_sb->s_op->statfs 4096-ptr_max
PARAM_VALUE 1 dir->d_sb->s_op->sync_fs 4096-ptr_max
PARAM_VALUE 2 dirname 1330469125255348224
PARAM_VALUE 3 _is_new 0
BUF_SIZE 0 cache s32min-(-2),1-s32max
BUF_SIZE 0 cache s32min-(-2),1-s32max
BUF_SIZE 0 cache->store (-1),1-s32max
BUF_SIZE 2 dirname 10
CAPPED_DATA 0 cache->bcull_percent 1
CAPPED_DATA 0 cache->bstop_percent 1
CAPPED_DATA 0 cache->fcull_percent 1
CAPPED_DATA 0 cache->fstop_percent 1
DATA_SOURCE 0 cache $0
FUZZY_MAX 1 dir->d_sb->s_blocksize 4096
STR_LEN 0 cache 9
TERMINATED 2 dirname 1
HARD_MAX 0 cache->brun_percent 99
HARD_MAX 0 cache->frun_percent 99
HARD_MAX 1 dir->d_sb->s_blocksize 4096
LOCK2 0 &cache->daemon_mutex
TYPE_LOCK (struct cachefiles_cache)->daemon_mutex

fs/cachefiles/volume.c cachefiles_acquire_volume() -> cachefiles_get_directory()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 0 cache->store->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 cache->store->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 1 dir->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 1 dir->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 2 dirname 4096-ptr_max
PARAM_VALUE 3 _is_new 7015479295010840576
PARAM_VALUE 3 *_is_new 0
BUF_SIZE 0 cache s32min-(-2),1-s32max
BUF_SIZE 0 cache s32min-(-2),1-s32max
BUF_SIZE 2 dirname 3-258
BUF_SIZE 2 dirname 3-258
DATA_SOURCE 2 dirname r _kmalloc_noprof
TERMINATED 2 dirname 1
UNITS 1 dir unit_jiffy
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 0 &cache->store->d_inode->i_rwsem
HALF_LOCKED2 1 &dir->d_inode->i_rwsem

fs/cachefiles/volume.c cachefiles_acquire_volume() -> cachefiles_get_directory()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 0 cache->store->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 cache->store->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 1 dir 0,4096-ptr_max
PARAM_VALUE 1 dir->d_alias->next->pprev 1-u64max
PARAM_VALUE 1 dir->d_fsdata->active.counter s32min-s32max
PARAM_VALUE 1 dir->d_fsdata->d_flags 0-4294967295
PARAM_VALUE 1 dir->d_fsdata->d_fsdata 0
PARAM_VALUE 1 dir->d_fsdata->d_hash.pprev 0
PARAM_VALUE 1 dir->d_fsdata->d_inode 0
PARAM_VALUE 1 dir->d_fsdata->d_inode->__i_nlink 0-4294967295
PARAM_VALUE 1 dir->d_fsdata->d_inode->i_atime_nsec 0-4294967295
PARAM_VALUE 1 dir->d_fsdata->d_inode->i_blkbits 0-255
PARAM_VALUE 1 dir->d_fsdata->d_inode->i_bytes 0-u16max
PARAM_VALUE 1 dir->d_fsdata->d_inode->i_ctime_nsec 0-4294967295
PARAM_VALUE 1 dir->d_fsdata->d_inode->i_dir_seq 0-4294967295
PARAM_VALUE 1 dir->d_fsdata->d_inode->i_flags 0-4294967295
PARAM_VALUE 1 dir->d_fsdata->d_inode->i_fsnotify_mask 0-4294967295
PARAM_VALUE 1 dir->d_fsdata->d_inode->i_generation 0-4294967295
PARAM_VALUE 1 dir->d_fsdata->d_inode->i_linklen s32min-s32max
PARAM_VALUE 1 dir->d_fsdata->d_inode->i_mode 0-u16max
PARAM_VALUE 1 dir->d_fsdata->d_inode->i_mtime_nsec 0-4294967295
PARAM_VALUE 1 dir->d_fsdata->d_inode->i_nlink 0-4294967295
PARAM_VALUE 1 dir->d_fsdata->d_inode->i_opflags 0-u16max
PARAM_VALUE 1 dir->d_fsdata->d_inode->i_rdev 0-4294967295
PARAM_VALUE 1 dir->d_fsdata->d_inode->i_wb_frn_avg_time 0-u16max
PARAM_VALUE 1 dir->d_fsdata->d_inode->i_wb_frn_history 0-u16max
PARAM_VALUE 1 dir->d_fsdata->d_inode->i_wb_frn_winner s32min-s32max
PARAM_VALUE 1 dir->d_fsdata->d_inode->i_write_hint 0-4294967295
PARAM_VALUE 1 dir->d_fsdata->d_lockref.count s32min-s32max
PARAM_VALUE 1 dir->d_fsdata->d_rcu.next 0
PARAM_VALUE 1 dir->d_fsdata->data->ref.refs.counter s32min-s32max
PARAM_VALUE 1 dir->d_fsdata->head.first 0
PARAM_VALUE 1 dir->d_fsdata->kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 1 dir->d_fsdata->lease_shared_gen 0
PARAM_VALUE 1 dir->d_fsdata->management_timer.flags 0-4294967295
PARAM_VALUE 1 dir->d_fsdata->owner->refcnt.counter 0-s32max
PARAM_VALUE 1 dir->d_fsdata->ref.refs.counter s32min-s32max
PARAM_VALUE 1 dir->d_fsdata->waiters 0
PARAM_VALUE 1 dir->d_hash.pprev 0
PARAM_VALUE 1 dir->d_inode 0
PARAM_VALUE 1 dir->d_inode->i_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 dir->d_inode->i_rwsem.dep_map->name 0-255
PARAM_VALUE 1 dir->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 1 dir->d_inode->i_rwsem.first_waiter->list.next 2624917664208203776
PARAM_VALUE 1 dir->d_inode->i_rwsem.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 1 dir->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 1 dir->d_inode->i_rwsem.osq.tail.counter 0-s32max
PARAM_VALUE 1 dir->d_inode->i_sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648
PARAM_VALUE 1 dir->d_op->d_dname 0,4096-ptr_max
PARAM_VALUE 1 dir->d_op->d_iput 0,4096-ptr_max
PARAM_VALUE 1 dir->d_op->d_prune 0,4096-ptr_max
PARAM_VALUE 1 dir->d_op->d_real 0,4096-ptr_max
PARAM_VALUE 1 dir->d_parent->d_inode->i_rwsem.dep_map->name 0-255
PARAM_VALUE 1 dir->d_parent->d_inode->i_rwsem.first_waiter->handoff_set 1
PARAM_VALUE 1 dir->d_parent->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 1 dir->d_parent->d_sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 1 dir->d_parent->d_sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 1 dir->d_parent->d_sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 1 dir->d_parent->d_sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 1 dir->d_parent->d_sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 1 dir->d_sb->__s_d_op->d_automount 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016
PARAM_VALUE 1 dir->d_sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 1 dir->d_sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 1 dir->d_sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 1 dir->d_sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 1 dir->d_sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 1 dir->d_sb->__s_d_op->d_unalias_trylock 0,6635409759016140800
PARAM_VALUE 1 dir->d_sb->__s_d_op->d_unalias_unlock 0,6336447517789900800
PARAM_VALUE 1 dir->d_sb->__s_d_op->d_weak_revalidate 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328
PARAM_VALUE 1 dir->d_sb->s_fs_info->lookup_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 dir->d_sb->s_roots_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 dir->d_sib->next->pprev 1-u64max
PARAM_VALUE 1 dir->waiters 0
PARAM_VALUE 2 dirname 4096-ptr_max
PARAM_VALUE 3 _is_new 0
BUF_SIZE 0 cache s32min-(-2),1-s32max
BUF_SIZE 0 cache s32min-(-2),1-s32max
BUF_SIZE 1 dir (-1),1-s32max
BUF_SIZE 1 dir (-1),1-s32max
BUF_SIZE 2 dirname 3-258
BUF_SIZE 2 dirname 3-258
DATA_SOURCE 1 dir r cachefiles_get_directory
DATA_SOURCE 2 dirname r _kmalloc_noprof
TERMINATED 2 dirname 1
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 0 &cache->store->d_inode->i_rwsem