Linux Kernel
3.7.1
|
#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/fcntl.h>
#include <linux/time.h>
#include <linux/stat.h>
#include <linux/string.h>
#include <linux/buffer_head.h>
#include <linux/blkdev.h>
#include <linux/sched.h>
#include "ufs_fs.h"
#include "ufs.h"
#include "swab.h"
#include "util.h"
Go to the source code of this file.
Macros | |
#define | DIRECT_BLOCK ((inode->i_size + uspi->s_bsize - 1) >> uspi->s_bshift) |
#define | DIRECT_FRAGMENT ((inode->i_size + uspi->s_fsize - 1) >> uspi->s_fshift) |
Functions | |
int | ufs_truncate (struct inode *inode, loff_t old_i_size) |
int | ufs_setattr (struct dentry *dentry, struct iattr *attr) |
Variables | |
struct inode_operations | ufs_file_inode_operations |
#define DIRECT_BLOCK ((inode->i_size + uspi->s_bsize - 1) >> uspi->s_bshift) |
Definition at line 62 of file truncate.c.
#define DIRECT_FRAGMENT ((inode->i_size + uspi->s_fsize - 1) >> uspi->s_fshift) |
Definition at line 63 of file truncate.c.
Definition at line 493 of file truncate.c.
Definition at line 443 of file truncate.c.
struct inode_operations ufs_file_inode_operations |
Definition at line 521 of file truncate.c.