Lines Matching refs:drbd_request
25 static void _drbd_start_io_acct(struct drbd_device *device, struct drbd_request *req) in _drbd_start_io_acct()
34 static void _drbd_end_io_acct(struct drbd_device *device, struct drbd_request *req) in _drbd_end_io_acct()
42 static struct drbd_request *drbd_req_new(struct drbd_device *device, struct bio *bio_src) in drbd_req_new()
44 struct drbd_request *req; in drbd_req_new()
79 struct drbd_request *req) in drbd_remove_request_interval()
93 struct drbd_request *req = container_of(kref, struct drbd_request, kref); in drbd_req_destroy()
211 void drbd_req_complete(struct drbd_request *req, struct bio_and_error *m) in drbd_req_complete()
310 static void drbd_req_put_completion_ref(struct drbd_request *req, struct bio_and_error *m, int put) in drbd_req_put_completion_ref()
338 static void set_if_null_req_next(struct drbd_peer_device *peer_device, struct drbd_request *req) in set_if_null_req_next()
347 static void advance_conn_req_next(struct drbd_peer_device *peer_device, struct drbd_request *req) in advance_conn_req_next()
364 static void set_if_null_req_ack_pending(struct drbd_peer_device *peer_device, struct drbd_request *… in set_if_null_req_ack_pending()
373 static void advance_conn_req_ack_pending(struct drbd_peer_device *peer_device, struct drbd_request … in advance_conn_req_ack_pending()
390 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()
399 static void advance_conn_req_not_net_done(struct drbd_peer_device *peer_device, struct drbd_request… in advance_conn_req_not_net_done()
418 static void mod_rq_state(struct drbd_request *req, struct bio_and_error *m, in mod_rq_state()
526 static void drbd_report_io_error(struct drbd_device *device, struct drbd_request *req) in drbd_report_io_error()
546 static inline bool is_pending_write_protocol_A(struct drbd_request *req) in is_pending_write_protocol_A()
565 int __req_mod(struct drbd_request *req, enum drbd_req_event what, in __req_mod()
959 static void complete_conflicting_writes(struct drbd_request *req) in complete_conflicting_writes()
1047 static bool do_remote_read(struct drbd_request *req) in do_remote_read()
1110 static int drbd_process_write_request(struct drbd_request *req) in drbd_process_write_request()
1146 static void drbd_process_discard_or_zeroes_req(struct drbd_request *req, int flags) in drbd_process_discard_or_zeroes_req()
1156 drbd_submit_req_private_bio(struct drbd_request *req) in drbd_submit_req_private_bio()
1191 static void drbd_queue_write(struct drbd_device *device, struct drbd_request *req) in drbd_queue_write()
1208 static struct drbd_request *
1212 struct drbd_request *req; in drbd_request_prepare()
1273 struct drbd_request *most_recent_req;
1281 struct drbd_request *req = plug->most_recent_req; in drbd_unplug()
1311 static void drbd_update_plug(struct drbd_plug_cb *plug, struct drbd_request *req) in drbd_update_plug()
1313 struct drbd_request *tmp = plug->most_recent_req; in drbd_update_plug()
1322 static void drbd_send_and_submit(struct drbd_device *device, struct drbd_request *req) in drbd_send_and_submit()
1440 struct drbd_request *req = drbd_request_prepare(device, bio, start_jif); in __drbd_make_request()
1449 struct drbd_request *req, *tmp; in submit_fast_path()
1477 struct drbd_request *req; in prepare_al_transaction_nonblock()
1482 while ((req = list_first_entry_or_null(incoming, struct drbd_request, tl_requests))) { in prepare_al_transaction_nonblock()
1502 struct drbd_request *req; in send_and_submit_pending()
1505 while ((req = list_first_entry_or_null(pending, struct drbd_request, tl_requests))) { in send_and_submit_pending()
1634 static bool net_timeout_reached(struct drbd_request *net_req, in net_timeout_reached()
1710 struct drbd_request *req_read, *req_write, *req_peer; /* oldest request */ in request_timer_fn()
1741 …req_read = list_first_entry_or_null(&device->pending_completion[0], struct drbd_request, req_pendi… in request_timer_fn()
1742 …req_write = list_first_entry_or_null(&device->pending_completion[1], struct drbd_request, req_pend… in request_timer_fn()