Lines Matching refs:now

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