• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/hfsplus_journal/

Lines Matching defs:hfsplus_handle

113 int hfsplus_commit_write_fn(hfsplus_handle_t *hfsplus_handle, struct buffer_head *bh)
119 return hfsplus_journal_dirty_metadata(__FUNCTION__, bh, hfsplus_handle);
128 int hfsplus_walk_page_buffers(hfsplus_handle_t *hfsplus_handle,
133 int (*fn)(hfsplus_handle_t *hfsplus_handle,
153 err = (*fn)(hfsplus_handle, bh);
160 int hfsplus_do_journal_get_write_access(hfsplus_handle_t *hfsplus_handle, struct buffer_head *bh)
164 return hfsplus_journal_get_write_access(__FUNCTION__, hfsplus_handle, bh);
171 hfsplus_handle_t hfsplus_handle;
189 if ((ret = hfsplus_journal_start(__FUNCTION__, sb, &hfsplus_handle)))
201 hfsplus_journal_stop(&hfsplus_handle);
204 ret = hfsplus_walk_page_buffers(&hfsplus_handle, page_buffers(page), 0,
207 err = hfsplus_walk_page_buffers(&hfsplus_handle, page_buffers(page), 0,
220 err = hfsplus_journal_stop(&hfsplus_handle);
315 hfsplus_handle_t hfsplus_handle;
325 if (hfsplus_journal_start(__FUNCTION__, sb, &hfsplus_handle))
330 hfsplus_journal_stop(&hfsplus_handle);
342 err = hfsplus_find_cat(&hfsplus_handle, sb, dir->i_ino, &fd);
345 hfs_find_exit(&hfsplus_handle, &fd);
349 hfsplus_journal_stop(&hfsplus_handle);
357 hfsplus_journalled_mark_inode_dirty(__FUNCTION__, &hfsplus_handle, inode);
358 hfsplus_journal_stop(&hfsplus_handle);
429 hfsplus_handle_t hfsplus_handle;
438 if ((ret = hfsplus_journal_start(__FUNCTION__, sb, &hfsplus_handle))) {
442 hfsplus_delete_cat(&hfsplus_handle, inode->i_ino, HFSPLUS_SB(sb).hidden_dir, NULL);
443 hfsplus_delete_inode(&hfsplus_handle, inode);
444 hfsplus_journal_stop(&hfsplus_handle);
522 struct inode *hfsplus_new_inode(hfsplus_handle_t *hfsplus_handle, struct super_block *sb, int mode)
566 if (hfsplus_journalled_mark_inode_dirty(__FUNCTION__, hfsplus_handle, inode)) {
567 hfsplus_delete_inode(hfsplus_handle, inode);
575 void hfsplus_delete_inode(hfsplus_handle_t *hfsplus_handle, struct inode *inode)
699 int hfsplus_cat_write_inode(hfsplus_handle_t *hfsplus_handle, struct inode *inode)
711 if (hfsplus_handle->journaled != HFSPLUS_JOURNAL_PRESENT) {
721 if (hfsplus_find_cat(hfsplus_handle, main_inode->i_sb, main_inode->i_ino, &fd))
738 hfs_bnode_write(hfsplus_handle, fd.bnode, &entry, fd.entryoffset,
745 hfs_bnode_write(hfsplus_handle, fd.bnode, &entry, fd.entryoffset,
765 hfs_bnode_write(hfsplus_handle, fd.bnode, &entry, fd.entryoffset,
770 if (hfsplus_handle->journaled != HFSPLUS_JOURNAL_PRESENT) {
771 hfs_find_exit(hfsplus_handle, &fd);
773 hfsplus_journalled_find_exit(hfsplus_handle, &fd);