Searched refs:wait_req (Results 1 – 2 of 2) sorted by relevance
2242 struct nilfs_segctor_wait_request wait_req; in nilfs_segctor_sync() local2245 init_wait(&wait_req.wq); in nilfs_segctor_sync()2246 wait_req.err = 0; in nilfs_segctor_sync()2247 atomic_set(&wait_req.done, 0); in nilfs_segctor_sync()2248 init_waitqueue_entry(&wait_req.wq, current); in nilfs_segctor_sync()2258 wait_req.seq = ++sci->sc_seq_request; in nilfs_segctor_sync()2259 add_wait_queue(&sci->sc_wait_request, &wait_req.wq); in nilfs_segctor_sync()2275 if (atomic_read(&wait_req.done)) { in nilfs_segctor_sync()2276 err = wait_req.err; in nilfs_segctor_sync()2286 finish_wait(&sci->sc_wait_request, &wait_req.wq); in nilfs_segctor_sync()
1842 struct ckpt_req *wait_req) in flush_remained_ckpt_reqs() argument1850 if (wait_req) in flush_remained_ckpt_reqs()1851 wait_for_completion(&wait_req->wait); in flush_remained_ckpt_reqs()