linux/fs/qnx4/inode.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * QNX4 file system, Linux implementation.
 *
 * Version : 0.2.1
 *
 * Using parts of the xiafs filesystem.
 *
 * History :
 *
 * 01-06-1998 by Richard Frowijn : first release.
 * 20-06-1998 by Frank Denis : Linux 2.1.99+ support, boot signature, misc.
 * 30-06-1998 by Frank Denis : first step to write inodes.
 */

#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/highuid.h>
#include <linux/pagemap.h>
#include <linux/buffer_head.h>
#include <linux/writeback.h>
#include <linux/statfs.h>
#include <linux/fs_context.h>
#include "qnx4.h"

#define QNX4_VERSION
#define QNX4_BMNAME

static const struct super_operations qnx4_sops;

static struct inode *qnx4_alloc_inode(struct super_block *sb);
static void qnx4_free_inode(struct inode *inode);
static int qnx4_statfs(struct dentry *, struct kstatfs *);
static int qnx4_get_tree(struct fs_context *fc);

static const struct super_operations qnx4_sops =;

static int qnx4_reconfigure(struct fs_context *fc)
{}

static const struct fs_context_operations qnx4_context_opts =;

static int qnx4_get_block( struct inode *inode, sector_t iblock, struct buffer_head *bh, int create )
{}

static inline u32 try_extent(qnx4_xtnt_t *extent, u32 *offset)
{}

unsigned long qnx4_block_map( struct inode *inode, long iblock )
{}

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

/*
 * Check the root directory of the filesystem to make sure
 * it really _is_ a qnx4 filesystem, and to check the size
 * of the directory entry.
 */
static const char *qnx4_checkroot(struct super_block *sb,
				  struct qnx4_super_block *s)
{}

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

static int qnx4_get_tree(struct fs_context *fc)
{}

static int qnx4_init_fs_context(struct fs_context *fc)
{}

static void qnx4_kill_sb(struct super_block *sb)
{}

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

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

static const struct address_space_operations qnx4_aops =;

struct inode *qnx4_iget(struct super_block *sb, unsigned long ino)
{}

static struct kmem_cache *qnx4_inode_cachep;

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

static void qnx4_free_inode(struct inode *inode)
{}

static void init_once(void *foo)
{}

static int init_inodecache(void)
{}

static void destroy_inodecache(void)
{}

static struct file_system_type qnx4_fs_type =;
MODULE_ALIAS_FS();

static int __init init_qnx4_fs(void)
{}

static void __exit exit_qnx4_fs(void)
{}

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