Home
last modified time | relevance | path

Searched defs:worker (Results 1 – 25 of 51) sorted by relevance

123

/kernel/linux/linux-5.10/kernel/
Dworkqueue_internal.h24 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
Dkthread.c689 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 …]
Dworkqueue.c408 #define for_each_pool_worker(worker, pool) \ argument
835 struct worker *worker = first_idle_worker(pool); in wake_up_worker() local
849 struct worker *worker = kthread_data(task); in wq_worker_running() local
877 struct worker *next, *worker = kthread_data(task); in wq_worker_sleeping() local
943 struct worker *worker = kthread_data(task); in wq_worker_last_func() local
958 static inline void worker_set_flags(struct worker *worker, unsigned int flags) in worker_set_flags()
983 static inline void worker_clr_flags(struct worker *worker, unsigned int flags) in worker_clr_flags()
1038 struct worker *worker; in find_worker_executing_work() local
1362 struct worker *worker; in is_chained_work() local
1447 struct worker *worker; in __queue_work() local
[all …]
Dasync.c327 struct worker *worker = current_wq_worker(); in current_is_async() local
/kernel/linux/linux-5.10/io_uring/
Dio-wq.c146 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()
179 static void io_worker_cancel_cb(struct io_worker *worker) in io_worker_cancel_cb()
196 struct io_worker *worker; in io_task_worker_match() local
204 static void io_worker_exit(struct io_worker *worker) in io_worker_exit()
255 struct io_worker *worker; in io_wqe_activate_free_worker() local
304 static void io_wqe_inc_running(struct io_worker *worker) in io_wqe_inc_running()
313 struct io_worker *worker; in create_worker_cb() local
339 static bool io_queue_worker_create(struct io_worker *worker, in io_queue_worker_create()
[all …]
/kernel/linux/linux-5.10/tools/perf/bench/
Dfutex-hash.c46 struct worker { struct
70 struct worker *w = (struct worker *) arg; in workerfn() argument
127 struct worker *worker = NULL; in bench_futex_hash() local
Dfutex-lock-pi.c26 struct worker { struct
34 static struct worker *worker; argument
Depoll-wait.c118 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
Depoll-ctl.c67 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
Dfutex-wake.c41 pthread_t *worker; variable
Dfutex-requeue.c40 static pthread_t *worker; variable
/kernel/linux/linux-5.10/include/linux/
Dkthread.h104 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-5.10/tools/testing/selftests/bpf/prog_tests/
Dsend_signal_sched_switch.c18 static void *worker(void *p) in worker() function
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/tm/
Dtm-vmx-unavail.c27 void *worker(void *unused) in worker() function
/kernel/linux/linux-5.10/include/drm/
Ddrm_flip_work.h76 struct work_struct worker; member
Ddrm_vblank.h212 struct kthread_worker *worker; member
/kernel/linux/linux-5.10/drivers/net/wireguard/
Dqueueing.c13 struct multicore_worker __percpu *worker = alloc_percpu(struct multicore_worker); in wg_packet_percpu_multicore_worker_alloc() local
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_ct.h58 struct work_struct worker; /* handler for incoming requests */ member
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_vblank_work.c251 struct kthread_worker *worker; in drm_vblank_worker_init() local
/kernel/linux/linux-5.10/drivers/i2c/
Di2c-slave-testunit.c42 struct delayed_work worker; member
/kernel/linux/linux-5.10/samples/seccomp/
Duser-trap.c204 pid_t worker = 0 , tracer = 0; in main() local
/kernel/linux/linux-5.10/drivers/macintosh/ams/
Dams.h34 struct work_struct worker; member
/kernel/linux/linux-5.10/drivers/thermal/intel/
Dintel_powerclamp.c75 struct kthread_worker *worker; member
481 struct kthread_worker *worker; in start_power_clamp_worker() local
/kernel/linux/linux-5.10/arch/x86/kvm/
Di8254.h48 struct kthread_worker *worker; member
/kernel/linux/linux-5.10/drivers/crypto/caam/
Dcaamrng.c41 struct work_struct worker; member

123