Home
last modified time | relevance | path

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

12

/Linux-v5.4/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.c606 void __kthread_init_worker(struct kthread_worker *worker, in __kthread_init_worker()
635 struct kthread_worker *worker = worker_ptr; in kthread_worker_fn() local
685 struct kthread_worker *worker; in __kthread_create_worker() local
728 struct kthread_worker *worker; in kthread_create_worker() local
760 struct kthread_worker *worker; in kthread_create_worker_on_cpu() local
776 static inline bool queuing_blocked(struct kthread_worker *worker, in queuing_blocked()
784 static void kthread_insert_work_sanity_check(struct kthread_worker *worker, in kthread_insert_work_sanity_check()
794 static void kthread_insert_work(struct kthread_worker *worker, in kthread_insert_work()
818 bool kthread_queue_work(struct kthread_worker *worker, in kthread_queue_work()
846 struct kthread_worker *worker = work->worker; in kthread_delayed_work_timer_fn() local
[all …]
Dworkqueue.c410 #define for_each_pool_worker(worker, pool) \ argument
838 struct worker *worker = first_idle_worker(pool); in wake_up_worker() local
852 struct worker *worker = kthread_data(task); in wq_worker_running() local
870 struct worker *next, *worker = kthread_data(task); in wq_worker_sleeping() local
935 struct worker *worker = kthread_data(task); in wq_worker_last_func() local
950 static inline void worker_set_flags(struct worker *worker, unsigned int flags) in worker_set_flags()
975 static inline void worker_clr_flags(struct worker *worker, unsigned int flags) in worker_clr_flags()
1030 struct worker *worker; in find_worker_executing_work() local
1351 struct worker *worker; in is_chained_work() local
1435 struct worker *worker; in __queue_work() local
[all …]
Dasync.c330 struct worker *worker = current_wq_worker(); in current_is_async() local
/Linux-v5.4/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.c119 struct worker { struct
120 int tid;
121 int epollfd; /* for --multiq */
122 pthread_t thread;
123 unsigned long ops;
124 int *fdmap;
293 static int do_threads(struct worker *worker, struct perf_cpu_map *cpu) in do_threads()
370 struct worker *worker = p; in writerfn() local
419 struct worker *worker = NULL; in bench_epoll_wait() local
Depoll-ctl.c68 struct worker { struct
69 int tid;
70 pthread_t thread;
71 unsigned long ops[EPOLL_NR_OPS];
72 int *fdmap;
224 static int do_threads(struct worker *worker, struct perf_cpu_map *cpu) in do_threads()
305 struct worker *worker = NULL; in bench_epoll_ctl() local
Dfutex-requeue.c40 static pthread_t *worker; variable
Dfutex-wake.c41 pthread_t *worker; variable
Dfutex-wake-parallel.c40 pthread_t worker; member
/Linux-v5.4/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
/Linux-v5.4/tools/testing/selftests/powerpc/tm/
Dtm-vmx-unavail.c27 void *worker(void *unused) in worker() function
/Linux-v5.4/include/drm/
Ddrm_flip_work.h76 struct work_struct worker; member
/Linux-v5.4/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_ct.h75 struct work_struct worker; member
/Linux-v5.4/samples/seccomp/
Duser-trap.c204 pid_t worker = 0 , tracer = 0; in main() local
/Linux-v5.4/drivers/macintosh/ams/
Dams.h34 struct work_struct worker; member
/Linux-v5.4/drivers/input/misc/
Dmsm-vibrator.c35 struct work_struct worker; member
/Linux-v5.4/drivers/thermal/intel/
Dintel_powerclamp.c77 struct kthread_worker *worker; member
480 struct kthread_worker *worker; in start_power_clamp_worker() local
/Linux-v5.4/drivers/hid/
Dhid-bigbenff.c183 struct work_struct worker; member
/Linux-v5.4/arch/x86/kvm/
Di8254.h48 struct kthread_worker *worker; member
/Linux-v5.4/drivers/block/
Dloop.h57 struct kthread_worker worker; member
/Linux-v5.4/drivers/infiniband/core/
Dfmr_pool.c99 struct kthread_worker *worker; member
/Linux-v5.4/drivers/platform/chrome/
Dcros_ec_spi.c700 static void cros_ec_spi_high_pri_release(void *worker) in cros_ec_spi_high_pri_release()
/Linux-v5.4/drivers/platform/olpc/
Dolpc-ec.c36 struct work_struct worker; member

12