/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 | 643 void __kthread_init_worker(struct kthread_worker *worker, in __kthread_init_worker() 672 struct kthread_worker *worker = worker_ptr; in kthread_worker_fn() local 722 struct kthread_worker *worker; in __kthread_create_worker() local 765 struct kthread_worker *worker; in kthread_create_worker() local 797 struct kthread_worker *worker; in kthread_create_worker_on_cpu() local 813 static inline bool queuing_blocked(struct kthread_worker *worker, in queuing_blocked() 821 static void kthread_insert_work_sanity_check(struct kthread_worker *worker, in kthread_insert_work_sanity_check() 831 static void kthread_insert_work(struct kthread_worker *worker, in kthread_insert_work() 855 bool kthread_queue_work(struct kthread_worker *worker, in kthread_queue_work() 883 struct kthread_worker *worker = work->worker; in kthread_delayed_work_timer_fn() local [all …]
|
D | workqueue.c | 407 #define for_each_pool_worker(worker, pool) \ argument 834 struct worker *worker = first_idle_worker(pool); in wake_up_worker() local 848 struct worker *worker = kthread_data(task); in wq_worker_running() local 867 struct worker *next, *worker = kthread_data(task); in wq_worker_sleeping() local 933 struct worker *worker = kthread_data(task); in wq_worker_last_func() local 948 static inline void worker_set_flags(struct worker *worker, unsigned int flags) in worker_set_flags() 973 static inline void worker_clr_flags(struct worker *worker, unsigned int flags) in worker_clr_flags() 1028 struct worker *worker; in find_worker_executing_work() local 1352 struct worker *worker; in is_chained_work() local 1438 struct worker *worker; in __queue_work() local [all …]
|
D | async.c | 330 struct worker *worker = current_wq_worker(); in current_is_async() local
|
/linux-5.10/fs/ |
D | io-wq.c | 135 static bool io_worker_get(struct io_worker *worker) in io_worker_get() 140 static void io_worker_release(struct io_worker *worker) in io_worker_release() 151 static bool __io_worker_unuse(struct io_wqe *wqe, struct io_worker *worker) in __io_worker_unuse() 211 struct io_worker *worker) in io_wqe_get_acct() 219 static void io_worker_exit(struct io_worker *worker) in io_worker_exit() 274 struct io_worker *worker; in io_wqe_activate_free_worker() local 312 static void io_wqe_inc_running(struct io_wqe *wqe, struct io_worker *worker) in io_wqe_inc_running() 319 static void io_wqe_dec_running(struct io_wqe *wqe, struct io_worker *worker) in io_wqe_dec_running() 328 static void io_worker_start(struct io_wqe *wqe, struct io_worker *worker) in io_worker_start() 345 static void __io_worker_busy(struct io_wqe *wqe, struct io_worker *worker, in __io_worker_busy() [all …]
|
/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; 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() 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
|
D | futex-wake.c | 41 pthread_t *worker; variable
|
D | futex-requeue.c | 40 static pthread_t *worker; variable
|
/linux-5.10/include/linux/ |
D | kthread.h | 101 struct kthread_worker *worker; member 111 #define KTHREAD_WORKER_INIT(worker) { \ argument 128 #define DEFINE_KTHREAD_WORKER(worker) \ argument 143 # define KTHREAD_WORKER_INIT_ONSTACK(worker) \ argument 145 # define DEFINE_KTHREAD_WORKER_ONSTACK(worker) \ argument 148 # define DEFINE_KTHREAD_WORKER_ONSTACK(worker) DEFINE_KTHREAD_WORKER(worker) argument 154 #define kthread_init_worker(worker) \ argument
|
/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
D | send_signal_sched_switch.c | 18 static void *worker(void *p) in worker() function
|
/linux-5.10/tools/testing/selftests/powerpc/tm/ |
D | tm-vmx-unavail.c | 27 void *worker(void *unused) in worker() function
|
/linux-5.10/drivers/net/wireguard/ |
D | queueing.c | 12 struct multicore_worker __percpu *worker = in wg_packet_percpu_multicore_worker_alloc() local
|
D | device.h | 32 struct multicore_worker __percpu *worker; member
|
/linux-5.10/include/drm/ |
D | drm_flip_work.h | 76 struct work_struct worker; member
|
D | drm_vblank.h | 212 struct kthread_worker *worker; member
|
/linux-5.10/drivers/gpu/drm/i915/gt/uc/ |
D | intel_guc_ct.h | 58 struct work_struct worker; /* handler for incoming requests */ member
|
/linux-5.10/drivers/gpu/drm/ |
D | drm_vblank_work.c | 251 struct kthread_worker *worker; in drm_vblank_worker_init() local
|
/linux-5.10/drivers/i2c/ |
D | i2c-slave-testunit.c | 42 struct delayed_work worker; member
|
/linux-5.10/drivers/macintosh/ams/ |
D | ams.h | 34 struct work_struct worker; member
|
/linux-5.10/samples/seccomp/ |
D | user-trap.c | 204 pid_t worker = 0 , tracer = 0; in main() local
|
/linux-5.10/drivers/thermal/intel/ |
D | intel_powerclamp.c | 74 struct kthread_worker *worker; member 477 struct kthread_worker *worker; in start_power_clamp_worker() local
|
/linux-5.10/drivers/hid/ |
D | hid-bigbenff.c | 184 struct work_struct worker; member
|