| /kernel/linux/linux-6.6/kernel/ |
| D | workqueue_internal.h | 24 struct worker { struct 37 int sleeping; /* S: is worker sleeping? */ argument 44 struct task_struct *task; /* I: worker task */ argument 45 struct worker_pool *pool; /* A: the associated pool */ argument 47 struct list_head node; /* A: anchored at pool->workers */ argument 52 int id; /* I: worker id */ argument 65 * current_wq_worker - return struct worker if %current is a workqueue worker argument
|
| D | kthread.c | 776 void __kthread_init_worker(struct kthread_worker *worker, in __kthread_init_worker() 805 struct kthread_worker *worker = worker_ptr; in kthread_worker_fn() local 870 struct kthread_worker *worker; in __kthread_create_worker() local 913 struct kthread_worker *worker; in kthread_create_worker() local 963 struct kthread_worker *worker; in kthread_create_worker_on_cpu() local 979 static inline bool queuing_blocked(struct kthread_worker *worker, in queuing_blocked() 987 static void kthread_insert_work_sanity_check(struct kthread_worker *worker, in kthread_insert_work_sanity_check() 997 static void kthread_insert_work(struct kthread_worker *worker, in kthread_insert_work() 1023 bool kthread_queue_work(struct kthread_worker *worker, in kthread_queue_work() 1051 struct kthread_worker *worker = work->worker; in kthread_delayed_work_timer_fn() local [all …]
|
| D | workqueue.c | 489 #define for_each_pool_worker(worker, pool) \ argument 867 static inline void worker_set_flags(struct worker *worker, unsigned int flags) in worker_set_flags() 889 static inline void worker_clr_flags(struct worker *worker, unsigned int flags) in worker_clr_flags() 927 static void worker_enter_idle(struct worker *worker) in worker_enter_idle() 960 static void worker_leave_idle(struct worker *worker) in worker_leave_idle() 1007 struct worker *worker; in find_worker_executing_work() local 1072 static bool assign_work(struct work_struct *work, struct worker *worker, in assign_work() 1107 struct worker *worker = first_idle_worker(pool); in kick_pool() local 1250 struct worker *worker = kthread_data(task); in wq_worker_running() local 1284 struct worker *worker = kthread_data(task); in wq_worker_sleeping() local [all …]
|
| /kernel/linux/linux-5.10/kernel/ |
| D | workqueue_internal.h | 24 struct worker { struct 38 struct task_struct *task; /* I: worker task */ argument 39 struct worker_pool *pool; /* A: the associated pool */ argument 41 struct list_head node; /* A: anchored at pool->workers */ argument 46 int id; /* I: worker id */ argument 58 /* used by the scheduler to determine a worker's last known identity */ argument 63 * current_wq_worker - return struct worker if %current is a workqueue worker argument
|
| D | kthread.c | 689 void __kthread_init_worker(struct kthread_worker *worker, in __kthread_init_worker() 718 struct kthread_worker *worker = worker_ptr; in kthread_worker_fn() local 768 struct kthread_worker *worker; in __kthread_create_worker() local 811 struct kthread_worker *worker; in kthread_create_worker() local 843 struct kthread_worker *worker; in kthread_create_worker_on_cpu() local 859 static inline bool queuing_blocked(struct kthread_worker *worker, in queuing_blocked() 867 static void kthread_insert_work_sanity_check(struct kthread_worker *worker, in kthread_insert_work_sanity_check() 877 static void kthread_insert_work(struct kthread_worker *worker, in kthread_insert_work() 901 bool kthread_queue_work(struct kthread_worker *worker, in kthread_queue_work() 929 struct kthread_worker *worker = work->worker; in kthread_delayed_work_timer_fn() local [all …]
|
| D | workqueue.c | 408 #define for_each_pool_worker(worker, pool) \ argument 838 struct worker *worker = first_idle_worker(pool); in wake_up_worker() local 852 struct worker *worker = kthread_data(task); in wq_worker_running() local 880 struct worker *next, *worker = kthread_data(task); in wq_worker_sleeping() local 946 struct worker *worker = kthread_data(task); in wq_worker_last_func() local 961 static inline void worker_set_flags(struct worker *worker, unsigned int flags) in worker_set_flags() 986 static inline void worker_clr_flags(struct worker *worker, unsigned int flags) in worker_clr_flags() 1041 struct worker *worker; in find_worker_executing_work() local 1365 struct worker *worker; in is_chained_work() local 1450 struct worker *worker; in __queue_work() local [all …]
|
| /kernel/linux/linux-6.6/io_uring/ |
| D | io-wq.c | 147 static bool io_worker_get(struct io_worker *worker) in io_worker_get() 152 static void io_worker_release(struct io_worker *worker) in io_worker_release() 169 static inline struct io_wq_acct *io_wq_get_acct(struct io_worker *worker) in io_wq_get_acct() 182 struct io_worker *worker = current->worker_private; in io_wq_worker_stopped() local 190 static void io_worker_cancel_cb(struct io_worker *worker) in io_worker_cancel_cb() 206 struct io_worker *worker; in io_task_worker_match() local 214 static void io_worker_exit(struct io_worker *worker) in io_worker_exit() 278 struct io_worker *worker; in io_wq_activate_free_worker() local 330 static void io_wq_inc_running(struct io_worker *worker) in io_wq_inc_running() 339 struct io_worker *worker; in create_worker_cb() local [all …]
|
| /kernel/linux/linux-5.10/io_uring/ |
| D | io-wq.c | 146 static bool io_worker_get(struct io_worker *worker) in io_worker_get() 151 static void io_worker_release(struct io_worker *worker) in io_worker_release() 168 static inline struct io_wqe_acct *io_wqe_get_acct(struct io_worker *worker) in io_wqe_get_acct() 181 struct io_worker *worker = current->pf_io_worker; in io_wq_worker_stopped() local 189 static void io_worker_cancel_cb(struct io_worker *worker) in io_worker_cancel_cb() 206 struct io_worker *worker; in io_task_worker_match() local 214 static void io_worker_exit(struct io_worker *worker) in io_worker_exit() 265 struct io_worker *worker; in io_wqe_activate_free_worker() local 314 static void io_wqe_inc_running(struct io_worker *worker) in io_wqe_inc_running() 323 struct io_worker *worker; in create_worker_cb() local [all …]
|
| /kernel/linux/linux-6.6/tools/perf/bench/ |
| D | futex-hash.c | 43 struct worker { struct 44 int tid; 45 u_int32_t *futex; 46 pthread_t thread; 70 static void *workerfn(void *arg) in workerfn() argument 130 struct worker *worker = NULL; in bench_futex_hash() local
|
| D | futex-lock-pi.c | 27 struct worker { struct 35 static struct worker *worker; argument
|
| D | epoll-wait.c | 118 struct worker { struct 119 int tid; 120 int epollfd; /* for --multiq */ 121 pthread_t thread; 122 unsigned long ops; 123 int *fdmap; 292 static int do_threads(struct worker *worker, struct perf_cpu_map *cpu) in do_threads() 382 struct worker *worker = p; in writerfn() local 436 struct worker *worker = NULL; in bench_epoll_wait() local
|
| D | epoll-ctl.c | 67 struct worker { struct 68 int tid; 69 pthread_t thread; 70 unsigned long ops[EPOLL_NR_OPS]; 71 int *fdmap; 223 static int do_threads(struct worker *worker, struct perf_cpu_map *cpu) in do_threads() 317 struct worker *worker = NULL; in bench_epoll_ctl() local
|
| /kernel/linux/linux-5.10/tools/perf/bench/ |
| D | futex-hash.c | 46 struct worker { struct 70 struct worker *w = (struct worker *) arg; in workerfn() argument 127 struct worker *worker = NULL; in bench_futex_hash() local
|
| D | futex-lock-pi.c | 26 struct worker { struct 34 static struct worker *worker; variable
|
| D | epoll-wait.c | 118 struct worker { struct 119 int tid; 120 int epollfd; /* for --multiq */ 121 pthread_t thread; 122 unsigned long ops; 123 int *fdmap; 292 static int do_threads(struct worker *worker, struct perf_cpu_map *cpu) in do_threads() 369 struct worker *worker = p; in writerfn() local 418 struct worker *worker = NULL; in bench_epoll_wait() local
|
| D | epoll-ctl.c | 67 struct worker { struct 68 int tid; 69 pthread_t thread; 70 unsigned long ops[EPOLL_NR_OPS]; 71 int *fdmap; 223 static int do_threads(struct worker *worker, struct perf_cpu_map *cpu) in do_threads() 304 struct worker *worker = NULL; in bench_epoll_ctl() local
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | kthread.h | 104 struct kthread_worker *worker; member 114 #define KTHREAD_WORKER_INIT(worker) { \ argument 131 #define DEFINE_KTHREAD_WORKER(worker) \ argument 146 # define KTHREAD_WORKER_INIT_ONSTACK(worker) \ argument 148 # define DEFINE_KTHREAD_WORKER_ONSTACK(worker) \ argument 151 # define DEFINE_KTHREAD_WORKER_ONSTACK(worker) DEFINE_KTHREAD_WORKER(worker) argument 157 #define kthread_init_worker(worker) \ argument
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | devm-helpers.h | 48 work_func_t worker) in devm_delayed_work_autocancel() 73 work_func_t worker) in devm_work_autocancel()
|
| D | kthread.h | 135 struct kthread_worker *worker; member 166 #define kthread_init_worker(worker) \ argument
|
| /kernel/linux/linux-6.6/drivers/vhost/ |
| D | vhost.c | 236 static void vhost_worker_queue(struct vhost_worker *worker, in vhost_worker_queue() 251 struct vhost_worker *worker; in vhost_vq_work_queue() local 284 static void __vhost_worker_flush(struct vhost_worker *worker) in __vhost_worker_flush() 304 static void vhost_worker_flush(struct vhost_worker *worker) in vhost_worker_flush() 313 struct vhost_worker *worker; in vhost_dev_flush() local 324 struct vhost_worker *worker; in vhost_vq_has_work() local 405 struct vhost_worker *worker = data; in vhost_run_work_list() local 430 struct vhost_worker *worker = data; in vhost_worker_killed() local 634 struct vhost_worker *worker) in vhost_worker_destroy() 647 struct vhost_worker *worker; in vhost_workers_free() local [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
| D | send_signal_sched_switch.c | 18 static void *worker(void *p) in worker() function
|
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
| D | send_signal_sched_switch.c | 18 static void *worker(void *p) in worker() function
|
| /kernel/linux/linux-5.10/tools/testing/selftests/powerpc/tm/ |
| D | tm-vmx-unavail.c | 27 void *worker(void *unused) in worker() function
|
| /kernel/linux/linux-6.6/tools/testing/selftests/powerpc/tm/ |
| D | tm-vmx-unavail.c | 26 void *worker(void *unused) in worker() function
|
| /kernel/linux/linux-6.6/include/drm/ |
| D | drm_flip_work.h | 76 struct work_struct worker; member
|