Lines Matching refs:hfsmount
124 typedef struct hfsmount {
268 lck_mtx_t hfs_mutex; /* protects access to hfsmount data */
466 #define VTOHFS(VP) ((struct hfsmount *)vfs_fsprivate(vnode_mount((VP))))
467 #define VFSTOHFS(MP) ((struct hfsmount *)vfs_fsprivate((MP)))
469 #define FCBTOHFS(FCB) ((struct hfsmount *)vfs_fsprivate(vnode_mount((FCB)->ff_cp->c_vp)))
609 void hfs_generate_volume_notifications(struct hfsmount *hfsmp);
625 extern int hfs_removeallattr(struct hfsmount *hfsmp, u_int32_t fileid);
627 extern int hfs_set_volxattr(struct hfsmount *hfsmp, unsigned int xattrtype, int state);
629 extern void hfs_check_volxattr(struct hfsmount *hfsmp, unsigned int xattrtype);
631 extern int hfs_isallocated(struct hfsmount *, u_long, u_long);
642 extern int hfs_vget(struct hfsmount *, cnid_t, struct vnode **, int);
644 extern void hfs_setencodingbits(struct hfsmount *hfsmp, u_int32_t encoding);
647 extern int hfs_volupdate(struct hfsmount *hfsmp, enum volop op, int inroot);
649 int hfs_flushvolumeheader(struct hfsmount *hfsmp, int waitfor, int altflush);
652 extern int hfs_extendfs(struct hfsmount *, u_int64_t, vfs_context_t);
653 extern int hfs_truncatefs(struct hfsmount *, u_int64_t, vfs_context_t);
654 extern int hfs_resize_progress(struct hfsmount *, u_int32_t *);
659 void hfs_mark_volume_inconsistent(struct hfsmount *hfsmp);
668 OSErr hfs_MountHFSVolume(struct hfsmount *hfsmp, HFSMasterDirectoryBlock *mdb,
670 OSErr hfs_MountHFSPlusVolume(struct hfsmount *hfsmp, HFSPlusVolumeHeader *vhp,
673 extern int hfsUnmount(struct hfsmount *hfsmp, struct proc *p);
677 extern int hfs_owner_rights(struct hfsmount *hfsmp, uid_t cnode_uid, kauth_cred_t cred,
689 extern int hfs_systemfile_lock(struct hfsmount *, int, enum hfslocktype);
690 extern void hfs_systemfile_unlock(struct hfsmount *, int);
695 extern void hfs_remove_orphans(struct hfsmount *);
699 extern u_int32_t hfs_freeblks(struct hfsmount * hfsmp, int wantreserve);
711 extern int hfs_early_journal_init(struct hfsmount *hfsmp, HFSPlusVolumeHeader *vhp,
717 extern int hfs_start_transaction(struct hfsmount *hfsmp);
718 extern int hfs_end_transaction(struct hfsmount *hfsmp);
719 extern void hfs_sync_ejectable(struct hfsmount *hfsmp);
737 extern int hfs_vgetrsrc(struct hfsmount *hfsmp, struct vnode *vp,
748 void hfs_xattr_init(struct hfsmount * hfsmp);
749 int file_attribute_exist(struct hfsmount *hfsmp, uint32_t fileID);
757 extern int hfs_unlink(struct hfsmount *hfsmp, struct vnode *dvp, struct vnode *vp,
759 extern int hfs_lookuplink(struct hfsmount *hfsmp, cnid_t linkfileid,
761 extern void hfs_privatedir_init(struct hfsmount *, enum privdirtype);