Searched refs:wait_req (Results 1 – 2 of 2) sorted by relevance
2170 struct nilfs_segctor_wait_request wait_req; in nilfs_segctor_sync() local2174 init_wait(&wait_req.wq); in nilfs_segctor_sync()2175 wait_req.err = 0; in nilfs_segctor_sync()2176 atomic_set(&wait_req.done, 0); in nilfs_segctor_sync()2177 wait_req.seq = ++sci->sc_seq_request; in nilfs_segctor_sync()2180 init_waitqueue_entry(&wait_req.wq, current); in nilfs_segctor_sync()2181 add_wait_queue(&sci->sc_wait_request, &wait_req.wq); in nilfs_segctor_sync()2186 if (atomic_read(&wait_req.done)) { in nilfs_segctor_sync()2187 err = wait_req.err; in nilfs_segctor_sync()2197 finish_wait(&sci->sc_wait_request, &wait_req.wq); in nilfs_segctor_sync()
1825 struct ckpt_req *wait_req) in flush_remained_ckpt_reqs() argument1833 if (wait_req) in flush_remained_ckpt_reqs()1834 wait_for_completion(&wait_req->wait); in flush_remained_ckpt_reqs()