Home
last modified time | relevance | path

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

12

/drivers/staging/lustre/include/linux/libcfs/linux/
Dlinux-time.h67 static inline long cfs_time_seconds(int seconds) in cfs_time_seconds() function
87 cfs_time_seconds(seconds)); in cfs_time_shift_64()
/drivers/staging/lustre/lustre/ptlrpc/
Dpinger.c143 return cfs_time_sub(cfs_time_add(time, cfs_time_seconds(timeout)), in pinger_check_timeout()
249 cfs_time_seconds(PING_INTERVAL)))) in ptlrpc_pinger_main()
266 cfs_time_seconds(PING_INTERVAL))); in ptlrpc_pinger_main()
269 cfs_time_seconds(1)), in ptlrpc_pinger_main()
Dimport.c309 cfs_timeout_cap(cfs_time_seconds(timeout)), in ptlrpc_invalidate_import()
310 (timeout > 1) ? cfs_time_seconds(1) : in ptlrpc_invalidate_import()
311 cfs_time_seconds(1) / 2, in ptlrpc_invalidate_import()
432 int secs = cfs_time_seconds(obd_timeout); in ptlrpc_reconnect_import()
1460 timeout = cfs_time_seconds(obd_timeout / 2); in ptlrpc_disconnect_import()
1462 timeout = cfs_time_seconds(obd_timeout); in ptlrpc_disconnect_import()
1466 timeout = cfs_time_seconds( in ptlrpc_disconnect_import()
Dniobuf.c284 lwi = LWI_TIMEOUT_INTERVAL(cfs_time_seconds(LONG_UNLINK), in ptlrpc_unregister_bulk()
285 cfs_time_seconds(1), NULL, NULL); in ptlrpc_unregister_bulk()
Dptlrpcd.c231 struct l_wait_info lwi = LWI_TIMEOUT(cfs_time_seconds(5), in ptlrpcd_add_req()
439 lwi = LWI_TIMEOUT(cfs_time_seconds(timeout ? timeout : 1), in ptlrpcd()
Drecover.c347 int secs = cfs_time_seconds(obd_timeout); in ptlrpc_recover_import()
Dclient.c669 schedule_timeout(cfs_time_seconds(2)); in ptlrpc_request_bufs_pack()
2131 lwi = LWI_TIMEOUT_INTR_ALL(cfs_time_seconds(1), in ptlrpc_set_wait()
2140 lwi = LWI_TIMEOUT(cfs_time_seconds(timeout ? timeout : 1), in ptlrpc_set_wait()
2384 lwi = LWI_TIMEOUT_INTERVAL(cfs_time_seconds(LONG_UNLINK), in ptlrpc_unregister_reply()
2385 cfs_time_seconds(1), NULL, NULL); in ptlrpc_unregister_reply()
Dservice.c2152 svcpt->scp_rqbd_timeout = cfs_time_seconds(1) / 10; in ptlrpc_main()
2593 struct l_wait_info lwi = LWI_TIMEOUT(cfs_time_seconds(10), in ptlrpc_wait_replies()
2665 cfs_time_seconds(LONG_UNLINK), in ptlrpc_service_unlink_rqbd()
2666 cfs_time_seconds(1), NULL, NULL); in ptlrpc_service_unlink_rqbd()
/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_debug.h168 #define CDEBUG_DEFAULT_MAX_DELAY (cfs_time_seconds(600)) /* jiffies */
169 #define CDEBUG_DEFAULT_MIN_DELAY ((cfs_time_seconds(1) + 1) / 2) /* jiffies */
Dlibcfs_time.h64 return cfs_time_add(cfs_time_current(), cfs_time_seconds(seconds)); in cfs_time_shift()
/drivers/staging/lustre/lnet/lnet/
Dnet_fault.c317 cfs_time_seconds(cfs_rand() % in drop_rule_match()
319 rule->dr_time_base += cfs_time_seconds(attr->u.drop.da_interval); in drop_rule_match()
442 return cfs_time_seconds((unsigned int) in round_timeout()
485 cfs_time_seconds(cfs_rand() % in delay_rule_match()
487 rule->dl_time_base += cfs_time_seconds(attr->u.delay.la_interval); in delay_rule_match()
Drouter.c819 schedule_timeout(cfs_time_seconds(1)); in lnet_wait_known_routerstate()
1022 cfs_time_seconds(secs)))) { in lnet_ping_router_locked()
1196 schedule_timeout(cfs_time_seconds(1) / 4); in lnet_prune_rc_data()
1293 cfs_time_seconds(1)); in lnet_router_checker()
Dacceptor.c367 schedule_timeout(cfs_time_seconds(1)); in lnet_acceptor()
Dpeer.c138 schedule_timeout(cfs_time_seconds(1) >> 1); in lnet_peer_table_deathrow_wait_locked()
/drivers/staging/lustre/lnet/klnds/socklnd/
Dsocklnd_cb.c189 schedule_timeout(cfs_time_seconds(ksocknal_data.ksnd_stall_tx)); in ksocknal_transmit()
355 schedule_timeout(cfs_time_seconds(ksocknal_data.ksnd_stall_rx)); in ksocknal_receive()
1859 cfs_time_seconds(*ksocknal_tunables.ksnd_timeout)); in ksocknal_connect()
1956 cfs_time_seconds(*ksocknal_tunables.ksnd_min_reconnectms) / 1000; in ksocknal_connect()
1977 cfs_time_seconds(*ksocknal_tunables.ksnd_min_reconnectms) / 1000); in ksocknal_connect()
1980 cfs_time_seconds(*ksocknal_tunables.ksnd_max_reconnectms) / 1000); in ksocknal_connect()
2050 *timeout = cfs_time_seconds(1); in ksocknal_connd_check_start()
2109 *timeout = (val > 0) ? cfs_time_seconds(val) : in ksocknal_connd_check_stop()
2110 cfs_time_seconds(SOCKNAL_CONND_TIMEOUT); in ksocknal_connd_check_stop()
2383 cfs_time_seconds(*ksocknal_tunables.ksnd_keepalive)))) in ksocknal_send_keepalive_locked()
[all …]
/drivers/staging/lustre/lnet/libcfs/
Dfail.c135 schedule_timeout(cfs_time_seconds(ms) / 1000); in __cfs_fail_timeout_set()
Dworkitem.c321 schedule_timeout(cfs_time_seconds(1) / 20); in cfs_wi_sched_destroy()
453 schedule_timeout(cfs_time_seconds(1) / 20); in cfs_wi_shutdown()
Ddebug.c115 d = cfs_time_seconds(sec) / 100; in param_set_delay_minmax()
Dtracefile.c446 cfs_time_seconds(10))) { in libcfs_debug_vmsg2()
1085 schedule_timeout(cfs_time_seconds(1)); in tracefiled()
/drivers/staging/lustre/lustre/include/
Dlustre_mdc.h127 schedule_timeout(cfs_time_seconds(1) / 4); in mdc_get_rpc_lock()
/drivers/staging/lustre/lnet/selftest/
Dtimer.c178 cfs_time_seconds(STTIMER_SLOTTIME)); in stt_timer_main()
Dselftest.h576 schedule_timeout(cfs_time_seconds(1) / 10); \
/drivers/staging/lustre/lustre/lov/
Dlov_request.c172 lwi = LWI_TIMEOUT_INTERVAL(cfs_time_seconds(obd_timeout), in lov_check_and_wait_active()
173 cfs_time_seconds(1), NULL, NULL); in lov_check_and_wait_active()
/drivers/staging/lustre/lustre/osc/
Dosc_object.c251 cfs_time_seconds(osc_contention_time)); in osc_object_is_contended()
/drivers/staging/lustre/lustre/ldlm/
Dldlm_lockd.c165 int to = cfs_time_seconds(1); in ldlm_handle_cp_callback()
328 cfs_time_seconds(10)))) { in ldlm_handle_gl_callback()

12