• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/bsd/hfs/

Lines Matching refs:hfsmp

381 #define HFS_UPDATE_NEXT_ALLOCATION(hfsmp, new_nextAllocation)			\
383 if ((hfsmp->hfs_flags & HFS_SKIP_UPDATE_NEXT_ALLOCATION) == 0)\
384 hfsmp->nextAllocation = new_nextAllocation; \
387 #define HFS_MOUNT_LOCK(hfsmp, metadata) \
390 lck_mtx_lock(&(hfsmp)->hfs_mutex); \
393 #define HFS_MOUNT_UNLOCK(hfsmp, metadata) \
396 lck_mtx_unlock(&(hfsmp)->hfs_mutex); \
399 #define hfs_global_exclusive_lock_acquire(hfsmp) lck_rw_lock_exclusive(&(hfsmp)->hfs_global_lock)
400 #define hfs_global_exclusive_lock_release(hfsmp) lck_rw_unlock_exclusive(&(hfsmp)->hfs_global_lock)
407 #define INC_FOLDERCOUNT(hfsmp, cattr) \
408 if ((hfsmp->hfs_flags & HFS_FOLDERCOUNT) && \
413 #define DEC_FOLDERCOUNT(hfsmp, cattr) \
414 if ((hfsmp->hfs_flags & HFS_FOLDERCOUNT) && \
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);
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);
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,
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,