Lines Matching refs:drbd_device
147 static struct page *__drbd_alloc_pages(struct drbd_device *device, in __drbd_alloc_pages()
193 static void reclaim_finished_net_peer_reqs(struct drbd_device *device, in reclaim_finished_net_peer_reqs()
210 static void drbd_reclaim_net_peer_reqs(struct drbd_device *device) in drbd_reclaim_net_peer_reqs()
229 struct drbd_device *device = peer_device->device; in conn_reclaim_net_peer_reqs()
265 struct drbd_device *device = peer_device->device; in drbd_alloc_pages()
317 static void drbd_free_pages(struct drbd_device *device, struct page *page, int is_net) in drbd_free_pages()
363 struct drbd_device *device = peer_device->device; in drbd_alloc_peer_req()
406 void __drbd_free_peer_req(struct drbd_device *device, struct drbd_peer_request *peer_req, in __drbd_free_peer_req()
422 int drbd_free_peer_reqs(struct drbd_device *device, struct list_head *list) in drbd_free_peer_reqs()
443 static int drbd_finish_peer_reqs(struct drbd_device *device) in drbd_finish_peer_reqs()
476 static void _drbd_wait_ee_list_empty(struct drbd_device *device, in _drbd_wait_ee_list_empty()
492 static void drbd_wait_ee_list_empty(struct drbd_device *device, in drbd_wait_ee_list_empty()
891 struct drbd_device *device = peer_device->device; in drbd_connected()
1107 struct drbd_device *device = peer_device->device; in conn_connect()
1257 struct drbd_device *device;
1264 struct drbd_device *device = octx->device; in one_flush_endio()
1282 static void submit_one_flush(struct drbd_device *device, struct issue_flush_context *ctx) in submit_one_flush()
1325 struct drbd_device *device = peer_device->device; in drbd_flush()
1451 struct drbd_device *device; in drbd_bump_write_ordering()
1513 int drbd_issue_discard_or_zero_out(struct drbd_device *device, sector_t start, unsigned int nr_sect… in drbd_issue_discard_or_zero_out()
1578 static bool can_do_reliable_discards(struct drbd_device *device) in can_do_reliable_discards()
1593 static void drbd_issue_peer_discard_or_zero_out(struct drbd_device *device, struct drbd_peer_reques… in drbd_issue_peer_discard_or_zero_out()
1636 struct drbd_device *device = peer_req->peer_device->device; in drbd_submit_peer_request()
1727 static void drbd_remove_epoch_entry_interval(struct drbd_device *device, in drbd_remove_epoch_entry_interval()
1747 struct drbd_device *device = peer_device->device; in conn_wait_active_ee_empty()
1850 struct drbd_device *device = peer_device->device; in read_in_block()
2039 struct drbd_device *device = peer_device->device; in e_end_resync_block()
2062 struct drbd_device *device = peer_device->device; in recv_resync_read()
2100 find_request(struct drbd_device *device, struct rb_root *root, u64 id, in find_request()
2119 struct drbd_device *device; in receive_DataReply()
2151 struct drbd_device *device; in receive_RSDataReply()
2183 static void restart_conflicting_writes(struct drbd_device *device, in restart_conflicting_writes()
2210 struct drbd_device *device = peer_device->device; in e_end_block()
2293 struct drbd_device *device = peer_device->device; in update_peer_seq()
2313 static bool overlapping_resync_write(struct drbd_device *device, struct drbd_peer_request *peer_req) in overlapping_resync_write()
2354 struct drbd_device *device = peer_device->device; in wait_for_and_update_peer_seq()
2419 static void fail_postponed_requests(struct drbd_device *device, sector_t sector, in fail_postponed_requests()
2445 static int handle_write_conflicts(struct drbd_device *device, in handle_write_conflicts()
2557 struct drbd_device *device; in receive_Data()
2735 struct drbd_device *device = peer_device->device; in drbd_rs_should_slow_down()
2756 bool drbd_rs_c_min_rate_throttle(struct drbd_device *device) in drbd_rs_c_min_rate_throttle()
2805 struct drbd_device *device; in receive_DataRequest()
3015 struct drbd_device *device = peer_device->device; in drbd_asb_recover_0p()
3098 struct drbd_device *device = peer_device->device; in drbd_asb_recover_1p()
3155 struct drbd_device *device = peer_device->device; in drbd_asb_recover_2p()
3200 static void drbd_uuid_dump(struct drbd_device *device, char *text, u64 *uuid, in drbd_uuid_dump()
3234 struct drbd_device *device = peer_device->device; in drbd_uuid_compare()
3453 struct drbd_device *device = peer_device->device; in drbd_sync_handshake()
3783 const struct drbd_device *device, in drbd_crypto_alloc_digest_safe()
3841 struct drbd_device *device; in receive_SyncParam()
4049 static void warn_if_differ_considerably(struct drbd_device *device, in warn_if_differ_considerably()
4064 struct drbd_device *device; in receive_sizes()
4235 struct drbd_device *device; in receive_uuids()
4340 struct drbd_device *device; in receive_req_state()
4397 struct drbd_device *device; in receive_state()
4594 struct drbd_device *device; in receive_sync_uuid()
4818 struct drbd_device *device; in receive_bitmap()
4922 struct drbd_device *device; in receive_out_of_sync()
4949 struct drbd_device *device; in receive_rs_deallocated()
5131 struct drbd_device *device = peer_device->device; in conn_disconnect()
5164 struct drbd_device *device = peer_device->device; in drbd_disconnected()
5592 struct drbd_device *device; in got_RqSReply()
5637 struct drbd_device *device; in got_IsInSync()
5669 struct drbd_device *device = peer_device->device; in validate_req_change_req_state()
5690 struct drbd_device *device; in got_BlockAck()
5736 struct drbd_device *device; in got_NegAck()
5772 struct drbd_device *device; in got_NegDReply()
5794 struct drbd_device *device; in got_NegRSDReply()
5838 struct drbd_device *device = peer_device->device; in got_BarrierAck()
5855 struct drbd_device *device; in got_OVResult()
6102 struct drbd_device *device = peer_device->device; in drbd_send_acks_wf()