Searched refs:waiter (Results 1 – 4 of 4) sorted by relevance
642 static void locks_insert_global_blocked(struct file_lock *waiter) in locks_insert_global_blocked() argument646 hash_add(blocked_hash, &waiter->fl_link, posix_owner_key(waiter)); in locks_insert_global_blocked()649 static void locks_delete_global_blocked(struct file_lock *waiter) in locks_delete_global_blocked() argument653 hash_del(&waiter->fl_link); in locks_delete_global_blocked()661 static void __locks_delete_block(struct file_lock *waiter) in __locks_delete_block() argument663 locks_delete_global_blocked(waiter); in __locks_delete_block()664 list_del_init(&waiter->fl_blocked_member); in __locks_delete_block()670 struct file_lock *waiter; in __locks_wake_up_blocks() local672 waiter = list_first_entry(&blocker->fl_blocked_requests, in __locks_wake_up_blocks()674 __locks_delete_block(waiter); in __locks_wake_up_blocks()[all …]
137 struct task_struct *waiter; /* waiting task (NULL if none) */ member347 if (remaining == 1 && dio->waiter) in dio_bio_end_aio()348 wake_up_process(dio->waiter); in dio_bio_end_aio()389 if (--dio->refcount == 1 && dio->waiter) in dio_bio_end_io()390 wake_up_process(dio->waiter); in dio_bio_end_io()482 dio->waiter = current; in dio_await_one()487 dio->waiter = NULL; in dio_await_one()
45 struct task_struct *waiter; member175 struct task_struct *waiter = dio->submit.waiter; in iomap_dio_bio_end_io() local177 WRITE_ONCE(dio->submit.waiter, NULL); in iomap_dio_bio_end_io()178 blk_wake_io_task(waiter); in iomap_dio_bio_end_io()578 dio->submit.waiter = current; in __iomap_dio_rw()724 if (!READ_ONCE(dio->submit.waiter)) in __iomap_dio_rw()
7475 struct nfs4_lock_waiter *waiter = in nfs4_wake_lock_waiter() local7482 *wowner = &waiter->owner; in nfs4_wake_lock_waiter()7489 if (nfs_compare_fh(NFS_FH(waiter->inode), &cbnl->cbnl_fh)) in nfs4_wake_lock_waiter()7503 struct nfs4_lock_waiter waiter = { in nfs4_retry_setlk() local7515 init_wait(&waiter.wait); in nfs4_retry_setlk()7516 waiter.wait.func = nfs4_wake_lock_waiter; in nfs4_retry_setlk()7517 add_wait_queue(q, &waiter.wait); in nfs4_retry_setlk()7525 wait_woken(&waiter.wait, TASK_INTERRUPTIBLE|TASK_FREEZABLE, in nfs4_retry_setlk()7529 remove_wait_queue(q, &waiter.wait); in nfs4_retry_setlk()