/drivers/block/drbd/ |
D | drbd_state.c | 69 int vnr; in conn_all_vols_unconf() local 72 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_all_vols_unconf() 109 int vnr; in conn_highest_role() local 112 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_highest_role() 125 int vnr; in conn_highest_peer() local 128 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_highest_peer() 141 int vnr; in conn_highest_disk() local 144 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_highest_disk() 157 int vnr; in conn_lowest_disk() local 160 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_lowest_disk() [all …]
|
D | drbd_debugfs.c | 123 seq_printf(m, "%u\t%u\t", req->device->minor, req->device->vnr); in seq_print_minor_vnr_req() 143 device->minor, device->vnr, in seq_print_resource_pending_meta_io() 179 seq_printf(m, "%u\t%u\t", device->minor, device->vnr); in seq_print_waiting_for_AL() 208 device->minor, device->vnr, in seq_print_device_bitmap_io() 262 seq_printf(m, "%u\t%u\t", device->minor, device->vnr); in seq_print_peer_request() 287 device->minor, device->vnr, in seq_print_device_peer_requests() 811 snprintf(vnr_buf, sizeof(vnr_buf), "%u", device->vnr); in drbd_debugfs_device_attr() 819 device->resource->name, device->vnr); in drbd_debugfs_device_attr() 869 snprintf(vnr_buf, sizeof(vnr_buf), "%u", peer_device->device->vnr); in drbd_debugfs_peer_device_add()
|
D | drbd_main.c | 491 int vnr = 0, minor = -1; in conn_lowest_minor() local 494 peer_device = idr_get_next(&connection->peer_devices, &vnr); in conn_lowest_minor() 598 int size, int vnr) in prepare_header100() argument 601 h->volume = cpu_to_be16(vnr); in prepare_header100() 608 static unsigned int prepare_header(struct drbd_connection *connection, int vnr, in prepare_header() argument 612 return prepare_header100(buffer, cmd, size, vnr); in prepare_header() 645 static int __send_command(struct drbd_connection *connection, int vnr, in __send_command() argument 662 header_size += prepare_header(connection, vnr, sock->sbuf, cmd, in __send_command() 700 err = __send_command(peer_device->connection, peer_device->device->vnr, in drbd_send_command() 1200 err = __send_command(first_peer_device(device)->connection, device->vnr, sock, in send_bitmap_rle_or_plain() [all …]
|
D | drbd_receiver.c | 56 unsigned int vnr; member 908 int vnr, timeout, h; in conn_connect() local 1071 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) in conn_connect() 1076 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) in conn_connect() 1080 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_connect() 1135 pi->vnr = be16_to_cpu(h->volume); in decode_header() 1143 pi->vnr = 0; in decode_header() 1149 pi->vnr = 0; in decode_header() 1179 int vnr; in drbd_flush() local 1183 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in drbd_flush() [all …]
|
D | drbd_nl.c | 248 adm_ctx->volume != adm_ctx->device->vnr) { in drbd_adm_prepare() 251 adm_ctx->device->vnr, in drbd_adm_prepare() 413 int vnr; in highest_fencing_policy() local 416 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in highest_fencing_policy() 430 vnr = 0; in highest_fencing_policy() 431 peer_device = idr_get_next(&connection->peer_devices, &vnr); in highest_fencing_policy() 1963 int vnr; in conn_resync_running() local 1966 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_resync_running() 1985 int vnr; in conn_ov_running() local 1988 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_ov_running() [all …]
|
D | drbd_worker.c | 1952 int vnr; in do_unqueued_work() local 1955 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in do_unqueued_work() 2069 int vnr; in drbd_worker() local 2122 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in drbd_worker()
|
D | drbd_int.h | 834 unsigned int vnr; /* volume number within the connection */ member
|