peer_devices 696 drivers/block/drbd/drbd_int.h struct idr peer_devices; /* volume number to peer device mapping */ peer_devices 806 drivers/block/drbd/drbd_int.h struct list_head peer_devices; peer_devices 817 drivers/block/drbd/drbd_int.h struct list_head peer_devices; peer_devices 1018 drivers/block/drbd/drbd_int.h return list_first_entry_or_null(&device->peer_devices, struct drbd_peer_device, peer_devices); peer_devices 1024 drivers/block/drbd/drbd_int.h return idr_find(&connection->peer_devices, volume_number); peer_devices 1046 drivers/block/drbd/drbd_int.h list_for_each_entry(peer_device, &device->peer_devices, peer_devices) peer_devices 1049 drivers/block/drbd/drbd_int.h list_for_each_entry_rcu(peer_device, &device->peer_devices, peer_devices) peer_devices 1052 drivers/block/drbd/drbd_int.h list_for_each_entry_safe(peer_device, tmp, &device->peer_devices, peer_devices) peer_devices 485 drivers/block/drbd/drbd_main.c peer_device = idr_get_next(&connection->peer_devices, &vnr); peer_devices 2705 drivers/block/drbd/drbd_main.c idr_init(&connection->peer_devices); peer_devices 2750 drivers/block/drbd/drbd_main.c idr_destroy(&connection->peer_devices); peer_devices 2862 drivers/block/drbd/drbd_main.c INIT_LIST_HEAD(&device->peer_devices); peer_devices 2871 drivers/block/drbd/drbd_main.c list_add(&peer_device->peer_devices, &device->peer_devices); peer_devices 2874 drivers/block/drbd/drbd_main.c id = idr_alloc(&connection->peer_devices, peer_device, vnr, vnr + 1, GFP_KERNEL); peer_devices 2904 drivers/block/drbd/drbd_main.c idr_remove(&connection->peer_devices, vnr); peer_devices 2907 drivers/block/drbd/drbd_main.c peer_device = idr_remove(&connection->peer_devices, vnr); peer_devices 2912 drivers/block/drbd/drbd_main.c list_del(&peer_device->peer_devices); peer_devices 2944 drivers/block/drbd/drbd_main.c idr_remove(&connection->peer_devices, device->vnr); peer_devices 3062 drivers/block/drbd/drbd_main.c idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { peer_devices 451 drivers/block/drbd/drbd_nl.c idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { peer_devices 2265 drivers/block/drbd/drbd_nl.c idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { peer_devices 2287 drivers/block/drbd/drbd_nl.c idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { peer_devices 2326 drivers/block/drbd/drbd_nl.c idr_for_each_entry(&connection->peer_devices, peer_device, i) { peer_devices 2356 drivers/block/drbd/drbd_nl.c idr_for_each_entry(&connection->peer_devices, peer_device, i) { peer_devices 2528 drivers/block/drbd/drbd_nl.c idr_for_each_entry(&connection->peer_devices, peer_device, vnr) peer_devices 2572 drivers/block/drbd/drbd_nl.c unsigned int peer_devices = 0; peer_devices 2673 drivers/block/drbd/drbd_nl.c idr_for_each_entry(&connection->peer_devices, peer_device, i) { peer_devices 2674 drivers/block/drbd/drbd_nl.c peer_devices++; peer_devices 2678 drivers/block/drbd/drbd_nl.c flags = (peer_devices--) ? NOTIFY_CONTINUES : 0; peer_devices 2681 drivers/block/drbd/drbd_nl.c idr_for_each_entry(&connection->peer_devices, peer_device, i) { peer_devices 2685 drivers/block/drbd/drbd_nl.c flags = (peer_devices--) ? NOTIFY_CONTINUES : 0; peer_devices 2692 drivers/block/drbd/drbd_nl.c idr_for_each_entry(&connection->peer_devices, peer_device, i) { peer_devices 3717 drivers/block/drbd/drbd_nl.c peer_device = list_entry(&device->peer_devices, struct drbd_peer_device, peer_devices); peer_devices 3720 drivers/block/drbd/drbd_nl.c list_for_each_entry_continue_rcu(peer_device, &device->peer_devices, peer_devices) { peer_devices 4384 drivers/block/drbd/drbd_nl.c unsigned int peer_devices = 0; peer_devices 4391 drivers/block/drbd/drbd_nl.c peer_devices++; peer_devices 4396 drivers/block/drbd/drbd_nl.c flags = (peer_devices--) ? NOTIFY_CONTINUES : 0; peer_devices 4404 drivers/block/drbd/drbd_nl.c flags = (peer_devices--) ? NOTIFY_CONTINUES : 0; peer_devices 4523 drivers/block/drbd/drbd_nl.c idr_for_each_entry(&connection->peer_devices, peer_device, i) { peer_devices 4958 drivers/block/drbd/drbd_nl.c notify_peer_device_state_change(skb, seq, &state_change->peer_devices[n], peer_devices 226 drivers/block/drbd/drbd_receiver.c idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { peer_devices 1089 drivers/block/drbd/drbd_receiver.c idr_for_each_entry(&connection->peer_devices, peer_device, vnr) peer_devices 1097 drivers/block/drbd/drbd_receiver.c idr_for_each_entry(&connection->peer_devices, peer_device, vnr) peer_devices 1101 drivers/block/drbd/drbd_receiver.c idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { peer_devices 1321 drivers/block/drbd/drbd_receiver.c idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { peer_devices 1757 drivers/block/drbd/drbd_receiver.c idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { peer_devices 5178 drivers/block/drbd/drbd_receiver.c idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { peer_devices 5886 drivers/block/drbd/drbd_receiver.c idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { peer_devices 74 drivers/block/drbd/drbd_state.c state_change->peer_devices = (void *)&state_change->connections[n_connections]; peer_devices 123 drivers/block/drbd/drbd_state.c peer_device_state_change = state_change->peer_devices; peer_devices 194 drivers/block/drbd/drbd_state.c &state_change->peer_devices[n]; peer_devices 242 drivers/block/drbd/drbd_state.c &state_change->peer_devices[n_peer_device]; peer_devices 301 drivers/block/drbd/drbd_state.c idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { peer_devices 342 drivers/block/drbd/drbd_state.c idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { peer_devices 358 drivers/block/drbd/drbd_state.c idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { peer_devices 374 drivers/block/drbd/drbd_state.c idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { peer_devices 390 drivers/block/drbd/drbd_state.c idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { peer_devices 406 drivers/block/drbd/drbd_state.c idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { peer_devices 422 drivers/block/drbd/drbd_state.c idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { peer_devices 438 drivers/block/drbd/drbd_state.c idr_for_each_entry(&connection->peer_devices, peer_device, vnr) peer_devices 454 drivers/block/drbd/drbd_state.c idr_for_each_entry(&connection->peer_devices, peer_device, vnr) peer_devices 1654 drivers/block/drbd/drbd_state.c &state_change->peer_devices[n_peer_device]; peer_devices 1761 drivers/block/drbd/drbd_state.c idr_for_each_entry(&connection->peer_devices, peer_device, vnr) peer_devices 2059 drivers/block/drbd/drbd_state.c idr_for_each_entry(&connection->peer_devices, peer_device, vnr) peer_devices 2081 drivers/block/drbd/drbd_state.c idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { peer_devices 2118 drivers/block/drbd/drbd_state.c idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { peer_devices 2160 drivers/block/drbd/drbd_state.c idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { peer_devices 2220 drivers/block/drbd/drbd_state.c idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { peer_devices 40 drivers/block/drbd/drbd_state_change.h struct drbd_peer_device_state_change *peer_devices; peer_devices 1003 drivers/block/drbd/drbd_worker.c idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { peer_devices 2054 drivers/block/drbd/drbd_worker.c idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { peer_devices 2221 drivers/block/drbd/drbd_worker.c idr_for_each_entry(&connection->peer_devices, peer_device, vnr) {