Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
inode.c File Reference
#include <linux/fs.h>
#include <linux/stat.h>
#include <linux/slab.h>
#include <linux/pagemap.h>
#include <asm/div64.h>
#include "cifsfs.h"
#include "cifspdu.h"
#include "cifsglob.h"
#include "cifsproto.h"
#include "cifs_debug.h"
#include "cifs_fs_sb.h"
#include "fscache.h"

Go to the source code of this file.

Macros

#define SFBITS_MASK   (S_ISVTX | S_ISGID | S_ISUID) /* SETFILEBITS valid bits */
 

Functions

void cifs_fattr_to_inode (struct inode *inode, struct cifs_fattr *fattr)
 
void cifs_fill_uniqueid (struct super_block *sb, struct cifs_fattr *fattr)
 
void cifs_unix_basic_to_fattr (struct cifs_fattr *fattr, FILE_UNIX_BASIC_INFO *info, struct cifs_sb_info *cifs_sb)
 
int cifs_get_inode_info_unix (struct inode **pinode, const unsigned char *full_path, struct super_block *sb, unsigned int xid)
 
int cifs_get_inode_info (struct inode **inode, const char *full_path, FILE_ALL_INFO *data, struct super_block *sb, int xid, const __u16 *fid)
 
struct inodecifs_iget (struct super_block *sb, struct cifs_fattr *fattr)
 
struct inodecifs_root_iget (struct super_block *sb)
 
int cifs_set_file_info (struct inode *inode, struct iattr *attrs, unsigned int xid, char *full_path, __u32 dosattr)
 
int cifs_rename_pending_delete (const char *full_path, struct dentry *dentry, const unsigned int xid)
 
int cifs_unlink (struct inode *dir, struct dentry *dentry)
 
int cifs_mkdir (struct inode *inode, struct dentry *direntry, umode_t mode)
 
int cifs_rmdir (struct inode *inode, struct dentry *direntry)
 
int cifs_rename (struct inode *source_dir, struct dentry *source_dentry, struct inode *target_dir, struct dentry *target_dentry)
 
int cifs_invalidate_mapping (struct inode *inode)
 
int cifs_revalidate_file_attr (struct file *filp)
 
int cifs_revalidate_dentry_attr (struct dentry *dentry)
 
int cifs_revalidate_file (struct file *filp)
 
int cifs_revalidate_dentry (struct dentry *dentry)
 
int cifs_getattr (struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat)
 
int cifs_setattr (struct dentry *direntry, struct iattr *attrs)
 

Macro Definition Documentation

#define SFBITS_MASK   (S_ISVTX | S_ISGID | S_ISUID) /* SETFILEBITS valid bits */

Definition at line 458 of file inode.c.

Function Documentation

void cifs_fattr_to_inode ( struct inode inode,
struct cifs_fattr fattr 
)

Definition at line 123 of file inode.c.

void cifs_fill_uniqueid ( struct super_block sb,
struct cifs_fattr fattr 
)

Definition at line 176 of file inode.c.

int cifs_get_inode_info ( struct inode **  inode,
const char full_path,
FILE_ALL_INFO *  data,
struct super_block sb,
int  xid,
const __u16 fid 
)

Definition at line 606 of file inode.c.

int cifs_get_inode_info_unix ( struct inode **  pinode,
const unsigned char full_path,
struct super_block sb,
unsigned int  xid 
)

Definition at line 311 of file inode.c.

int cifs_getattr ( struct vfsmount mnt,
struct dentry dentry,
struct kstat stat 
)

Definition at line 1764 of file inode.c.

struct inode* cifs_iget ( struct super_block sb,
struct cifs_fattr fattr 
)
read

Definition at line 824 of file inode.c.

int cifs_invalidate_mapping ( struct inode inode)

Definition at line 1658 of file inode.c.

int cifs_mkdir ( struct inode inode,
struct dentry direntry,
umode_t  mode 
)

Definition at line 1345 of file inode.c.

int cifs_rename ( struct inode source_dir,
struct dentry source_dentry,
struct inode target_dir,
struct dentry target_dentry 
)

Definition at line 1528 of file inode.c.

int cifs_rename_pending_delete ( const char full_path,
struct dentry dentry,
const unsigned int  xid 
)

Definition at line 970 of file inode.c.

int cifs_revalidate_dentry ( struct dentry dentry)

Definition at line 1750 of file inode.c.

int cifs_revalidate_dentry_attr ( struct dentry dentry)

Definition at line 1695 of file inode.c.

int cifs_revalidate_file ( struct file filp)

Definition at line 1735 of file inode.c.

int cifs_revalidate_file_attr ( struct file filp)

Definition at line 1678 of file inode.c.

int cifs_rmdir ( struct inode inode,
struct dentry direntry 
)

Definition at line 1408 of file inode.c.

struct inode* cifs_root_iget ( struct super_block sb)
read

Definition at line 868 of file inode.c.

int cifs_set_file_info ( struct inode inode,
struct iattr attrs,
unsigned int  xid,
char full_path,
__u32  dosattr 
)

Definition at line 916 of file inode.c.

int cifs_setattr ( struct dentry direntry,
struct iattr attrs 
)

Definition at line 2246 of file inode.c.

void cifs_unix_basic_to_fattr ( struct cifs_fattr fattr,
FILE_UNIX_BASIC_INFO *  info,
struct cifs_sb_info cifs_sb 
)

Definition at line 188 of file inode.c.

int cifs_unlink ( struct inode dir,
struct dentry dentry 
)

Definition at line 1097 of file inode.c.