Home
last modified time | relevance | path

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

12

/linux-6.6.21/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()
340 waiter_update_prio(struct rt_mutex_waiter *waiter, struct task_struct *task) in waiter_update_prio()
353 waiter_clone_prio(struct rt_mutex_waiter *waiter, struct task_struct *task) in waiter_clone_prio()
407 static inline bool rt_mutex_steal(struct rt_mutex_waiter *waiter, in rt_mutex_steal()
457 rt_mutex_enqueue(struct rt_mutex_base *lock, struct rt_mutex_waiter *waiter) in rt_mutex_enqueue()
465 rt_mutex_dequeue(struct rt_mutex_base *lock, struct rt_mutex_waiter *waiter) in rt_mutex_dequeue()
485 rt_mutex_enqueue_pi(struct task_struct *task, struct rt_mutex_waiter *waiter) in rt_mutex_enqueue_pi()
493 rt_mutex_dequeue_pi(struct task_struct *task, struct rt_mutex_waiter *waiter) in rt_mutex_dequeue_pi()
569 rt_mutex_cond_detect_deadlock(struct rt_mutex_waiter *waiter, in rt_mutex_cond_detect_deadlock()
[all …]
Dmutex-debug.c28 void debug_mutex_lock_common(struct mutex *lock, struct mutex_waiter *waiter) in debug_mutex_lock_common()
36 void debug_mutex_wake_waiter(struct mutex *lock, struct mutex_waiter *waiter) in debug_mutex_wake_waiter()
44 void debug_mutex_free_waiter(struct mutex_waiter *waiter) in debug_mutex_free_waiter()
50 void debug_mutex_add_waiter(struct mutex *lock, struct mutex_waiter *waiter, in debug_mutex_add_waiter()
59 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()
573 struct mutex_waiter waiter; in __mutex_lock_common() local
936 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.c370 rwsem_add_waiter(struct rw_semaphore *sem, struct rwsem_waiter *waiter) in rwsem_add_waiter()
386 rwsem_del_waiter(struct rw_semaphore *sem, struct rwsem_waiter *waiter) in rwsem_del_waiter()
415 struct rwsem_waiter *waiter, *tmp; in rwsem_mark_wake() local
577 rwsem_del_wake_waiter(struct rw_semaphore *sem, struct rwsem_waiter *waiter, in rwsem_del_wake_waiter()
605 struct rwsem_waiter *waiter) in rwsem_try_write_lock()
1000 struct rwsem_waiter waiter; in rwsem_down_read_slowpath() local
1109 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.6.21/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.6.21/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.6.21/lib/
Dklist.c185 struct klist_waiter *waiter, *tmp; in klist_release() local
240 struct klist_waiter waiter; in klist_remove() local
/linux-6.6.21/drivers/gpu/drm/amd/amdkfd/
Dkfd_events.c263 struct kfd_event_waiter *waiter; in destroy_event() local
625 struct kfd_event_waiter *waiter; in set_event() local
799 struct kfd_event_waiter *waiter, in init_event_waiter()
869 struct kfd_event_waiter *waiter; in copy_signaled_event_data() local
/linux-6.6.21/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
Dfutex_requeue_pi.c283 pthread_t waiter[THREAD_MAX], waker, blocker; in unit_test() local
/linux-6.6.21/fs/
Dlocks.c642 static void locks_insert_global_blocked(struct file_lock *waiter) in locks_insert_global_blocked()
649 static void locks_delete_global_blocked(struct file_lock *waiter) in locks_delete_global_blocked()
661 static void __locks_delete_block(struct file_lock *waiter) in __locks_delete_block()
670 struct file_lock *waiter; in __locks_wake_up_blocks() local
695 int locks_delete_block(struct file_lock *waiter) in locks_delete_block()
756 struct file_lock *waiter, in __locks_insert_block()
783 struct file_lock *waiter, in locks_insert_block()
/linux-6.6.21/fs/iomap/
Ddirect-io.c45 struct task_struct *waiter; member
175 struct task_struct *waiter = dio->submit.waiter; in iomap_dio_bio_end_io() local
/linux-6.6.21/drivers/gpu/drm/i915/
Di915_scheduler_types.h74 struct i915_sched_node *waiter; member
/linux-6.6.21/block/
Dfops.c112 struct task_struct *waiter; member
147 struct task_struct *waiter = dio->waiter; in blkdev_bio_end_io() local
/linux-6.6.21/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_arm.c720 struct bulk_waiter_node *waiter, *next; in free_bulk_waiter() local
925 struct bulk_waiter_node *waiter = NULL, *iter; in vchiq_blocking_bulk_transfer() local
/linux-6.6.21/tools/testing/selftests/filesystems/epoll/
Depoll_wakeup_test.c23 pthread_t waiter; member
3461 pthread_t waiter[2]; in TEST() local
/linux-6.6.21/include/linux/
Dfilelock.h267 static inline int locks_delete_block(struct file_lock *waiter) in locks_delete_block()

12