Home
last modified time | relevance | path

Searched defs:waiter (Results 1 – 25 of 49) sorted by relevance

12

/linux-6.12.1/kernel/locking/
Drtmutex.c35 static inline int __ww_mutex_add_waiter(struct rt_mutex_waiter *waiter, in __ww_mutex_add_waiter()
53 struct rt_mutex_waiter *waiter, in __ww_mutex_check_kill()
360 waiter_update_prio(struct rt_mutex_waiter *waiter, struct task_struct *task) in waiter_update_prio()
373 waiter_clone_prio(struct rt_mutex_waiter *waiter, struct task_struct *task) in waiter_clone_prio()
427 static inline bool rt_mutex_steal(struct rt_mutex_waiter *waiter, in rt_mutex_steal()
477 rt_mutex_enqueue(struct rt_mutex_base *lock, struct rt_mutex_waiter *waiter) in rt_mutex_enqueue()
485 rt_mutex_dequeue(struct rt_mutex_base *lock, struct rt_mutex_waiter *waiter) in rt_mutex_dequeue()
505 rt_mutex_enqueue_pi(struct task_struct *task, struct rt_mutex_waiter *waiter) in rt_mutex_enqueue_pi()
513 rt_mutex_dequeue_pi(struct task_struct *task, struct rt_mutex_waiter *waiter) in rt_mutex_dequeue_pi()
589 rt_mutex_cond_detect_deadlock(struct rt_mutex_waiter *waiter, in rt_mutex_cond_detect_deadlock()
[all …]
Dmutex-debug.c29 void debug_mutex_lock_common(struct mutex *lock, struct mutex_waiter *waiter) in debug_mutex_lock_common()
37 void debug_mutex_wake_waiter(struct mutex *lock, struct mutex_waiter *waiter) in debug_mutex_wake_waiter()
45 void debug_mutex_free_waiter(struct mutex_waiter *waiter) in debug_mutex_free_waiter()
51 void debug_mutex_add_waiter(struct mutex *lock, struct mutex_waiter *waiter, in debug_mutex_add_waiter()
60 void debug_mutex_remove_waiter(struct mutex *lock, struct mutex_waiter *waiter, in debug_mutex_remove_waiter()
Dmutex.h38 # define debug_mutex_lock_common(lock, waiter) do { } while (0) argument
39 # define debug_mutex_wake_waiter(lock, waiter) do { } while (0) argument
40 # define debug_mutex_free_waiter(waiter) do { } while (0) argument
41 # define debug_mutex_add_waiter(lock, waiter, ti) do { } while (0) argument
42 # define debug_mutex_remove_waiter(lock, waiter, ti) do { } while (0) argument
Drtmutex_common.h121 struct rt_mutex_waiter *waiter) in rt_mutex_waiter_is_top_waiter()
199 static inline void debug_rt_mutex_init_waiter(struct rt_mutex_waiter *waiter) in debug_rt_mutex_init_waiter()
205 static inline void debug_rt_mutex_free_waiter(struct rt_mutex_waiter *waiter) in debug_rt_mutex_free_waiter()
211 static inline void rt_mutex_init_waiter(struct rt_mutex_waiter *waiter) in rt_mutex_init_waiter()
220 static inline void rt_mutex_init_rtlock_waiter(struct rt_mutex_waiter *waiter) in rt_mutex_init_rtlock_waiter()
Dmutex.c195 static inline bool __mutex_waiter_is_first(struct mutex *lock, struct mutex_waiter *waiter) in __mutex_waiter_is_first()
205 __mutex_add_waiter(struct mutex *lock, struct mutex_waiter *waiter, in __mutex_add_waiter()
216 __mutex_remove_waiter(struct mutex *lock, struct mutex_waiter *waiter) in __mutex_remove_waiter()
305 struct mutex_waiter *waiter) in ww_mutex_spin_on_owner()
353 struct ww_acquire_ctx *ww_ctx, struct mutex_waiter *waiter) in mutex_spin_on_owner()
442 struct mutex_waiter *waiter) in mutex_optimistic_spin()
518 struct mutex_waiter *waiter) in mutex_optimistic_spin()
578 struct mutex_waiter waiter; in __mutex_lock_common() local
941 struct mutex_waiter *waiter = in __mutex_unlock_slowpath() local
Dww_mutex.h53 __ww_waiter_add(struct mutex *lock, struct mutex_waiter *waiter, struct mutex_waiter *pos) in __ww_waiter_add()
130 __ww_waiter_add(struct rt_mutex *lock, struct rt_mutex_waiter *waiter, struct rt_mutex_waiter *pos) in __ww_waiter_add()
277 __ww_mutex_die(struct MUTEX *lock, struct MUTEX_WAITER *waiter, in __ww_mutex_die()
441 __ww_mutex_check_kill(struct MUTEX *lock, struct MUTEX_WAITER *waiter, in __ww_mutex_check_kill()
489 __ww_mutex_add_waiter(struct MUTEX_WAITER *waiter, in __ww_mutex_add_waiter()
Drtmutex_api.c293 struct rt_mutex_waiter *waiter, in __rt_mutex_start_proxy_lock()
340 struct rt_mutex_waiter *waiter, in rt_mutex_start_proxy_lock()
373 struct rt_mutex_waiter *waiter) in rt_mutex_wait_proxy_lock()
412 struct rt_mutex_waiter *waiter) in rt_mutex_cleanup_proxy_lock()
455 struct rt_mutex_waiter *waiter; in rt_mutex_adjust_pi() local
Drwsem.c368 rwsem_add_waiter(struct rw_semaphore *sem, struct rwsem_waiter *waiter) in rwsem_add_waiter()
384 rwsem_del_waiter(struct rw_semaphore *sem, struct rwsem_waiter *waiter) in rwsem_del_waiter()
413 struct rwsem_waiter *waiter, *tmp; in rwsem_mark_wake() local
575 rwsem_del_wake_waiter(struct rw_semaphore *sem, struct rwsem_waiter *waiter, in rwsem_del_wake_waiter()
603 struct rwsem_waiter *waiter) in rwsem_try_write_lock()
998 struct rwsem_waiter waiter; in rwsem_down_read_slowpath() local
1107 struct rwsem_waiter waiter; in rwsem_down_write_slowpath() local
Dsemaphore.c212 struct semaphore_waiter waiter; in ___down_common() local
274 struct semaphore_waiter *waiter = list_first_entry(&sem->wait_list, in __up() local
/linux-6.12.1/drivers/md/dm-vdo/
Dadmin-state.c224 struct vdo_completion *waiter, in begin_operation()
269 struct vdo_completion *waiter, in start_operation()
287 struct vdo_completion *waiter) in check_code()
309 struct vdo_completion *waiter) in assert_vdo_drain_operation()
324 struct vdo_completion *waiter, vdo_admin_initiator_fn initiator) in vdo_start_draining()
373 struct vdo_completion *waiter) in vdo_assert_load_operation()
388 struct vdo_completion *waiter, vdo_admin_initiator_fn initiator) in vdo_start_loading()
422 struct vdo_completion *waiter) in assert_vdo_resume_operation()
438 struct vdo_completion *waiter, vdo_admin_initiator_fn initiator) in vdo_start_resuming()
500 struct vdo_completion *waiter, in vdo_start_operation_with_waiter()
Dwait-queue.c21 void vdo_waitq_enqueue_waiter(struct vdo_wait_queue *waitq, struct vdo_waiter *waiter) in vdo_waitq_enqueue_waiter()
138 struct vdo_waiter *waiter = vdo_waitq_dequeue_waiter(&iteration_waitq); in vdo_waitq_dequeue_matching_waiters() local
195 struct vdo_waiter *waiter = vdo_waitq_dequeue_waiter(waitq); in vdo_waitq_notify_next_waiter() local
Dblock-map.c88 struct vdo_waiter waiter; member
163 static inline struct vdo_page_completion *page_completion_from_waiter(struct vdo_waiter *waiter) in page_completion_from_waiter()
507 static void complete_waiter_with_error(struct vdo_waiter *waiter, void *result_ptr) in complete_waiter_with_error()
521 static void complete_waiter_with_page(struct vdo_waiter *waiter, void *page_info) in complete_waiter_with_page()
875 static bool completion_needs_page(struct vdo_waiter *waiter, void *context) in completion_needs_page()
1499 static void write_page_callback(struct vdo_waiter *waiter, void *context) in write_page_callback()
1504 static void acquire_vio(struct vdo_waiter *waiter, struct block_map_zone *zone) in acquire_vio()
1534 static void write_page_if_not_dirtied(struct vdo_waiter *waiter, void *context) in write_page_if_not_dirtied()
1724 static void abort_lookup_for_waiter(struct vdo_waiter *waiter, void *context) in abort_lookup_for_waiter()
1814 static void continue_load_for_waiter(struct vdo_waiter *waiter, void *context) in continue_load_for_waiter()
[all …]
Dflush.h21 struct vdo_waiter waiter; member
Dslab-depot.c359 static void update_slab_summary_entry(struct vdo_slab *slab, struct vdo_waiter *waiter, in update_slab_summary_entry()
449 static void flush_for_reaping(struct vdo_waiter *waiter, void *context) in flush_for_reaping()
558 static void release_journal_locks(struct vdo_waiter *waiter, void *context) in release_journal_locks()
742 static void write_slab_journal_block(struct vdo_waiter *waiter, void *context) in write_slab_journal_block()
1015 static void finish_summary_update(struct vdo_waiter *waiter, void *context) in finish_summary_update()
1041 static void launch_reference_block_write(struct vdo_waiter *waiter, void *context) in launch_reference_block_write()
1185 static void write_reference_block(struct vdo_waiter *waiter, void *context) in write_reference_block()
1689 static void add_entry_from_waiter(struct vdo_waiter *waiter, void *context) in add_entry_from_waiter()
1755 struct vdo_waiter *waiter = vdo_waitq_get_first_waiter(&journal->entry_waiters); in is_next_entry_a_block_map_increment() local
2269 static void load_reference_block(struct vdo_waiter *waiter, void *context) in load_reference_block()
[all …]
Dwait-queue.h78 static inline bool vdo_waiter_is_waiting(struct vdo_waiter *waiter) in vdo_waiter_is_waiting()
Drecovery-journal.c267 static void continue_waiter(struct vdo_waiter *waiter, void *context) in continue_waiter()
1084 static void assign_entry(struct vdo_waiter *waiter, void *context) in assign_entry()
1171 static void continue_committed_waiter(struct vdo_waiter *waiter, void *context) in continue_committed_waiter()
1368 static void write_block(struct vdo_waiter *waiter, void *context __always_unused) in write_block()
/linux-6.12.1/drivers/tty/
Dtty_ldsem.c76 struct ldsem_waiter *waiter, *next; in __ldsem_wake_readers() local
121 struct ldsem_waiter *waiter; in __ldsem_wake_writer() local
158 struct ldsem_waiter waiter; in down_read_failed() local
232 struct ldsem_waiter waiter; in down_write_failed() local
/linux-6.12.1/drivers/md/persistent-data/
Ddm-block-manager.c55 struct waiter { struct
56 struct list_head list;
57 struct task_struct *task;
58 int wants_write;
/linux-6.12.1/fs/
Dlocks.c675 static void locks_insert_global_blocked(struct file_lock_core *waiter) in locks_insert_global_blocked()
682 static void locks_delete_global_blocked(struct file_lock_core *waiter) in locks_delete_global_blocked()
694 static void __locks_unlink_block(struct file_lock_core *waiter) in __locks_unlink_block()
703 struct file_lock_core *waiter; in __locks_wake_up_blocks() local
726 static int __locks_delete_block(struct file_lock_core *waiter) in __locks_delete_block()
776 int locks_delete_block(struct file_lock *waiter) in locks_delete_block()
798 struct file_lock_core *waiter, in __locks_insert_block()
827 struct file_lock_core *waiter, in locks_insert_block()
/linux-6.12.1/lib/
Dklist.c185 struct klist_waiter *waiter, *tmp; in klist_release() local
240 struct klist_waiter waiter; in klist_remove() local
/linux-6.12.1/drivers/gpu/drm/amd/amdkfd/
Dkfd_events.c264 struct kfd_event_waiter *waiter; in destroy_event() local
626 struct kfd_event_waiter *waiter; in set_event() local
800 struct kfd_event_waiter *waiter, in init_event_waiter()
870 struct kfd_event_waiter *waiter; in copy_signaled_event_data() local
/linux-6.12.1/tools/testing/selftests/futex/functional/
Dfutex_requeue.c43 pthread_t waiter[10]; in main() local
Dfutex_waitv.c62 pthread_t waiter; in main() local
Dfutex_wait.c53 pthread_t waiter; in main() local
Dfutex_requeue_pi_signal_restart.c122 pthread_t waiter; in main() local

12