Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
net/sunrpc/xprtmultipath.c __xprt_iter_init() -> xprt_switch_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xps | 1-u64max |
| PARAM_VALUE | 0 | xps->xps_iter_ops->xpi_next | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xps->xps_iter_ops->xpi_rewind | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xps->xps_iter_ops->xpi_xprt | 0,4096-ptr_max |
| BUF_SIZE | 0 | xps | (-1),4,24,64,160,168-s32max |
| BUF_SIZE | 0 | xps | (-1),4,24,64,160,168-s32max |
| DATA_SOURCE | 0 | xps | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/sunrpc/sysfs.c rpc_sysfs_xprt_kobj_get_xprt_switch() -> xprt_switch_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
net/sunrpc/sysfs.c rpc_sysfs_xprt_switch_kobj_get_xprt() -> xprt_switch_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
net/sunrpc/clnt.c __rpc_clone_client() -> xprt_switch_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
net/sunrpc/clnt.c rpc_clnt_add_xprt() -> xprt_switch_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
net/sunrpc/clnt.c rpc_clnt_setup_test_and_add_xprt() -> xprt_switch_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xps | 4096-ptr_max |
| PARAM_VALUE | 0 | xps->xps_iter_ops | 4012640860937388032 |
| PARAM_VALUE | 0 | xps->xps_iter_ops->xpi_next | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xps->xps_iter_ops->xpi_rewind | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xps->xps_iter_ops->xpi_xprt | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xps->xps_kref.refcount.refs.counter | (-1073741824),0-s32max |
| BUF_SIZE | 0 | xps | (-1),4,24,64,160,168-s32max |
| BUF_SIZE | 0 | xps | (-1),4,24,64,160,168-s32max |
| DATA_SOURCE | 0 | xps | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/sunrpc/clnt.c rpc_clnt_test_and_add_xprt() -> xprt_switch_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xps | 4096-ptr_max |
| PARAM_VALUE | 0 | xps->xps_iter_ops | 4012640860937388032 |
| PARAM_VALUE | 0 | xps->xps_iter_ops->xpi_next | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xps->xps_iter_ops->xpi_rewind | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xps->xps_iter_ops->xpi_xprt | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xps->xps_kref.refcount.refs.counter | (-1073741824),0-s32max |
| BUF_SIZE | 0 | xps | (-1),4,24,64,160,168-s32max |
| BUF_SIZE | 0 | xps | (-1),4,24,64,160,168-s32max |
| DATA_SOURCE | 0 | xps | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/sunrpc/clnt.c rpc_clnt_xprt_switch_get() -> xprt_switch_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
net/sunrpc/clnt.c rpc_create_xprt() -> xprt_switch_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xps | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
net/sunrpc/clnt.c rpc_create_xprt() -> xprt_switch_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xps | 4096-ptr_max |
| PARAM_VALUE | 0 | xps->xps_iter_ops | 725140946409648128 |
| PARAM_VALUE | 0 | xps->xps_kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | xps->xps_nactive | 0-1 |
| PARAM_VALUE | 0 | xps->xps_nunique_destaddr_xprts | 1 |
| PARAM_VALUE | 0 | xps->xps_nxprts | 0-1 |
| PARAM_VALUE | 0 | xps->xps_queuelen.counter | 0 |
| PARAM_VALUE | 0 | xps->xps_sysfs | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xps->xps_sysfs->kobject.entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | xps->xps_sysfs->kobject.kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | xps->xps_sysfs->kobject.kset | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xps->xps_sysfs->kobject.ktype | 4096-ptr_max |
| PARAM_VALUE | 0 | xps->xps_sysfs->kobject.parent | 4096-ptr_max |
| PARAM_VALUE | 0 | xps->xps_sysfs->kobject.sd | 4096-ptr_max |
| PARAM_VALUE | 0 | xps->xps_sysfs->kobject.state_in_sysfs | 1 |
| PARAM_VALUE | 0 | xps->xps_sysfs->kobject.state_initialized | 1 |
| PARAM_VALUE | 0 | xps->xps_xprt_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | xps->xps_xprt_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | xps->xps_xprt_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | xps->xps_xprt_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | xps->xps_xprt_list.prev->prev | 4096-ptr_max |
| BUF_SIZE | 0 | xps | 160 |
| DATA_SOURCE | 0 | xps | r xprt_switch_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
net/sunrpc/clnt.c rpc_xprt_offline() -> xprt_switch_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &seq->lock |