Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
fsclient.c File Reference
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/sched.h>
#include <linux/circ_buf.h>
#include "internal.h"
#include "afs_fs.h"

Go to the source code of this file.

Macros

#define EXTRACT(DST)
 

Functions

int afs_fs_fetch_file_status (struct afs_server *server, struct key *key, struct afs_vnode *vnode, struct afs_volsync *volsync, const struct afs_wait_mode *wait_mode)
 
int afs_fs_fetch_data (struct afs_server *server, struct key *key, struct afs_vnode *vnode, off_t offset, size_t length, struct page *buffer, const struct afs_wait_mode *wait_mode)
 
int afs_fs_give_up_callbacks (struct afs_server *server, const struct afs_wait_mode *wait_mode)
 
int afs_fs_create (struct afs_server *server, struct key *key, struct afs_vnode *vnode, const char *name, umode_t mode, struct afs_fid *newfid, struct afs_file_status *newstatus, struct afs_callback *newcb, const struct afs_wait_mode *wait_mode)
 
int afs_fs_remove (struct afs_server *server, struct key *key, struct afs_vnode *vnode, const char *name, bool isdir, const struct afs_wait_mode *wait_mode)
 
int afs_fs_link (struct afs_server *server, struct key *key, struct afs_vnode *dvnode, struct afs_vnode *vnode, const char *name, const struct afs_wait_mode *wait_mode)
 
int afs_fs_symlink (struct afs_server *server, struct key *key, struct afs_vnode *vnode, const char *name, const char *contents, struct afs_fid *newfid, struct afs_file_status *newstatus, const struct afs_wait_mode *wait_mode)
 
int afs_fs_rename (struct afs_server *server, struct key *key, struct afs_vnode *orig_dvnode, const char *orig_name, struct afs_vnode *new_dvnode, const char *new_name, const struct afs_wait_mode *wait_mode)
 
int afs_fs_store_data (struct afs_server *server, struct afs_writeback *wb, pgoff_t first, pgoff_t last, unsigned offset, unsigned to, const struct afs_wait_mode *wait_mode)
 
int afs_fs_setattr (struct afs_server *server, struct key *key, struct afs_vnode *vnode, struct iattr *attr, const struct afs_wait_mode *wait_mode)
 
int afs_fs_get_volume_status (struct afs_server *server, struct key *key, struct afs_vnode *vnode, struct afs_volume_status *vs, const struct afs_wait_mode *wait_mode)
 
int afs_fs_set_lock (struct afs_server *server, struct key *key, struct afs_vnode *vnode, afs_lock_type_t type, const struct afs_wait_mode *wait_mode)
 
int afs_fs_extend_lock (struct afs_server *server, struct key *key, struct afs_vnode *vnode, const struct afs_wait_mode *wait_mode)
 
int afs_fs_release_lock (struct afs_server *server, struct key *key, struct afs_vnode *vnode, const struct afs_wait_mode *wait_mode)
 

Macro Definition Documentation

#define EXTRACT (   DST)
Value:
do { \
u32 x = ntohl(*bp++); \
changed |= DST - x; \
DST = x; \
} while (0)

Function Documentation

int afs_fs_create ( struct afs_server server,
struct key key,
struct afs_vnode vnode,
const char name,
umode_t  mode,
struct afs_fid newfid,
struct afs_file_status newstatus,
struct afs_callback newcb,
const struct afs_wait_mode wait_mode 
)

Definition at line 654 of file fsclient.c.

int afs_fs_extend_lock ( struct afs_server server,
struct key key,
struct afs_vnode vnode,
const struct afs_wait_mode wait_mode 
)

Definition at line 1846 of file fsclient.c.

int afs_fs_fetch_data ( struct afs_server server,
struct key key,
struct afs_vnode vnode,
off_t  offset,
size_t  length,
struct page buffer,
const struct afs_wait_mode wait_mode 
)

Definition at line 486 of file fsclient.c.

int afs_fs_fetch_file_status ( struct afs_server server,
struct key key,
struct afs_vnode vnode,
struct afs_volsync volsync,
const struct afs_wait_mode wait_mode 
)

Definition at line 271 of file fsclient.c.

int afs_fs_get_volume_status ( struct afs_server server,
struct key key,
struct afs_vnode vnode,
struct afs_volume_status vs,
const struct afs_wait_mode wait_mode 
)

Definition at line 1717 of file fsclient.c.

int afs_fs_give_up_callbacks ( struct afs_server server,
const struct afs_wait_mode wait_mode 
)

Definition at line 553 of file fsclient.c.

int afs_fs_link ( struct afs_server server,
struct key key,
struct afs_vnode dvnode,
struct afs_vnode vnode,
const char name,
const struct afs_wait_mode wait_mode 
)

Definition at line 834 of file fsclient.c.

int afs_fs_release_lock ( struct afs_server server,
struct key key,
struct afs_vnode vnode,
const struct afs_wait_mode wait_mode 
)

Definition at line 1878 of file fsclient.c.

int afs_fs_remove ( struct afs_server server,
struct key key,
struct afs_vnode vnode,
const char name,
bool  isdir,
const struct afs_wait_mode wait_mode 
)

Definition at line 750 of file fsclient.c.

int afs_fs_rename ( struct afs_server server,
struct key key,
struct afs_vnode orig_dvnode,
const char orig_name,
struct afs_vnode new_dvnode,
const char new_name,
const struct afs_wait_mode wait_mode 
)

Definition at line 1031 of file fsclient.c.

int afs_fs_set_lock ( struct afs_server server,
struct key key,
struct afs_vnode vnode,
afs_lock_type_t  type,
const struct afs_wait_mode wait_mode 
)

Definition at line 1812 of file fsclient.c.

int afs_fs_setattr ( struct afs_server server,
struct key key,
struct afs_vnode vnode,
struct iattr attr,
const struct afs_wait_mode wait_mode 
)

Definition at line 1441 of file fsclient.c.

int afs_fs_store_data ( struct afs_server server,
struct afs_writeback wb,
pgoff_t  first,
pgoff_t  last,
unsigned  offset,
unsigned  to,
const struct afs_wait_mode wait_mode 
)

Definition at line 1209 of file fsclient.c.

int afs_fs_symlink ( struct afs_server server,
struct key key,
struct afs_vnode vnode,
const char name,
const char contents,
struct afs_fid newfid,
struct afs_file_status newstatus,
const struct afs_wait_mode wait_mode 
)

Definition at line 923 of file fsclient.c.