linux-4.4.1/remove_hrtimer()
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
*参照元 [#i0250fb4]
#backlinks
*説明 [#x86a3b6b]
-パス: [[linux-4.4.1/kernel/time/hrtimer.c]]
-FIXME: これは何?
--説明
**引数 [#t5eb3cfc]
-struct hrtimer *timer
--
--[[linux-4.4.1/hrtimer]]
-struct hrtimer_clock_base *base
--
--[[linux-4.4.1/hrtimer_clock_base]]
-bool restart
--
**返り値 [#odf73213]
-int
--
**参考 [#m6209b5e]
*実装 [#g1b6711a]
/*
* remove hrtimer, called with base lock held
*/
static inline int
remove_hrtimer(struct hrtimer *timer, struct hrtimer_clo...
{
if (hrtimer_is_queued(timer)) {
unsigned long state = timer->state;
int reprogram;
-
--[[linux-4.4.1/hrtimer_is_queued()]]
/*
* Remove the timer and force reprogramm...
* resolution mode is active and the tim...
* CPU. If we remove a timer on another ...
* skipped. The interrupt event on this ...
* reprogramming happens in the interrup...
* rare case and less expensive than a s...
*/
debug_deactivate(timer);
timer_stats_hrtimer_clear_start_info(tim...
reprogram = base->cpu_base == this_cpu_p...
-
--[[linux-4.4.1/debug_deactivate()]]
--[[linux-4.4.1/timer_stats_hrtimer_clear_start_info()]]
--[[linux-4.4.1/this_cpu_ptr()]]
--[[linux-4.4.1/hrtimer_bases(global)]]
if (!restart)
state = HRTIMER_STATE_INACTIVE;
__remove_hrtimer(timer, base, state, rep...
-
--[[linux-4.4.1/__remove_hrtimer()]]
return 1;
}
return 0;
}
*コメント [#p8e1f6fa]
終了行:
*参照元 [#i0250fb4]
#backlinks
*説明 [#x86a3b6b]
-パス: [[linux-4.4.1/kernel/time/hrtimer.c]]
-FIXME: これは何?
--説明
**引数 [#t5eb3cfc]
-struct hrtimer *timer
--
--[[linux-4.4.1/hrtimer]]
-struct hrtimer_clock_base *base
--
--[[linux-4.4.1/hrtimer_clock_base]]
-bool restart
--
**返り値 [#odf73213]
-int
--
**参考 [#m6209b5e]
*実装 [#g1b6711a]
/*
* remove hrtimer, called with base lock held
*/
static inline int
remove_hrtimer(struct hrtimer *timer, struct hrtimer_clo...
{
if (hrtimer_is_queued(timer)) {
unsigned long state = timer->state;
int reprogram;
-
--[[linux-4.4.1/hrtimer_is_queued()]]
/*
* Remove the timer and force reprogramm...
* resolution mode is active and the tim...
* CPU. If we remove a timer on another ...
* skipped. The interrupt event on this ...
* reprogramming happens in the interrup...
* rare case and less expensive than a s...
*/
debug_deactivate(timer);
timer_stats_hrtimer_clear_start_info(tim...
reprogram = base->cpu_base == this_cpu_p...
-
--[[linux-4.4.1/debug_deactivate()]]
--[[linux-4.4.1/timer_stats_hrtimer_clear_start_info()]]
--[[linux-4.4.1/this_cpu_ptr()]]
--[[linux-4.4.1/hrtimer_bases(global)]]
if (!restart)
state = HRTIMER_STATE_INACTIVE;
__remove_hrtimer(timer, base, state, rep...
-
--[[linux-4.4.1/__remove_hrtimer()]]
return 1;
}
return 0;
}
*コメント [#p8e1f6fa]
ページ名: