Lines Matching refs:req
55 struct nilfs_palloc_req req;
58 req.pr_entry_nr = 0; /*
62 req.pr_entry_bh = NULL;
64 ret = nilfs_palloc_prepare_alloc_entry(ifile, &req);
66 ret = nilfs_palloc_get_entry_block(ifile, req.pr_entry_nr, 1,
67 &req.pr_entry_bh);
69 nilfs_palloc_abort_alloc_entry(ifile, &req);
72 brelse(req.pr_entry_bh);
75 nilfs_palloc_commit_alloc_entry(ifile, &req);
76 mark_buffer_dirty(req.pr_entry_bh);
78 *out_ino = (ino_t)req.pr_entry_nr;
79 *out_bh = req.pr_entry_bh;
99 struct nilfs_palloc_req req = {
106 ret = nilfs_palloc_prepare_free_entry(ifile, &req);
108 ret = nilfs_palloc_get_entry_block(ifile, req.pr_entry_nr, 0,
109 &req.pr_entry_bh);
111 nilfs_palloc_abort_free_entry(ifile, &req);
114 brelse(req.pr_entry_bh);
118 kaddr = kmap_atomic(req.pr_entry_bh->b_page);
119 raw_inode = nilfs_palloc_block_get_entry(ifile, req.pr_entry_nr,
120 req.pr_entry_bh, kaddr);
124 mark_buffer_dirty(req.pr_entry_bh);
125 brelse(req.pr_entry_bh);
127 nilfs_palloc_commit_free_entry(ifile, &req);