• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/hfsplus_journal/

Lines Matching refs:hfsplus_handle

97 int hfsplus_commit_write_fn(hfsplus_handle_t *hfsplus_handle, struct buffer_head *bh)
103 return hfsplus_journal_dirty_metadata(__FUNCTION__, bh, hfsplus_handle);
112 int hfsplus_walk_page_buffers(hfsplus_handle_t *hfsplus_handle,
117 int (*fn)(hfsplus_handle_t *hfsplus_handle,
137 err = (*fn)(hfsplus_handle, bh);
144 int hfsplus_do_journal_get_write_access(hfsplus_handle_t *hfsplus_handle, struct buffer_head *bh)
148 return hfsplus_journal_get_write_access(__FUNCTION__, hfsplus_handle, bh);
155 hfsplus_handle_t hfsplus_handle;
173 if ((ret = hfsplus_journal_start(__FUNCTION__, sb, &hfsplus_handle)))
185 hfsplus_journal_stop(&hfsplus_handle);
188 ret = hfsplus_walk_page_buffers(&hfsplus_handle, page_buffers(page), 0,
191 err = hfsplus_walk_page_buffers(&hfsplus_handle, page_buffers(page), 0,
204 err = hfsplus_journal_stop(&hfsplus_handle);
221 hfsplus_handle_t hfsplus_handle;
224 if ((ret = hfsplus_journal_start(__FUNCTION__, inode->i_sb, &hfsplus_handle)))
229 hfsplus_journal_stop(&hfsplus_handle);
237 hfsplus_handle_t *hfsplus_handle;
243 hfsplus_handle = hfsplus_jbd_current_handle();
249 ret = hfsplus_walk_page_buffers(hfsplus_handle, page_buffers(page), from, to, &partial, hfsplus_commit_write_fn);
254 ret2 = hfsplus_journalled_mark_inode_dirty(__FUNCTION__, hfsplus_handle, inode);
259 ret2 = hfsplus_journal_stop(hfsplus_handle);
308 hfsplus_handle_t hfsplus_handle;
310 if (hfsplus_journal_start(__FUNCTION__, inode->i_sb, &hfsplus_handle))
318 hfsplus_journal_stop(&hfsplus_handle);
373 hfsplus_handle_t hfsplus_handle;
383 if (hfsplus_journal_start(__FUNCTION__, sb, &hfsplus_handle))
388 hfsplus_journal_stop(&hfsplus_handle);
398 err = hfsplus_find_cat(&hfsplus_handle, sb, dir->i_ino, &fd);
401 hfs_find_exit(&hfsplus_handle, &fd);
404 hfsplus_journal_stop(&hfsplus_handle);
411 hfsplus_journalled_mark_inode_dirty(__FUNCTION__, &hfsplus_handle, inode);
412 hfsplus_journal_stop(&hfsplus_handle);
496 hfsplus_handle_t hfsplus_handle;
507 if ((ret = hfsplus_journal_start(__FUNCTION__, sb, &hfsplus_handle))) {
511 hfsplus_delete_cat(&hfsplus_handle, inode->i_ino, HFSPLUS_SB(sb).hidden_dir, NULL);
512 hfsplus_delete_inode(&hfsplus_handle, inode);
513 hfsplus_journal_stop(&hfsplus_handle);
546 struct inode *hfsplus_new_inode(hfsplus_handle_t *hfsplus_handle, struct super_block *sb, int mode)
595 if (hfsplus_journalled_mark_inode_dirty(__FUNCTION__, hfsplus_handle, inode)) {
596 hfsplus_delete_inode(hfsplus_handle, inode);
604 void hfsplus_delete_inode(hfsplus_handle_t *hfsplus_handle, struct inode *inode)
727 int hfsplus_cat_write_inode(hfsplus_handle_t *hfsplus_handle, struct inode *inode)
739 if (hfsplus_handle->journaled != HFSPLUS_JOURNAL_PRESENT) {
749 if (hfsplus_find_cat(hfsplus_handle, main_inode->i_sb, main_inode->i_ino, &fd))
766 hfs_bnode_write(hfsplus_handle, fd.bnode, &entry, fd.entryoffset,
773 hfs_bnode_write(hfsplus_handle, fd.bnode, &entry, fd.entryoffset,
795 hfs_bnode_write(hfsplus_handle, fd.bnode, &entry, fd.entryoffset,
799 if (hfsplus_handle->journaled != HFSPLUS_JOURNAL_PRESENT) {
800 hfs_find_exit(hfsplus_handle, &fd);
802 hfsplus_journalled_find_exit(hfsplus_handle, &fd);