/drivers/block/drbd/ |
D | drbd_state.c | 47 int vnr; in count_objects() local 52 idr_for_each_entry(&resource->devices, device, vnr) in count_objects() 90 int vnr; in remember_old_state() local 124 idr_for_each_entry(&resource->devices, device, vnr) { in remember_old_state() 134 peer_device = conn_peer_device(connection, device->vnr); in remember_old_state() 298 int vnr; in conn_all_vols_unconf() local 301 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_all_vols_unconf() 339 int vnr; in conn_highest_role() local 342 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_highest_role() 355 int vnr; in conn_highest_peer() local [all …]
|
D | drbd_debugfs.c | 124 seq_printf(m, "%u\t%u\t", req->device->minor, req->device->vnr); in seq_print_minor_vnr_req() 144 device->minor, device->vnr, in seq_print_resource_pending_meta_io() 180 seq_printf(m, "%u\t%u\t", device->minor, device->vnr); in seq_print_waiting_for_AL() 209 device->minor, device->vnr, in seq_print_device_bitmap_io() 257 seq_printf(m, "%u\t%u\t", device->minor, device->vnr); in seq_print_peer_request() 282 device->minor, device->vnr, in seq_print_device_peer_requests() 782 snprintf(vnr_buf, sizeof(vnr_buf), "%u", device->vnr); in drbd_debugfs_device_attr() 788 device->resource->name, device->vnr); in drbd_debugfs_device_attr() 833 snprintf(vnr_buf, sizeof(vnr_buf), "%u", peer_device->device->vnr); in drbd_debugfs_peer_device_add()
|
D | drbd_receiver.c | 47 unsigned int vnr; member 226 int vnr; in conn_reclaim_net_peer_reqs() local 229 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_reclaim_net_peer_reqs() 929 int vnr, timeout, h; in conn_connect() local 1092 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) in conn_connect() 1100 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) in conn_connect() 1104 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_connect() 1167 pi->vnr = be16_to_cpu(h->volume); in decode_header() 1175 pi->vnr = 0; in decode_header() 1181 pi->vnr = 0; in decode_header() [all …]
|
D | drbd_main.c | 473 int vnr = 0, minor = -1; in conn_lowest_minor() local 476 peer_device = idr_get_next(&connection->peer_devices, &vnr); in conn_lowest_minor() 580 int size, int vnr) in prepare_header100() argument 583 h->volume = cpu_to_be16(vnr); in prepare_header100() 590 static unsigned int prepare_header(struct drbd_connection *connection, int vnr, in prepare_header() argument 594 return prepare_header100(buffer, cmd, size, vnr); in prepare_header() 627 static int __send_command(struct drbd_connection *connection, int vnr, in __send_command() argument 644 header_size += prepare_header(connection, vnr, sock->sbuf, cmd, in __send_command() 682 err = __send_command(peer_device->connection, peer_device->device->vnr, in drbd_send_command() 1215 err = __send_command(first_peer_device(device)->connection, device->vnr, sock, in send_bitmap_rle_or_plain() [all …]
|
D | drbd_worker.c | 201 device->minor, device->resource->name, device->vnr); in drbd_panic_after_delayed_completion_of_aborted_request() 998 int vnr; in drbd_resync_finished() local 999 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in drbd_resync_finished() 2051 int vnr; in do_unqueued_work() local 2054 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in do_unqueued_work() 2168 int vnr; in drbd_worker() local 2221 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in drbd_worker()
|
D | drbd_nl.c | 279 adm_ctx->volume != adm_ctx->device->vnr) { in drbd_adm_prepare() 282 adm_ctx->device->vnr, adm_ctx->device->resource->name); in drbd_adm_prepare() 447 int vnr; in highest_fencing_policy() local 450 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in highest_fencing_policy() 2177 int vnr; in conn_resync_running() local 2180 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_resync_running() 2199 int vnr; in conn_ov_running() local 2202 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_ov_running() 2440 int vnr; in drbd_adm_net_opts() local 2442 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) in drbd_adm_net_opts() [all …]
|
D | drbd_int.h | 827 unsigned int vnr; /* volume number within the connection */ member
|