Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

net/sunrpc/auth_gss/svcauth_gss.c rsc_hash() -> hash_mem()

Type Parameter Key Value
PARAM_VALUE 2 bits 10
BUF_SIZE 0 buf s32min-(-2),1-s32max
USER_DATA 1 length 2-400[c]
UNITS 0 buf unit_byte
UNITS 1 length unit_byte
HALF_LOCKED2 &inode->i_rwsem

net/sunrpc/auth_gss/svcauth_gss.c rsi_hash() -> hash_mem()

Type Parameter Key Value
PARAM_VALUE 1 length 0-s32max
PARAM_VALUE 2 bits 6
BUF_SIZE 0 buf s32min-(-2),1-s32max
USER_DATA 1 length 2-400[c]
UNITS 0 buf unit_byte
UNITS 1 length unit_byte
HALF_LOCKED2 &inode->i_rwsem

net/sunrpc/auth_gss/svcauth_gss.c rsi_hash() -> hash_mem()

Type Parameter Key Value
PARAM_VALUE 1 length 0-s32max
PARAM_VALUE 2 bits 6
BUF_SIZE 0 buf s32min-(-2),1-s32max
USER_DATA 1 length 1-4000000
UNITS 0 buf unit_byte
UNITS 1 length unit_byte
USER_PTR 0 buf
HALF_LOCKED2 &inode->i_rwsem

fs/nfsd/export.c svc_expkey_hash() -> hash_mem()

Type Parameter Key Value
PARAM_VALUE 1 length 0,4,8,12,16,24
PARAM_VALUE 2 bits 8
BUF_SIZE 0 buf 24
BUF_SIZE 0 buf 24
DATA_SOURCE 1 length r key_len
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 global &nfsd_mutex