Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 8 files:

Smatch caller information:

fs/ceph/crypto.c ceph_fname_to_usr() -> fscrypt_fname_alloc_buffer()

Type Parameter Key Value
PARAM_VALUE 0 max_encrypted_len 255
PARAM_VALUE 1 crypto_str 5385657547268440064
PARAM_VALUE 1 crypto_str->len 0
PARAM_VALUE 1 crypto_str->name 0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mdsc->snap_rwsem
HALF_LOCKED2 &req->r_fill_mutex
HALF_LOCKED2 &session->s_mutex

fs/ceph/export.c ceph_fname_alloc_buffer() -> fscrypt_fname_alloc_buffer()

Type Parameter Key Value
PARAM_VALUE 0 max_encrypted_len 255
PARAM_VALUE 1 crypto_str 4543489280510246912
PARAM_VALUE 1 crypto_str->len 0
PARAM_VALUE 1 crypto_str->name 0
DATA_SOURCE 1 crypto_str $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &child->d_lockref.lock

fs/ceph/inode.c ceph_fname_alloc_buffer() -> fscrypt_fname_alloc_buffer()

Type Parameter Key Value
PARAM_VALUE 0 max_encrypted_len 255
PARAM_VALUE 1 crypto_str 5260491853113053184
PARAM_VALUE 1 crypto_str->len 0
PARAM_VALUE 1 crypto_str->name 0
DATA_SOURCE 1 crypto_str $1
LOCK2 &mdsc->snap_rwsem
LOCK2 &req->r_fill_mutex
LOCK2 &session->s_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ceph_mds_client)->snap_rwsem
TYPE_LOCK (struct ceph_mds_request)->r_fill_mutex
TYPE_LOCK (struct ceph_mds_session)->s_mutex

fs/ubifs/dir.c ubifs_readdir() -> fscrypt_fname_alloc_buffer()

Type Parameter Key Value
PARAM_VALUE 0 max_encrypted_len 255
PARAM_VALUE 1 crypto_str 1539377474572775424
PARAM_VALUE 1 crypto_str->len 0
PARAM_VALUE 1 crypto_str->name 0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dir_fp->readdir_lock
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem

fs/crypto/hooks.c fscrypt_get_symlink() -> fscrypt_fname_alloc_buffer()

Type Parameter Key Value
PARAM_VALUE 0 max_encrypted_len 1-u16max
PARAM_VALUE 1 crypto_str 3534225446327300096
PARAM_VALUE 1 crypto_str->name 0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 max_encrypted_len unit_byte

fs/f2fs/dir.c f2fs_readdir() -> fscrypt_fname_alloc_buffer()

Type Parameter Key Value
PARAM_VALUE 0 max_encrypted_len 255
PARAM_VALUE 1 crypto_str 2184478349378285568
PARAM_VALUE 1 crypto_str->len 0
PARAM_VALUE 1 crypto_str->name 0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dir_fp->readdir_lock
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem

fs/ext4/namei.c htree_dirblock_to_tree() -> fscrypt_fname_alloc_buffer()

Type Parameter Key Value
PARAM_VALUE 0 max_encrypted_len 255
PARAM_VALUE 1 crypto_str 7484339561209806848
PARAM_VALUE 1 crypto_str->len 0
PARAM_VALUE 1 crypto_str->name 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &inode->i_rwsem
HALF_LOCKED2 &dir_fp->readdir_lock
TYPE_LOCK (struct inode)->i_rwsem

fs/ext4/dir.c ext4_readdir() -> fscrypt_fname_alloc_buffer()

Type Parameter Key Value
PARAM_VALUE 0 max_encrypted_len 255
PARAM_VALUE 1 crypto_str 6199625368320962560
PARAM_VALUE 1 crypto_str->len 0
PARAM_VALUE 1 crypto_str->name 0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dir_fp->readdir_lock
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem