Defined in 1 files as a function:
Referenced in 10 files:
- fs/lockd/host.c, line 138
- fs/nfs/internal.h, line 979
- fs/nfs/nfs4client.c
- fs/nfs/nfs4namespace.c
- fs/nfsd/nfscache.c, line 106
- net/sunrpc/clnt.c, line 1581
- net/sunrpc/sysfs.c, line 410
- net/sunrpc/xprtrdma/svc_rdma_transport.c, line 287
- net/sunrpc/xprtrdma/transport.c, line 405
- net/sunrpc/xprtsock.c
Smatch caller information:
net/sunrpc/sysfs.c rpc_sysfs_xprt_dstaddr_store() -> rpc_set_port()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sap | 4096-ptr_max |
| BUF_SIZE | 0 | sap | 128 |
| BUF_SIZE | 0 | sap | 128 |
| DATA_SOURCE | 1 | port | r rpc_get_port |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
fs/nfs/nfs4client.c nfs4_create_referral_server() -> rpc_set_port()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sap | 4096-ptr_max |
| PARAM_VALUE | 1 | port | 20049 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &parent->d_lockref.lock |
fs/nfs/nfs4client.c nfs4_create_referral_server() -> rpc_set_port()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sap | 4096-ptr_max |
| PARAM_VALUE | 1 | port | 2049 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &parent->d_lockref.lock |
fs/nfs/super.c nfs_set_port() -> rpc_set_port()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sap | 4096-ptr_max |
| BUF_SIZE | 0 | sap | 128 |
| BUF_SIZE | 0 | sap | 128 |
| DATA_SOURCE | 0 | sap | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &fc->uapi_mutex |
net/sunrpc/xprtsock.c xs_bind() -> rpc_set_port()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sap | 795963857533247488 |
| BUF_SIZE | 0 | sap | 128 |
| CAPPED_DATA | 1 | port | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
net/sunrpc/xprtsock.c xs_set_port() -> rpc_set_port()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sap | 4096-ptr_max |
| PARAM_VALUE | 1 | port | 1-u16max |
| BUF_SIZE | 0 | sap | 128 |
| DATA_SOURCE | 1 | port | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
net/sunrpc/xprtrdma/svc_rdma_transport.c handle_connect_req() -> rpc_set_port()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sap | 4096-ptr_max |
| PARAM_VALUE | 1 | port | 0 |
| BUF_SIZE | 0 | sap | 128 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &id_priv->handler_mutex | ||
| HALF_LOCKED2 | &listen_id->handler_mutex |
fs/lockd/host.c nlm_alloc_host() -> rpc_set_port()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sap | 4096-ptr_max |
| PARAM_VALUE | 1 | port | 0 |
| BUF_SIZE | 0 | sap | 128 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &nlm_host_mutex |
net/sunrpc/xprtrdma/transport.c xprt_rdma_set_port() -> rpc_set_port()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sap | 4096-ptr_max |
| PARAM_VALUE | 1 | port | 1-u16max |
| BUF_SIZE | 0 | sap | 128 |
| BUF_SIZE | 0 | sap | 128 |
| DATA_SOURCE | 1 | port | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
fs/nfs/nfs4namespace.c nfs4_try_replacing_one_location() -> rpc_set_port()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sap | 4096-ptr_max |
| PARAM_VALUE | 1 | port | 2049 |
| BUF_SIZE | 0 | sap | 128 |
| BUF_SIZE | 0 | sap | 128 |
| DATA_SOURCE | 0 | sap | r _kmalloc_noprof |
| NOCHECK_CALL |
fs/nfs/nfs4namespace.c nfs_parse_server_name() -> rpc_set_port()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sap | 6304947930841137152 |
| PARAM_VALUE | 0 | sap->sa_family | 0 |
| BUF_SIZE | 0 | sap | (-1),128 |
| BUF_SIZE | 0 | sap | (-1),128 |
| DATA_SOURCE | 0 | sap | $2 |
| DATA_SOURCE | 1 | port | $5 |
| MEM_ZERO | 0 | sap | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/nfs/nfs4namespace.c try_location() -> rpc_set_port()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sap | 4096-ptr_max |
| PARAM_VALUE | 1 | port | 2049 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &parent->d_lockref.lock | ||
| HALF_LOCKED2 | &path->dentry->d_lockref.lock |
fs/nfsd/nfscache.c nfsd_cacherep_alloc() -> rpc_set_port()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sap | 4096-ptr_max |
| BUF_SIZE | 0 | sap | 28 |
| MEM_ZERO | 0 | sap | |
| NOCHECK_CALL |
net/sunrpc/clnt.c rpc_localaddr() -> rpc_set_port()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sap | 5168613754251886592 |
| PARAM_VALUE | 1 | port | 0 |
| BUF_SIZE | 0 | sap | 128 |
| BUF_SIZE | 0 | sap | 128 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/nfs/fs_context.c nfs_set_port() -> rpc_set_port()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sap | 4096-ptr_max |
| BUF_SIZE | 0 | sap | 128 |
| BUF_SIZE | 0 | sap | 128 |
| DATA_SOURCE | 0 | sap | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &fc->uapi_mutex |