Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 6 files:

Smatch caller information:

lib/tests/test_hash.c test_hash_or() -> hashlen_string()

Type Parameter Key Value
PARAM_VALUE 0 *salt 0-255

net/sunrpc/svcauth.c hash_str() -> hashlen_string()

Type Parameter Key Value
PARAM_VALUE 0 salt 0
PARAM_VALUE 1 name 1-u64max
BUF_SIZE 1 name (-1),1-32768
BUF_SIZE 1 name (-1),1-32768
DATA_SOURCE 1 name $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *name 0-255
USER_PTR 1 name

net/sunrpc/svcauth_unix.c hash_str() -> hashlen_string()

Type Parameter Key Value
PARAM_VALUE 0 salt 0
BUF_SIZE 1 name (-1),8
BUF_SIZE 1 name (-1),8
DATA_SOURCE 1 name $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *name 0-255
USER_PTR 1 name
HALF_LOCKED2 &inode->i_rwsem

fs/nfsd/nfs4idmap.c hash_str() -> hashlen_string()

Type Parameter Key Value
PARAM_VALUE 0 salt 0
BUF_SIZE 1 name 128
BUF_SIZE 1 name 128
DATA_SOURCE 1 name $0
USER_DATA 1 *name 0-255
USER_PTR 1 name
HALF_LOCKED2 &inode->i_rwsem

fs/nfs/dns_resolve.c hash_str() -> hashlen_string()

Type Parameter Key Value
PARAM_VALUE 0 salt 0
BUF_SIZE 1 name (-1),129
BUF_SIZE 1 name (-1),129
DATA_SOURCE 1 name $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem

security/selinux/hooks.c selinux_kernfs_init_security() -> hashlen_string()

Type Parameter Key Value
PARAM_VALUE 0 salt 4096-ptr_max
DATA_SOURCE 0 salt $0

fs/dcache.c d_alloc_name() -> hashlen_string()

Type Parameter Key Value
BUF_SIZE 0 salt (-1)-s32max
BUF_SIZE 1 name (-1),1,3-18,20-21,32,64
BUF_SIZE 1 name (-1),1,3-18,20-21,32,64
DATA_SOURCE 0 salt $0
DATA_SOURCE 1 name $1
STR_LEN 0 salt (-1),2-5,7-8,11,14,16,19-20
RX_PATH
TASK_NOT_RUNNING
UNITS 0 salt unit_jiffy
HALF_LOCKED2 &psi->read_mutex
HALF_LOCKED2 &tty->legacy_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &fuse_mutex