Home
last modified time | relevance | path

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

123

/Linux-v6.1/kernel/
Dworkqueue_internal.h24 struct worker { struct
39 struct task_struct *task; /* I: worker task */ argument
40 struct worker_pool *pool; /* A: the associated pool */ argument
42 struct list_head node; /* A: anchored at pool->workers */ argument
47 int id; /* I: worker id */ argument
59 /* used by the scheduler to determine a worker's last known identity */ argument
64 * current_wq_worker - return struct worker if %current is a workqueue worker argument
Dkthread.c756 void __kthread_init_worker(struct kthread_worker *worker, in __kthread_init_worker()
785 struct kthread_worker *worker = worker_ptr; in kthread_worker_fn() local
842 struct kthread_worker *worker; in __kthread_create_worker() local
885 struct kthread_worker *worker; in kthread_create_worker() local
935 struct kthread_worker *worker; in kthread_create_worker_on_cpu() local
951 static inline bool queuing_blocked(struct kthread_worker *worker, in queuing_blocked()
959 static void kthread_insert_work_sanity_check(struct kthread_worker *worker, in kthread_insert_work_sanity_check()
969 static void kthread_insert_work(struct kthread_worker *worker, in kthread_insert_work()
995 bool kthread_queue_work(struct kthread_worker *worker, in kthread_queue_work()
1023 struct kthread_worker *worker = work->worker; in kthread_delayed_work_timer_fn() local
[all …]
Dworkqueue.c427 #define for_each_pool_worker(worker, pool) \ argument
853 struct worker *worker = first_idle_worker(pool); in wake_up_worker() local
867 struct worker *worker = kthread_data(task); in wq_worker_running() local
894 struct worker *worker = kthread_data(task); in wq_worker_sleeping() local
956 struct worker *worker = kthread_data(task); in wq_worker_last_func() local
971 static inline void worker_set_flags(struct worker *worker, unsigned int flags) in worker_set_flags()
996 static inline void worker_clr_flags(struct worker *worker, unsigned int flags) in worker_clr_flags()
1051 struct worker *worker; in find_worker_executing_work() local
1375 struct worker *worker; in is_chained_work() local
1460 struct worker *worker; in __queue_work() local
[all …]
Dasync.c301 struct worker *worker = current_wq_worker(); in current_is_async() local
/Linux-v6.1/io_uring/
Dio-wq.c151 static bool io_worker_get(struct io_worker *worker) in io_worker_get()
156 static void io_worker_release(struct io_worker *worker) in io_worker_release()
173 static inline struct io_wqe_acct *io_wqe_get_acct(struct io_worker *worker) in io_wqe_get_acct()
184 static void io_worker_cancel_cb(struct io_worker *worker) in io_worker_cancel_cb()
201 struct io_worker *worker; in io_task_worker_match() local
209 static void io_worker_exit(struct io_worker *worker) in io_worker_exit()
264 struct io_worker *worker; in io_wqe_activate_free_worker() local
313 static void io_wqe_inc_running(struct io_worker *worker) in io_wqe_inc_running()
322 struct io_worker *worker; in create_worker_cb() local
348 static bool io_queue_worker_create(struct io_worker *worker, in io_queue_worker_create()
[all …]
/Linux-v6.1/tools/perf/bench/
Dfutex-hash.c43 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
Dfutex-lock-pi.c27 struct worker { struct
35 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()
382 struct worker *worker = p; in writerfn() local
431 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()
317 struct worker *worker = NULL; in bench_epoll_ctl() local
Dfutex-wake.c36 static pthread_t *worker; variable
Dfutex-requeue.c36 static pthread_t *worker; variable
/Linux-v6.1/include/linux/
Ddevm-helpers.h48 work_func_t worker) in devm_delayed_work_autocancel()
73 work_func_t worker) in devm_work_autocancel()
Dkthread.h134 struct kthread_worker *worker; member
165 #define kthread_init_worker(worker) \ argument
/Linux-v6.1/tools/testing/selftests/powerpc/tm/
Dtm-vmx-unavail.c26 void *worker(void *unused) in worker() function
/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/
Dsend_signal_sched_switch.c18 static void *worker(void *p) in worker() function
/Linux-v6.1/include/drm/
Ddrm_flip_work.h76 struct work_struct worker; member
Ddrm_vblank.h212 struct kthread_worker *worker; member
/Linux-v6.1/drivers/net/wireguard/
Dqueueing.c13 struct multicore_worker __percpu *worker = alloc_percpu(struct multicore_worker); in wg_packet_percpu_multicore_worker_alloc() local
/Linux-v6.1/drivers/gpu/drm/
Ddrm_vblank_work.c251 struct kthread_worker *worker; in drm_vblank_worker_init() local
/Linux-v6.1/samples/seccomp/
Duser-trap.c204 pid_t worker = 0 , tracer = 0; in main() local
/Linux-v6.1/drivers/gpu/drm/msm/
Dmsm_io_utils.c119 struct kthread_worker *worker, in msm_hrtimer_work_init()
/Linux-v6.1/drivers/i2c/
Di2c-slave-testunit.c43 struct delayed_work worker; member
/Linux-v6.1/drivers/macintosh/ams/
Dams.h34 struct work_struct worker; member
/Linux-v6.1/drivers/thermal/intel/
Dintel_powerclamp.c73 struct kthread_worker *worker; member
462 struct kthread_worker *worker; in start_power_clamp_worker() local
/Linux-v6.1/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_ct.h83 struct work_struct worker; /* handler for incoming requests */ member

123