Home
last modified time | relevance | path

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

123

/linux/kernel/
H A 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
H A Dkthread.c777 void __kthread_init_worker(struct kthread_worker *worker, in __kthread_init_worker()
806 struct kthread_worker *worker = worker_ptr; in kthread_worker_fn() local
871 struct kthread_worker *worker; in __kthread_create_worker() local
914 struct kthread_worker *worker; in kthread_create_worker() local
964 struct kthread_worker *worker; in kthread_create_worker_on_cpu() local
980 static inline bool queuing_blocked(struct kthread_worker *worker, in queuing_blocked()
988 static void kthread_insert_work_sanity_check(struct kthread_worker *worker, in kthread_insert_work_sanity_check()
998 static void kthread_insert_work(struct kthread_worker *worker, in kthread_insert_work()
1024 bool kthread_queue_work(struct kthread_worker *worker, in kthread_queue_work()
1052 struct kthread_worker *worker = work->worker; in kthread_delayed_work_timer_fn() local
[all …]
H A Dworkqueue.c581 #define for_each_pool_worker(worker, pool) \ argument
972 static inline void worker_set_flags(struct worker *worker, unsigned int flags) in worker_set_flags()
994 static inline void worker_clr_flags(struct worker *worker, unsigned int flags) in worker_clr_flags()
1032 static void worker_enter_idle(struct worker *worker) in worker_enter_idle()
1065 static void worker_leave_idle(struct worker *worker) in worker_leave_idle()
1112 struct worker *worker; in find_worker_executing_work() local
1177 static bool assign_work(struct work_struct *work, struct worker *worker, in assign_work()
1235 struct worker *worker = first_idle_worker(pool); in kick_pool() local
1387 struct worker *worker = kthread_data(task); in wq_worker_running() local
1421 struct worker *worker = kthread_data(task); in wq_worker_sleeping() local
[all …]
/linux/io_uring/
H A 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_wq_acct *io_wq_get_acct(struct io_worker *worker) in io_wq_get_acct()
181 struct io_worker *worker = current->worker_private; in io_wq_worker_stopped() local
189 static void io_worker_cancel_cb(struct io_worker *worker) in io_worker_cancel_cb()
205 struct io_worker *worker; in io_task_worker_match() local
213 static void io_worker_exit(struct io_worker *worker) in io_worker_exit()
277 struct io_worker *worker; in io_wq_activate_free_worker() local
329 static void io_wq_inc_running(struct io_worker *worker) in io_wq_inc_running()
338 struct io_worker *worker; in create_worker_cb() local
[all …]
/linux/tools/perf/bench/
H A 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
H A Dfutex-lock-pi.c27 struct worker { struct
35 static struct worker *worker; argument
H A 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
H A 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
H A Dsched-messaging.c150 static void create_thread_worker(union messaging_worker *worker, in create_thread_worker()
171 static void create_process_worker(union messaging_worker *worker, in create_process_worker()
185 static void create_worker(union messaging_worker *worker, in create_worker()
194 static void reap_worker(union messaging_worker *worker) in reap_worker()
210 static unsigned int group(union messaging_worker *worker, in group()
H A Dfutex-wake.c36 static pthread_t *worker; variable
/linux/include/linux/
H A Ddevm-helpers.h48 work_func_t worker) in devm_delayed_work_autocancel()
73 work_func_t worker) in devm_work_autocancel()
H A Dkthread.h135 struct kthread_worker *worker; member
166 #define kthread_init_worker(worker) \ argument
/linux/drivers/vhost/
H A 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
272 static void __vhost_worker_flush(struct vhost_worker *worker) in __vhost_worker_flush()
292 static void vhost_worker_flush(struct vhost_worker *worker) in vhost_worker_flush()
301 struct vhost_worker *worker; in vhost_dev_flush() local
312 struct vhost_worker *worker; in vhost_vq_has_work() local
393 struct vhost_worker *worker = data; in vhost_run_work_list() local
418 struct vhost_worker *worker = data; in vhost_worker_killed() local
622 struct vhost_worker *worker) in vhost_worker_destroy()
635 struct vhost_worker *worker; in vhost_workers_free() local
[all …]
/linux/tools/testing/selftests/powerpc/tm/
H A Dtm-vmx-unavail.c26 void *worker(void *unused) in worker() function
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsend_signal_sched_switch.c18 static void *worker(void *p) in worker() function
/linux/drivers/gpu/drm/xe/
H A Dxe_guc_relay_types.h21 struct work_struct worker; member
H A Dxe_gt_types.h181 struct work_struct worker; member
271 struct work_struct worker; member
298 struct work_struct worker; member
H A Dxe_gt_sriov_pf_control_types.h98 struct work_struct worker; member
/linux/include/drm/
H A Ddrm_flip_work.h65 struct work_struct worker; member
/linux/drivers/gpu/drm/i915/selftests/
H A 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/drivers/net/wireguard/
H A Dqueueing.c13 struct multicore_worker __percpu *worker = alloc_percpu(struct multicore_worker); in wg_packet_percpu_multicore_worker_alloc() local
/linux/fs/erofs/
H A Dzdata.c305 struct kthread_worker *worker; in erofs_destroy_percpu_workers() local
320 struct kthread_worker *worker = in erofs_init_percpu_worker() local
332 struct kthread_worker *worker; in erofs_init_percpu_workers() local
358 struct kthread_worker *worker, *old; in erofs_cpu_online() local
377 struct kthread_worker *worker; in erofs_cpu_offline() local
1353 struct kthread_worker *worker; in z_erofs_decompress_kickoff() local
/linux/drivers/gpu/drm/
H A Ddrm_vblank_work.c276 struct kthread_worker *worker; in drm_vblank_worker_init() local
/linux/drivers/macintosh/ams/
H A Dams.h37 struct work_struct worker; member
/linux/samples/seccomp/
H A Duser-trap.c208 pid_t worker = 0 , tracer = 0; in main() local

123