/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/ |
H A D | hfs_hotfiles.h | 107 struct hfsmount; 114 int hfs_hotfilesync (struct hfsmount *, vfs_context_t ctx); 116 int hfs_recording_init(struct hfsmount *); 117 int hfs_recording_suspend (struct hfsmount *);
|
H A D | hfs_catalog.h | 257 struct hfsmount; 261 extern int cat_create ( struct hfsmount *hfsmp, 266 extern int cat_delete ( struct hfsmount *hfsmp, 270 extern int cat_lookup ( struct hfsmount *hfsmp, 278 extern int cat_idlookup (struct hfsmount *hfsmp, 285 extern int cat_findname (struct hfsmount *hfsmp, 290 struct hfsmount *hfsmp, 294 extern int cat_rename ( struct hfsmount * hfsmp, 300 extern int cat_update ( struct hfsmount *hfsmp, 307 struct hfsmount *hfsm [all...] |
H A D | hfs.h | 124 typedef struct hfsmount { struct 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_lon [all...] |
H A D | hfs_btreeio.h | 53 int hfs_create_attr_btree(struct hfsmount *hfsmp, u_int32_t nodesize, u_int32_t nodecnt);
|
H A D | hfs_notification.c | 55 void hfs_generate_volume_notifications(struct hfsmount *hfsmp)
|
H A D | hfs_attrlist.h | 88 extern void hfs_packattrblk(struct attrblock *abp, struct hfsmount *hfsmp,
|
H A D | hfs_hotfiles.c | 96 struct hfsmount *hfsmp; 107 static int hfs_recording_start (struct hfsmount *); 108 static int hfs_recording_stop (struct hfsmount *); 129 static int hotfiles_collect (struct hfsmount *); 130 static int hotfiles_age (struct hfsmount *); 131 static int hotfiles_adopt (struct hfsmount *); 132 static int hotfiles_evict (struct hfsmount *, vfs_context_t); 133 static int hotfiles_refine (struct hfsmount *); 134 static int hotextents(struct hfsmount *, HFSPlusExtentDescriptor *); 141 static int hfc_btree_create (struct hfsmount *, unsigne [all...] |
H A D | hfs_catalog.c | 72 struct hfsmount * s_hfsmp; 80 struct hfsmount *hfsmp; 93 static int cat_lookupbykey(struct hfsmount *hfsmp, CatalogKey *keyp, int allow_system_files, u_long hint, int wantrsrc, 96 static int cat_lookupmangled(struct hfsmount *hfsmp, struct cat_desc *descp, int wantrsrc, 104 static int resolvelinkid(struct hfsmount *hfsmp, u_long linkref, ino_t *ino); 106 static int getkey(struct hfsmount *hfsmp, cnid_t cnid, CatalogKey * key); 108 static int buildkey(struct hfsmount *hfsmp, struct cat_desc *descp, 120 static void getbsdattr(struct hfsmount *hfsmp, const struct HFSPlusCatalogFile *crp, struct cat_attr * attrp); 122 static void promotekey(struct hfsmount *hfsmp, const HFSCatalogKey *hfskey, HFSPlusCatalogKey *keyp, u_long *encoding); 123 static void promotefork(struct hfsmount *hfsm [all...] |
H A D | hfs_quota.c | 106 struct hfsmount *hfsmp; 434 struct hfsmount *hfsmp = VTOHFS(vp); 480 struct hfsmount *hfsmp = VFSTOHFS(mp); 585 struct hfsmount *hfsmp = VFSTOHFS(mp); 683 struct hfsmount *hfsmp = VFSTOHFS(mp); 744 struct hfsmount *hfsmp = VFSTOHFS(mp); 808 struct hfsmount *hfsmp = VFSTOHFS(mp); 854 struct hfsmount *hfsmp = VFSTOHFS(mp);
|
H A D | hfs_xattr.c | 83 static int remove_attribute_records(struct hfsmount *hfsmp, BTreeIterator * iterator); 85 static int getnodecount(struct hfsmount *hfsmp, size_t nodesize); 89 static int read_attr_data(struct hfsmount *hfsmp, uio_t uio, size_t datasize, HFSPlusExtentDescriptor *extents); 91 static int write_attr_data(struct hfsmount *hfsmp, uio_t uio, size_t datasize, HFSPlusExtentDescriptor *extents); 93 static int alloc_attr_blks(struct hfsmount *hfsmp, size_t attrsize, size_t extentbufsize, HFSPlusExtentDescriptor *extents, int *blocks); 95 static void free_attr_blks(struct hfsmount *hfsmp, int blkcnt, HFSPlusExtentDescriptor *extents); 224 struct hfsmount *hfsmp; 494 struct hfsmount *hfsmp; 932 struct hfsmount *hfsmp; 1111 file_attribute_exist(struct hfsmount *hfsm [all...] |
H A D | hfs_cnode.h | 246 extern int hfs_getnewvnode(struct hfsmount *hfsmp, struct vnode *dvp, struct componentname *cnp, 257 extern void hfs_touchtimes(struct hfsmount *, struct cnode *); 275 extern int hfs_valid_cnode(struct hfsmount *hfsmp, struct vnode *dvp, struct componentname *cnp, cnid_t cnid);
|
H A D | hfs_link.c | 61 static int setfirstlink(struct hfsmount * hfsmp, cnid_t fileid, cnid_t firstlink); 62 static int getfirstlink(struct hfsmount * hfsmp, cnid_t fileid, cnid_t *firstlink); 79 createindirectlink(struct hfsmount *hfsmp, u_int32_t linknum, struct cat_desc *descp, 129 hfs_makelink(struct hfsmount *hfsmp, struct cnode *cp, struct cnode *dcp, 371 struct hfsmount *hfsmp; 636 hfs_unlink(struct hfsmount *hfsmp, struct vnode *dvp, struct vnode *vp, struct componentname *cnp, int skip_reserve) 868 hfs_privatedir_init(struct hfsmount * hfsmp, enum privdirtype type) 993 hfs_lookuplink(struct hfsmount *hfsmp, cnid_t linkfileid, cnid_t *prevlinkid, cnid_t *nextlinkid) 1167 setfirstlink(struct hfsmount * hfsmp, cnid_t fileid, cnid_t firstlink) 1229 getfirstlink(struct hfsmount * hfsm [all...] |
H A D | hfs_btreeio.c | 54 static int btree_journal_modify_block_end(struct hfsmount *hfsmp, struct buf *bp); 171 struct hfsmount *hfsmp = VTOHFS(vp); 191 // struct hfsmount *hfsmp = (struct hfsmount *)arg; 215 btree_journal_modify_block_end(struct hfsmount *hfsmp, struct buf *bp) 224 struct hfsmount *hfsmp = VTOHFS(vp); 521 struct hfsmount *hfsmp = VTOHFS(vp); 579 hfs_create_attr_btree(struct hfsmount *hfsmp, u_int32_t nodesize, u_int32_t nodecnt)
|
H A D | hfs_vfsops.c | 128 static int hfs_flushMDB(struct hfsmount *hfsmp, int waitfor, int altflush); 129 static int hfs_getmountpoint(struct vnode *vp, struct hfsmount **hfsmpp); 144 static int hfs_reclaimspace(struct hfsmount *hfsmp, u_long startblk, u_long reclaimblks, vfs_context_t context); 145 static int hfs_overlapped_overflow_extents(struct hfsmount *hfsmp, u_int32_t startblk, 158 struct hfsmount *hfsmp; 198 struct hfsmount *hfsmp = NULL; 394 struct hfsmount *hfsmp; 461 struct hfsmount *hfsmp; 598 struct hfsmount *hfsmp; 665 struct hfsmount *hfsm [all...] |
H A D | hfs_attrlist.c | 59 static void packcommonattr(struct attrblock *abp, struct hfsmount *hfsmp, 63 static void packfileattr(struct attrblock *abp, struct hfsmount *hfsmp, 67 static void packdirattr(struct attrblock *abp, struct hfsmount *hfsmp, 100 struct hfsmount * hfsmp; 404 struct hfsmount *hfsmp, 514 struct hfsmount *hfsmp, 743 struct hfsmount *hfsmp, 791 struct hfsmount *hfsmp,
|
H A D | hfs_vfsutils.c | 65 static int hfs_late_journal_init(struct hfsmount *hfsmp, HFSPlusVolumeHeader *vhp, void *_args); 67 static void hfs_metadatazone_init(struct hfsmount *); 68 static u_int32_t hfs_hotfile_freeblocks(struct hfsmount *); 90 OSErr hfs_MountHFSVolume(struct hfsmount *hfsmp, HFSMasterDirectoryBlock *mdb, 284 OSErr hfs_MountHFSPlusVolume(struct hfsmount *hfsmp, HFSPlusVolumeHeader *vhp, 771 hfsUnmount( register struct hfsmount *hfsmp, __unused struct proc *p) 858 hfs_systemfile_lock(struct hfsmount *hfsmp, int flags, enum hfslocktype locktype) 970 hfs_systemfile_unlock(struct hfsmount *hfsmp, int flags) 1081 hfs_owner_rights(struct hfsmount *hfsmp, uid_t cnode_uid, kauth_cred_t cred, 1145 struct hfsmount * hfsm [all...] |
H A D | hfs_search.c | 103 static void ResolveHardlink(struct hfsmount *hfsmp, HFSPlusCatalogFile *recp); 106 static int UnpackSearchAttributeBlock(struct hfsmount *hfsmp, struct attrlist *alist, 119 static int InsertMatch(struct hfsmount *hfsmp, uio_t a_uio, CatalogRecord *rec, 178 struct hfsmount *hfsmp; 419 ResolveHardlink(struct hfsmount *hfsmp, HFSPlusCatalogFile *recp) 1004 InsertMatch(struct hfsmount *hfsmp, uio_t a_uio, CatalogRecord *rec, 1078 UnpackSearchAttributeBlock( struct hfsmount *hfsmp, struct attrlist *alist, searchinfospec_t *searchInfo, void *attributeBuffer )
|
H A D | hfs_cnode.c | 72 struct hfsmount *hfsmp = VTOHFS(vp); 323 struct hfsmount *hfsmp; 521 struct hfsmount *hfsmp, 857 hfs_valid_cnode(struct hfsmount *hfsmp, struct vnode *dvp, struct componentname *cnp, cnid_t cnid) 902 hfs_touchtimes(struct hfsmount *hfsmp, struct cnode* cp) 1027 struct hfsmount *hfsmp = VTOHFS(vp);
|
H A D | hfs_vnops.c | 84 static int hfs_metasync(struct hfsmount *hfsmp, daddr64_t node, __unused struct proc *p); 85 static int hfs_metasync_all(struct hfsmount *hfsmp); 294 struct hfsmount *hfsmp; 393 struct hfsmount *hfsmp; 722 struct hfsmount *hfsmp; 1122 struct hfsmount *hfsmp; 1326 struct hfsmount *hfsmp = VTOHFS(vp); 1479 hfs_metasync(struct hfsmount *hfsmp, daddr64_t node, __unused struct proc *p) 1525 hfs_metasync_all(struct hfsmount *hfsmp) 1635 struct hfsmount * hfsm [all...] |
H A D | hfs_readwrite.c | 104 struct hfsmount *hfsmp; 197 struct hfsmount *hfsmp; 812 do_attr_lookup(struct hfsmount *hfsmp, struct access_cache *cache, dev_t dev, cnid_t cnid, 856 do_access_check(struct hfsmount *hfsmp, int *err, struct access_cache *cache, HFSCatalogNodeID nodeID, 1009 do_bulk_access_check(struct hfsmount *hfsmp, struct vnode *vp, 1332 struct hfsmount *hfsmp = VTOHFS(vp); 1931 struct hfsmount *hfsmp = VTOHFS(vp); 2053 struct hfsmount *hfsmp; 2316 struct hfsmount *hfsmp; 2696 struct hfsmount *hfsm [all...] |
H A D | hfs_lookup.c | 157 struct hfsmount *hfsmp;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/hfscommon/Misc/ |
H A D | VolumeAllocation.c | 461 struct hfsmount *hfsmp = VCBTOHFS(vcb); 567 struct hfsmount *hfsmp = VCBTOHFS(vcb); 691 struct hfsmount *hfsmp = VCBTOHFS(vcb); 1011 struct hfsmount *hfsmp = VCBTOHFS(vcb); 1180 struct hfsmount *hfsmp = VCBTOHFS(vcb); 1685 hfs_isallocated(struct hfsmount *hfsmp, u_long startingBlock, u_long numBlocks)
|
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/hfscommon/BTree/ |
H A D | BTreeNodeReserve.c | 156 struct hfsmount *hfsmp;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | kern_malloc.c | 434 { SOX(hfsmount), KMZ_LOOKUPZONE }, /* 75 M_HFSMNT */
|