Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/block/drbd/drbd_nl.c
- drivers/block/drbd/drbd_receiver.c
- drivers/block/drbd/drbd_req.c, line 1772
- drivers/block/drbd/drbd_state.c
Smatch caller information:
drivers/block/drbd/drbd_state.c conn_request_state() -> _conn_request_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | connection | 4096-ptr_max |
| PARAM_VALUE | 0 | connection->resource | 4096-ptr_max |
| PARAM_VALUE | 0 | connection->resource->req_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | *connection->data.socket->sk->sk_backlog.head->dev->name | 0-255 |
| PARAM_VALUE | 3 | flags | 0-3,2066 |
| DATA_SOURCE | 0 | connection | $0 |
| DATA_SOURCE | 1 | mask | $1 |
| DATA_SOURCE | 2 | val | $2 |
| DATA_SOURCE | 3 | flags | $3 |
| STR_LEN | 0 | connection | (-1)-0 |
| STR_LEN | 0 | connection | (-1)-0 |
| HARD_MAX | 3 | flags | 2066 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | connection->ack_sender->rescuer->task->dl.dl_runtime | |
| NO_OVERFLOW_SIMPLE | 0 | connection->ack_sender->rescuer->task->dl.pi_se->dl_runtime | |
| NO_OVERFLOW_SIMPLE | 0 | connection->data.socket->sk->sk_backlog.len | |
| NO_OVERFLOW_SIMPLE | 0 | connection->data.socket->sk->sk_receive_queue.prev->end | |
| NO_OVERFLOW_SIMPLE | 0 | connection->data.socket->sk->sk_receive_queue.prev->len | |
| NO_OVERFLOW_SIMPLE | 0 | connection->data.socket->sk->sk_receive_queue.prev->next->end | |
| NO_OVERFLOW_SIMPLE | 0 | connection->data.socket->sk->sk_receive_queue.prev->next->len | |
| NO_OVERFLOW_SIMPLE | 0 | connection->data.socket->sk->sk_receive_queue.prev->next->tail | |
| NO_OVERFLOW_SIMPLE | 0 | connection->data.socket->sk->sk_receive_queue.prev->tail | |
| NO_OVERFLOW_SIMPLE | 0 | connection->data.socket->sk->sk_write_queue.next->end | |
| NO_OVERFLOW_SIMPLE | 0 | connection->data.socket->sk->sk_write_queue.next->len | |
| NO_OVERFLOW_SIMPLE | 0 | connection->data.socket->sk->sk_write_queue.next->prev->end | |
| NO_OVERFLOW_SIMPLE | 0 | connection->data.socket->sk->sk_write_queue.next->prev->len | |
| NO_OVERFLOW_SIMPLE | 0 | connection->data.socket->sk->sk_write_queue.next->prev->tail | |
| NO_OVERFLOW_SIMPLE | 0 | connection->data.socket->sk->sk_write_queue.next->prev->truesize | |
| NO_OVERFLOW_SIMPLE | 0 | connection->data.socket->sk->sk_write_queue.next->tail | |
| NO_OVERFLOW_SIMPLE | 0 | connection->data.socket->sk->sk_write_queue.next->truesize | |
| LOCK2 | irq | ||
| LOCK2 | 0 | &connection->resource->req_lock | |
| HALF_LOCKED2 | &adm_ctx->resource->adm_mutex | ||
| HALF_LOCKED2 | 0 | &connection->cstate_mutex | |
| HALF_LOCKED2 | 0 | &connection->data.mutex | |
| HALF_LOCKED2 | 0 | &connection->resource->conf_update | |
| TYPE_LOCK | (struct drbd_resource)->req_lock |
drivers/block/drbd/drbd_state.c w_after_conn_state_ch() -> _conn_request_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | connection | 4096-ptr_max |
| PARAM_VALUE | 0 | connection->resource | 4096-ptr_max |
| PARAM_VALUE | 0 | connection->resource->req_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 3 | flags | 2 |
| CAPPED_DATA | 0 | connection->peer_devices.idr_base | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | irq | ||
| LOCK2 | 0 | &connection->resource->req_lock | |
| TYPE_LOCK | (struct drbd_resource)->req_lock |
drivers/block/drbd/drbd_nl.c conn_try_outdate_peer() -> _conn_request_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | connection | 4096-ptr_max |
| PARAM_VALUE | 0 | connection->cstate | 0-8 |
| PARAM_VALUE | 0 | connection->resource | 4096-ptr_max |
| PARAM_VALUE | 0 | connection->resource->req_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 3 | flags | 1027 |
| BUF_SIZE | 0 | connection | (-1),128 |
| BUF_SIZE | 0 | connection | (-1),128 |
| CAPPED_DATA | 0 | connection->peer_devices.idr_base | 1 |
| DATA_SOURCE | 0 | connection | $0 |
| HARD_MAX | 0 | connection->cstate | 8 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &resource->req_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | device->state_mutex | ||
| TYPE_LOCK | (struct drbd_resource)->req_lock |
drivers/block/drbd/drbd_nl.c conn_try_outdate_peer() -> _conn_request_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | connection | 4096-ptr_max |
| PARAM_VALUE | 0 | connection->cstate | 0-8 |
| PARAM_VALUE | 0 | connection->resource | 4096-ptr_max |
| PARAM_VALUE | 0 | connection->resource->req_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 3 | flags | 2 |
| BUF_SIZE | 0 | connection | (-1),128 |
| BUF_SIZE | 0 | connection | (-1),128 |
| CAPPED_DATA | 0 | connection->connect_cnt | 1 |
| CAPPED_DATA | 0 | connection->peer_devices.idr_base | 1 |
| DATA_SOURCE | 0 | connection | $0 |
| HARD_MAX | 0 | connection->cstate | 8 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &resource->req_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | device->state_mutex | ||
| TYPE_LOCK | (struct drbd_resource)->req_lock |
drivers/block/drbd/drbd_receiver.c conn_disconnect() -> _conn_request_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | connection | 4096-ptr_max |
| PARAM_VALUE | 0 | connection->ack_receiver.stop.done | 0-4294967293,u32max |
| PARAM_VALUE | 0 | connection->ack_receiver.stop.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | connection->ack_receiver.stop.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | connection->ack_receiver.stop.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | connection->ack_receiver.stop.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | connection->ack_receiver.stop.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | connection->ack_receiver.stop.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | connection->ack_receiver.stop.wait.task_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | connection->ack_receiver.stop.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | connection->ack_receiver.t_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | connection->ack_receiver.t_state | 2-3 |
| PARAM_VALUE | 0 | connection->ack_receiver.task->sighand->siglock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | connection->ack_receiver.task->signal->flags | 0,2-u32max |
| PARAM_VALUE | 0 | connection->ack_sender | 0 |
| PARAM_VALUE | 0 | connection->cstate | 2-u32max |
| PARAM_VALUE | 0 | connection->cstate_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | connection->cstate_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | connection->cstate_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | connection->cstate_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | connection->cstate_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | connection->cstate_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | connection->current_epoch | 4096-ptr_max |
| PARAM_VALUE | 0 | connection->current_epoch->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | connection->data.sbuf->command | 18,42 |
| PARAM_VALUE | 0 | connection->data.socket | 0 |
| PARAM_VALUE | 0 | connection->meta.socket | 0 |
| PARAM_VALUE | 0 | connection->resource | 4096-ptr_max |
| PARAM_VALUE | 0 | connection->resource->req_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | connection->send.seen_any_write_yet | 0 |
| PARAM_VALUE | 0 | *connection->data->socket->sk->private->addtl | 0-255 |
| PARAM_VALUE | 3 | flags | 2 |
| CAPPED_DATA | 0 | connection->peer_devices.idr_base | 1 |
| CAPPED_DATA | 0 | &connection->current_epoch->list | 1 |
| DATA_SOURCE | 0 | connection | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | irq | ||
| LOCK2 | 0 | &connection->resource->req_lock | |
| TYPE_LOCK | (struct drbd_resource)->req_lock |
drivers/block/drbd/drbd_receiver.c handle_write_conflicts() -> _conn_request_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | connection | 4096-ptr_max |
| PARAM_VALUE | 3 | flags | 1 |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| LOCK2 | &device->resource->req_lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct drbd_resource)->req_lock |
drivers/block/drbd/drbd_req.c request_timer_fn() -> _conn_request_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | connection | 4096-ptr_max |
| PARAM_VALUE | 3 | flags | 3 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &device->resource->req_lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct drbd_resource)->req_lock |