Home
last modified time | relevance | path

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

123

/linux-6.6.21/kernel/
Dworkqueue_internal.h24 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
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.c489 #define for_each_pool_worker(worker, pool) \ argument
867 static inline void worker_set_flags(struct worker *worker, unsigned int flags) in worker_set_flags()
889 static inline void worker_clr_flags(struct worker *worker, unsigned int flags) in worker_clr_flags()
927 static void worker_enter_idle(struct worker *worker) in worker_enter_idle()
960 static void worker_leave_idle(struct worker *worker) in worker_leave_idle()
1007 struct worker *worker; in find_worker_executing_work() local
1072 static bool assign_work(struct work_struct *work, struct worker *worker, in assign_work()
1107 struct worker *worker = first_idle_worker(pool); in kick_pool() local
1246 struct worker *worker = kthread_data(task); in wq_worker_running() local
1280 struct worker *worker = kthread_data(task); in wq_worker_sleeping() local
[all …]
/linux-6.6.21/io_uring/
Dio-wq.c144 static bool io_worker_get(struct io_worker *worker) in io_worker_get()
149 static void io_worker_release(struct io_worker *worker) in io_worker_release()
166 static inline struct io_wq_acct *io_wq_get_acct(struct io_worker *worker) in io_wq_get_acct()
179 struct io_worker *worker = current->worker_private; in io_wq_worker_stopped() local
187 static void io_worker_cancel_cb(struct io_worker *worker) in io_worker_cancel_cb()
203 struct io_worker *worker; in io_task_worker_match() local
211 static void io_worker_exit(struct io_worker *worker) in io_worker_exit()
275 struct io_worker *worker; in io_wq_activate_free_worker() local
327 static void io_wq_inc_running(struct io_worker *worker) in io_wq_inc_running()
336 struct io_worker *worker; in create_worker_cb() local
[all …]
/linux-6.6.21/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-6.6.21/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-6.6.21/drivers/vhost/
Dvhost.c236 static void vhost_worker_queue(struct vhost_worker *worker, in vhost_worker_queue()
251 struct vhost_worker *worker; in vhost_vq_work_queue() local
285 static void vhost_worker_flush(struct vhost_worker *worker) in vhost_worker_flush()
298 struct vhost_worker *worker; in vhost_dev_flush() local
316 struct vhost_worker *worker; in vhost_vq_has_work() local
397 struct vhost_worker *worker = data; in vhost_worker() local
592 struct vhost_worker *worker) in vhost_worker_destroy()
605 struct vhost_worker *worker; in vhost_workers_free() local
624 struct vhost_worker *worker; in vhost_worker_create() local
663 struct vhost_worker *worker) in __vhost_vq_attach_worker()
[all …]
/linux-6.6.21/tools/testing/selftests/powerpc/tm/
Dtm-vmx-unavail.c26 void *worker(void *unused) in worker() function
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dsend_signal_sched_switch.c18 static void *worker(void *p) in worker() function
/linux-6.6.21/include/drm/
Ddrm_flip_work.h76 struct work_struct worker; member
Ddrm_vblank.h212 struct kthread_worker *worker; member
/linux-6.6.21/drivers/gpu/drm/i915/selftests/
Di915_request.c303 struct kthread_worker *worker; member
493 struct kthread_worker *worker; in mock_breadcrumbs_smoketest() local
1458 struct kthread_worker *worker; member
1646 struct kthread_worker *worker; in live_parallel_engines() local
1807 struct kthread_worker *worker; in live_breadcrumbs_smoketest() local
2958 struct kthread_worker *worker; member
3216 struct kthread_worker *worker; in perf_parallel_engines() local
/linux-6.6.21/drivers/net/wireguard/
Dqueueing.c13 struct multicore_worker __percpu *worker = alloc_percpu(struct multicore_worker); in wg_packet_percpu_multicore_worker_alloc() local
/linux-6.6.21/fs/erofs/
Dzdata.c345 struct kthread_worker *worker; in erofs_destroy_percpu_workers() local
360 struct kthread_worker *worker = in erofs_init_percpu_worker() local
372 struct kthread_worker *worker; in erofs_init_percpu_workers() local
398 struct kthread_worker *worker, *old; in erofs_cpu_online() local
417 struct kthread_worker *worker; in erofs_cpu_offline() local
1415 struct kthread_worker *worker; in z_erofs_decompress_kickoff() local
/linux-6.6.21/drivers/gpu/drm/
Ddrm_vblank_work.c251 struct kthread_worker *worker; in drm_vblank_worker_init() local
/linux-6.6.21/drivers/macintosh/ams/
Dams.h37 struct work_struct worker; member
/linux-6.6.21/samples/seccomp/
Duser-trap.c204 pid_t worker = 0 , tracer = 0; in main() local
/linux-6.6.21/drivers/i2c/
Di2c-slave-testunit.c43 struct delayed_work worker; member
/linux-6.6.21/drivers/gpu/drm/msm/
Dmsm_io_utils.c120 struct kthread_worker *worker, in msm_hrtimer_work_init()

123