Lines Matching refs:now
96 static void seq_print_one_request(struct seq_file *m, struct drbd_request *req, unsigned long now) in seq_print_one_request() argument
108 seq_printf(m, "\t%d", jiffies_to_msecs(now - req->start_jif)); in seq_print_one_request()
109 seq_print_age_or_dash(m, s & RQ_IN_ACT_LOG, now - req->in_actlog_jif); in seq_print_one_request()
110 seq_print_age_or_dash(m, s & RQ_LOCAL_PENDING, now - req->pre_submit_jif); in seq_print_one_request()
113 seq_print_age_or_dash(m, s & RQ_NET_SENT, now - req->pre_send_jif); in seq_print_one_request()
114 seq_print_age_or_dash(m, (s & RQ_NET_SENT) && !(s & RQ_NET_PENDING), now - req->acked_jif); in seq_print_one_request()
115 seq_print_age_or_dash(m, s & RQ_NET_DONE, now - req->net_done_jif); in seq_print_one_request()
122 static void seq_print_minor_vnr_req(struct seq_file *m, struct drbd_request *req, unsigned long now) in seq_print_minor_vnr_req() argument
125 seq_print_one_request(m, req, now); in seq_print_minor_vnr_req()
128 …int_resource_pending_meta_io(struct seq_file *m, struct drbd_resource *resource, unsigned long now) in seq_print_resource_pending_meta_io() argument
145 jiffies_to_msecs(now - tmp.start_jif)); in seq_print_resource_pending_meta_io()
149 seq_printf(m, "%d\t", jiffies_to_msecs(now - tmp.submit_jif)); in seq_print_resource_pending_meta_io()
156 …oid seq_print_waiting_for_AL(struct seq_file *m, struct drbd_resource *resource, unsigned long now) in seq_print_waiting_for_AL() argument
182 seq_printf(m, "%u\t", jiffies_to_msecs(now - jif)); in seq_print_waiting_for_AL()
191 … void seq_print_device_bitmap_io(struct seq_file *m, struct drbd_device *device, unsigned long now) in seq_print_device_bitmap_io() argument
211 jiffies_to_msecs(now - start_jif), in seq_print_device_bitmap_io()
216 …t_resource_pending_bitmap_io(struct seq_file *m, struct drbd_resource *resource, unsigned long now) in seq_print_resource_pending_bitmap_io() argument
224 seq_print_device_bitmap_io(m, device, now); in seq_print_resource_pending_bitmap_io()
248 unsigned long now) in seq_print_peer_request() argument
262 jiffies_to_msecs(now - peer_req->submit_jif)); in seq_print_peer_request()
272 struct drbd_device *device, unsigned long now) in seq_print_device_peer_requests() argument
276 seq_print_peer_request(m, device, &device->active_ee, now); in seq_print_device_peer_requests()
277 seq_print_peer_request(m, device, &device->read_ee, now); in seq_print_device_peer_requests()
278 seq_print_peer_request(m, device, &device->sync_ee, now); in seq_print_device_peer_requests()
283 jiffies_to_msecs(now - device->flush_jif)); in seq_print_device_peer_requests()
288 struct drbd_resource *resource, unsigned long now) in seq_print_resource_pending_peer_requests() argument
295 seq_print_device_peer_requests(m, device, now); in seq_print_resource_pending_peer_requests()
303 unsigned long now) in seq_print_resource_transfer_log_summary() argument
352 seq_print_minor_vnr_req(m, req, now); in seq_print_resource_transfer_log_summary()
501 unsigned long now) in seq_print_one_timing_detail() argument
513 jiffies_to_msecs(now - td.start_jif), in seq_print_one_timing_detail()
520 unsigned int cb_nr, struct drbd_thread_timing_details *tdp, unsigned long now) in seq_print_timing_details() argument
532 seq_print_one_timing_detail(m, tdp+i, now); in seq_print_timing_details()
534 seq_print_one_timing_detail(m, tdp+i, now); in seq_print_timing_details()
576 unsigned long now = jiffies; in connection_oldest_requests_show() local
585 seq_print_minor_vnr_req(m, r1, now); in connection_oldest_requests_show()
589 seq_print_minor_vnr_req(m, r1, now); in connection_oldest_requests_show()
593 seq_print_minor_vnr_req(m, r2, now); in connection_oldest_requests_show()
694 unsigned long now = jiffies; in device_oldest_requests_show() local
710 seq_print_one_request(m, r1, now); in device_oldest_requests_show()
712 seq_print_one_request(m, r2, now); in device_oldest_requests_show()