Lines Matching refs:handle
67 ext3_mark_iloc_dirty(handle_t *handle,
76 int ext3_reserve_inode_write(handle_t *handle, struct inode *inode,
79 int ext3_mark_inode_dirty(handle_t *handle, struct inode *inode);
91 handle_t *handle, in ext3_journal_abort_handle() argument
102 journal_abort_handle(handle); in ext3_journal_abort_handle()
103 if (!handle->h_err) in ext3_journal_abort_handle()
104 handle->h_err = err; in ext3_journal_abort_handle()
109 handle_t *handle, struct buffer_head *bh) in __ext3_journal_get_undo_access() argument
111 int err = journal_get_undo_access(handle, bh); in __ext3_journal_get_undo_access()
113 ext3_journal_abort_handle(where, __FUNCTION__, bh, handle,err); in __ext3_journal_get_undo_access()
119 handle_t *handle, struct buffer_head *bh) in __ext3_journal_get_write_access() argument
121 int err = journal_get_write_access(handle, bh); in __ext3_journal_get_write_access()
123 ext3_journal_abort_handle(where, __FUNCTION__, bh, handle,err); in __ext3_journal_get_write_access()
129 handle_t *handle, struct buffer_head *bh, int async) in __ext3_journal_dirty_data() argument
131 int err = journal_dirty_data(handle, bh, async); in __ext3_journal_dirty_data()
133 ext3_journal_abort_handle(where, __FUNCTION__, bh, handle,err); in __ext3_journal_dirty_data()
138 ext3_journal_forget(handle_t *handle, struct buffer_head *bh) in ext3_journal_forget() argument
140 journal_forget(handle, bh); in ext3_journal_forget()
144 __ext3_journal_revoke(const char *where, handle_t *handle, in __ext3_journal_revoke() argument
147 int err = journal_revoke(handle, blocknr, bh); in __ext3_journal_revoke()
149 ext3_journal_abort_handle(where, __FUNCTION__, bh, handle,err); in __ext3_journal_revoke()
155 handle_t *handle, struct buffer_head *bh) in __ext3_journal_get_create_access() argument
157 int err = journal_get_create_access(handle, bh); in __ext3_journal_get_create_access()
159 ext3_journal_abort_handle(where, __FUNCTION__, bh, handle,err); in __ext3_journal_get_create_access()
165 handle_t *handle, struct buffer_head *bh) in __ext3_journal_dirty_metadata() argument
167 int err = journal_dirty_metadata(handle, bh); in __ext3_journal_dirty_metadata()
169 ext3_journal_abort_handle(where, __FUNCTION__, bh, handle,err); in __ext3_journal_dirty_metadata()
174 #define ext3_journal_get_undo_access(handle, bh) \ argument
175 __ext3_journal_get_undo_access(__FUNCTION__, (handle), (bh))
176 #define ext3_journal_get_write_access(handle, bh) \ argument
177 __ext3_journal_get_write_access(__FUNCTION__, (handle), (bh))
178 #define ext3_journal_dirty_data(handle, bh, async) \ argument
179 __ext3_journal_dirty_data(__FUNCTION__, (handle), (bh), (async))
180 #define ext3_journal_revoke(handle, blocknr, bh) \ argument
181 __ext3_journal_revoke(__FUNCTION__, (handle), (blocknr), (bh))
182 #define ext3_journal_get_create_access(handle, bh) \ argument
183 __ext3_journal_get_create_access(__FUNCTION__, (handle), (bh))
184 #define ext3_journal_dirty_metadata(handle, bh) \ argument
185 __ext3_journal_dirty_metadata(__FUNCTION__, (handle), (bh))
232 handle_t *handle, struct inode *inode) in __ext3_journal_stop() argument
234 int err = handle->h_err; in __ext3_journal_stop()
235 int rc = journal_stop(handle); in __ext3_journal_stop()
244 #define ext3_journal_stop(handle, inode) \ argument
245 __ext3_journal_stop(__FUNCTION__, (handle), (inode))
263 static inline int ext3_journal_extend(handle_t *handle, int nblocks) in ext3_journal_extend() argument
265 return journal_extend(handle, nblocks); in ext3_journal_extend()
268 static inline int ext3_journal_restart(handle_t *handle, int nblocks) in ext3_journal_restart() argument
270 return journal_restart(handle, nblocks); in ext3_journal_restart()