• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/hfsplus_journal/

Lines Matching defs:hfsplus_handle

33 	hfsplus_handle_t hfsplus_handle;
39 if (hfsplus_journal_start(__FUNCTION__, dir->i_sb, &hfsplus_handle))
46 err = hfs_brec_read(&hfsplus_handle, &fd, &entry, sizeof(entry));
49 hfs_find_exit(&hfsplus_handle, &fd);
100 hfs_find_exit(&hfsplus_handle, &fd);
108 hfsplus_journal_stop(&hfsplus_handle);
111 hfs_find_exit(&hfsplus_handle, &fd);
112 hfsplus_journal_stop(&hfsplus_handle);
125 hfsplus_handle_t hfsplus_handle;
131 if ((err = hfsplus_journal_start(__FUNCTION__, sb, &hfsplus_handle)))
135 err = hfs_brec_find(&hfsplus_handle, &fd);
166 err = hfs_brec_goto(&hfsplus_handle, &fd, filp->f_pos - 1);
213 err = hfs_brec_goto(&hfsplus_handle, &fd, 1);
230 hfs_find_exit(&hfsplus_handle, &fd);
231 hfsplus_journal_stop(&hfsplus_handle);
250 hfsplus_handle_t hfsplus_handle;
252 if ((res = hfsplus_journal_start(__FUNCTION__, dir->i_sb, &hfsplus_handle)))
255 inode = hfsplus_new_inode(&hfsplus_handle, dir->i_sb, mode);
257 hfsplus_journal_stop(&hfsplus_handle);
261 res = hfsplus_create_cat(&hfsplus_handle, inode->i_ino, dir, &dentry->d_name, inode);
264 hfsplus_delete_inode(&hfsplus_handle, inode);
266 hfsplus_journal_stop(&hfsplus_handle);
270 res = hfsplus_journalled_mark_inode_dirty(__FUNCTION__, &hfsplus_handle, inode);
271 hfsplus_journal_stop(&hfsplus_handle);
281 hfsplus_handle_t hfsplus_handle;
290 if ((res = hfsplus_journal_start(__FUNCTION__, dst_dir->i_sb, &hfsplus_handle)))
299 res = hfsplus_rename_cat(&hfsplus_handle, inode->i_ino,
305 hfsplus_journal_stop(&hfsplus_handle);
312 res = hfsplus_create_cat(&hfsplus_handle, cnid, src_dir, &src_dentry->d_name, inode);
315 hfsplus_journal_stop(&hfsplus_handle);
321 res = hfsplus_create_cat(&hfsplus_handle, cnid, dst_dir, &dst_dentry->d_name, inode);
323 hfsplus_journal_stop(&hfsplus_handle);
331 res = hfsplus_journalled_mark_inode_dirty(__FUNCTION__, &hfsplus_handle, inode);
335 hfsplus_journal_stop(&hfsplus_handle);
347 hfsplus_handle_t hfsplus_handle;
352 if ((res = hfsplus_journal_start(__FUNCTION__, dir->i_sb, &hfsplus_handle)))
360 res = hfsplus_rename_cat(&hfsplus_handle, inode->i_ino,
365 hfsplus_journal_stop(&hfsplus_handle);
368 res = hfsplus_delete_cat(&hfsplus_handle, cnid, dir, &dentry->d_name);
370 hfsplus_journal_stop(&hfsplus_handle);
375 hfsplus_delete_inode(&hfsplus_handle, inode);
378 res = hfsplus_delete_cat(&hfsplus_handle, inode->i_ino, HFSPLUS_SB(sb).hidden_dir, NULL);
380 hfsplus_delete_inode(&hfsplus_handle, inode);
386 res = hfsplus_journalled_mark_inode_dirty(__FUNCTION__, &hfsplus_handle, inode);
388 hfsplus_journal_stop(&hfsplus_handle);
395 hfsplus_handle_t hfsplus_handle;
398 if ((res = hfsplus_journal_start(__FUNCTION__, dir->i_sb, &hfsplus_handle)))
401 inode = hfsplus_new_inode(&hfsplus_handle, dir->i_sb, S_IFDIR | mode);
403 hfsplus_journal_stop(&hfsplus_handle);
407 res = hfsplus_create_cat(&hfsplus_handle, inode->i_ino, dir, &dentry->d_name, inode);
410 hfsplus_delete_inode(&hfsplus_handle, inode);
412 hfsplus_journal_stop(&hfsplus_handle);
416 res = hfsplus_journalled_mark_inode_dirty(__FUNCTION__, &hfsplus_handle, inode);
417 hfsplus_journal_stop(&hfsplus_handle);
424 hfsplus_handle_t hfsplus_handle;
431 if ((res = hfsplus_journal_start(__FUNCTION__, dir->i_sb, &hfsplus_handle)))
434 res = hfsplus_delete_cat(&hfsplus_handle, inode->i_ino, dir, &dentry->d_name);
436 hfsplus_journal_stop(&hfsplus_handle);
441 hfsplus_delete_inode(&hfsplus_handle, inode);
442 res = hfsplus_journalled_mark_inode_dirty(__FUNCTION__, &hfsplus_handle, inode);
443 hfsplus_journal_stop(&hfsplus_handle);
452 hfsplus_handle_t hfsplus_handle;
455 if ((res = hfsplus_journal_start(__FUNCTION__, dir->i_sb, &hfsplus_handle)))
459 inode = hfsplus_new_inode(&hfsplus_handle, sb, S_IFLNK | S_IRWXUGO);
461 hfsplus_journal_stop(&hfsplus_handle);
468 hfsplus_delete_inode(&hfsplus_handle, inode);
470 hfsplus_journal_stop(&hfsplus_handle);
474 if ((res = hfsplus_journalled_mark_inode_dirty(__FUNCTION__, &hfsplus_handle, inode)))
476 res = hfsplus_create_cat(&hfsplus_handle, inode->i_ino, dir, &dentry->d_name, inode);
480 res = hfsplus_journalled_mark_inode_dirty(__FUNCTION__, &hfsplus_handle, inode);
484 hfsplus_journal_stop(&hfsplus_handle);
493 hfsplus_handle_t hfsplus_handle;
496 if ((res = hfsplus_journal_start(__FUNCTION__, dir->i_sb, &hfsplus_handle)))
500 inode = hfsplus_new_inode(&hfsplus_handle, sb, mode);
502 hfsplus_journal_stop(&hfsplus_handle);
506 res = hfsplus_create_cat(&hfsplus_handle, inode->i_ino, dir, &dentry->d_name, inode);
509 hfsplus_delete_inode(&hfsplus_handle, inode);
511 hfsplus_journal_stop(&hfsplus_handle);
516 res = hfsplus_journalled_mark_inode_dirty(__FUNCTION__, &hfsplus_handle, inode);
518 hfsplus_journal_stop(&hfsplus_handle);
526 hfsplus_handle_t hfsplus_handle;
535 if ((res = hfsplus_journal_start(__FUNCTION__, old_dir->i_sb, &hfsplus_handle)))
538 res = hfsplus_rename_cat(&hfsplus_handle, (u32)(unsigned long)old_dentry->d_fsdata,
544 hfsplus_journal_stop(&hfsplus_handle);