/linux/kernel/ |
H A 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
|
H A D | kthread.c | 943 void __kthread_init_worker(struct kthread_worker *worker, in __kthread_init_worker() 972 struct kthread_worker *worker = worker_ptr; in kthread_worker_fn() local 1037 struct kthread_worker *worker; in __kthread_create_worker_on_node() local 1074 struct kthread_worker *worker; in kthread_create_worker_on_node() local 1125 struct kthread_worker *worker; in kthread_create_worker_on_cpu() local 1140 static inline bool queuing_blocked(struct kthread_worker *worker, in queuing_blocked() 1148 static void kthread_insert_work_sanity_check(struct kthread_worker *worker, in kthread_insert_work_sanity_check() 1158 static void kthread_insert_work(struct kthread_worker *worker, in kthread_insert_work() 1184 bool kthread_queue_work(struct kthread_worker *worker, in kthread_queue_work() 1212 struct kthread_worker *worker = work->worker; in kthread_delayed_work_timer_fn() local [all …]
|
H A D | workqueue.c | 581 #define for_each_pool_worker(worker, pool) \ argument 972 static inline void worker_set_flags(struct worker *worker, unsigned int flags) in worker_set_flags() 994 static inline void worker_clr_flags(struct worker *worker, unsigned int flags) in worker_clr_flags() 1032 static void worker_enter_idle(struct worker *worker) in worker_enter_idle() 1065 static void worker_leave_idle(struct worker *worker) in worker_leave_idle() 1112 struct worker *worker; in find_worker_executing_work() local 1177 static bool assign_work(struct work_struct *work, struct worker *worker, in assign_work() 1235 struct worker *worker = first_idle_worker(pool); in kick_pool() local 1387 struct worker *worker = kthread_data(task); in wq_worker_running() local 1421 struct worker *worker = kthread_data(task); in wq_worker_sleeping() local [all …]
|
/linux/io_uring/ |
H A D | io-wq.c | 156 static bool io_worker_get(struct io_worker *worker) in io_worker_get() 161 static void io_worker_release(struct io_worker *worker) in io_worker_release() 178 static inline struct io_wq_acct *io_wq_get_acct(struct io_worker *worker) in io_wq_get_acct() 191 struct io_worker *worker = current->worker_private; in io_wq_worker_stopped() local 199 static void io_worker_cancel_cb(struct io_worker *worker) in io_worker_cancel_cb() 215 struct io_worker *worker; in io_task_worker_match() local 223 static void io_worker_exit(struct io_worker *worker) in io_worker_exit() 287 struct io_worker *worker; in io_acct_activate_free_worker() local 335 static void io_wq_inc_running(struct io_worker *worker) in io_wq_inc_running() 344 struct io_worker *worker; in create_worker_cb() local [all …]
|
/linux/tools/perf/bench/ |
H A 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
|
H A D | futex-lock-pi.c | 27 struct worker { struct 35 static struct worker *worker; argument
|
H A 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
|
H A D | sched-messaging.c | 150 static void create_thread_worker(union messaging_worker *worker, in create_thread_worker() 171 static void create_process_worker(union messaging_worker *worker, in create_process_worker() 185 static void create_worker(union messaging_worker *worker, in create_worker() 194 static void reap_worker(union messaging_worker *worker) in reap_worker() 210 static unsigned int group(union messaging_worker *worker, in group()
|
H A D | futex-wake.c | 36 static pthread_t *worker; variable
|
H A D | futex-requeue.c | 36 static pthread_t *worker; variable
|
/linux/include/linux/ |
H A D | devm-helpers.h | 48 work_func_t worker) in devm_delayed_work_autocancel() 73 work_func_t worker) in devm_work_autocancel()
|
/linux/drivers/vhost/ |
H A 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 272 static void __vhost_worker_flush(struct vhost_worker *worker) in __vhost_worker_flush() 292 static void vhost_worker_flush(struct vhost_worker *worker) in vhost_worker_flush() 301 struct vhost_worker *worker; in vhost_dev_flush() local 312 struct vhost_worker *worker; in vhost_vq_has_work() local 393 struct vhost_worker *worker = data; in vhost_run_work_list() local 418 struct vhost_worker *worker = data; in vhost_worker_killed() local 622 struct vhost_worker *worker) in vhost_worker_destroy() 635 struct vhost_worker *worker; in vhost_workers_free() local [all …]
|
/linux/tools/testing/selftests/powerpc/tm/ |
H A D | tm-vmx-unavail.c | 26 void *worker(void *unused) in worker() function
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | send_signal_sched_switch.c | 18 static void *worker(void *p) in worker() function
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_guc_relay_types.h | 21 struct work_struct worker; member
|
H A D | xe_sriov_types.h | 70 struct work_struct worker; member
|
H A D | xe_gt_types.h | 183 struct work_struct worker; member 273 struct work_struct worker; member 300 struct work_struct worker; member
|
H A D | xe_gt_sriov_pf_control_types.h | 100 struct work_struct worker; member
|
/linux/include/drm/ |
H A D | drm_flip_work.h | 65 struct work_struct worker; member
|
H A D | drm_vblank.h | 243 struct kthread_worker *worker; member
|
/linux/drivers/net/wireguard/ |
H A D | queueing.c | 13 struct multicore_worker __percpu *worker = alloc_percpu(struct multicore_worker); in wg_packet_percpu_multicore_worker_alloc() local
|
/linux/fs/erofs/ |
H A D | zdata.c | 297 struct kthread_worker *worker; in erofs_destroy_percpu_workers() local 312 struct kthread_worker *worker = in erofs_init_percpu_worker() local 324 struct kthread_worker *worker; in erofs_init_percpu_workers() local 350 struct kthread_worker *worker, *old; in erofs_cpu_online() local 369 struct kthread_worker *worker; in erofs_cpu_offline() local 1423 struct kthread_worker *worker; in z_erofs_decompress_kickoff() local
|
/linux/drivers/macintosh/ams/ |
H A D | ams.h | 37 struct work_struct worker; member
|
/linux/samples/seccomp/ |
H A D | user-trap.c | 208 pid_t worker = 0 , tracer = 0; in main() local
|
/linux/drivers/i2c/ |
H A D | i2c-slave-testunit.c | 50 struct delayed_work worker; member
|