Home
last modified time | relevance | path

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

/linux/drivers/block/drbd/
H A 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 …]
H A 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()
H A 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()
570 int size, int vnr) in prepare_header100() argument
573 h->volume = cpu_to_be16(vnr); in prepare_header100()
580 static unsigned int prepare_header(struct drbd_connection *connection, int vnr, in prepare_header() argument
584 return prepare_header100(buffer, cmd, size, vnr); in prepare_header()
617 static int __send_command(struct drbd_connection *connection, int vnr, in __send_command() argument
634 header_size += prepare_header(connection, vnr, sock->sbuf, cmd, in __send_command()
672 err = __send_command(peer_device->connection, peer_device->device->vnr, in drbd_send_command()
1206 err = __send_command(peer_device->connection, device->vnr, sock, in send_bitmap_rle_or_plain()
[all …]
H A 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 …]
H A Ddrbd_polymorph_printk.h19 #define __drbd_printk_drbd_device_args() __r->name, __d->vnr, __d->minor
30 __r->name, __d->vnr, __d->minor
H A 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()
H A 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()
2190 int vnr; in conn_resync_running() local
2193 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_resync_running()
2212 int vnr; in conn_ov_running() local
2215 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_ov_running()
2453 int vnr; in drbd_adm_net_opts() local
2455 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) in drbd_adm_net_opts()
[all …]
H A Ddrbd_int.h759 unsigned int vnr; /* volume number within the connection */ member
/linux/kernel/
H A Dpid.c433 struct task_struct *find_task_by_vpid(pid_t vnr) in find_task_by_vpid() argument
435 return find_task_by_pid_ns(vnr, task_active_pid_ns(current)); in find_task_by_vpid()
/linux/fs/
H A Dlocks.c2217 pid_t vnr; in locks_translate_pid() local
2237 vnr = pid_nr_ns(pid, ns); in locks_translate_pid()
2239 return vnr; in locks_translate_pid()