Searched refs:wait_req (Results 1 – 1 of 1) sorted by relevance
2166 struct nilfs_segctor_wait_request wait_req; in nilfs_segctor_sync() local2170 init_wait(&wait_req.wq); in nilfs_segctor_sync()2171 wait_req.err = 0; in nilfs_segctor_sync()2172 atomic_set(&wait_req.done, 0); in nilfs_segctor_sync()2173 wait_req.seq = ++sci->sc_seq_request; in nilfs_segctor_sync()2176 init_waitqueue_entry(&wait_req.wq, current); in nilfs_segctor_sync()2177 add_wait_queue(&sci->sc_wait_request, &wait_req.wq); in nilfs_segctor_sync()2182 if (atomic_read(&wait_req.done)) { in nilfs_segctor_sync()2183 err = wait_req.err; in nilfs_segctor_sync()2193 finish_wait(&sci->sc_wait_request, &wait_req.wq); in nilfs_segctor_sync()