linux/fs/exfat/fatent.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Copyright (C) 2012-2013 Samsung Electronics Co., Ltd.
 */

#include <linux/slab.h>
#include <asm/unaligned.h>
#include <linux/buffer_head.h>
#include <linux/blkdev.h>

#include "exfat_raw.h"
#include "exfat_fs.h"

static int exfat_mirror_bh(struct super_block *sb, sector_t sec,
		struct buffer_head *bh)
{}

static int __exfat_ent_get(struct super_block *sb, unsigned int loc,
		unsigned int *content)
{}

int exfat_ent_set(struct super_block *sb, unsigned int loc,
		unsigned int content)
{}

int exfat_ent_get(struct super_block *sb, unsigned int loc,
		unsigned int *content)
{}

int exfat_chain_cont_cluster(struct super_block *sb, unsigned int chain,
		unsigned int len)
{}

/* This function must be called with bitmap_lock held */
static int __exfat_free_cluster(struct inode *inode, struct exfat_chain *p_chain)
{}

int exfat_free_cluster(struct inode *inode, struct exfat_chain *p_chain)
{}

int exfat_find_last_cluster(struct super_block *sb, struct exfat_chain *p_chain,
		unsigned int *ret_clu)
{}

int exfat_zeroed_cluster(struct inode *dir, unsigned int clu)
{}

int exfat_alloc_cluster(struct inode *inode, unsigned int num_alloc,
		struct exfat_chain *p_chain, bool sync_bmap)
{}

int exfat_count_num_clusters(struct super_block *sb,
		struct exfat_chain *p_chain, unsigned int *ret_count)
{}