Searched refs:timer (Results 1 – 5 of 5) sorted by relevance
/io_uring/ |
A D | timeout.c | 69 static enum hrtimer_restart io_timeout_fn(struct hrtimer *timer); 116 if (hrtimer_try_to_cancel(&io->timer) != -1) { in io_kill_timeout() 246 if (hrtimer_try_to_cancel(&io->timer) != -1) { in __io_disarm_linked_timeout() 256 struct io_timeout_data *data = container_of(timer, in io_timeout_fn() 257 struct io_timeout_data, timer); in io_timeout_fn() 298 if (hrtimer_try_to_cancel(&io->timer) == -1) in io_timeout_extract() 348 struct io_timeout_data *data = container_of(timer, in io_link_timeout_fn() 349 struct io_timeout_data, timer); in io_link_timeout_fn() 413 if (hrtimer_try_to_cancel(&io->timer) == -1) in io_linked_timeout_update() 416 hrtimer_start(&io->timer, timespec64_to_ktime(*ts), mode); in io_linked_timeout_update() [all …]
|
A D | mock_file.c | 17 struct hrtimer timer; member 101 static enum hrtimer_restart io_mock_rw_timer_expired(struct hrtimer *timer) in io_mock_rw_timer_expired() argument 103 struct io_mock_iocb *mio = container_of(timer, struct io_mock_iocb, timer); in io_mock_rw_timer_expired() 123 hrtimer_setup(&mio->timer, io_mock_rw_timer_expired, in io_mock_delay_rw() 125 hrtimer_start(&mio->timer, ns_to_ktime(mf->rw_delay_ns), in io_mock_delay_rw()
|
A D | timeout.h | 5 struct hrtimer timer; member
|
A D | rw.c | 1257 struct hrtimer_sleeper timer; in io_hybrid_iopoll_delay() local 1275 hrtimer_setup_sleeper_on_stack(&timer, CLOCK_MONOTONIC, mode); in io_hybrid_iopoll_delay() 1276 hrtimer_set_expires(&timer.timer, kt); in io_hybrid_iopoll_delay() 1278 hrtimer_sleeper_start_expires(&timer, mode); in io_hybrid_iopoll_delay() 1280 if (timer.task) in io_hybrid_iopoll_delay() 1283 hrtimer_cancel(&timer.timer); in io_hybrid_iopoll_delay() 1285 destroy_hrtimer_on_stack(&timer.timer); in io_hybrid_iopoll_delay()
|
A D | io_uring.c | 2455 static enum hrtimer_restart io_cqring_timer_wakeup(struct hrtimer *timer) in io_cqring_timer_wakeup() argument 2457 struct io_wait_queue *iowq = container_of(timer, struct io_wait_queue, t); in io_cqring_timer_wakeup() 2470 static enum hrtimer_restart io_cqring_min_timer_wakeup(struct hrtimer *timer) in io_cqring_min_timer_wakeup() argument 2472 struct io_wait_queue *iowq = container_of(timer, struct io_wait_queue, t); in io_cqring_min_timer_wakeup() 2503 hrtimer_set_expires(timer, iowq->timeout); in io_cqring_min_timer_wakeup() 2506 return io_cqring_timer_wakeup(timer); in io_cqring_min_timer_wakeup()
|
Completed in 16 milliseconds