Home
last modified time | relevance | path

Searched refs:waiter (Results 1 – 6 of 6) 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()
728 waiter->fl_blocker = NULL; in __locks_delete_block()
734 struct file_lock *waiter; in __locks_wake_up_blocks() local
736 waiter = list_first_entry(&blocker->fl_blocked_requests, in __locks_wake_up_blocks()
[all …]
Ddirect-io.c138 struct task_struct *waiter; /* waiting task (NULL if none) */ member
362 if (remaining == 1 && dio->waiter) in dio_bio_end_aio()
363 wake_up_process(dio->waiter); in dio_bio_end_aio()
404 if (--dio->refcount == 1 && dio->waiter) in dio_bio_end_io()
405 wake_up_process(dio->waiter); in dio_bio_end_io()
523 dio->waiter = current; in dio_await_one()
530 dio->waiter = NULL; in dio_await_one()
Dblock_dev.c195 struct task_struct *waiter = bio->bi_private; in blkdev_bio_end_io_simple() local
198 blk_wake_io_task(waiter); in blkdev_bio_end_io_simple()
278 struct task_struct *waiter; member
322 struct task_struct *waiter = dio->waiter; in blkdev_bio_end_io() local
324 WRITE_ONCE(dio->waiter, NULL); in blkdev_bio_end_io()
325 blk_wake_io_task(waiter); in blkdev_bio_end_io()
361 dio->waiter = current; in __blkdev_direct_IO()
447 if (!READ_ONCE(dio->waiter)) in __blkdev_direct_IO()
Deventpoll.c1831 bool waiter = false; in ep_poll() local
1881 if (!waiter) { in ep_poll()
1882 waiter = true; in ep_poll()
1935 if (waiter) { in ep_poll()
/fs/iomap/
Ddirect-io.c40 struct task_struct *waiter; member
157 struct task_struct *waiter = dio->submit.waiter; in iomap_dio_bio_end_io() local
158 WRITE_ONCE(dio->submit.waiter, NULL); in iomap_dio_bio_end_io()
159 blk_wake_io_task(waiter); in iomap_dio_bio_end_io()
433 dio->submit.waiter = current; in iomap_dio_rw()
555 if (!READ_ONCE(dio->submit.waiter)) in iomap_dio_rw()
/fs/nfs/
Dnfs4proc.c7064 struct nfs4_lock_waiter *waiter = wait->private; in nfs4_wake_lock_waiter() local
7070 *wowner = waiter->owner; in nfs4_wake_lock_waiter()
7077 if (nfs_compare_fh(NFS_FH(waiter->inode), &cbnl->cbnl_fh)) in nfs4_wake_lock_waiter()
7082 wait->private = waiter->task; in nfs4_wake_lock_waiter()
7086 wait->private = waiter; in nfs4_wake_lock_waiter()
7101 struct nfs4_lock_waiter waiter = { .task = current, in nfs4_retry_setlk() local
7111 wait.private = &waiter; in nfs4_retry_setlk()