Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- net/rxrpc/af_rxrpc.c, line 312
- net/rxrpc/call_object.c, line 697
- net/rxrpc/conn_client.c, line 119
- net/rxrpc/conn_object.c, line 340
- net/rxrpc/io_thread.c, line 320
- net/rxrpc/peer_event.c
- net/rxrpc/sendmsg.c, line 650
Smatch caller information:
net/rxrpc/conn_object.c rxrpc_clean_up_connection() -> rxrpc_put_peer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | why | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
net/rxrpc/conn_client.c rxrpc_free_bundle() -> rxrpc_put_peer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | why | 14 |
| BUF_SIZE | 0 | peer | (-1),400 |
| BUF_SIZE | 0 | peer | (-1),400 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &call->user_mutex | ||
| HALF_LOCKED2 | &local->client_bundles_lock |
net/rxrpc/io_thread.c rxrpc_input_packet() -> rxrpc_put_peer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | peer | 0,4096-ptr_max |
| PARAM_VALUE | 0 | peer->local->io_thread->sched_class->uclamp_enabled | 0-1 |
| PARAM_VALUE | 1 | why | 17 |
| DATA_SOURCE | 0 | peer | r rxrpc_get_peer_maybe |
| PARAM_COMPARE | 0 | peer | == $0 |
| NOCHECK_CALL |
net/rxrpc/peer_event.c rxrpc_input_error() -> rxrpc_put_peer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | peer | 4096-ptr_max |
| PARAM_VALUE | 0 | peer->error_targets.first | 0 |
| PARAM_VALUE | 0 | peer->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | peer->ref.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 1 | why | 18 |
| DATA_SOURCE | 0 | peer | r rxrpc_lookup_peer_local_rcu |
| NOCHECK_CALL |
net/rxrpc/peer_event.c rxrpc_peer_keepalive_dispatch() -> rxrpc_put_peer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | peer | 4096-ptr_max |
| PARAM_VALUE | 0 | peer->local | 4096-ptr_max |
| PARAM_VALUE | 0 | peer->ref.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 1 | why | 19 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
net/rxrpc/sendmsg.c rxrpc_new_client_call_for_sendmsg() -> rxrpc_put_peer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | peer | 4096-ptr_max |
| PARAM_VALUE | 0 | peer->ref.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 1 | why | 13 |
| BUF_SIZE | 0 | peer | (-1),400 |
| BUF_SIZE | 0 | peer | (-1),400 |
| DATA_SOURCE | 0 | peer | r rxrpc_lookup_peer |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | peer->hash_key | 512-2305843009214086650[c][u] |
| USER_DATA | 0 | peer->srx.srx_family | 0-u16max[u] |
| USER_DATA | 0 | peer->srx.srx_service | 0-u16max[u] |
| USER_DATA | 0 | peer->srx.transport.family | 2,10[u] |
| USER_DATA | 0 | peer->srx.transport.sin.sin_addr.s_addr | 0-u32max[u] |
| USER_DATA | 0 | peer->srx.transport.sin.sin_family | 0-u16max[u] |
| USER_DATA | 0 | peer->srx.transport.sin.sin_port | 0-u16max[u] |
| USER_DATA | 0 | peer->srx.transport.sin6.sin6_family | 0-u16max[u] |
| USER_DATA | 0 | peer->srx.transport.sin6.sin6_flowinfo | 0-u32max[u] |
| USER_DATA | 0 | peer->srx.transport.sin6.sin6_port | 0-u16max[u] |
| USER_DATA | 0 | peer->srx.transport.sin6.sin6_scope_id | 0-u32max[u] |
| USER_DATA | 0 | peer->srx.transport_len | 0-u16max[u] |
| USER_DATA | 0 | peer->srx.transport_type | 2[u] |
| LOCK2 | &rx->sk | ||
| HALF_LOCKED2 | &vq->mutex | ||
| HALF_LOCKED2 | sk | ||
| TYPE_LOCK | (struct rxrpc_sock)->sk |
net/rxrpc/af_rxrpc.c rxrpc_kernel_put_peer() -> rxrpc_put_peer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | why | 13 |
| BUF_SIZE | 0 | peer | (-1),400 |
| BUF_SIZE | 0 | peer | (-1),400 |
| DATA_SOURCE | 0 | peer | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | peer->hash_key | 512-2305843009214086650[c][u] |
| USER_DATA | 0 | peer->srx.srx_family | 0-u16max[u] |
| USER_DATA | 0 | peer->srx.srx_service | 0-u16max[u] |
| USER_DATA | 0 | peer->srx.transport.family | 2,10[u] |
| USER_DATA | 0 | peer->srx.transport.sin.sin_addr.s_addr | 0-u32max[u] |
| USER_DATA | 0 | peer->srx.transport.sin.sin_family | 0-u16max[u] |
| USER_DATA | 0 | peer->srx.transport.sin.sin_port | 0-u16max[u] |
| USER_DATA | 0 | peer->srx.transport.sin6.sin6_family | 0-u16max[u] |
| USER_DATA | 0 | peer->srx.transport.sin6.sin6_flowinfo | 0-u32max[u] |
| USER_DATA | 0 | peer->srx.transport.sin6.sin6_port | 0-u16max[u] |
| USER_DATA | 0 | peer->srx.transport.sin6.sin6_scope_id | 0-u32max[u] |
| USER_DATA | 0 | peer->srx.transport_len | 0-u16max[u] |
| USER_DATA | 0 | peer->srx.transport_type | 2[u] |
net/rxrpc/call_object.c rxrpc_destroy_call() -> rxrpc_put_peer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | why | 15 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |