// SPDX-License-Identifier: GPL-2.0 /* * linux/fs/hfsplus/bitmap.c * * Copyright (C) 2001 * Brad Boyer ([email protected]) * (C) 2003 Ardis Technologies <[email protected]> * * Handling of allocation file */ #include <linux/pagemap.h> #include "hfsplus_fs.h" #include "hfsplus_raw.h" #define PAGE_CACHE_BITS … int hfsplus_block_allocate(struct super_block *sb, u32 size, u32 offset, u32 *max) { … } int hfsplus_block_free(struct super_block *sb, u32 offset, u32 count) { … }