Defined in 1 files as a function:
Referenced in 4 files:
- fs/nfsd/nfs4callback.c, line 1832
- fs/nfsd/nfs4state.c, line 2441
- net/sunrpc/svc_xprt.c
- net/sunrpc/svcsock.c, line 499
Smatch caller information:
fs/nfsd/nfs4callback.c nfsd4_process_cb_update() -> svc_xprt_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &clp->cl_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct nfs4_client)->cl_lock |
net/sunrpc/svc_xprt.c svc_check_conn_limits() -> svc_xprt_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xprt | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &serv->sv_lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct svc_serv)->sv_lock |
net/sunrpc/svc_xprt.c svc_defer() -> svc_xprt_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &file->f_mutex |
net/sunrpc/svc_xprt.c svc_find_listener() -> svc_xprt_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xprt | 4096-ptr_max |
| PARAM_VALUE | 0 | xprt->xpt_class | 4096-ptr_max |
| PARAM_VALUE | 0 | xprt->xpt_net | 4096-ptr_max |
| CAPPED_DATA | 0 | xprt->xpt_local.sa_family | 1 |
| CAPPED_DATA | 0 | xprt->xpt_net | 1 |
| CAPPED_DATA | 0 | &xprt->xpt_list | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &serv->sv_lock | ||
| LOCK2 | bh | ||
| LOCK2 | global &nfsd_mutex | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct svc_serv)->sv_lock |
net/sunrpc/svc_xprt.c svc_find_xprt() -> svc_xprt_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xprt | 4096-ptr_max |
| PARAM_VALUE | 0 | xprt->xpt_class | 4096-ptr_max |
| PARAM_VALUE | 0 | xprt->xpt_net | 4096-ptr_max |
| CAPPED_DATA | 0 | xprt->xpt_net | 1 |
| CAPPED_DATA | 0 | &xprt->xpt_list | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &serv->sv_lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | global &nfsd_mutex | ||
| HALF_LOCKED2 | global &nlmsvc_mutex | ||
| TYPE_LOCK | (struct svc_serv)->sv_lock |
net/sunrpc/svc_xprt.c svc_xprt_dequeue() -> svc_xprt_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xprt | 4096-ptr_max |
| NOCHECK_CALL |
net/sunrpc/svc_xprt.c svc_xprt_received() -> svc_xprt_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xprt | 4096-ptr_max |
| PARAM_VALUE | 0 | xprt->xpt_class->xcl_owner | 0,4096-ptr_max |
| BUF_SIZE | 0 | xprt | (-1),720 |
| BUF_SIZE | 0 | xprt | (-1),720 |
| DATA_SOURCE | 0 | xprt | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | xprt->sc_pd->device->hw_stats_attr_index | |
| NO_OVERFLOW_SIMPLE | 0 | xprt->sc_pd->device->num_comp_vectors | |
| NO_OVERFLOW_SIMPLE | 0 | xprt->sc_pd->device->phys_port_cnt |
fs/nfsd/nfs4state.c alloc_conn() -> svc_xprt_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xprt | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xprt->ns_tracker->alloc_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | xprt->ns_tracker->dead | 0-1 |
| PARAM_VALUE | 0 | xprt->ns_tracker->free_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | xprt->xpt_class->xcl_max_payload | 32768,4194304 |
| PARAM_VALUE | 0 | xprt->xpt_cred->process_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | xprt->xpt_cred->process_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | xprt->xpt_cred->request_key_auth->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | xprt->xpt_cred->request_key_auth->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | xprt->xpt_cred->session_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | xprt->xpt_cred->session_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | xprt->xpt_cred->thread_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | xprt->xpt_cred->thread_keyring->user->qnkeys | s32min-s32max |
| CAPPED_DATA | 0 | xprt | 1 |
| NOCHECK_CALL |
net/sunrpc/svcsock.c svc_tcp_handshake() -> svc_xprt_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xprt | 4096-ptr_max |
| PARAM_VALUE | 0 | xprt->xpt_ops | 4096-ptr_max |
| DATA_SOURCE | 0 | xprt | $0 |
| NOCHECK_CALL |