Lines Matching defs:hfsmount

146 typedef struct hfsmount {
320 lck_mtx_t hfs_mutex; /* protects access to hfsmount data */
543 #define VTOHFS(VP) ((struct hfsmount *)vfs_fsprivate(vnode_mount((VP))))
544 #define VFSTOHFS(MP) ((struct hfsmount *)vfs_fsprivate((MP)))
546 #define FCBTOHFS(FCB) ((struct hfsmount *)vfs_fsprivate(vnode_mount((FCB)->ff_cp->c_vp)))
683 void hfs_generate_volume_notifications(struct hfsmount *hfsmp);
693 extern int hfs_release_storage (struct hfsmount *hfsmp, struct filefork *datafork,
696 extern int hfs_prepare_release_storage (struct hfsmount *hfsmp, struct vnode *vp);
704 extern int hfs_removeallattr(struct hfsmount *hfsmp, u_int32_t fileid);
706 extern int hfs_set_volxattr(struct hfsmount *hfsmp, unsigned int xattrtype, int state);
708 extern int hfs_isallocated(struct hfsmount *hfsmp, u_int32_t startingBlock, u_int32_t numBlocks);
710 extern int hfs_count_allocated(struct hfsmount *hfsmp, u_int32_t startBlock,
713 extern int hfs_isrbtree_active (struct hfsmount *hfsmp);
724 extern int hfs_vget(struct hfsmount *, cnid_t, struct vnode **, int, int);
726 extern void hfs_setencodingbits(struct hfsmount *hfsmp, u_int32_t encoding);
729 extern int hfs_volupdate(struct hfsmount *hfsmp, enum volop op, int inroot);
731 int hfs_flushvolumeheader(struct hfsmount *hfsmp, int waitfor, int altflush);
734 extern int hfs_extendfs(struct hfsmount *, u_int64_t, vfs_context_t);
735 extern int hfs_truncatefs(struct hfsmount *, u_int64_t, vfs_context_t);
736 extern int hfs_resize_progress(struct hfsmount *, u_int32_t *);
741 void hfs_mark_volume_inconsistent(struct hfsmount *hfsmp);
750 OSErr hfs_MountHFSVolume(struct hfsmount *hfsmp, HFSMasterDirectoryBlock *mdb,
752 OSErr hfs_MountHFSPlusVolume(struct hfsmount *hfsmp, HFSPlusVolumeHeader *vhp,
755 extern int hfsUnmount(struct hfsmount *hfsmp, struct proc *p);
759 extern int hfs_owner_rights(struct hfsmount *hfsmp, uid_t cnode_uid, kauth_cred_t cred,
768 int hfs_lock_global (struct hfsmount *hfsmp, enum hfslocktype locktype);
769 void hfs_unlock_global (struct hfsmount *hfsmp);
780 extern int hfs_systemfile_lock(struct hfsmount *, int, enum hfslocktype);
781 extern void hfs_systemfile_unlock(struct hfsmount *, int);
786 extern void hfs_remove_orphans(struct hfsmount *);
790 extern u_int32_t hfs_freeblks(struct hfsmount * hfsmp, int wantreserve);
794 void hfs_metadatazone_init(struct hfsmount *hfsmp, int disable);
804 extern int hfs_early_journal_init(struct hfsmount *hfsmp, HFSPlusVolumeHeader *vhp,
810 extern int hfs_start_transaction(struct hfsmount *hfsmp);
811 extern int hfs_end_transaction(struct hfsmount *hfsmp);
812 extern int hfs_journal_flush(struct hfsmount *hfsmp, boolean_t wait_for_IO);
813 extern void hfs_sync_ejectable(struct hfsmount *hfsmp);
818 extern int hfs_erase_unused_nodes(struct hfsmount *hfsmp);
836 extern int hfs_vgetrsrc(struct hfsmount *hfsmp, struct vnode *vp,
856 void hfs_xattr_init(struct hfsmount * hfsmp);
857 int file_attribute_exist(struct hfsmount *hfsmp, uint32_t fileID);
858 int init_attrdata_vnode(struct hfsmount *hfsmp);
860 struct hfsmount *, u_int32_t);
862 struct vnop_setxattr_args *, struct hfsmount *, u_int32_t);
870 extern int hfs_unlink(struct hfsmount *hfsmp, struct vnode *dvp, struct vnode *vp,
872 extern int hfs_lookup_siblinglinks(struct hfsmount *hfsmp, cnid_t linkfileid,
874 extern void hfs_privatedir_init(struct hfsmount *, enum privdirtype);