Defined in 1 files as a function:

Referenced in 9 files:

Smatch caller information:

fs/cachefiles/interface.c cachefiles_lookup_cookie() -> cachefiles_begin_secure()

Type Parameter Key Value
PARAM_VALUE 1 _saved_cred 2475342491703664640
BUF_SIZE 0 cache s32min-(-2),1-s32max
BUF_SIZE 0 cache s32min-(-2),1-s32max
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

fs/cachefiles/interface.c cachefiles_resize_cookie() -> cachefiles_begin_secure()

Type Parameter Key Value
PARAM_VALUE 1 _saved_cred 8367204015055990784
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ci->i_truncate_mutex
HALF_LOCKED2 &inode->i_mapping->invalidate_lock
HALF_LOCKED2 &inode->i_rwsem

fs/cachefiles/interface.c cachefiles_withdraw_cookie() -> cachefiles_begin_secure()

Type Parameter Key Value
PARAM_VALUE 1 _saved_cred 4555788938124759040
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

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

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 0 cache->cache_cred 4096-ptr_max
PARAM_VALUE 1 _saved_cred 3608446932818034688
BUF_SIZE 0 cache s32min-(-2),1-s32max
BUF_SIZE 0 cache s32min-(-2),1-s32max
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
NOCHECK_CALL
LOCK2 0 &cache->daemon_mutex
TYPE_LOCK (struct cachefiles_cache)->daemon_mutex

fs/cachefiles/cache.c cachefiles_sync_cache() -> cachefiles_begin_secure()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 1 _saved_cred 3940194260427288576
BUF_SIZE 0 cache (-1),26
BUF_SIZE 0 cache (-1),26
DATA_SOURCE 0 cache $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/cachefiles/namei.c cachefiles_create_tmpfile() -> cachefiles_begin_secure()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 1 _saved_cred 2474567201792466944
NOCHECK_CALL
LOCK2 &pool->lock

fs/cachefiles/daemon.c cachefiles_daemon_cull() -> cachefiles_begin_secure()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 1 _saved_cred 5935471307269603328
BUF_SIZE 0 cache s32min-(-2),1-s32max
BUF_SIZE 0 cache s32min-(-2),1-s32max
DATA_SOURCE 0 cache $0
NOCHECK_CALL
LOCK2 0 &cache->daemon_mutex
TYPE_LOCK (struct cachefiles_cache)->daemon_mutex

fs/cachefiles/daemon.c cachefiles_daemon_inuse() -> cachefiles_begin_secure()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 1 _saved_cred 9102246269204033536
BUF_SIZE 0 cache s32min-(-2),1-s32max
BUF_SIZE 0 cache s32min-(-2),1-s32max
DATA_SOURCE 0 cache $0
NOCHECK_CALL
LOCK2 0 &cache->daemon_mutex
TYPE_LOCK (struct cachefiles_cache)->daemon_mutex

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

Type Parameter Key Value
PARAM_VALUE 1 _saved_cred 3427081357697691648
BUF_SIZE 0 cache s32min-(-2),1-s32max
BUF_SIZE 0 cache s32min-(-2),1-s32max
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

fs/cachefiles/io.c cachefiles_do_prepare_read() -> cachefiles_begin_secure()

Type Parameter Key Value
PARAM_VALUE 1 _saved_cred 8333262438250430464
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/cachefiles/io.c cachefiles_issue_write() -> cachefiles_begin_secure()

Type Parameter Key Value
PARAM_VALUE 1 _saved_cred 3021756919573979136
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/cachefiles/io.c cachefiles_prepare_write() -> cachefiles_begin_secure()

Type Parameter Key Value
PARAM_VALUE 1 _saved_cred 5640583599392714752
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/cachefiles/xattr.c cachefiles_prepare_to_write() -> cachefiles_begin_secure()

Type Parameter Key Value
PARAM_VALUE 1 _saved_cred 2260227172322066432
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

fs/cachefiles/security.c cachefiles_determine_cache_security() -> cachefiles_begin_secure()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 0 cache->cache_cred 4096-ptr_max
PARAM_VALUE 1 _saved_cred 3608446932818034688
BUF_SIZE 0 cache s32min-(-2),1-s32max
BUF_SIZE 0 cache s32min-(-2),1-s32max
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
DATA_SOURCE 1 _saved_cred $2
NOCHECK_CALL
LOCK2 0 &cache->daemon_mutex
TYPE_LOCK (struct cachefiles_cache)->daemon_mutex

fs/cachefiles/security.c cachefiles_determine_cache_security() -> cachefiles_begin_secure()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 0 cache->cache_cred 4096-ptr_max
PARAM_VALUE 1 _saved_cred 3608446932818034688
BUF_SIZE 0 cache s32min-(-2),1-s32max
BUF_SIZE 0 cache s32min-(-2),1-s32max
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
DATA_SOURCE 1 _saved_cred $2
NOCHECK_CALL
LOCK2 0 &cache->daemon_mutex
TYPE_LOCK (struct cachefiles_cache)->daemon_mutex