|
| #define | kthread_create(threadfn, data, namefmt, arg...) kthread_create_on_node(threadfn, data, NUMA_NO_NODE, namefmt, ##arg) |
| |
| #define | kthread_run(threadfn, data, namefmt, ...) |
| |
| #define | kthread_exit(result) do_exit(result) |
| |
| #define | KTHREAD_WORK_INIT(work, fn) |
| |
| #define | KTHREAD_DELAYED_WORK_INIT(dwork, fn) |
| |
| #define | DEFINE_KTHREAD_WORK(work, fn) struct kthread_work work = KTHREAD_WORK_INIT(work, fn) |
| |
| #define | DEFINE_KTHREAD_DELAYED_WORK(dwork, fn) |
| |
| #define | kthread_init_worker(worker) |
| |
| #define | kthread_init_work(work, fn) |
| |
| #define | kthread_init_delayed_work(dwork, fn) |
| |
| #define | kthread_create_worker(flags, namefmt, ...) kthread_create_worker_on_node(flags, NUMA_NO_NODE, namefmt, ## __VA_ARGS__); |
| |
| #define | kthread_run_worker(flags, namefmt, ...) |
| |
|
| | __printf (4, 5) struct task_struct *kthread_create_on_node(int(*threadfn)(void *data) |
| |
| struct task_struct * | kthread_create_on_cpu (int(*threadfn)(void *data), void *data, unsigned int cpu, const char *namefmt) |
| |
| void | get_kthread_comm (char *buf, size_t buf_size, struct task_struct *tsk) |
| |
| bool | set_kthread_struct (struct task_struct *p) |
| |
| void | kthread_set_per_cpu (struct task_struct *k, int cpu) |
| |
| bool | kthread_is_per_cpu (struct task_struct *k) |
| |
| void | free_kthread_struct (struct task_struct *k) |
| |
| void | kthread_bind (struct task_struct *k, unsigned int cpu) |
| |
| void | kthread_bind_mask (struct task_struct *k, const struct cpumask *mask) |
| |
| int | kthread_affine_preferred (struct task_struct *p, const struct cpumask *mask) |
| |
| int | kthread_stop (struct task_struct *k) |
| |
| int | kthread_stop_put (struct task_struct *k) |
| |
| bool | kthread_should_stop (void) |
| |
| bool | kthread_should_park (void) |
| |
| bool | kthread_should_stop_or_park (void) |
| |
| bool | kthread_freezable_should_stop (bool *was_frozen) |
| |
| void * | kthread_func (struct task_struct *k) |
| |
| void * | kthread_data (struct task_struct *k) |
| |
| void * | kthread_probe_data (struct task_struct *k) |
| |
| int | kthread_park (struct task_struct *k) |
| |
| void | kthread_unpark (struct task_struct *k) |
| |
| void | kthread_parkme (void) |
| |
| void | kthread_complete_and_exit (struct completion *, long) __noreturn |
| |
| int | kthreads_update_housekeeping (void) |
| |
| void | kthread_do_exit (struct kthread *, long) |
| |
| int | kthreadd (void *unused) |
| |
| int | tsk_fork_get_node (struct task_struct *tsk) |
| |
| void | kthread_delayed_work_timer_fn (struct timer_list *t) |
| |
| void | __kthread_init_worker (struct kthread_worker *worker, const char *name, struct lock_class_key *key) |
| |
| int | kthread_worker_fn (void *worker_ptr) |
| |
| | __printf (3, 4) struct kthread_worker *kthread_create_worker_on_node(unsigned int flags |
| |
| struct kthread_worker * | kthread_create_worker_on_cpu (int cpu, unsigned int flags, const char namefmt[]) |
| |
| bool | kthread_queue_work (struct kthread_worker *worker, struct kthread_work *work) |
| |
| bool | kthread_queue_delayed_work (struct kthread_worker *worker, struct kthread_delayed_work *dwork, unsigned long delay) |
| |
| bool | kthread_mod_delayed_work (struct kthread_worker *worker, struct kthread_delayed_work *dwork, unsigned long delay) |
| |
| void | kthread_flush_work (struct kthread_work *work) |
| |
| void | kthread_flush_worker (struct kthread_worker *worker) |
| |
| bool | kthread_cancel_work_sync (struct kthread_work *work) |
| |
| bool | kthread_cancel_delayed_work_sync (struct kthread_delayed_work *work) |
| |
| void | kthread_destroy_worker (struct kthread_worker *worker) |
| |
| void | kthread_use_mm (struct mm_struct *mm) |
| |
| void | kthread_unuse_mm (struct mm_struct *mm) |
| |