• Home
  • Raw
  • Download

Lines Matching refs:req

48 				   struct nilfs_palloc_req *req, int create)  in nilfs_dat_prepare_entry()  argument
50 return nilfs_palloc_get_entry_block(dat, req->pr_entry_nr, in nilfs_dat_prepare_entry()
51 create, &req->pr_entry_bh); in nilfs_dat_prepare_entry()
55 struct nilfs_palloc_req *req) in nilfs_dat_commit_entry() argument
57 mark_buffer_dirty(req->pr_entry_bh); in nilfs_dat_commit_entry()
59 brelse(req->pr_entry_bh); in nilfs_dat_commit_entry()
63 struct nilfs_palloc_req *req) in nilfs_dat_abort_entry() argument
65 brelse(req->pr_entry_bh); in nilfs_dat_abort_entry()
68 int nilfs_dat_prepare_alloc(struct inode *dat, struct nilfs_palloc_req *req) in nilfs_dat_prepare_alloc() argument
72 ret = nilfs_palloc_prepare_alloc_entry(dat, req); in nilfs_dat_prepare_alloc()
76 ret = nilfs_dat_prepare_entry(dat, req, 1); in nilfs_dat_prepare_alloc()
78 nilfs_palloc_abort_alloc_entry(dat, req); in nilfs_dat_prepare_alloc()
83 void nilfs_dat_commit_alloc(struct inode *dat, struct nilfs_palloc_req *req) in nilfs_dat_commit_alloc() argument
88 kaddr = kmap_atomic(req->pr_entry_bh->b_page); in nilfs_dat_commit_alloc()
89 entry = nilfs_palloc_block_get_entry(dat, req->pr_entry_nr, in nilfs_dat_commit_alloc()
90 req->pr_entry_bh, kaddr); in nilfs_dat_commit_alloc()
96 nilfs_palloc_commit_alloc_entry(dat, req); in nilfs_dat_commit_alloc()
97 nilfs_dat_commit_entry(dat, req); in nilfs_dat_commit_alloc()
100 void nilfs_dat_abort_alloc(struct inode *dat, struct nilfs_palloc_req *req) in nilfs_dat_abort_alloc() argument
102 nilfs_dat_abort_entry(dat, req); in nilfs_dat_abort_alloc()
103 nilfs_palloc_abort_alloc_entry(dat, req); in nilfs_dat_abort_alloc()
107 struct nilfs_palloc_req *req) in nilfs_dat_commit_free() argument
112 kaddr = kmap_atomic(req->pr_entry_bh->b_page); in nilfs_dat_commit_free()
113 entry = nilfs_palloc_block_get_entry(dat, req->pr_entry_nr, in nilfs_dat_commit_free()
114 req->pr_entry_bh, kaddr); in nilfs_dat_commit_free()
120 nilfs_dat_commit_entry(dat, req); in nilfs_dat_commit_free()
121 nilfs_palloc_commit_free_entry(dat, req); in nilfs_dat_commit_free()
124 int nilfs_dat_prepare_start(struct inode *dat, struct nilfs_palloc_req *req) in nilfs_dat_prepare_start() argument
128 ret = nilfs_dat_prepare_entry(dat, req, 0); in nilfs_dat_prepare_start()
133 void nilfs_dat_commit_start(struct inode *dat, struct nilfs_palloc_req *req, in nilfs_dat_commit_start() argument
139 kaddr = kmap_atomic(req->pr_entry_bh->b_page); in nilfs_dat_commit_start()
140 entry = nilfs_palloc_block_get_entry(dat, req->pr_entry_nr, in nilfs_dat_commit_start()
141 req->pr_entry_bh, kaddr); in nilfs_dat_commit_start()
146 nilfs_dat_commit_entry(dat, req); in nilfs_dat_commit_start()
149 int nilfs_dat_prepare_end(struct inode *dat, struct nilfs_palloc_req *req) in nilfs_dat_prepare_end() argument
157 ret = nilfs_dat_prepare_entry(dat, req, 0); in nilfs_dat_prepare_end()
163 kaddr = kmap_atomic(req->pr_entry_bh->b_page); in nilfs_dat_prepare_end()
164 entry = nilfs_palloc_block_get_entry(dat, req->pr_entry_nr, in nilfs_dat_prepare_end()
165 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()