Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

fs/ceph/cache.c ceph_fscache_register_fs() -> fscache_acquire_volume()

Type Parameter Key Value
PARAM_VALUE 0 volume_key 1-u64max
PARAM_VALUE 1 cache_name 0
PARAM_VALUE 2 coherency_data 0
PARAM_VALUE 3 coherency_len 0
BUF_SIZE 0 volume_key 0-s32max
BUF_SIZE 0 volume_key 0-s32max
CAPPED_DATA 0 volume_key 1
DATA_SOURCE 0 volume_key r kasprintf
RX_PATH
TASK_NOT_RUNNING
LOCK2 &fsc->client->mount_mutex
HALF_LOCKED2 &fc->uapi_mutex
HALF_LOCKED2 &sb->s_umount
TYPE_LOCK (struct ceph_client)->mount_mutex

fs/nfs/fscache.c nfs_fscache_get_super_cookie() -> fscache_acquire_volume()

Type Parameter Key Value
PARAM_VALUE 0 volume_key 4096-ptr_max
PARAM_VALUE 1 cache_name 0
PARAM_VALUE 2 coherency_data 0
PARAM_VALUE 3 coherency_len 0
BUF_SIZE 0 volume_key 1024
BUF_SIZE 0 volume_key 1024
DATA_SOURCE 0 volume_key r _kmalloc_noprof
TERMINATED 0 volume_key 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fc->uapi_mutex
HALF_LOCKED2 &sb->s_umount

fs/9p/cache.c v9fs_cache_session_get_cookie() -> fscache_acquire_volume()

Type Parameter Key Value
PARAM_VALUE 0 volume_key 1-u64max
PARAM_VALUE 1 cache_name 0
PARAM_VALUE 2 coherency_data 0
PARAM_VALUE 3 coherency_len 0
BUF_SIZE 0 volume_key 0-s32max
BUF_SIZE 0 volume_key 0-s32max
CAPPED_DATA 0 volume_key 1
DATA_SOURCE 0 volume_key r kasprintf
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fc->uapi_mutex

fs/afs/volume.c afs_activate_volume() -> fscache_acquire_volume()

Type Parameter Key Value
PARAM_VALUE 0 volume_key 1-u64max
PARAM_VALUE 1 cache_name 0
PARAM_VALUE 2 coherency_data 0
PARAM_VALUE 3 coherency_len 0
BUF_SIZE 0 volume_key 0-s32max
BUF_SIZE 0 volume_key 0-s32max
CAPPED_DATA 0 volume_key 1
DATA_SOURCE 0 volume_key r kasprintf
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fc->uapi_mutex
HALF_LOCKED2 &sb->s_umount

fs/smb/client/fscache.c cifs_fscache_get_super_cookie() -> fscache_acquire_volume()

Type Parameter Key Value
PARAM_VALUE 0 volume_key 1-u64max
PARAM_VALUE 1 cache_name 0
PARAM_VALUE 2 coherency_data 199567865172107264
PARAM_VALUE 3 coherency_len 20
BUF_SIZE 0 volume_key 0-s32max
BUF_SIZE 0 volume_key 0-s32max
BUF_SIZE 2 coherency_data 20
CAPPED_DATA 0 volume_key 1
DATA_SOURCE 0 volume_key r kasprintf
MEM_ZERO 2 coherency_data
RX_PATH
TASK_NOT_RUNNING
UNITS 3 coherency_len unit_byte
LOCK2 &tcon->fscache_lock
LOCK2 global &cifs_mount_mutex
HALF_LOCKED2 &fc->uapi_mutex
TYPE_LOCK (struct cifs_tcon)->fscache_lock