Home
last modified time | relevance | path

Searched refs:vnr (Results 1 – 7 of 7) sorted by relevance

/drivers/block/drbd/
Ddrbd_state.c59 int vnr; in count_objects() local
64 idr_for_each_entry(&resource->devices, device, vnr) in count_objects()
102 int vnr; in remember_old_state() local
136 idr_for_each_entry(&resource->devices, device, vnr) { in remember_old_state()
146 peer_device = conn_peer_device(connection, device->vnr); in remember_old_state()
310 int vnr; in conn_all_vols_unconf() local
313 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_all_vols_unconf()
351 int vnr; in conn_highest_role() local
354 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_highest_role()
367 int vnr; in conn_highest_peer() local
[all …]
Ddrbd_main.c490 int vnr = 0, minor = -1; in conn_lowest_minor() local
493 peer_device = idr_get_next(&connection->peer_devices, &vnr); in conn_lowest_minor()
597 int size, int vnr) in prepare_header100() argument
600 h->volume = cpu_to_be16(vnr); in prepare_header100()
607 static unsigned int prepare_header(struct drbd_connection *connection, int vnr, in prepare_header() argument
611 return prepare_header100(buffer, cmd, size, vnr); in prepare_header()
644 static int __send_command(struct drbd_connection *connection, int vnr, in __send_command() argument
661 header_size += prepare_header(connection, vnr, sock->sbuf, cmd, in __send_command()
699 err = __send_command(peer_device->connection, peer_device->device->vnr, in drbd_send_command()
1234 err = __send_command(first_peer_device(device)->connection, device->vnr, sock, in send_bitmap_rle_or_plain()
[all …]
Ddrbd_debugfs.c123 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()
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()
810 snprintf(vnr_buf, sizeof(vnr_buf), "%u", device->vnr); in drbd_debugfs_device_attr()
818 device->resource->name, device->vnr); in drbd_debugfs_device_attr()
870 snprintf(vnr_buf, sizeof(vnr_buf), "%u", peer_device->device->vnr); in drbd_debugfs_peer_device_add()
Ddrbd_receiver.c56 unsigned int vnr; member
233 int vnr; in conn_reclaim_net_peer_reqs() local
236 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_reclaim_net_peer_reqs()
935 int vnr, timeout, h; in conn_connect() local
1098 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) in conn_connect()
1103 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) in conn_connect()
1107 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_connect()
1170 pi->vnr = be16_to_cpu(h->volume); in decode_header()
1178 pi->vnr = 0; in decode_header()
1184 pi->vnr = 0; in decode_header()
[all …]
Ddrbd_worker.c200 device->minor, device->resource->name, device->vnr); in drbd_panic_after_delayed_completion_of_aborted_request()
1002 int vnr; in drbd_resync_finished() local
1003 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in drbd_resync_finished()
2036 int vnr; in do_unqueued_work() local
2039 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in do_unqueued_work()
2153 int vnr; in drbd_worker() local
2206 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in drbd_worker()
Ddrbd_nl.c262 adm_ctx->volume != adm_ctx->device->vnr) { in drbd_adm_prepare()
265 adm_ctx->device->vnr, in drbd_adm_prepare()
431 int vnr; in highest_fencing_policy() local
434 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in highest_fencing_policy()
2213 int vnr; in conn_resync_running() local
2216 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_resync_running()
2235 int vnr; in conn_ov_running() local
2238 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_ov_running()
2492 int vnr; in drbd_adm_net_opts() local
2494 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) in drbd_adm_net_opts()
[all …]
Ddrbd_int.h846 unsigned int vnr; /* volume number within the connection */ member