Home
last modified time | relevance | path

Searched refs:cfs_time_seconds (Results 1 – 25 of 48) sorted by relevance

12

/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 */
/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()
/drivers/staging/lustre/lustre/ptlrpc/
Dpinger.c159 return cfs_time_sub(cfs_time_add(time, cfs_time_seconds(timeout)), in pinger_check_timeout()
267 cfs_time_seconds(PING_INTERVAL)))) in ptlrpc_pinger_main()
285 cfs_time_seconds(PING_INTERVAL))); in ptlrpc_pinger_main()
288 cfs_time_seconds(1)), in ptlrpc_pinger_main()
Dimport.c308 cfs_timeout_cap(cfs_time_seconds(timeout)), in ptlrpc_invalidate_import()
309 (timeout > 1)?cfs_time_seconds(1):cfs_time_seconds(1)/2, in ptlrpc_invalidate_import()
433 int secs = cfs_time_seconds(obd_timeout); in ptlrpc_reconnect_import()
1471 timeout = cfs_time_seconds(obd_timeout / 2); in ptlrpc_disconnect_import()
1473 timeout = cfs_time_seconds(obd_timeout); in ptlrpc_disconnect_import()
1477 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()
423 lwi = LWI_TIMEOUT(cfs_time_seconds(timeout ? timeout : 1), in ptlrpcd()
Drecover.c350 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()
/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()
1852 cfs_time_seconds(*ksocknal_tunables.ksnd_timeout)); in ksocknal_connect()
1942 cfs_time_seconds(*ksocknal_tunables.ksnd_min_reconnectms)/1000; in ksocknal_connect()
1963 cfs_time_seconds(*ksocknal_tunables.ksnd_min_reconnectms)/1000); in ksocknal_connect()
1966 cfs_time_seconds(*ksocknal_tunables.ksnd_max_reconnectms)/1000); in ksocknal_connect()
2037 *timeout = cfs_time_seconds(1); in ksocknal_connd_check_start()
2096 *timeout = (val > 0) ? cfs_time_seconds(val) : in ksocknal_connd_check_stop()
2097 cfs_time_seconds(SOCKNAL_CONND_TIMEOUT); in ksocknal_connd_check_stop()
2371 cfs_time_seconds(*ksocknal_tunables.ksnd_keepalive)))) in ksocknal_send_keepalive_locked()
[all …]
/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()
Dtracefile.c414 + cfs_time_seconds(10))) { in libcfs_debug_vmsg2()
1082 schedule_timeout(cfs_time_seconds(1)); in tracefiled()
/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()
/drivers/staging/lustre/lustre/libcfs/linux/
Dlinux-proc.c259 d = cfs_time_seconds(max_delay_cs) / 100; in proc_console_max_delay_cs()
291 d = cfs_time_seconds(min_delay_cs) / 100; in proc_console_min_delay_cs()
/drivers/staging/lustre/lnet/selftest/
Dtimer.c181 cfs_time_seconds(STTIMER_SLOTTIME)); in stt_timer_main()
/drivers/staging/lustre/lnet/lnet/
Drouter.c783 schedule_timeout(cfs_time_seconds(1)); in lnet_wait_known_routerstate()
970 cfs_time_seconds(secs)))) { in lnet_ping_router_locked()
1151 schedule_timeout(cfs_time_seconds(1) / 4); in lnet_prune_rc_data()
1214 schedule_timeout(cfs_time_seconds(1)); in lnet_router_checker()
Dlib-eq.c348 schedule_timeout(cfs_time_seconds(tms) / 1000); in lnet_eq_wait_locked()
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()
/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()
/drivers/staging/lustre/lustre/ldlm/
Dldlm_lockd.c74 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()
354 cfs_time_seconds(10)))) { in ldlm_handle_gl_callback()
/drivers/staging/lustre/lustre/osc/
Dosc_object.c228 cfs_time_seconds(osc_contention_time)); in osc_object_is_contended()
/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()
/drivers/staging/lustre/lustre/obdclass/
Dcapa.c147 cfs_time_seconds(oc->c_capa.lc_timeout)*2/3), in capa_is_to_expire()

12