Searched refs:waiter (Results 1 – 3 of 3) sorted by relevance
/linux-2.4.37.9/lib/ |
D | rwsem.c | 41 struct rwsem_waiter *waiter; in __rwsem_do_wake() local 54 waiter = list_entry(sem->wait_list.next,struct rwsem_waiter,list); in __rwsem_do_wake() 60 if (!(waiter->flags & RWSEM_WAITING_FOR_WRITE)) in __rwsem_do_wake() 63 list_del(&waiter->list); in __rwsem_do_wake() 64 tsk = waiter->task; in __rwsem_do_wake() 66 waiter->task = NULL; in __rwsem_do_wake() 80 if (waiter->list.next==&sem->wait_list) in __rwsem_do_wake() 83 waiter = list_entry(waiter->list.next,struct rwsem_waiter,list); in __rwsem_do_wake() 85 } while (waiter->flags & RWSEM_WAITING_FOR_READ); in __rwsem_do_wake() 94 waiter = list_entry(next,struct rwsem_waiter,list); in __rwsem_do_wake() [all …]
|
D | rwsem-spinlock.c | 55 struct rwsem_waiter *waiter; in __rwsem_do_wake() local 61 waiter = list_entry(sem->wait_list.next,struct rwsem_waiter,list); in __rwsem_do_wake() 66 if (waiter->flags & RWSEM_WAITING_FOR_WRITE) { in __rwsem_do_wake() 68 list_del(&waiter->list); in __rwsem_do_wake() 69 tsk = waiter->task; in __rwsem_do_wake() 71 waiter->task = NULL; in __rwsem_do_wake() 80 list_del(&waiter->list); in __rwsem_do_wake() 81 tsk = waiter->task; in __rwsem_do_wake() 83 waiter->task = NULL; in __rwsem_do_wake() 89 waiter = list_entry(sem->wait_list.next,struct rwsem_waiter,list); in __rwsem_do_wake() [all …]
|
/linux-2.4.37.9/fs/ |
D | locks.c | 400 static void locks_delete_block(struct file_lock *waiter) in locks_delete_block() argument 402 list_del(&waiter->fl_block); in locks_delete_block() 403 INIT_LIST_HEAD(&waiter->fl_block); in locks_delete_block() 404 list_del(&waiter->fl_link); in locks_delete_block() 405 INIT_LIST_HEAD(&waiter->fl_link); in locks_delete_block() 406 waiter->fl_next = NULL; in locks_delete_block() 415 struct file_lock *waiter) in locks_insert_block() argument 417 if (!list_empty(&waiter->fl_block)) { in locks_insert_block() 419 "(pid=%d %Ld-%Ld type=%d)\n", waiter->fl_pid, in locks_insert_block() 420 waiter->fl_start, waiter->fl_end, waiter->fl_type); in locks_insert_block() [all …]
|