linux/fs/jfs/inode.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 *   Copyright (C) International Business Machines Corp., 2000-2004
 *   Portions Copyright (C) Christoph Hellwig, 2001-2002
 */

#include <linux/fs.h>
#include <linux/mpage.h>
#include <linux/buffer_head.h>
#include <linux/pagemap.h>
#include <linux/quotaops.h>
#include <linux/uio.h>
#include <linux/writeback.h>
#include "jfs_incore.h"
#include "jfs_inode.h"
#include "jfs_filsys.h"
#include "jfs_imap.h"
#include "jfs_extent.h"
#include "jfs_unicode.h"
#include "jfs_debug.h"
#include "jfs_dmap.h"


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

/*
 * Workhorse of both fsync & write_inode
 */
int jfs_commit_inode(struct inode *inode, int wait)
{}

int jfs_write_inode(struct inode *inode, struct writeback_control *wbc)
{}

void jfs_evict_inode(struct inode *inode)
{}

void jfs_dirty_inode(struct inode *inode, int flags)
{}

int jfs_get_block(struct inode *ip, sector_t lblock,
		  struct buffer_head *bh_result, int create)
{}

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

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

static void jfs_readahead(struct readahead_control *rac)
{}

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

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

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

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

static ssize_t jfs_direct_IO(struct kiocb *iocb, struct iov_iter *iter)
{}

const struct address_space_operations jfs_aops =;

/*
 * Guts of jfs_truncate.  Called with locks already held.  Can be called
 * with directory for truncating directory index table.
 */
void jfs_truncate_nolock(struct inode *ip, loff_t length)
{}

void jfs_truncate(struct inode *ip)
{}