linux/fs/minix/inode.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 *  linux/fs/minix/inode.c
 *
 *  Copyright (C) 1991, 1992  Linus Torvalds
 *
 *  Copyright (C) 1996  Gertjan van Wingerde
 *	Minix V2 fs support.
 *
 *  Modified for 680x0 by Andreas Schwab
 *  Updated to filesystem version 3 by Daniel Aragones
 */

#include <linux/module.h>
#include "minix.h"
#include <linux/buffer_head.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/highuid.h>
#include <linux/mpage.h>
#include <linux/vfs.h>
#include <linux/writeback.h>
#include <linux/fs_context.h>

static int minix_write_inode(struct inode *inode,
		struct writeback_control *wbc);
static int minix_statfs(struct dentry *dentry, struct kstatfs *buf);

static void minix_evict_inode(struct inode *inode)
{}

static void minix_put_super(struct super_block *sb)
{}

static struct kmem_cache * minix_inode_cachep;

static struct inode *minix_alloc_inode(struct super_block *sb)
{}

static void minix_free_in_core_inode(struct inode *inode)
{}

static void init_once(void *foo)
{}

static int __init init_inodecache(void)
{}

static void destroy_inodecache(void)
{}

static const struct super_operations minix_sops =;

static int minix_reconfigure(struct fs_context *fc)
{}

static bool minix_check_superblock(struct super_block *sb)
{}

static int minix_fill_super(struct super_block *s, struct fs_context *fc)
{}

static int minix_get_tree(struct fs_context *fc)
{}

static const struct fs_context_operations minix_context_ops =;

static int minix_init_fs_context(struct fs_context *fc)
{}

static int minix_statfs(struct dentry *dentry, struct kstatfs *buf)
{}

static int minix_get_block(struct inode *inode, sector_t block,
		    struct buffer_head *bh_result, int create)
{}

static int minix_writepages(struct address_space *mapping,
		struct writeback_control *wbc)
{}

static int minix_read_folio(struct file *file, struct folio *folio)
{}

int minix_prepare_chunk(struct page *page, loff_t pos, unsigned len)
{}

static void minix_write_failed(struct address_space *mapping, loff_t to)
{}

static int minix_write_begin(struct file *file, struct address_space *mapping,
			loff_t pos, unsigned len,
			struct page **pagep, void **fsdata)
{}

static sector_t minix_bmap(struct address_space *mapping, sector_t block)
{}

static const struct address_space_operations minix_aops =;

static const struct inode_operations minix_symlink_inode_operations =;

void minix_set_inode(struct inode *inode, dev_t rdev)
{}

/*
 * The minix V1 function to read an inode.
 */
static struct inode *V1_minix_iget(struct inode *inode)
{}

/*
 * The minix V2 function to read an inode.
 */
static struct inode *V2_minix_iget(struct inode *inode)
{}

/*
 * The global function to read an inode.
 */
struct inode *minix_iget(struct super_block *sb, unsigned long ino)
{}

/*
 * The minix V1 function to synchronize an inode.
 */
static struct buffer_head * V1_minix_update_inode(struct inode * inode)
{}

/*
 * The minix V2 function to synchronize an inode.
 */
static struct buffer_head * V2_minix_update_inode(struct inode * inode)
{}

static int minix_write_inode(struct inode *inode, struct writeback_control *wbc)
{}

int minix_getattr(struct mnt_idmap *idmap, const struct path *path,
		  struct kstat *stat, u32 request_mask, unsigned int flags)
{}

/*
 * The function that is called for file truncation.
 */
void minix_truncate(struct inode * inode)
{}

static struct file_system_type minix_fs_type =;
MODULE_ALIAS_FS();

static int __init init_minix_fs(void)
{}

static void __exit exit_minix_fs(void)
{}

module_init()
module_exit()
MODULE_DESCRIPTION();
MODULE_LICENSE();