Home
last modified time | relevance | path

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

123

/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.c643 void __kthread_init_worker(struct kthread_worker *worker, in __kthread_init_worker()
672 struct kthread_worker *worker = worker_ptr; in kthread_worker_fn() local
722 struct kthread_worker *worker; in __kthread_create_worker() local
765 struct kthread_worker *worker; in kthread_create_worker() local
797 struct kthread_worker *worker; in kthread_create_worker_on_cpu() local
813 static inline bool queuing_blocked(struct kthread_worker *worker, in queuing_blocked()
821 static void kthread_insert_work_sanity_check(struct kthread_worker *worker, in kthread_insert_work_sanity_check()
831 static void kthread_insert_work(struct kthread_worker *worker, in kthread_insert_work()
855 bool kthread_queue_work(struct kthread_worker *worker, in kthread_queue_work()
883 struct kthread_worker *worker = work->worker; in kthread_delayed_work_timer_fn() local
[all …]
Dworkqueue.c407 #define for_each_pool_worker(worker, pool) \ argument
834 struct worker *worker = first_idle_worker(pool); in wake_up_worker() local
848 struct worker *worker = kthread_data(task); in wq_worker_running() local
867 struct worker *next, *worker = kthread_data(task); in wq_worker_sleeping() local
933 struct worker *worker = kthread_data(task); in wq_worker_last_func() local
948 static inline void worker_set_flags(struct worker *worker, unsigned int flags) in worker_set_flags()
973 static inline void worker_clr_flags(struct worker *worker, unsigned int flags) in worker_clr_flags()
1028 struct worker *worker; in find_worker_executing_work() local
1352 struct worker *worker; in is_chained_work() local
1438 struct worker *worker; in __queue_work() local
[all …]
Dasync.c330 struct worker *worker = current_wq_worker(); in current_is_async() local
/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
312 static void io_wqe_inc_running(struct io_wqe *wqe, struct io_worker *worker) in io_wqe_inc_running()
319 static void io_wqe_dec_running(struct io_wqe *wqe, struct io_worker *worker) in io_wqe_dec_running()
328 static void io_worker_start(struct io_wqe *wqe, struct io_worker *worker) in io_worker_start()
345 static void __io_worker_busy(struct io_wqe *wqe, struct io_worker *worker, in __io_worker_busy()
[all …]
/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
/linux-5.10/include/linux/
Dkthread.h101 struct kthread_worker *worker; member
111 #define KTHREAD_WORKER_INIT(worker) { \ argument
128 #define DEFINE_KTHREAD_WORKER(worker) \ argument
143 # define KTHREAD_WORKER_INIT_ONSTACK(worker) \ argument
145 # define DEFINE_KTHREAD_WORKER_ONSTACK(worker) \ argument
148 # define DEFINE_KTHREAD_WORKER_ONSTACK(worker) DEFINE_KTHREAD_WORKER(worker) argument
154 #define kthread_init_worker(worker) \ argument
/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dsend_signal_sched_switch.c18 static void *worker(void *p) in worker() function
/linux-5.10/tools/testing/selftests/powerpc/tm/
Dtm-vmx-unavail.c27 void *worker(void *unused) in worker() function
/linux-5.10/drivers/net/wireguard/
Dqueueing.c12 struct multicore_worker __percpu *worker = in wg_packet_percpu_multicore_worker_alloc() local
Ddevice.h32 struct multicore_worker __percpu *worker; member
/linux-5.10/include/drm/
Ddrm_flip_work.h76 struct work_struct worker; member
Ddrm_vblank.h212 struct kthread_worker *worker; member
/linux-5.10/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_ct.h58 struct work_struct worker; /* handler for incoming requests */ member
/linux-5.10/drivers/gpu/drm/
Ddrm_vblank_work.c251 struct kthread_worker *worker; in drm_vblank_worker_init() local
/linux-5.10/drivers/i2c/
Di2c-slave-testunit.c42 struct delayed_work worker; member
/linux-5.10/drivers/macintosh/ams/
Dams.h34 struct work_struct worker; member
/linux-5.10/samples/seccomp/
Duser-trap.c204 pid_t worker = 0 , tracer = 0; in main() local
/linux-5.10/drivers/thermal/intel/
Dintel_powerclamp.c74 struct kthread_worker *worker; member
477 struct kthread_worker *worker; in start_power_clamp_worker() local
/linux-5.10/drivers/hid/
Dhid-bigbenff.c184 struct work_struct worker; member

123