Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/block/drbd/drbd_nl.c
- drivers/block/drbd/drbd_receiver.c, line 4969
- drivers/block/drbd/drbd_state.c
Smatch caller information:
drivers/block/drbd/drbd_state.c remember_new_state() -> conn_highest_role()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &device->resource->req_lock | ||
| HALF_LOCKED2 | &resource->req_lock | ||
| HALF_LOCKED2 | irq |
drivers/block/drbd/drbd_state.c remember_old_state() -> conn_highest_role()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &resources_mutex | ||
| HALF_LOCKED2 | irq |
drivers/block/drbd/drbd_nl.c _check_net_options() -> conn_highest_role()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | connection | 4096-ptr_max |
| PARAM_VALUE | 0 | connection->sender_work.q.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | connection->sender_work.q.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | connection->sender_work.q.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | connection->sender_work.q_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | connection->worker.reset_cpu_mask | 1 |
| PARAM_VALUE | 0 | connection->worker.stop.done | 0 |
| PARAM_VALUE | 0 | connection->worker.stop.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | connection->worker.stop.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | connection->worker.stop.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | connection->worker.stop.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | connection->worker.stop.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | connection->worker.stop.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | connection->worker.stop.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | connection->worker.stop.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | connection->worker.t_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | connection->worker.t_state | 1,3 |
| PARAM_VALUE | 0 | connection->worker.task | 4096-ptr_max |
| DATA_SOURCE | 0 | connection | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &adm_ctx->resource->adm_mutex | ||
| LOCK2 | rcu_read | ||
| 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 | 0 | &connection->data.mutex | |
| HALF_LOCKED2 | 0 | &connection->resource->conf_update | |
| TYPE_LOCK | (struct drbd_resource)->adm_mutex |
drivers/block/drbd/drbd_nl.c resource_to_info() -> conn_highest_role()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global ¬ification_mutex | ||
| HALF_LOCKED2 | rcu_read |
drivers/block/drbd/drbd_receiver.c conn_disconnect() -> conn_highest_role()
| 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_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 |
| CAPPED_DATA | 0 | connection->peer_devices.idr_base | 1 |
| CAPPED_DATA | 0 | &connection->current_epoch->list | 1 |
| DATA_SOURCE | 0 | connection | $0 |