Home
last modified time | relevance | path

Searched refs:waiter (Results 1 – 4 of 4) sorted by relevance

/fs/
Dlocks.c705 static void locks_insert_global_blocked(struct file_lock *waiter) in locks_insert_global_blocked() argument
709 hash_add(blocked_hash, &waiter->fl_link, posix_owner_key(waiter)); in locks_insert_global_blocked()
712 static void locks_delete_global_blocked(struct file_lock *waiter) in locks_delete_global_blocked() argument
716 hash_del(&waiter->fl_link); in locks_delete_global_blocked()
724 static void __locks_delete_block(struct file_lock *waiter) in __locks_delete_block() argument
726 locks_delete_global_blocked(waiter); in __locks_delete_block()
727 list_del_init(&waiter->fl_blocked_member); in __locks_delete_block()
733 struct file_lock *waiter; in __locks_wake_up_blocks() local
735 waiter = list_first_entry(&blocker->fl_blocked_requests, in __locks_wake_up_blocks()
737 __locks_delete_block(waiter); in __locks_wake_up_blocks()
[all …]
Ddirect-io.c139 struct task_struct *waiter; /* waiting task (NULL if none) */ member
342 if (remaining == 1 && dio->waiter) in dio_bio_end_aio()
343 wake_up_process(dio->waiter); in dio_bio_end_aio()
384 if (--dio->refcount == 1 && dio->waiter) in dio_bio_end_io()
385 wake_up_process(dio->waiter); in dio_bio_end_io()
482 dio->waiter = current; in dio_await_one()
489 dio->waiter = NULL; in dio_await_one()
/fs/iomap/
Ddirect-io.c43 struct task_struct *waiter; member
167 struct task_struct *waiter = dio->submit.waiter; in iomap_dio_bio_end_io() local
168 WRITE_ONCE(dio->submit.waiter, NULL); in iomap_dio_bio_end_io()
169 blk_wake_io_task(waiter); in iomap_dio_bio_end_io()
512 dio->submit.waiter = current; in __iomap_dio_rw()
651 if (!READ_ONCE(dio->submit.waiter)) in __iomap_dio_rw()
/fs/nfs/
Dnfs4proc.c7437 struct nfs4_lock_waiter *waiter = in nfs4_wake_lock_waiter() local
7444 *wowner = &waiter->owner; in nfs4_wake_lock_waiter()
7451 if (nfs_compare_fh(NFS_FH(waiter->inode), &cbnl->cbnl_fh)) in nfs4_wake_lock_waiter()
7465 struct nfs4_lock_waiter waiter = { in nfs4_retry_setlk() local
7477 init_wait(&waiter.wait); in nfs4_retry_setlk()
7478 waiter.wait.func = nfs4_wake_lock_waiter; in nfs4_retry_setlk()
7479 add_wait_queue(q, &waiter.wait); in nfs4_retry_setlk()
7488 wait_woken(&waiter.wait, TASK_INTERRUPTIBLE, in nfs4_retry_setlk()
7493 remove_wait_queue(q, &waiter.wait); in nfs4_retry_setlk()