linux/fs/coda/inode.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Super block/filesystem wide operations
 *
 * Copyright (C) 1996 Peter J. Braam <[email protected]> and 
 * Michael Callahan <[email protected]> 
 * 
 * Rewritten for Linux 2.1.  Peter Braam <[email protected]>
 * Copyright (C) Carnegie Mellon University
 */

#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/string.h>
#include <linux/stat.h>
#include <linux/errno.h>
#include <linux/unistd.h>
#include <linux/mutex.h>
#include <linux/spinlock.h>
#include <linux/file.h>
#include <linux/vfs.h>
#include <linux/slab.h>
#include <linux/pid_namespace.h>
#include <linux/uaccess.h>
#include <linux/fs.h>
#include <linux/fs_context.h>
#include <linux/fs_parser.h>
#include <linux/vmalloc.h>

#include <linux/coda.h>
#include "coda_psdev.h"
#include "coda_linux.h"
#include "coda_cache.h"

#include "coda_int.h"

/* VFS super_block ops */
static void coda_evict_inode(struct inode *);
static void coda_put_super(struct super_block *);
static int coda_statfs(struct dentry *dentry, struct kstatfs *buf);

static struct kmem_cache * coda_inode_cachep;

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

static void coda_free_inode(struct inode *inode)
{}

static void init_once(void *foo)
{}

int __init coda_init_inodecache(void)
{}

void coda_destroy_inodecache(void)
{}

static int coda_reconfigure(struct fs_context *fc)
{}

/* exported operations */
static const struct super_operations coda_super_operations =;

struct coda_fs_context {};

enum {};

static const struct fs_parameter_spec coda_param_specs[] =;

static int coda_parse_fd(struct fs_context *fc, int fd)
{}

static int coda_parse_param(struct fs_context *fc, struct fs_parameter *param)
{}

/*
 * Parse coda's binary mount data form.  We ignore any errors and go with index
 * 0 if we get one for backward compatibility.
 */
static int coda_parse_monolithic(struct fs_context *fc, void *_data)
{}

static int coda_fill_super(struct super_block *sb, struct fs_context *fc)
{}

static void coda_put_super(struct super_block *sb)
{}

static void coda_evict_inode(struct inode *inode)
{}

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

int coda_setattr(struct mnt_idmap *idmap, struct dentry *de,
		 struct iattr *iattr)
{}

const struct inode_operations coda_file_inode_operations =;

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

static int coda_get_tree(struct fs_context *fc)
{}

static void coda_free_fc(struct fs_context *fc)
{}

static const struct fs_context_operations coda_context_ops =;

static int coda_init_fs_context(struct fs_context *fc)
{}

struct file_system_type coda_fs_type =;
MODULE_ALIAS_FS();