Home
last modified time | relevance | path

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

/drivers/block/drbd/
Ddrbd_state.c47 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 …]
Ddrbd_debugfs.c124 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()
Ddrbd_main.c236 peer_device = conn_peer_device(connection, req->device->vnr); in tl_release()
264 peer_device = conn_peer_device(connection, req->device->vnr); in _tl_restart()
477 int vnr = 0, minor = -1; in conn_lowest_minor() local
480 peer_device = idr_get_next(&connection->peer_devices, &vnr); in conn_lowest_minor()
584 int size, int vnr) in prepare_header100() argument
587 h->volume = cpu_to_be16(vnr); in prepare_header100()
594 static unsigned int prepare_header(struct drbd_connection *connection, int vnr, in prepare_header() argument
598 return prepare_header100(buffer, cmd, size, vnr); in prepare_header()
631 static int __send_command(struct drbd_connection *connection, int vnr, in __send_command() argument
648 header_size += prepare_header(connection, vnr, sock->sbuf, cmd, in __send_command()
[all …]
Ddrbd_receiver.c46 unsigned int vnr; member
225 int vnr; in conn_reclaim_net_peer_reqs() local
228 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_reclaim_net_peer_reqs()
928 int vnr, timeout, h; in conn_connect() local
1094 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()
1106 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_connect()
1169 pi->vnr = be16_to_cpu(h->volume); in decode_header()
1177 pi->vnr = 0; in decode_header()
1183 pi->vnr = 0; in decode_header()
[all …]
Ddrbd_polymorph_printk.h19 #define __drbd_printk_drbd_device_args() __r->name, __d->vnr, __d->minor
30 __r->name, __d->vnr, __d->minor
Ddrbd_worker.c201 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()
2059 int vnr; in do_unqueued_work() local
2062 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in do_unqueued_work()
2176 int vnr; in drbd_worker() local
2229 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in drbd_worker()
Ddrbd_nl.c279 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()
2199 int vnr; in conn_resync_running() local
2202 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_resync_running()
2221 int vnr; in conn_ov_running() local
2224 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_ov_running()
2462 int vnr; in drbd_adm_net_opts() local
2464 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) in drbd_adm_net_opts()
[all …]
Ddrbd_int.h761 unsigned int vnr; /* volume number within the connection */ member