1 /* Copyright © 2017-2018 Apple Inc. All rights reserved.
3 * lf_hfs_fsops_handler.h
6 * Created by Yakov Ben Zaken on 31/12/2017.
9 #ifndef lf_hfs_fsops_handler_h
10 #define lf_hfs_fsops_handler_h
12 #include "lf_hfs_common.h"
13 #include "lf_hfs_vnode.h"
15 uint64_t FSOPS_GetOffsetFromClusterNum(vnode_t vp
, uint64_t uClusterNum
);
16 int LFHFS_Mount (int iFd
, UVFSVolumeId puVolId
, __unused UVFSMountFlags puMountFlags
,
17 __unused UVFSVolumeCredential
*psVolumeCreds
, UVFSFileNode
*ppsRootNode
);
18 int LFHFS_Unmount (UVFSFileNode psRootNode
, UVFSUnmountHint hint
);
19 int LFHFS_ScanVols (int iFd
, UVFSScanVolsRequest
*psRequest
, UVFSScanVolsReply
*psReply
);
20 int LFHFS_Taste ( int iFd
);
22 extern UVFSFSOps HFS_fsOps
;
24 #endif /* lf_hfs_fsops_handler_h */