• Home
  • Raw
  • Download

Lines Matching refs:req

50 				   struct nilfs_palloc_req *req, int create)  in nilfs_dat_prepare_entry()  argument
52 return nilfs_palloc_get_entry_block(dat, req->pr_entry_nr, in nilfs_dat_prepare_entry()
53 create, &req->pr_entry_bh); in nilfs_dat_prepare_entry()
57 struct nilfs_palloc_req *req) in nilfs_dat_commit_entry() argument
59 mark_buffer_dirty(req->pr_entry_bh); in nilfs_dat_commit_entry()
61 brelse(req->pr_entry_bh); in nilfs_dat_commit_entry()
65 struct nilfs_palloc_req *req) in nilfs_dat_abort_entry() argument
67 brelse(req->pr_entry_bh); in nilfs_dat_abort_entry()
70 int nilfs_dat_prepare_alloc(struct inode *dat, struct nilfs_palloc_req *req) in nilfs_dat_prepare_alloc() argument
74 ret = nilfs_palloc_prepare_alloc_entry(dat, req); in nilfs_dat_prepare_alloc()
78 ret = nilfs_dat_prepare_entry(dat, req, 1); in nilfs_dat_prepare_alloc()
80 nilfs_palloc_abort_alloc_entry(dat, req); in nilfs_dat_prepare_alloc()
85 void nilfs_dat_commit_alloc(struct inode *dat, struct nilfs_palloc_req *req) in nilfs_dat_commit_alloc() argument
90 kaddr = kmap_atomic(req->pr_entry_bh->b_page); in nilfs_dat_commit_alloc()
91 entry = nilfs_palloc_block_get_entry(dat, req->pr_entry_nr, in nilfs_dat_commit_alloc()
92 req->pr_entry_bh, kaddr); in nilfs_dat_commit_alloc()
98 nilfs_palloc_commit_alloc_entry(dat, req); in nilfs_dat_commit_alloc()
99 nilfs_dat_commit_entry(dat, req); in nilfs_dat_commit_alloc()
102 void nilfs_dat_abort_alloc(struct inode *dat, struct nilfs_palloc_req *req) in nilfs_dat_abort_alloc() argument
104 nilfs_dat_abort_entry(dat, req); in nilfs_dat_abort_alloc()
105 nilfs_palloc_abort_alloc_entry(dat, req); in nilfs_dat_abort_alloc()
109 struct nilfs_palloc_req *req) in nilfs_dat_commit_free() argument
114 kaddr = kmap_atomic(req->pr_entry_bh->b_page); in nilfs_dat_commit_free()
115 entry = nilfs_palloc_block_get_entry(dat, req->pr_entry_nr, in nilfs_dat_commit_free()
116 req->pr_entry_bh, kaddr); in nilfs_dat_commit_free()
122 nilfs_dat_commit_entry(dat, req); in nilfs_dat_commit_free()
123 nilfs_palloc_commit_free_entry(dat, req); in nilfs_dat_commit_free()
126 int nilfs_dat_prepare_start(struct inode *dat, struct nilfs_palloc_req *req) in nilfs_dat_prepare_start() argument
130 ret = nilfs_dat_prepare_entry(dat, req, 0); in nilfs_dat_prepare_start()
135 void nilfs_dat_commit_start(struct inode *dat, struct nilfs_palloc_req *req, in nilfs_dat_commit_start() argument
141 kaddr = kmap_atomic(req->pr_entry_bh->b_page); in nilfs_dat_commit_start()
142 entry = nilfs_palloc_block_get_entry(dat, req->pr_entry_nr, in nilfs_dat_commit_start()
143 req->pr_entry_bh, kaddr); in nilfs_dat_commit_start()
148 nilfs_dat_commit_entry(dat, req); in nilfs_dat_commit_start()
151 int nilfs_dat_prepare_end(struct inode *dat, struct nilfs_palloc_req *req) in nilfs_dat_prepare_end() argument
158 ret = nilfs_dat_prepare_entry(dat, req, 0); in nilfs_dat_prepare_end()
164 kaddr = kmap_atomic(req->pr_entry_bh->b_page); in nilfs_dat_prepare_end()
165 entry = nilfs_palloc_block_get_entry(dat, req->pr_entry_nr, in nilfs_dat_prepare_end()
166 req->pr_entry_bh, kaddr); in nilfs_dat_prepare_end()
171 ret = nilfs_palloc_prepare_free_entry(dat, req); in nilfs_dat_prepare_end()
173 nilfs_dat_abort_entry(dat, req); in nilfs_dat_prepare_end()
181 void nilfs_dat_commit_end(struct inode *dat, struct nilfs_palloc_req *req, in nilfs_dat_commit_end() argument
189 kaddr = kmap_atomic(req->pr_entry_bh->b_page); in nilfs_dat_commit_end()
190 entry = nilfs_palloc_block_get_entry(dat, req->pr_entry_nr, in nilfs_dat_commit_end()
191 req->pr_entry_bh, kaddr); in nilfs_dat_commit_end()
202 nilfs_dat_commit_free(dat, req); in nilfs_dat_commit_end()
204 nilfs_dat_commit_entry(dat, req); in nilfs_dat_commit_end()
207 void nilfs_dat_abort_end(struct inode *dat, struct nilfs_palloc_req *req) in nilfs_dat_abort_end() argument
214 kaddr = kmap_atomic(req->pr_entry_bh->b_page); in nilfs_dat_abort_end()
215 entry = nilfs_palloc_block_get_entry(dat, req->pr_entry_nr, in nilfs_dat_abort_end()
216 req->pr_entry_bh, kaddr); in nilfs_dat_abort_end()
222 nilfs_palloc_abort_free_entry(dat, req); in nilfs_dat_abort_end()
223 nilfs_dat_abort_entry(dat, req); in nilfs_dat_abort_end()
273 struct nilfs_palloc_req req; in nilfs_dat_mark_dirty() local
276 req.pr_entry_nr = vblocknr; in nilfs_dat_mark_dirty()
277 ret = nilfs_dat_prepare_entry(dat, &req, 0); in nilfs_dat_mark_dirty()
279 nilfs_dat_commit_entry(dat, &req); in nilfs_dat_mark_dirty()