Delaying, scheduling, and timer routines
Prev
Chapter 1. Driver Basics
Next
Delaying, scheduling, and timer routines
struct task_cputime
— collected CPU time counts
struct thread_group_cputimer
— thread group interval timer counts
pid_alive
— check that a task structure is not stale
is_global_init
— check if a task structure is init
kthread_bind
— bind a just-created kthread to a cpu.
wake_up_process
— Wake up a specific process
preempt_notifier_register
— tell me when current is being preempted & rescheduled
preempt_notifier_unregister
— no longer interested in preemption notifications
__wake_up
— wake up threads blocked on a waitqueue.
__wake_up_sync_key
— wake up threads blocked on a waitqueue.
complete
— signals a single thread waiting on this completion
complete_all
— signals all threads waiting on this completion
wait_for_completion
— waits for completion of a task
wait_for_completion_timeout
— waits for completion of a task (w/timeout)
wait_for_completion_interruptible
— waits for completion of a task (w/intr)
wait_for_completion_interruptible_timeout
— waits for completion (w/(to,intr))
wait_for_completion_killable
— waits for completion of a task (killable)
try_wait_for_completion
— try to decrement a completion without blocking
completion_done
— Test to see if a completion has any waiters
task_nice
— return the nice value of a given task.
sched_setscheduler
— change the scheduling policy and/or RT priority of a thread.
yield
— yield the current processor to other threads.
__round_jiffies
— function to round jiffies to a full second
__round_jiffies_relative
— function to round jiffies to a full second
round_jiffies
— function to round jiffies to a full second
round_jiffies_relative
— function to round jiffies to a full second
__round_jiffies_up
— function to round jiffies up to a full second
__round_jiffies_up_relative
— function to round jiffies up to a full second
round_jiffies_up
— function to round jiffies up to a full second
round_jiffies_up_relative
— function to round jiffies up to a full second
init_timer_key
— initialize a timer
mod_timer_pending
— modify a pending timer's timeout
mod_timer
— modify a timer's timeout
mod_timer_pinned
— modify a timer's timeout
add_timer
— start a timer
add_timer_on
— start a timer on a particular CPU
del_timer
— deactive a timer.
try_to_del_timer_sync
— Try to deactivate a timer
del_timer_sync
— deactivate a timer and wait for the handler to finish.
schedule_timeout
— sleep until timeout
msleep
— sleep safely even with waitqueue interruptions
msleep_interruptible
— sleep waiting for signals