Home
last modified time | relevance | path

Searched refs:waker (Results 1 – 15 of 15) sorted by relevance

/Linux-v5.10/samples/bpf/
Doffwaketime_kern.c25 char waker[TASK_COMM_LEN]; member
67 int waker(struct pt_regs *ctx) in waker() function
88 __builtin_memset(&key.waker, 0, sizeof(key.waker)); in update_counts()
96 __builtin_memcpy(&key.waker, woke->name, sizeof(key.waker)); in update_counts()
Doffwaketime_user.c42 char waker[TASK_COMM_LEN]; member
68 printf(";%s %lld\n", key->waker, count); in print_stack()
/Linux-v5.10/tools/perf/bench/
Dfutex-wake-parallel.c75 struct thread_data *waker = (struct thread_data *) arg; in waking_workerfn() local
82 waker->nwoken = futex_wake(&futex, nwakes, futex_flag); in waking_workerfn()
83 if (waker->nwoken != nwakes) in waking_workerfn()
85 waker->nwoken, nwakes); in waking_workerfn()
88 timersub(&end, &start, &waker->runtime); in waking_workerfn()
/Linux-v5.10/drivers/nfc/nfcmrvl/
Dusb.c41 struct work_struct waker; member
212 cancel_work_sync(&drv_data->waker); in nfcmrvl_usb_nci_close()
254 schedule_work(&drv_data->waker); in nfcmrvl_usb_nci_send()
286 container_of(work, struct nfcmrvl_usb_drv_data, waker); in nfcmrvl_waker()
338 INIT_WORK(&drv_data->waker, nfcmrvl_waker); in nfcmrvl_probe()
/Linux-v5.10/tools/testing/selftests/futex/functional/
Dfutex_requeue_pi.c283 pthread_t waiter[THREAD_MAX], waker, blocker; in unit_test() local
328 if (create_rt_thread(&waker, wakerfn, (void *)&waker_arg, in unit_test()
344 pthread_join(waker, NULL); in unit_test()
/Linux-v5.10/tools/perf/
Dbuiltin-timechart.c184 int waker; member
407 int waker, int wakee, u8 flags, const char *backtrace) in sched_wakeup() argument
416 we->waker = waker; in sched_wakeup()
420 we->waker = -1; in sched_wakeup()
612 int waker = evsel__intval(evsel, sample, "common_pid"); in process_sample_sched_wakeup() local
615 sched_wakeup(tchart, sample->cpu, sample->time, waker, wakee, flags, backtrace); in process_sample_sched_wakeup()
1049 if (p->pid == we->waker || p->pid == we->wakee) { in draw_wakeups()
1053 if (p->pid == we->waker && !from) { in draw_wakeups()
1066 if (p->pid == we->waker && !from) { in draw_wakeups()
1082 sprintf(task_from, "[%i]", we->waker); in draw_wakeups()
[all …]
Dbuiltin-sched.c817 struct task_desc *waker, *wakee; in replay_wakeup_event() local
825 waker = register_pid(sched, sample->tid, "<unknown>"); in replay_wakeup_event()
828 add_sched_event_wakeup(sched, waker, sample->time, wakee); in replay_wakeup_event()
/Linux-v5.10/drivers/md/
Ddm-clone-target.c138 struct delayed_work waker; member
1317 struct clone *clone = container_of(to_delayed_work(work), struct clone, waker); in do_waker()
1320 queue_delayed_work(clone->wq, &clone->waker, COMMIT_PERIOD); in do_waker()
1899 INIT_DELAYED_WORK(&clone->waker, do_waker); in clone_ctr()
2000 cancel_delayed_work_sync(&clone->waker); in clone_postsuspend()
2024 do_waker(&clone->waker.work); in clone_resume()
Ddm-cache-target.c442 struct delayed_work waker; member
1917 struct cache *cache = container_of(to_delayed_work(ws), struct cache, waker); in do_waker()
1922 queue_delayed_work(cache->wq, &cache->waker, COMMIT_PERIOD); in do_waker()
2570 INIT_DELAYED_WORK(&cache->waker, do_waker); in cache_create()
2826 cancel_delayed_work_sync(&cache->waker); in cache_postsuspend()
3060 do_waker(&cache->waker.work); in cache_resume()
Ddm-thin.c253 struct delayed_work waker; member
2423 struct pool *pool = container_of(to_delayed_work(ws), struct pool, waker); in do_waker()
2425 queue_delayed_work(pool->wq, &pool->waker, COMMIT_PERIOD); in do_waker()
2985 INIT_DELAYED_WORK(&pool->waker, do_waker); in pool_create()
3624 do_waker(&pool->waker.work); in pool_resume()
3656 cancel_delayed_work_sync(&pool->waker); in pool_postsuspend()
/Linux-v5.10/Documentation/locking/
Dfutex-requeue-pi.rst111 FUTEX_CMP_REQUEUE_PI is called by the waker
Drobust-futexes.rst21 waiter with the waker - without them having to know about each other.
/Linux-v5.10/drivers/bluetooth/
Dbtusb.c496 struct work_struct waker; member
1360 cancel_work_sync(&data->waker); in btusb_close()
1526 schedule_work(&data->waker); in submit_or_queue_tx_urb()
1738 struct btusb_data *data = container_of(work, struct btusb_data, waker); in btusb_waker()
3960 INIT_WORK(&data->waker, btusb_waker); in btusb_probe()
/Linux-v5.10/tools/memory-model/Documentation/
Drecipes.txt503 * CPU0 - waker CPU1 - waiter
/Linux-v5.10/Documentation/
Dmemory-barriers.txt2215 The available waker functions include:
2236 [!] Note that the memory barriers implied by the sleeper and the waker do _not_
2247 and the waker does:
2264 and the waker should do: