Home
last modified time | relevance | path

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

1234

/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
868 struct worker *next, *worker = kthread_data(task); in wq_worker_sleeping() local
934 struct worker *worker = kthread_data(task); in wq_worker_last_func() local
949 static inline void worker_set_flags(struct worker *worker, unsigned int flags) in worker_set_flags()
974 static inline void worker_clr_flags(struct worker *worker, unsigned int flags) in worker_clr_flags()
1029 struct worker *worker; in find_worker_executing_work() local
1353 struct worker *worker; in is_chained_work() local
1438 struct worker *worker; in __queue_work() local
[all …]
/kernel/linux/linux-4.19/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
59 * current_wq_worker - return struct worker if %current is a workqueue worker argument
Dkthread.c610 void __kthread_init_worker(struct kthread_worker *worker, in __kthread_init_worker()
639 struct kthread_worker *worker = worker_ptr; in kthread_worker_fn() local
689 struct kthread_worker *worker; in __kthread_create_worker() local
732 struct kthread_worker *worker; in kthread_create_worker() local
764 struct kthread_worker *worker; in kthread_create_worker_on_cpu() local
780 static inline bool queuing_blocked(struct kthread_worker *worker, in queuing_blocked()
788 static void kthread_insert_work_sanity_check(struct kthread_worker *worker, in kthread_insert_work_sanity_check()
798 static void kthread_insert_work(struct kthread_worker *worker, in kthread_insert_work()
822 bool kthread_queue_work(struct kthread_worker *worker, in kthread_queue_work()
850 struct kthread_worker *worker = work->worker; in kthread_delayed_work_timer_fn() local
[all …]
Dworkqueue.c407 #define for_each_pool_worker(worker, pool) \ argument
835 struct worker *worker = first_idle_worker(pool); in wake_up_worker() local
854 struct worker *worker = kthread_data(task); in wq_worker_waking_up() local
878 struct worker *worker = kthread_data(task), *to_wakeup = NULL; in wq_worker_sleeping() local
922 static inline void worker_set_flags(struct worker *worker, unsigned int flags) in worker_set_flags()
947 static inline void worker_clr_flags(struct worker *worker, unsigned int flags) in worker_clr_flags()
1002 struct worker *worker; in find_worker_executing_work() local
1320 struct worker *worker; in is_chained_work() local
1405 struct worker *worker; in __queue_work() local
1651 static void worker_enter_idle(struct worker *worker) in worker_enter_idle()
[all …]
/kernel/linux/linux-5.10/fs/
Dio-wq.c135 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
313 static void io_wqe_inc_running(struct io_wqe *wqe, struct io_worker *worker) in io_wqe_inc_running()
320 static void io_wqe_dec_running(struct io_wqe *wqe, struct io_worker *worker) in io_wqe_dec_running()
329 static void io_worker_start(struct io_wqe *wqe, struct io_worker *worker) in io_worker_start()
346 static void __io_worker_busy(struct io_wqe *wqe, struct io_worker *worker, in __io_worker_busy()
[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; variable
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
/kernel/linux/linux-4.19/tools/perf/bench/
Dfutex-hash.c44 struct worker { struct
68 struct worker *w = (struct worker *) arg; in workerfn() argument
125 struct worker *worker = NULL; in bench_futex_hash() local
Dfutex-lock-pi.c24 struct worker { struct
32 static struct worker *worker; argument
/kernel/linux/linux-4.19/include/linux/
Dkthread.h98 struct kthread_worker *worker; member
108 #define KTHREAD_WORKER_INIT(worker) { \ argument
125 #define DEFINE_KTHREAD_WORKER(worker) \ argument
140 # define KTHREAD_WORKER_INIT_ONSTACK(worker) \ argument
142 # define DEFINE_KTHREAD_WORKER_ONSTACK(worker) \ argument
145 # define DEFINE_KTHREAD_WORKER_ONSTACK(worker) DEFINE_KTHREAD_WORKER(worker) argument
151 #define kthread_init_worker(worker) \ argument
/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/powerpc/tm/
Dtm-vmx-unavail.c27 void *worker(void *unused) in worker() function
/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-4.19/tools/testing/selftests/powerpc/tm/
Dtm-vmx-unavail.c27 void *worker(void *unused) in worker() function
/kernel/linux/linux-4.19/include/drm/
Ddrm_flip_work.h76 struct work_struct worker; member
/kernel/linux/linux-5.10/include/drm/
Ddrm_flip_work.h76 struct work_struct worker; member
/kernel/linux/linux-4.19/drivers/gpu/drm/i915/
Dintel_guc_ct.h89 struct work_struct worker; member
/kernel/linux/linux-5.10/drivers/net/wireguard/
Dqueueing.c12 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

1234