Defined in 2 files as a function:

Referenced in 10 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 name 1-u64max
PARAM_VALUE 1 bits 6
BUF_SIZE 0 name (-1),1-32768
BUF_SIZE 0 name (-1),1-32768
DATA_SOURCE 0 name $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 *name 0-255
USER_PTR 0 name
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 global &nfsd_mutex

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

Type Parameter Key Value
PARAM_VALUE 0 name 16,4096-ptr_max
PARAM_VALUE 1 bits 6
BUF_SIZE 0 name (-1),1-32768
BUF_SIZE 0 name (-1),1-32768
DATA_SOURCE 0 name $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 *name 0-255
USER_PTR 0 name

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

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

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

Type Parameter Key Value
PARAM_VALUE 1 bits 8
BUF_SIZE 0 name 8
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem

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

Type Parameter Key Value
PARAM_VALUE 1 bits 8
BUF_SIZE 0 name 128
HALF_LOCKED2 &inode->i_rwsem

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

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

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

Type Parameter Key Value
PARAM_VALUE 1 bits 4
BUF_SIZE 0 name 129
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem