Home
last modified time | relevance | path

Searched refs:wait_req (Results 1 – 2 of 2) sorted by relevance

/fs/nilfs2/
Dsegment.c2212 struct nilfs_segctor_wait_request wait_req; in nilfs_segctor_sync() local
2216 init_wait(&wait_req.wq); in nilfs_segctor_sync()
2217 wait_req.err = 0; in nilfs_segctor_sync()
2218 atomic_set(&wait_req.done, 0); in nilfs_segctor_sync()
2219 wait_req.seq = ++sci->sc_seq_request; in nilfs_segctor_sync()
2222 init_waitqueue_entry(&wait_req.wq, current); in nilfs_segctor_sync()
2223 add_wait_queue(&sci->sc_wait_request, &wait_req.wq); in nilfs_segctor_sync()
2228 if (atomic_read(&wait_req.done)) { in nilfs_segctor_sync()
2229 err = wait_req.err; in nilfs_segctor_sync()
2239 finish_wait(&sci->sc_wait_request, &wait_req.wq); in nilfs_segctor_sync()
/fs/f2fs/
Dcheckpoint.c1804 struct ckpt_req *wait_req) in flush_remained_ckpt_reqs() argument
1812 if (wait_req) in flush_remained_ckpt_reqs()
1813 wait_for_completion(&wait_req->wait); in flush_remained_ckpt_reqs()