Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/staging/lustre/include/linux/libcfs/linux/
Dlinux-time.h71 static inline long cfs_time_seconds(int seconds) in cfs_time_seconds() function
91 cfs_time_seconds(seconds)); in cfs_time_shift_64()
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/
Dpinger.c146 return cfs_time_sub(cfs_time_add(time, cfs_time_seconds(timeout)), in pinger_check_timeout()
252 cfs_time_seconds(PING_INTERVAL)))) in ptlrpc_pinger_main()
268 cfs_time_seconds(PING_INTERVAL))); in ptlrpc_pinger_main()
271 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):cfs_time_seconds(1)/2, in ptlrpc_invalidate_import()
432 int secs = cfs_time_seconds(obd_timeout); in ptlrpc_reconnect_import()
1447 timeout = cfs_time_seconds(obd_timeout / 2); in ptlrpc_disconnect_import()
1449 timeout = cfs_time_seconds(obd_timeout); in ptlrpc_disconnect_import()
1453 timeout = cfs_time_seconds( in ptlrpc_disconnect_import()
Dptlrpcd.c238 struct l_wait_info lwi = LWI_TIMEOUT(cfs_time_seconds(5), in ptlrpcd_add_req()
435 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.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()
Devents.c515 lwi = LWI_TIMEOUT(cfs_time_seconds(2), NULL, NULL); in ptlrpc_ni_fini()
Dservice.c2120 svcpt->scp_rqbd_timeout = cfs_time_seconds(1) / 10; in ptlrpc_main()
2560 struct l_wait_info lwi = LWI_TIMEOUT(cfs_time_seconds(10), in ptlrpc_wait_replies()
2627 cfs_time_seconds(LONG_UNLINK), in ptlrpc_service_unlink_rqbd()
2628 cfs_time_seconds(1), NULL, NULL); in ptlrpc_service_unlink_rqbd()
Dclient.c2109 lwi = LWI_TIMEOUT_INTR_ALL(cfs_time_seconds(1), in ptlrpc_set_wait()
2118 lwi = LWI_TIMEOUT(cfs_time_seconds(timeout ? timeout : 1), in ptlrpc_set_wait()
2364 lwi = LWI_TIMEOUT_INTERVAL(cfs_time_seconds(LONG_UNLINK), in ptlrpc_unregister_reply()
2365 cfs_time_seconds(1), NULL, NULL); in ptlrpc_unregister_reply()
Dpack_generic.c271 lwi = LWI_TIMEOUT(cfs_time_seconds(10), NULL, NULL); in lustre_get_emerg_rs()
/linux-4.4.14/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_time.h68 return cfs_time_add(cfs_time_current(), cfs_time_seconds(seconds)); in cfs_time_shift()
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.4.14/drivers/staging/lustre/lustre/libcfs/
Dfail.c133 schedule_timeout(cfs_time_seconds(ms) / 1000); in __cfs_fail_timeout_set()
Dworkitem.c334 schedule_timeout(cfs_time_seconds(1) / 20); in cfs_wi_sched_destroy()
461 schedule_timeout(cfs_time_seconds(1) / 20); in cfs_wi_shutdown()
Ddebug.c121 d = cfs_time_seconds(sec) / 100; in param_set_delay_minmax()
Dtracefile.c411 + cfs_time_seconds(10))) { in libcfs_debug_vmsg2()
1067 schedule_timeout(cfs_time_seconds(1)); in tracefiled()
/linux-4.4.14/drivers/staging/lustre/lnet/klnds/socklnd/
Dsocklnd_cb.c192 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()
1841 cfs_time_seconds(*ksocknal_tunables.ksnd_timeout)); in ksocknal_connect()
1931 cfs_time_seconds(*ksocknal_tunables.ksnd_min_reconnectms)/1000; in ksocknal_connect()
1952 cfs_time_seconds(*ksocknal_tunables.ksnd_min_reconnectms)/1000); in ksocknal_connect()
1955 cfs_time_seconds(*ksocknal_tunables.ksnd_max_reconnectms)/1000); in ksocknal_connect()
2026 *timeout = cfs_time_seconds(1); in ksocknal_connd_check_start()
2085 *timeout = (val > 0) ? cfs_time_seconds(val) : in ksocknal_connd_check_stop()
2086 cfs_time_seconds(SOCKNAL_CONND_TIMEOUT); in ksocknal_connd_check_stop()
2353 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()
2318 schedule_timeout(cfs_time_seconds(1)); in ksocknal_base_shutdown()
2559 schedule_timeout(cfs_time_seconds(1)); in ksocknal_shutdown()
/linux-4.4.14/drivers/staging/lustre/lustre/include/
Dlustre_mdc.h111 schedule_timeout(cfs_time_seconds(1) / 4); in mdc_get_rpc_lock()
Dlustre_dlm.h66 #define LDLM_DEFAULT_MAX_ALIVE (cfs_time_seconds(36000))
Dlustre_net.h2781 cfs_time_seconds(req->rq_delay_limit)), in ptlrpc_send_limit_expired()
/linux-4.4.14/drivers/staging/lustre/lnet/selftest/
Dtimer.c179 cfs_time_seconds(STTIMER_SLOTTIME)); in stt_timer_main()
Dselftest.h581 schedule_timeout(cfs_time_seconds(1) / 10); \
Dconrpc.c361 cfs_time_seconds(timeout)); in lstcon_rpc_trans_postwait()
1352 schedule_timeout(cfs_time_seconds(1)); in lstcon_rpc_cleanup_wait()
Drpc.c1592 schedule_timeout(cfs_time_seconds(1)); in srpc_startup()
/linux-4.4.14/drivers/staging/lustre/lnet/lnet/
Drouter.c768 schedule_timeout(cfs_time_seconds(1)); in lnet_wait_known_routerstate()
969 cfs_time_seconds(secs)))) { in lnet_ping_router_locked()
1146 schedule_timeout(cfs_time_seconds(1) / 4); in lnet_prune_rc_data()
1206 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.c367 schedule_timeout(cfs_time_seconds(1)); in lnet_acceptor()
Dlib-move.c715 cfs_time_seconds(lp->lp_ni->ni_peertimeout)); in lnet_peer_is_alive()
749 cfs_time_seconds(lnet_queryinterval)); in lnet_peer_alive_locked()
Dapi-ni.c920 schedule_timeout(cfs_time_seconds(1)); in lnet_shutdown_lndnis()
/linux-4.4.14/drivers/staging/lustre/lustre/osc/
Dosc_object.c225 cfs_time_seconds(osc_contention_time)); in osc_object_is_contended()
Dosc_cache.c905 struct l_wait_info lwi = LWI_TIMEOUT_INTR(cfs_time_seconds(600), NULL, in osc_extent_wait()
/linux-4.4.14/drivers/staging/lustre/lustre/lov/
Dlov_request.c176 lwi = LWI_TIMEOUT_INTERVAL(cfs_time_seconds(obd_timeout), in lov_check_and_wait_active()
177 cfs_time_seconds(1), NULL, NULL); in lov_check_and_wait_active()
/linux-4.4.14/drivers/staging/lustre/lustre/ldlm/
Dldlm_lockd.c169 int to = cfs_time_seconds(1); in ldlm_handle_cp_callback()
330 cfs_time_seconds(10)))) { in ldlm_handle_gl_callback()
Dldlm_pool.c1032 lwi = LWI_TIMEOUT(cfs_time_seconds(c_time), in ldlm_pools_thread_main()
Dldlm_request.c256 lwi = LWI_TIMEOUT_INTR(cfs_time_seconds(timeout), in ldlm_completion_ast()
Dldlm_lock.c1268 lwi = LWI_TIMEOUT_INTR(cfs_time_seconds(obd_timeout), in ldlm_lock_match()
/linux-4.4.14/drivers/staging/lustre/lnet/klnds/o2iblnd/
Do2iblnd.c1230 schedule_timeout(cfs_time_seconds(1) / 100); in kiblnd_current_hdev()
2472 schedule_timeout(cfs_time_seconds(1)); in kiblnd_base_shutdown()
2527 schedule_timeout(cfs_time_seconds(1)); in kiblnd_shutdown()
Do2iblnd_cb.c3457 rc = schedule_timeout(long_sleep ? cfs_time_seconds(10) : in kiblnd_failover_thread()
3458 cfs_time_seconds(1)); in kiblnd_failover_thread()
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/
Dcl_io.c1548 struct l_wait_info lwi = LWI_TIMEOUT_INTR(cfs_time_seconds(timeout), in cl_sync_io_wait()
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Dstatahead.c1564 lwi = LWI_TIMEOUT_INTR(cfs_time_seconds(30), NULL, in do_statahead_enter()
/linux-4.4.14/drivers/staging/lustre/lustre/obdecho/
Decho_client.c882 schedule_timeout(cfs_time_seconds(1)); in echo_device_free()
/linux-4.4.14/drivers/staging/lustre/lustre/mdc/
Dmdc_request.c1018 lwi = LWI_TIMEOUT_INTR(cfs_time_seconds(resends), in mdc_readpage()