/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_main.c | 486 int vnr = 0, minor = -1; in conn_lowest_minor() local 489 peer_device = idr_get_next(&connection->peer_devices, &vnr); in conn_lowest_minor() 594 int size, int vnr) in prepare_header100() argument 597 h->volume = cpu_to_be16(vnr); in prepare_header100() 604 static unsigned int prepare_header(struct drbd_connection *connection, int vnr, in prepare_header() argument 608 return prepare_header100(buffer, cmd, size, vnr); in prepare_header() 641 static int __send_command(struct drbd_connection *connection, int vnr, in __send_command() argument 658 header_size += prepare_header(connection, vnr, sock->sbuf, cmd, in __send_command() 696 err = __send_command(peer_device->connection, peer_device->device->vnr, in drbd_send_command() 1233 err = __send_command(first_peer_device(device)->connection, device->vnr, sock, in send_bitmap_rle_or_plain() [all …]
|
D | drbd_receiver.c | 47 unsigned int vnr; member 224 int vnr; in conn_reclaim_net_peer_reqs() local 227 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_reclaim_net_peer_reqs() 927 int vnr, timeout, h; in conn_connect() local 1090 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) in conn_connect() 1098 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) in conn_connect() 1102 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_connect() 1165 pi->vnr = be16_to_cpu(h->volume); in decode_header() 1173 pi->vnr = 0; in decode_header() 1179 pi->vnr = 0; in decode_header() [all …]
|
D | drbd_worker.c | 201 device->minor, device->resource->name, device->vnr); in drbd_panic_after_delayed_completion_of_aborted_request() 1003 int vnr; in drbd_resync_finished() local 1004 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in drbd_resync_finished() 2052 int vnr; in do_unqueued_work() local 2055 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in do_unqueued_work() 2169 int vnr; in drbd_worker() local 2222 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() 2255 int vnr; in conn_resync_running() local 2258 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_resync_running() 2277 int vnr; in conn_ov_running() local 2280 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_ov_running() 2519 int vnr; in drbd_adm_net_opts() local 2521 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) in drbd_adm_net_opts() [all …]
|
D | drbd_int.h | 831 unsigned int vnr; /* volume number within the connection */ member
|