Home
last modified time | relevance | path

Searched refs:cfs_time_seconds (Results 1 – 48 of 48) 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()
87 cfs_time_add(now, cfs_time_seconds(15)))) in cfs_slow_warning()
Dlibcfs_debug.h164 #define CDEBUG_DEFAULT_MAX_DELAY (cfs_time_seconds(600)) /* jiffies */
165 #define CDEBUG_DEFAULT_MIN_DELAY ((cfs_time_seconds(1) + 1) / 2) /* jiffies */
/linux-4.1.27/drivers/staging/lustre/include/linux/libcfs/linux/
Dlinux-time.h88 static inline long cfs_time_seconds(int seconds) in cfs_time_seconds() function
123 cfs_time_seconds(seconds)); in cfs_time_shift_64()
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
Dpinger.c159 return cfs_time_sub(cfs_time_add(time, cfs_time_seconds(timeout)), in pinger_check_timeout()
265 cfs_time_seconds(PING_INTERVAL)))) in ptlrpc_pinger_main()
283 cfs_time_seconds(PING_INTERVAL))); in ptlrpc_pinger_main()
286 cfs_time_seconds(1)), in ptlrpc_pinger_main()
Dimport.c317 cfs_timeout_cap(cfs_time_seconds(timeout)), in ptlrpc_invalidate_import()
318 (timeout > 1)?cfs_time_seconds(1):cfs_time_seconds(1)/2, in ptlrpc_invalidate_import()
440 int secs = cfs_time_seconds(obd_timeout); in ptlrpc_reconnect_import()
1457 timeout = cfs_time_seconds(obd_timeout / 2); in ptlrpc_disconnect_import()
1459 timeout = cfs_time_seconds(obd_timeout); in ptlrpc_disconnect_import()
1463 timeout = cfs_time_seconds( in ptlrpc_disconnect_import()
Dptlrpcd.c224 struct l_wait_info lwi = LWI_TIMEOUT(cfs_time_seconds(5), in ptlrpcd_add_req()
417 lwi = LWI_TIMEOUT(cfs_time_seconds(timeout ? timeout : 1), in ptlrpcd()
Drecover.c349 int secs = cfs_time_seconds(obd_timeout); in ptlrpc_recover_import()
Dniobuf.c286 lwi = LWI_TIMEOUT_INTERVAL(cfs_time_seconds(LONG_UNLINK), in ptlrpc_unregister_bulk()
287 cfs_time_seconds(1), NULL, NULL); in ptlrpc_unregister_bulk()
Devents.c516 lwi = LWI_TIMEOUT(cfs_time_seconds(2), NULL, NULL); in ptlrpc_ni_fini()
Dclient.c2141 lwi = LWI_TIMEOUT_INTR_ALL(cfs_time_seconds(1), in ptlrpc_set_wait()
2150 lwi = LWI_TIMEOUT(cfs_time_seconds(timeout ? timeout : 1), in ptlrpc_set_wait()
2410 lwi = LWI_TIMEOUT_INTERVAL(cfs_time_seconds(LONG_UNLINK), in ptlrpc_unregister_reply()
2411 cfs_time_seconds(1), NULL, NULL); in ptlrpc_unregister_reply()
Dservice.c2397 svcpt->scp_rqbd_timeout = cfs_time_seconds(1) / 10; in ptlrpc_main()
2837 struct l_wait_info lwi = LWI_TIMEOUT(cfs_time_seconds(10), in ptlrpc_wait_replies()
2904 cfs_time_seconds(LONG_UNLINK), in ptlrpc_service_unlink_rqbd()
2905 cfs_time_seconds(1), NULL, NULL); in ptlrpc_service_unlink_rqbd()
Dpack_generic.c288 lwi = LWI_TIMEOUT(cfs_time_seconds(10), NULL, NULL); in lustre_get_emerg_rs()
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/
Dfail.c133 schedule_timeout(cfs_time_seconds(ms) / 1000); in __cfs_fail_timeout_set()
Dworkitem.c338 schedule_timeout(cfs_time_seconds(1) / 20); in cfs_wi_sched_destroy()
465 schedule_timeout(cfs_time_seconds(1) / 20); in cfs_wi_shutdown()
Dmodule.c654 d = cfs_time_seconds(max_delay_cs) / 100; in proc_console_max_delay_cs()
687 d = cfs_time_seconds(min_delay_cs) / 100; in proc_console_min_delay_cs()
Dtracefile.c412 + cfs_time_seconds(10))) { in libcfs_debug_vmsg2()
1079 schedule_timeout(cfs_time_seconds(1)); in tracefiled()
/linux-4.1.27/drivers/staging/lustre/lnet/klnds/socklnd/
Dsocklnd_cb.c193 schedule_timeout(cfs_time_seconds(ksocknal_data.ksnd_stall_tx)); in ksocknal_transmit()
350 schedule_timeout(cfs_time_seconds(ksocknal_data.ksnd_stall_rx)); in ksocknal_receive()
1843 cfs_time_seconds(*ksocknal_tunables.ksnd_timeout)); in ksocknal_connect()
1933 cfs_time_seconds(*ksocknal_tunables.ksnd_min_reconnectms)/1000; in ksocknal_connect()
1954 cfs_time_seconds(*ksocknal_tunables.ksnd_min_reconnectms)/1000); in ksocknal_connect()
1957 cfs_time_seconds(*ksocknal_tunables.ksnd_max_reconnectms)/1000); in ksocknal_connect()
2028 *timeout = cfs_time_seconds(1); in ksocknal_connd_check_start()
2087 *timeout = (val > 0) ? cfs_time_seconds(val) : in ksocknal_connd_check_stop()
2088 cfs_time_seconds(SOCKNAL_CONND_TIMEOUT); in ksocknal_connd_check_stop()
2354 cfs_time_seconds(*ksocknal_tunables.ksnd_keepalive)))) in ksocknal_send_keepalive_locked()
[all …]
Dsocklnd.c1637 cfs_time_seconds(*ksocknal_tunables.ksnd_timeout); in ksocknal_destroy_conn()
2323 schedule_timeout(cfs_time_seconds(1)); in ksocknal_base_shutdown()
2567 schedule_timeout(cfs_time_seconds(1)); in ksocknal_shutdown()
/linux-4.1.27/drivers/staging/lustre/lustre/include/
Dlustre_mdc.h111 schedule_timeout(cfs_time_seconds(1) / 4); in mdc_get_rpc_lock()
Dlustre_capa.h272 cfs_time_seconds(expiry)); in set_capa_expiry()
Dlustre_dlm.h66 #define LDLM_DEFAULT_MAX_ALIVE (cfs_time_seconds(36000))
Dlustre_net.h2822 cfs_time_seconds(req->rq_delay_limit)), in ptlrpc_send_limit_expired()
/linux-4.1.27/drivers/staging/lustre/lnet/selftest/
Dtimer.c181 cfs_time_seconds(STTIMER_SLOTTIME)); in stt_timer_main()
Dselftest.h578 schedule_timeout(cfs_time_seconds(1) / 10); \
Dconrpc.c362 cfs_time_seconds(timeout)); in lstcon_rpc_trans_postwait()
1350 schedule_timeout(cfs_time_seconds(1)); in lstcon_rpc_cleanup_wait()
Drpc.c1595 schedule_timeout(cfs_time_seconds(1)); in srpc_startup()
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
Dllite_capa.c86 cfs_time_seconds(ocapa->c_capa.lc_timeout) / 2); in capa_renewal_time()
517 oc->c_expiry = cfs_time_add(oc->c_expiry, cfs_time_seconds(delay)); in delay_capa_renew()
Dstatahead.c1584 lwi = LWI_TIMEOUT_INTR(cfs_time_seconds(30), NULL, in do_statahead_enter()
/linux-4.1.27/drivers/staging/lustre/lnet/lnet/
Dlib-eq.c347 schedule_timeout(cfs_time_seconds(tms) / 1000); in lnet_eq_wait_locked()
Drouter.c780 schedule_timeout(cfs_time_seconds(1)); in lnet_wait_known_routerstate()
981 cfs_time_seconds(secs)))) { in lnet_ping_router_locked()
1158 schedule_timeout(cfs_time_seconds(1) / 4); in lnet_prune_rc_data()
1221 schedule_timeout(cfs_time_seconds(1)); in lnet_router_checker()
Dpeer.c149 schedule_timeout(cfs_time_seconds(1) / 2); in lnet_peer_tables_cleanup()
Dacceptor.c375 schedule_timeout(cfs_time_seconds(1)); in lnet_acceptor()
Dapi-ni.c993 schedule_timeout(cfs_time_seconds(1)); in lnet_shutdown_lndnis()
1448 cfs_time_seconds(get_seconds() - in LNetCtl()
Dlib-move.c716 cfs_time_seconds(lp->lp_ni->ni_peertimeout)); in lnet_peer_is_alive()
751 cfs_time_seconds(lnet_queryinterval)); in lnet_peer_alive_locked()
/linux-4.1.27/drivers/staging/lustre/lustre/ldlm/
Dldlm_lockd.c72 return cfs_time_seconds((int)cfs_duration_sec(cfs_time_sub(timeout, 0)) + 1); in round_timeout()
192 int to = cfs_time_seconds(1); in ldlm_handle_cp_callback()
353 cfs_time_seconds(10)))) { in ldlm_handle_gl_callback()
Dldlm_pool.c1356 lwi = LWI_TIMEOUT(cfs_time_seconds(min(s_time, c_time)), in ldlm_pools_thread_main()
Dldlm_request.c262 lwi = LWI_TIMEOUT_INTR(cfs_time_seconds(timeout), in ldlm_completion_ast()
Dldlm_lock.c1304 lwi = LWI_TIMEOUT_INTR(cfs_time_seconds(obd_timeout), in ldlm_lock_match()
/linux-4.1.27/drivers/staging/lustre/lustre/osc/
Dosc_object.c227 cfs_time_seconds(osc_contention_time)); in osc_object_is_contended()
Dosc_cache.c903 struct l_wait_info lwi = LWI_TIMEOUT_INTR(cfs_time_seconds(600), NULL, in osc_extent_wait()
/linux-4.1.27/drivers/staging/lustre/lustre/lov/
Dlov_request.c188 lwi = LWI_TIMEOUT_INTERVAL(cfs_time_seconds(obd_timeout), in lov_check_and_wait_active()
189 cfs_time_seconds(1), NULL, NULL); in lov_check_and_wait_active()
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
Dcapa.c147 cfs_time_seconds(oc->c_capa.lc_timeout)*2/3), in capa_is_to_expire()
Dgenops.c1546 schedule_timeout(cfs_time_seconds(waited)); in obd_exports_barrier()
Dcl_io.c1615 struct l_wait_info lwi = LWI_TIMEOUT_INTR(cfs_time_seconds(timeout), in cl_sync_io_wait()
/linux-4.1.27/drivers/staging/lustre/lnet/klnds/o2iblnd/
Do2iblnd.c1228 schedule_timeout(cfs_time_seconds(1) / 100); in kiblnd_current_hdev()
2708 schedule_timeout(cfs_time_seconds(1)); in kiblnd_base_shutdown()
2769 schedule_timeout(cfs_time_seconds(1)); in kiblnd_shutdown()
Do2iblnd_cb.c3495 rc = schedule_timeout(long_sleep ? cfs_time_seconds(10) : in kiblnd_failover_thread()
3496 cfs_time_seconds(1)); in kiblnd_failover_thread()
/linux-4.1.27/drivers/staging/lustre/lustre/obdecho/
Decho_client.c880 schedule_timeout(cfs_time_seconds(1)); in echo_device_free()
/linux-4.1.27/drivers/staging/lustre/lustre/mdc/
Dmdc_request.c1107 lwi = LWI_TIMEOUT_INTR(cfs_time_seconds(resends), in mdc_readpage()