Lines Matching refs:drbd_request

24 static struct drbd_request *drbd_req_new(struct drbd_device *device, struct bio *bio_src)  in drbd_req_new()
26 struct drbd_request *req; in drbd_req_new()
59 struct drbd_request *req) in drbd_remove_request_interval()
73 struct drbd_request *req = container_of(kref, struct drbd_request, kref); in drbd_req_destroy()
193 void drbd_req_complete(struct drbd_request *req, struct bio_and_error *m) in drbd_req_complete()
292 static void drbd_req_put_completion_ref(struct drbd_request *req, struct bio_and_error *m, int put) in drbd_req_put_completion_ref()
320 static void set_if_null_req_next(struct drbd_peer_device *peer_device, struct drbd_request *req) in set_if_null_req_next()
329 static void advance_conn_req_next(struct drbd_peer_device *peer_device, struct drbd_request *req) in advance_conn_req_next()
332 struct drbd_request *iter = req; in advance_conn_req_next()
350 static void set_if_null_req_ack_pending(struct drbd_peer_device *peer_device, struct drbd_request *… in set_if_null_req_ack_pending()
359 static void advance_conn_req_ack_pending(struct drbd_peer_device *peer_device, struct drbd_request in advance_conn_req_ack_pending()
362 struct drbd_request *iter = req; in advance_conn_req_ack_pending()
380 static void set_if_null_req_not_net_done(struct drbd_peer_device *peer_device, struct drbd_request in set_if_null_req_not_net_done()
389 static void advance_conn_req_not_net_done(struct drbd_peer_device *peer_device, struct drbd_request in advance_conn_req_not_net_done()
392 struct drbd_request *iter = req; in advance_conn_req_not_net_done()
412 static void mod_rq_state(struct drbd_request *req, struct bio_and_error *m, in mod_rq_state()
520 static void drbd_report_io_error(struct drbd_device *device, struct drbd_request *req) in drbd_report_io_error()
538 static inline bool is_pending_write_protocol_A(struct drbd_request *req) in is_pending_write_protocol_A()
560 int __req_mod(struct drbd_request *req, enum drbd_req_event what, in __req_mod()
953 static void complete_conflicting_writes(struct drbd_request *req) in complete_conflicting_writes()
1041 static bool do_remote_read(struct drbd_request *req) in do_remote_read()
1104 static int drbd_process_write_request(struct drbd_request *req) in drbd_process_write_request()
1141 static void drbd_process_discard_or_zeroes_req(struct drbd_request *req, int flags) in drbd_process_discard_or_zeroes_req()
1151 drbd_submit_req_private_bio(struct drbd_request *req) in drbd_submit_req_private_bio()
1184 static void drbd_queue_write(struct drbd_device *device, struct drbd_request *req) in drbd_queue_write()
1201 static struct drbd_request *
1205 struct drbd_request *req; in drbd_request_prepare()
1268 struct drbd_request *most_recent_req;
1276 struct drbd_request *req = plug->most_recent_req; in drbd_unplug()
1306 static void drbd_update_plug(struct drbd_plug_cb *plug, struct drbd_request *req) in drbd_update_plug()
1308 struct drbd_request *tmp = plug->most_recent_req; in drbd_update_plug()
1317 static void drbd_send_and_submit(struct drbd_device *device, struct drbd_request *req) in drbd_send_and_submit()
1436 struct drbd_request *req = drbd_request_prepare(device, bio); in __drbd_make_request()
1445 struct drbd_request *req, *tmp; in submit_fast_path()
1473 struct drbd_request *req; in prepare_al_transaction_nonblock()
1478 while ((req = list_first_entry_or_null(incoming, struct drbd_request, tl_requests))) { in prepare_al_transaction_nonblock()
1498 struct drbd_request *req; in send_and_submit_pending()
1501 while ((req = list_first_entry_or_null(pending, struct drbd_request, tl_requests))) { in send_and_submit_pending()
1628 static bool net_timeout_reached(struct drbd_request *net_req, in net_timeout_reached()
1704 struct drbd_request *req_read, *req_write, *req_peer; /* oldest request */ in request_timer_fn()
1735 …req_read = list_first_entry_or_null(&device->pending_completion[0], struct drbd_request, req_pendi… in request_timer_fn()
1736 …req_write = list_first_entry_or_null(&device->pending_completion[1], struct drbd_request, req_pend… in request_timer_fn()