Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

fs/nfsd/nfs4proc.c nfsd4_interssc_connect() -> rpc_uaddr2sockaddr()

Type Parameter Key Value
PARAM_VALUE 3 sap 6336662056864866304
PARAM_VALUE 4 salen 128
BUF_SIZE 1 uaddr 58
BUF_SIZE 3 sap 128
UNITS 2 uaddr_len unit_byte
UNITS 4 salen unit_byte

net/sunrpc/rpcb_clnt.c rpcb_dec_getaddr() -> rpc_uaddr2sockaddr()

Type Parameter Key Value
PARAM_VALUE 1 uaddr 1-u64max
PARAM_VALUE 2 uaddr_len 1-57
PARAM_VALUE 3 sap 3903764889297469440
PARAM_VALUE 4 salen 128
BUF_SIZE 1 uaddr s32min-(-1),1-s32max
BUF_SIZE 1 uaddr s32min-(-1),1-s32max
BUF_SIZE 3 sap 128
BUF_SIZE 3 sap 128
CAPPED_DATA 2 uaddr_len 1
DATA_SOURCE 2 uaddr_len r __be32_to_cpup
FUZZY_MAX 2 uaddr_len 57
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *uaddr 0-255
USER_DATA 2 uaddr_len 1-57[c]
UNITS 2 uaddr_len unit_byte
UNITS 4 salen unit_byte
USER_PTR 1 uaddr
HALF_LOCKED2 &pool->lock

fs/nfsd/nfs4state.c gen_callback() -> rpc_uaddr2sockaddr()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 0 net->gen 4096-ptr_max
PARAM_VALUE 3 sap 4096-ptr_max
PARAM_VALUE 4 salen 128
BUF_SIZE 1 uaddr s32min-(-2),1-s32max
BUF_SIZE 3 sap 128
PREEMPT_ADD
UNITS 0 net unit_byte
UNITS 1 uaddr unit_byte
UNITS 4 salen unit_byte
LOCK2 &nn->client_lock
TYPE_LOCK (struct nfsd_net)->client_lock

fs/nfs/nfs4namespace.c nfs_parse_server_name() -> rpc_uaddr2sockaddr()

Type Parameter Key Value
PARAM_VALUE 3 sap 4096-ptr_max
PARAM_VALUE 3 sap->sa_family 0
PARAM_VALUE 4 salen 128
BUF_SIZE 3 sap (-1),128
BUF_SIZE 3 sap (-1),128
CAPPED_DATA 2 uaddr_len 1
CAPPED_DATA 2 uaddr_len 1
DATA_SOURCE 0 net $4
DATA_SOURCE 1 uaddr $0
DATA_SOURCE 2 uaddr_len $1
DATA_SOURCE 3 sap $2
DATA_SOURCE 4 salen $3
RX_PATH
TASK_NOT_RUNNING
UNITS 2 uaddr_len unit_byte
UNITS 4 salen unit_byte