Searched refs:cfs_time_sub (Results 1 – 18 of 18) sorted by relevance
/drivers/staging/lustre/include/linux/libcfs/ |
D | libcfs_time.h | 51 static inline unsigned long cfs_time_sub(unsigned long t1, unsigned long t2) in cfs_time_sub() function 89 cfs_duration_sec(cfs_time_sub(cfs_time_current(), now))); in cfs_slow_warning()
|
/drivers/staging/lustre/lustre/include/ |
D | lustre_lib.h | 571 __timeout = cfs_time_sub(__timeout, \ 572 cfs_time_sub(interval, remaining));\
|
D | lustre_capa.h | 269 unsigned long expiry = cfs_time_sub((unsigned long)ocapa->c_capa.lc_expiry, in set_capa_expiry()
|
/drivers/staging/lustre/lnet/lnet/ |
D | router_proc.c | 368 int last_ping = cfs_duration_sec(cfs_time_sub(now, in proc_lnet_routers() 399 cfs_duration_sec(cfs_time_sub(deadline, now)), in proc_lnet_routers() 543 delta = cfs_time_sub(now, peer->lp_last_alive); in proc_lnet_peers()
|
D | lib-eq.c | 349 cfs_duration_usec(cfs_time_sub(cfs_time_current(), now), &tv); in lnet_eq_wait_locked()
|
D | router.c | 1527 cfs_duration_sec(cfs_time_sub(when, now))); in lnet_notify()
|
/drivers/staging/lustre/lnet/selftest/ |
D | timer.c | 162 this_slot = cfs_time_sub(this_slot, STTIMER_SLOTTIME); in stt_check_timers()
|
D | conrpc.c | 506 dur = (long)cfs_time_sub(crpc->crp_stamp, in lstcon_rpc_trans_interpreter() 1247 intv = cfs_duration_sec(cfs_time_sub(cfs_time_current(), in lstcon_rpc_pinger()
|
D | framework.c | 395 cfs_duration_usec(cfs_time_sub(cfs_time_current(), in sfw_get_stats()
|
/drivers/staging/lustre/lustre/ldlm/ |
D | ldlm_request.c | 103 cfs_time_sub(get_seconds(), in ldlm_expired_completion_wait() 109 cfs_time_sub(get_seconds(), in ldlm_expired_completion_wait() 128 cfs_time_sub(get_seconds(), lock->l_last_activity), in ldlm_expired_completion_wait() 163 delay = cfs_time_sub(get_seconds(), in ldlm_completion_tail() 1464 la = cfs_duration_sec(cfs_time_sub(cur, in ldlm_cancel_lrur_policy()
|
D | ldlm_lockd.c | 74 return cfs_time_seconds((int)cfs_duration_sec(cfs_time_sub(timeout, 0)) + 1); in round_timeout()
|
/drivers/staging/lustre/lustre/ptlrpc/ |
D | service.c | 1401 delay = cfs_time_sub(cfs_time_current(), svcpt->scp_at_checktime); in ptlrpc_at_check_timed() 1835 cfs_time_sub(get_seconds(), in ptlrpc_server_handle_req_in() 1943 cfs_time_sub(request->rq_deadline, in ptlrpc_server_handle_request() 1945 cfs_time_sub(get_seconds(), in ptlrpc_server_handle_request() 1976 cfs_time_sub(request->rq_deadline, in ptlrpc_server_handle_request() 1978 cfs_time_sub(get_seconds(), in ptlrpc_server_handle_request() 2019 cfs_time_sub(work_end.tv_sec, in ptlrpc_server_handle_request()
|
D | pinger.c | 159 return cfs_time_sub(cfs_time_add(time, cfs_time_seconds(timeout)), in pinger_check_timeout()
|
D | client.c | 296 cfs_time_sub(now, req->rq_sent)); in ptlrpc_at_adj_net_latency() 376 cfs_time_sub(req->rq_deadline, get_seconds()), in ptlrpc_at_recv_early_reply() 377 cfs_time_sub(req->rq_deadline, olddl)); in ptlrpc_at_recv_early_reply()
|
/drivers/staging/lustre/lustre/obdclass/ |
D | capa.c | 146 return time_before(cfs_time_sub(oc->c_expiry, in capa_is_to_expire()
|
/drivers/staging/lustre/lustre/llite/ |
D | llite_capa.c | 85 return cfs_time_sub(ocapa->c_expiry, in capa_renewal_time()
|
/drivers/staging/lustre/lnet/klnds/socklnd/ |
D | socklnd_cb.c | 2598 while ((timeout = cfs_time_sub(deadline, in ksocknal_reaper()
|
D | socklnd.c | 1647 cfs_duration_sec(cfs_time_sub(cfs_time_current(), in ksocknal_destroy_conn()
|