Home
last modified time | relevance | path

Searched refs:cfs_time_current (Results 1 – 36 of 36) sorted by relevance

/linux-4.1.27/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_time.h68 return cfs_time_add(cfs_time_current(), cfs_time_seconds(seconds)); in cfs_time_shift()
86 if (cfs_time_after(cfs_time_current(), in cfs_slow_warning()
89 cfs_duration_sec(cfs_time_sub(cfs_time_current(), now))); in cfs_slow_warning()
100 if (cfs_time_after(cfs_time_current(), __next_message)) \
/linux-4.1.27/drivers/staging/lustre/lnet/klnds/socklnd/
Dsocklnd_cb.c224 conn->ksnc_peer->ksnp_last_alive = cfs_time_current(); in ksocknal_transmit()
270 conn->ksnc_peer->ksnp_last_alive = cfs_time_current(); in ksocknal_recv_iov()
314 conn->ksnc_peer->ksnp_last_alive = cfs_time_current(); in ksocknal_recv_kiov()
539 if (!cfs_time_aftereq(cfs_time_add(cfs_time_current(), in ksocknal_process_transmit()
669 conn->ksnc_tx_last_post = cfs_time_current(); in ksocknal_find_conn_locked()
734 conn->ksnc_peer->ksnp_last_alive = cfs_time_current(); in ksocknal_queue_tx_locked()
780 unsigned long now = cfs_time_current(); in ksocknal_find_connectable_route_locked()
1842 deadline = cfs_time_add(cfs_time_current(), in ksocknal_connect()
1887 if (cfs_time_aftereq(cfs_time_current(), deadline)) { in ksocknal_connect()
1934 route->ksnr_timeout = cfs_time_add(cfs_time_current(), in ksocknal_connect()
[all …]
Dsocklnd.c1249 peer->ksnp_last_alive = cfs_time_current(); in ksocknal_create_conn()
1257 conn->ksnc_tx_last_post = cfs_time_current(); in ksocknal_create_conn()
1642 cfs_duration_sec(cfs_time_sub(cfs_time_current(), in ksocknal_destroy_conn()
1788 unsigned long now = cfs_time_current(); in ksocknal_query()
/linux-4.1.27/drivers/staging/lustre/lustre/include/
Dlustre_capa.h271 ocapa->c_expiry = cfs_time_add(cfs_time_current(), in set_capa_expiry()
282 return time_before_eq(ocapa->c_expiry, cfs_time_current()); in capa_is_expired()
Dlustre_net.h2823 cfs_time_current())) { in ptlrpc_send_limit_expired()
/linux-4.1.27/drivers/staging/lustre/lnet/lnet/
Dlib-eq.c346 now = cfs_time_current(); in lnet_eq_wait_locked()
348 cfs_duration_usec(cfs_time_sub(cfs_time_current(), now), &tv); in lnet_eq_wait_locked()
Dpeer.c262 lp->lp_last_alive = cfs_time_current(); /* assumes alive */ in lnet_nid2peer_locked()
Drouter_proc.c361 unsigned long now = cfs_time_current(); in proc_lnet_routers()
540 unsigned long now = cfs_time_current(); in proc_lnet_peers()
Drouter.c739 lnet_notify_locked(lp, 1, (event->status == 0), cfs_time_current()); in lnet_router_checker_event()
946 unsigned long now = cfs_time_current(); in lnet_ping_router_locked()
1511 unsigned long now = cfs_time_current(); in lnet_notify()
Dlib-move.c693 lp->lp_last_query = cfs_time_current(); in lnet_ni_query_locked()
736 unsigned long now = cfs_time_current(); in lnet_peer_alive_locked()
Dapi-ni.c1447 cfs_time_current() - in LNetCtl()
/linux-4.1.27/drivers/staging/lustre/include/linux/libcfs/linux/
Dlinux-time.h73 static inline unsigned long cfs_time_current(void) in cfs_time_current() function
/linux-4.1.27/drivers/staging/lustre/lustre/osc/
Dosc_object.c199 obj->oo_contention_time = cfs_time_current(); in osc_object_set_contended()
213 unsigned long cur_time = cfs_time_current(); in osc_object_is_contended()
Dosc_page.c360 return (cfs_time_current() - opg->ops_submit_time); in osc_submit_duration()
564 opg->ops_submit_time = cfs_time_current(); in osc_page_submit()
Dosc_cache.c1247 opg->ops_submit_time = cfs_time_current(); in osc_make_ready()
Dosc_request.c993 unsigned long time = cfs_time_current(); in osc_should_shrink_grant()
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
Dpinger.c127 imp->imp_next_ping = cfs_time_current(); in ptlrpc_ping_import_soon()
160 cfs_time_current()); in pinger_check_timeout()
245 unsigned long this_ping = cfs_time_current(); in ptlrpc_pinger_main()
Dsec_bulk.c522 tick = cfs_time_current(); in sptlrpc_enc_pool_get_pages()
566 tick = cfs_time_current() - tick; in sptlrpc_enc_pool_get_pages()
Dptlrpcd.c163 req->rq_queued_time = cfs_time_current(); in ptlrpcd_add_rqset()
Dclient.c998 req->rq_queued_time = cfs_time_current(); in ptlrpc_set_add_req()
1029 req->rq_queued_time = cfs_time_current(); in ptlrpc_set_add_new_req()
Dservice.c482 svcpt->scp_at_checktime = cfs_time_current(); in ptlrpc_at_timer()
1395 delay = cfs_time_sub(cfs_time_current(), svcpt->scp_at_checktime); in ptlrpc_at_check_timed()
/linux-4.1.27/drivers/staging/lustre/lnet/selftest/
Dconrpc.c80 crpc->crp_stamp = cfs_time_current(); in lstcon_rpc_done()
300 crpc->crp_stamp = cfs_time_current(); in lstcon_rpc_trans_abort()
307 crpc->crp_stamp = cfs_time_current(); in lstcon_rpc_trans_abort()
1247 intv = cfs_duration_sec(cfs_time_sub(cfs_time_current(), in lstcon_rpc_pinger()
Dconsole.c103 ndl->ndl_node->nd_stamp = cfs_time_current(); in lstcon_node_find()
1698 sid->ses_stamp = cfs_time_current(); in lstcon_new_session_id()
Dframework.c279 sn->sn_started = cfs_time_current(); in sfw_init_session()
393 cfs_duration_usec(cfs_time_sub(cfs_time_current(), in sfw_get_stats()
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/
Dtracefile.c402 !cfs_time_after(cfs_time_current(), cdls->cdls_next)) { in libcfs_debug_vmsg2()
410 if (cfs_time_after(cfs_time_current(), cdls->cdls_next + in libcfs_debug_vmsg2()
425 cdls->cdls_next = (cfs_time_current() + cdls->cdls_delay) | 1; in libcfs_debug_vmsg2()
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
Dremote_perm.c236 lli->lli_rmtperm_time = cfs_time_current(); in ll_update_remote_perm()
Dllite_capa.c91 return time_before_eq(capa_renewal_time(ocapa), cfs_time_current()); in capa_is_to_expire()
Dllite_internal.h1212 lli->lli_glimpse_time = cfs_time_current(); in ll_glimpse_size()
Dstatahead.c601 lli->lli_glimpse_time = cfs_time_current(); in ll_agl_trigger()
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
Dcapa.c148 cfs_time_current()); in capa_is_to_expire()
/linux-4.1.27/drivers/staging/lustre/lnet/klnds/o2iblnd/
Do2iblnd.c1057 unsigned long now = cfs_time_current(); in kiblnd_query()
1490 unsigned long now = cfs_time_current(); in kiblnd_fmr_pool_unmap()
1571 if (time_before(cfs_time_current(), fps->fps_next_retry)) { in kiblnd_fmr_pool_map()
1703 unsigned long now = cfs_time_current(); in kiblnd_pool_free_node()
1763 if (time_before(cfs_time_current(), ps->ps_next_retry)) { in kiblnd_pool_alloc_node()
Do2iblnd_cb.c1824 peer->ibp_last_alive = cfs_time_current(); in kiblnd_peer_alive()
3061 cfs_duration_sec(cfs_time_current() - in kiblnd_check_conns()
3454 if (time_before(cfs_time_current(), in kiblnd_failover_thread()
/linux-4.1.27/drivers/staging/lustre/lustre/ldlm/
Dldlm_request.c109 if (cfs_time_after(cfs_time_current(), next_dump)) { in ldlm_expired_completion_wait()
1449 unsigned long cur = cfs_time_current(); in ldlm_cancel_lrur_policy()
1510 time_before(cfs_time_current(), in ldlm_cancel_aged_policy()
Dldlm_lockd.c351 cfs_time_after(cfs_time_current(), in ldlm_handle_gl_callback()
Dldlm_resource.c1374 if (time_before(cfs_time_current(), ns->ns_next_dump)) in ldlm_namespace_dump()
Dldlm_lock.c266 lock->l_last_used = cfs_time_current(); in ldlm_lock_add_to_lru_nolock()