Home
last modified time | relevance | path

Searched refs:cfs_time_sub (Results 1 – 18 of 18) sorted by relevance

/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_time.h51 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/
Dlustre_lib.h571 __timeout = cfs_time_sub(__timeout, \
572 cfs_time_sub(interval, remaining));\
Dlustre_capa.h269 unsigned long expiry = cfs_time_sub((unsigned long)ocapa->c_capa.lc_expiry, in set_capa_expiry()
/drivers/staging/lustre/lnet/lnet/
Drouter_proc.c368 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()
Dlib-eq.c349 cfs_duration_usec(cfs_time_sub(cfs_time_current(), now), &tv); in lnet_eq_wait_locked()
Drouter.c1527 cfs_duration_sec(cfs_time_sub(when, now))); in lnet_notify()
/drivers/staging/lustre/lnet/selftest/
Dtimer.c162 this_slot = cfs_time_sub(this_slot, STTIMER_SLOTTIME); in stt_check_timers()
Dconrpc.c506 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()
Dframework.c395 cfs_duration_usec(cfs_time_sub(cfs_time_current(), in sfw_get_stats()
/drivers/staging/lustre/lustre/ldlm/
Dldlm_request.c103 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()
Dldlm_lockd.c74 return cfs_time_seconds((int)cfs_duration_sec(cfs_time_sub(timeout, 0)) + 1); in round_timeout()
/drivers/staging/lustre/lustre/ptlrpc/
Dservice.c1401 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()
Dpinger.c159 return cfs_time_sub(cfs_time_add(time, cfs_time_seconds(timeout)), in pinger_check_timeout()
Dclient.c296 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/
Dcapa.c146 return time_before(cfs_time_sub(oc->c_expiry, in capa_is_to_expire()
/drivers/staging/lustre/lustre/llite/
Dllite_capa.c85 return cfs_time_sub(ocapa->c_expiry, in capa_renewal_time()
/drivers/staging/lustre/lnet/klnds/socklnd/
Dsocklnd_cb.c2598 while ((timeout = cfs_time_sub(deadline, in ksocknal_reaper()
Dsocklnd.c1647 cfs_duration_sec(cfs_time_sub(cfs_time_current(), in ksocknal_destroy_conn()