• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /xnu-2782.1.97/bsd/hfs/hfscommon/Misc/

Lines Matching refs:hfsmount

305 static OSErr ReadBitmapRange (struct hfsmount *hfsmp, uint32_t offset, uint32_t iosize,
310 static int hfs_track_unmap_blocks (struct hfsmount *hfsmp, u_int32_t offset,
313 static int hfs_issue_unmap (struct hfsmount *hfsmp, struct jnl_trim_list *list);
315 static int hfs_alloc_scan_range(struct hfsmount *hfsmp,
320 static int hfs_scan_range_size (struct hfsmount* hfsmp, uint32_t start, uint32_t *iosize);
321 static uint32_t CheckUnmappedBytes (struct hfsmount *hfsmp, uint64_t blockno, uint64_t numblocks, int *recent, uint32_t *next);
330 int hfs_isallocated_scan (struct hfsmount *hfsmp,
335 static int hfs_set_summary (struct hfsmount *hfsmp, uint32_t summarybit, uint32_t inuse);
336 static int hfs_get_summary_index (struct hfsmount *hfsmp, uint32_t block, uint32_t *index);
337 static int hfs_find_summary_free (struct hfsmount *hfsmp, uint32_t block, uint32_t *newblock);
338 static int hfs_get_summary_allocblock (struct hfsmount *hfsmp, uint32_t summarybit, uint32_t *alloc);
339 static int hfs_release_summary (struct hfsmount *hfsmp, uint32_t start, uint32_t length);
340 static int hfs_check_summary (struct hfsmount *hfsmp, uint32_t start, uint32_t *freeblocks);
341 static int hfs_rebuild_summary (struct hfsmount *hfsmp);
344 static int hfs_get_next_summary (struct hfsmount *hfsmp, uint32_t block, uint32_t *newblock);
348 int hfs_init_summary (struct hfsmount *hfsmp);
351 void hfs_validate_summary (struct hfsmount *hfsmp);
356 static void remove_free_extent_cache(struct hfsmount *hfsmp, u_int32_t startBlock, u_int32_t blockCount);
357 static Boolean add_free_extent_cache(struct hfsmount *hfsmp, u_int32_t startBlock, u_int32_t blockCount);
358 static void sanity_check_free_ext(struct hfsmount *hfsmp, int check_allocated);
367 int trim_validate_bitmap (struct hfsmount *hfsmp);
368 int trim_validate_bitmap (struct hfsmount *hfsmp) {
426 static void hfs_unmap_free_extent(struct hfsmount *hfsmp, u_int32_t startingBlock, u_int32_t numBlocks)
492 static int hfs_track_unmap_blocks (struct hfsmount *hfsmp, u_int32_t start,
529 static int hfs_issue_unmap (struct hfsmount *hfsmp, struct jnl_trim_list *list)
589 static void hfs_unmap_alloc_extent(struct hfsmount *hfsmp, u_int32_t startingBlock, u_int32_t numBlocks)
636 ; arg - The hfsmount of the volume containing the extents.
647 struct hfsmount *hfsmp = arg;
698 CheckUnmappedBytes (struct hfsmount *hfsmp, uint64_t blockno, uint64_t numblocks, int *recently_freed, uint32_t *overlap_end) {
770 u_int32_t ScanUnmapBlocks (struct hfsmount *hfsmp)
910 struct hfsmount *hfsmp;
1235 struct hfsmount *hfsmp;
1391 struct hfsmount *hfsmp = VCBTOHFS(vcb);
1497 static OSErr ReadBitmapRange(struct hfsmount *hfsmp, uint32_t offset,
1591 struct hfsmount *hfsmp = VCBTOHFS(vcb);
1689 struct hfsmount *hfsmp = VCBTOHFS(vcb);
1851 struct hfsmount *hfsmp;
1854 hfsmp = (struct hfsmount*)vcb;
1920 struct hfsmount *hfsmp = VCBTOHFS(vcb);
2200 struct hfsmount *hfsmp = VCBTOHFS(vcb);
2270 struct hfsmount *hfsmp;
2316 struct hfsmount *hfsmp = VCBTOHFS(vcb);
2493 struct hfsmount *hfsmp;
2527 struct hfsmount *hfsmp = VCBTOHFS(vcb);
2630 struct hfsmount *hfsmp = VCBTOHFS(vcb);
2894 struct hfsmount *hfsmp = (struct hfsmount*) vcb;
3318 hfs_isallocated_internal(struct hfsmount *hfsmp, u_int32_t startingBlock,
3465 hfs_count_allocated(struct hfsmount *hfsmp, u_int32_t startBlock,
3488 hfs_isallocated(struct hfsmount *hfsmp, u_int32_t startingBlock, u_int32_t numBlocks)
3517 hfs_isrbtree_active(struct hfsmount *hfsmp){
3550 static int hfs_check_summary (struct hfsmount *hfsmp, uint32_t allocblock, uint32_t *freeblocks) {
3593 * Inputs: hfsmount, starting allocation block number
3603 hfs_get_next_summary (struct hfsmount *hfsmp, uint32_t block, uint32_t *newblock) {
3650 static int hfs_release_summary(struct hfsmount *hfsmp, uint32_t start_blk, uint32_t length) {
3703 int hfs_find_summary_free (struct hfsmount *hfsmp, uint32_t block, uint32_t *newblock) {
3809 int hfs_get_summary_allocblock (struct hfsmount *hfsmp, uint32_t
3846 static int hfs_set_summary (struct hfsmount *hfsmp, uint32_t summarybit, uint32_t inuse) {
3889 static int hfs_get_summary_index (struct hfsmount *hfsmp, uint32_t block, uint32_t* index) {
3927 hfs_init_summary (struct hfsmount *hfsmp) {
4032 static int hfs_rebuild_summary (struct hfsmount *hfsmp) {
4121 void hfs_validate_summary (struct hfsmount *hfsmp) {
4247 static int hfs_alloc_scan_range(struct hfsmount *hfsmp, u_int32_t startbit,
4514 * hfsmp -- hfsmount to look at
4523 static int hfs_scan_range_size (struct hfsmount *hfsmp, uint32_t bitmap_st, uint32_t *iosize) {
4614 int hfs_isallocated_scan(struct hfsmount *hfsmp, u_int32_t startingBlock, u_int32_t *bp_buf) {
4685 * free extent cache stored in the hfsmount struct.
4696 void ResetVCBFreeExtCache(struct hfsmount *hfsmp)
4742 u_int32_t UpdateAllocLimit (struct hfsmount *hfsmp, u_int32_t new_end_block) {
4778 static void remove_free_extent_list(struct hfsmount *hfsmp, int index)
4814 static int add_free_extent_list(struct hfsmount *hfsmp, u_int32_t startBlock, u_int32_t blockCount)
4890 static void remove_free_extent_cache(struct hfsmount *hfsmp, u_int32_t startBlock, u_int32_t blockCount)
5010 static Boolean add_free_extent_cache(struct hfsmount *hfsmp, u_int32_t startBlock, u_int32_t blockCount)
5075 static void sanity_check_free_ext(struct hfsmount *hfsmp, int check_allocated)