Searched refs:wait_req (Results 1 – 2 of 2) sorted by relevance
2209 struct nilfs_segctor_wait_request wait_req; in nilfs_segctor_sync() local2213 init_wait(&wait_req.wq); in nilfs_segctor_sync()2214 wait_req.err = 0; in nilfs_segctor_sync()2215 atomic_set(&wait_req.done, 0); in nilfs_segctor_sync()2216 wait_req.seq = ++sci->sc_seq_request; in nilfs_segctor_sync()2219 init_waitqueue_entry(&wait_req.wq, current); in nilfs_segctor_sync()2220 add_wait_queue(&sci->sc_wait_request, &wait_req.wq); in nilfs_segctor_sync()2225 if (atomic_read(&wait_req.done)) { in nilfs_segctor_sync()2226 err = wait_req.err; in nilfs_segctor_sync()2236 finish_wait(&sci->sc_wait_request, &wait_req.wq); in nilfs_segctor_sync()
1823 struct ckpt_req *wait_req) in flush_remained_ckpt_reqs() argument1831 if (wait_req) in flush_remained_ckpt_reqs()1832 wait_for_completion(&wait_req->wait); in flush_remained_ckpt_reqs()