Linux Kernel
3.7.1
|
#include <linux/compiler.h>
#include <linux/kernel.h>
#include <linux/fs.h>
#include <linux/pagemap.h>
#include <linux/skbuff.h>
#include <linux/rxrpc.h>
#include <linux/key.h>
#include <linux/workqueue.h>
#include <linux/sched.h>
#include <linux/fscache.h>
#include <linux/backing-dev.h>
#include "afs.h"
#include "afs_vl.h"
Go to the source code of this file.
Data Structures | |
struct | afs_mount_params |
struct | afs_wait_mode |
struct | afs_call |
struct | afs_call_type |
struct | afs_writeback |
struct | afs_super_info |
struct | afs_cache_cell |
struct | afs_cell |
struct | afs_cache_vlocation |
struct | afs_cache_vhash |
struct | afs_vlocation |
struct | afs_server |
struct | afs_volume |
struct | afs_cache_vnode |
struct | afs_vnode |
struct | afs_permit |
struct | afs_permits |
struct | afs_interface |
struct | afs_uuid |
Macros | |
#define | AFS_CELL_MAX_ADDRS 15 |
#define | AFS_VOL_VTM_RW 0x01 /* R/W version of the volume is available (on this server) */ |
#define | AFS_VOL_VTM_RO 0x02 /* R/O version of the volume is available (on this server) */ |
#define | AFS_VOL_VTM_BAK 0x04 /* backup version of the volume is available (on this server) */ |
#define | AFS_VNODE_CB_BROKEN 0 /* set if vnode's callback was broken */ |
#define | AFS_VNODE_UNSET 1 /* set if vnode attributes not yet set */ |
#define | AFS_VNODE_MODIFIED 2 /* set if vnode's data modified */ |
#define | AFS_VNODE_ZAP_DATA 3 /* set if vnode's data should be invalidated */ |
#define | AFS_VNODE_DELETED 4 /* set if vnode deleted on server */ |
#define | AFS_VNODE_MOUNTPOINT 5 /* set if vnode is a mountpoint symlink */ |
#define | AFS_VNODE_LOCKING 6 /* set if waiting for lock on vnode */ |
#define | AFS_VNODE_READLOCKED 7 /* set if vnode is read-locked on the server */ |
#define | AFS_VNODE_WRITELOCKED 8 /* set if vnode is write-locked on the server */ |
#define | AFS_VNODE_UNLOCKING 9 /* set if vnode is being unlocked on the server */ |
#define | AFS_VNODE_AUTOCELL 10 /* set if Vnode is an auto mount point */ |
#define | AFS_VNODE_PSEUDODIR 11 /* set if Vnode is a pseudo directory */ |
#define | AFS_UUID_TO_UNIX_TIME 0x01b21dd213814000ULL |
#define | AFS_UUID_TIMEHI_MASK 0x0fff |
#define | AFS_UUID_VERSION_TIME 0x1000 /* time-based UUID */ |
#define | AFS_UUID_VERSION_NAME 0x3000 /* name-based UUID */ |
#define | AFS_UUID_VERSION_RANDOM 0x4000 /* (pseudo-)random generated UUID */ |
#define | AFS_UUID_CLOCKHI_MASK 0x3f |
#define | AFS_UUID_VARIANT_STD 0x80 |
#define | afs_cell_cache_index_def (*(struct fscache_cookie_def *) NULL) |
#define | afs_vlocation_cache_index_def (*(struct fscache_cookie_def *) NULL) |
#define | afs_volume_cache_index_def (*(struct fscache_cookie_def *) NULL) |
#define | afs_vnode_cache_index_def (*(struct fscache_cookie_def *) NULL) |
#define | afs_get_cell(C) do { atomic_inc(&(C)->usage); } while(0) |
#define | afs_get_server(S) |
#define | afs_get_vlocation(V) do { atomic_inc(&(V)->usage); } while(0) |
#define | afs_get_volume(V) do { atomic_inc(&(V)->usage); } while(0) |
#define | dbgprintk(FMT,...) printk("[%-6.6s] "FMT"\n", current->comm ,##__VA_ARGS__) |
#define | kenter(FMT,...) dbgprintk("==> %s("FMT")",__func__ ,##__VA_ARGS__) |
#define | kleave(FMT,...) dbgprintk("<== %s()"FMT"",__func__ ,##__VA_ARGS__) |
#define | kdebug(FMT,...) dbgprintk(" "FMT ,##__VA_ARGS__) |
#define | _enter(FMT,...) no_printk("==> %s("FMT")",__func__ ,##__VA_ARGS__) |
#define | _leave(FMT,...) no_printk("<== %s()"FMT"",__func__ ,##__VA_ARGS__) |
#define | _debug(FMT,...) no_printk(" "FMT ,##__VA_ARGS__) |
#define | ASSERT(X) |
#define | ASSERTCMP(X, OP, Y) |
#define | ASSERTRANGE(L, OP1, N, OP2, H) |
#define | ASSERTIF(C, X) |
#define | ASSERTIFCMP(C, X, OP, Y) |
#define _debug | ( | FMT, | |
... | |||
) | no_printk(" "FMT ,##__VA_ARGS__) |
Definition at line 801 of file internal.h.
#define _enter | ( | FMT, | |
... | |||
) | no_printk("==> %s("FMT")",__func__ ,##__VA_ARGS__) |
Definition at line 799 of file internal.h.
#define _leave | ( | FMT, | |
... | |||
) | no_printk("<== %s()"FMT"",__func__ ,##__VA_ARGS__) |
Definition at line 800 of file internal.h.
#define afs_cell_cache_index_def (*(struct fscache_cookie_def *) NULL) |
Definition at line 446 of file internal.h.
#define AFS_CELL_MAX_ADDRS 15 |
Definition at line 27 of file internal.h.
#define afs_get_cell | ( | C | ) | do { atomic_inc(&(C)->usage); } while(0) |
Definition at line 472 of file internal.h.
#define afs_get_server | ( | S | ) |
Definition at line 637 of file internal.h.
#define afs_get_vlocation | ( | V | ) | do { atomic_inc(&(V)->usage); } while(0) |
Definition at line 675 of file internal.h.
#define afs_get_volume | ( | V | ) | do { atomic_inc(&(V)->usage); } while(0) |
Definition at line 728 of file internal.h.
#define AFS_UUID_CLOCKHI_MASK 0x3f |
Definition at line 429 of file internal.h.
#define AFS_UUID_TIMEHI_MASK 0x0fff |
Definition at line 424 of file internal.h.
#define AFS_UUID_TO_UNIX_TIME 0x01b21dd213814000ULL |
Definition at line 423 of file internal.h.
#define AFS_UUID_VARIANT_STD 0x80 |
Definition at line 430 of file internal.h.
#define AFS_UUID_VERSION_NAME 0x3000 /* name-based UUID */ |
Definition at line 426 of file internal.h.
#define AFS_UUID_VERSION_RANDOM 0x4000 /* (pseudo-)random generated UUID */ |
Definition at line 427 of file internal.h.
#define AFS_UUID_VERSION_TIME 0x1000 /* time-based UUID */ |
Definition at line 425 of file internal.h.
#define afs_vlocation_cache_index_def (*(struct fscache_cookie_def *) NULL) |
Definition at line 447 of file internal.h.
Definition at line 362 of file internal.h.
#define afs_vnode_cache_index_def (*(struct fscache_cookie_def *) NULL) |
Definition at line 449 of file internal.h.
Definition at line 352 of file internal.h.
Definition at line 356 of file internal.h.
Definition at line 358 of file internal.h.
Definition at line 354 of file internal.h.
Definition at line 357 of file internal.h.
Definition at line 363 of file internal.h.
Definition at line 359 of file internal.h.
Definition at line 361 of file internal.h.
#define AFS_VNODE_UNSET 1 /* set if vnode attributes not yet set */ |
Definition at line 353 of file internal.h.
Definition at line 360 of file internal.h.
Definition at line 355 of file internal.h.
#define AFS_VOL_VTM_BAK 0x04 /* backup version of the volume is available (on this server) */ |
Definition at line 230 of file internal.h.
#define AFS_VOL_VTM_RO 0x02 /* R/O version of the volume is available (on this server) */ |
Definition at line 229 of file internal.h.
#define AFS_VOL_VTM_RW 0x01 /* R/W version of the volume is available (on this server) */ |
Definition at line 228 of file internal.h.
#define afs_volume_cache_index_def (*(struct fscache_cookie_def *) NULL) |
Definition at line 448 of file internal.h.
#define ASSERT | ( | X | ) |
Definition at line 818 of file internal.h.
Definition at line 855 of file internal.h.
Definition at line 831 of file internal.h.
#define dbgprintk | ( | FMT, | |
... | |||
) | printk("[%-6.6s] "FMT"\n", current->comm ,##__VA_ARGS__) |
Definition at line 762 of file internal.h.
#define kdebug | ( | FMT, | |
... | |||
) | dbgprintk(" "FMT ,##__VA_ARGS__) |
Definition at line 767 of file internal.h.
#define kenter | ( | FMT, | |
... | |||
) | dbgprintk("==> %s("FMT")",__func__ ,##__VA_ARGS__) |
Definition at line 765 of file internal.h.
#define kleave | ( | FMT, | |
... | |||
) | dbgprintk("<== %s()"FMT"",__func__ ,##__VA_ARGS__) |
Definition at line 766 of file internal.h.
enum __attribute__ |
Definition at line 32 of file internal.h.
|
read |
mcontroller : adapter info structure for old mimd_t apps
: base address : irq number : number of logical drives : pci bus : pci device : pci function : pci id : vendor id : slot number : unique id
Definition at line 171 of file esd_usb2.c.
void afs_break_callbacks | ( | struct afs_server * | , |
size_t | , | ||
struct afs_callback | [] | ||
) |
Definition at line 194 of file callback.c.
void afs_broken_callback_work | ( | struct work_struct * | ) |
Definition at line 63 of file callback.c.
Definition at line 129 of file security.c.
Definition at line 462 of file callback.c.
Definition at line 472 of file callback.c.
Definition at line 109 of file security.c.
Definition at line 99 of file cmservice.c.
Definition at line 262 of file callback.c.
void afs_dispatch_give_up_callbacks | ( | struct work_struct * | ) |
Definition at line 334 of file callback.c.
|
read |
void afs_flush_callback_breaks | ( | struct afs_server * | ) |
Definition at line 352 of file callback.c.
int afs_fs_create | ( | struct afs_server * | , |
struct key * | , | ||
struct afs_vnode * | , | ||
const char * | , | ||
umode_t | , | ||
struct afs_fid * | , | ||
struct afs_file_status * | , | ||
struct afs_callback * | , | ||
const struct afs_wait_mode * | |||
) |
Definition at line 654 of file fsclient.c.
int afs_fs_extend_lock | ( | struct afs_server * | , |
struct key * | , | ||
struct afs_vnode * | , | ||
const struct afs_wait_mode * | |||
) |
Definition at line 1846 of file fsclient.c.
int afs_fs_fetch_data | ( | struct afs_server * | , |
struct key * | , | ||
struct afs_vnode * | , | ||
off_t | , | ||
size_t | , | ||
struct page * | , | ||
const struct afs_wait_mode * | |||
) |
Definition at line 486 of file fsclient.c.
int afs_fs_fetch_file_status | ( | struct afs_server * | , |
struct key * | , | ||
struct afs_vnode * | , | ||
struct afs_volsync * | , | ||
const struct afs_wait_mode * | |||
) |
Definition at line 271 of file fsclient.c.
int afs_fs_get_volume_status | ( | struct afs_server * | , |
struct key * | , | ||
struct afs_vnode * | , | ||
struct afs_volume_status * | , | ||
const struct afs_wait_mode * | |||
) |
Definition at line 1717 of file fsclient.c.
int afs_fs_give_up_callbacks | ( | struct afs_server * | , |
const struct afs_wait_mode * | |||
) |
Definition at line 553 of file fsclient.c.
int afs_fs_link | ( | struct afs_server * | , |
struct key * | , | ||
struct afs_vnode * | , | ||
struct afs_vnode * | , | ||
const char * | , | ||
const struct afs_wait_mode * | |||
) |
Definition at line 834 of file fsclient.c.
int afs_fs_release_lock | ( | struct afs_server * | , |
struct key * | , | ||
struct afs_vnode * | , | ||
const struct afs_wait_mode * | |||
) |
Definition at line 1878 of file fsclient.c.
int afs_fs_remove | ( | struct afs_server * | , |
struct key * | , | ||
struct afs_vnode * | , | ||
const char * | , | ||
bool | , | ||
const struct afs_wait_mode * | |||
) |
Definition at line 750 of file fsclient.c.
int afs_fs_rename | ( | struct afs_server * | , |
struct key * | , | ||
struct afs_vnode * | , | ||
const char * | , | ||
struct afs_vnode * | , | ||
const char * | , | ||
const struct afs_wait_mode * | |||
) |
Definition at line 1031 of file fsclient.c.
int afs_fs_set_lock | ( | struct afs_server * | , |
struct key * | , | ||
struct afs_vnode * | , | ||
afs_lock_type_t | , | ||
const struct afs_wait_mode * | |||
) |
Definition at line 1812 of file fsclient.c.
int afs_fs_setattr | ( | struct afs_server * | , |
struct key * | , | ||
struct afs_vnode * | , | ||
struct iattr * | , | ||
const struct afs_wait_mode * | |||
) |
Definition at line 1441 of file fsclient.c.
int afs_fs_store_data | ( | struct afs_server * | , |
struct afs_writeback * | , | ||
pgoff_t | , | ||
pgoff_t | , | ||
unsigned | , | ||
unsigned | , | ||
const struct afs_wait_mode * | |||
) |
Definition at line 1209 of file fsclient.c.
int afs_fs_symlink | ( | struct afs_server * | , |
struct key * | , | ||
struct afs_vnode * | , | ||
const char * | , | ||
const char * | , | ||
struct afs_fid * | , | ||
struct afs_file_status * | , | ||
const struct afs_wait_mode * | |||
) |
Definition at line 923 of file fsclient.c.
int afs_get_ipv4_interfaces | ( | struct afs_interface * | , |
size_t | , | ||
bool | |||
) |
Definition at line 40 of file netdevices.c.
Definition at line 18 of file netdevices.c.
Definition at line 289 of file callback.c.
|
read |
void afs_init_callback_state | ( | struct afs_server * | ) |
Definition at line 38 of file callback.c.
void afs_lock_work | ( | struct work_struct * | ) |
void afs_put_server | ( | struct afs_server * | ) |
void afs_put_vlocation | ( | struct afs_vlocation * | ) |
Definition at line 491 of file vlocation.c.
void afs_put_volume | ( | struct afs_volume * | ) |
void afs_put_writeback | ( | struct afs_writeback * | ) |
int afs_vl_get_entry_by_id | ( | struct in_addr * | , |
struct key * | , | ||
afs_volid_t | , | ||
afs_voltype_t | , | ||
struct afs_cache_vlocation * | , | ||
const struct afs_wait_mode * | |||
) |
Definition at line 190 of file vlclient.c.
int afs_vl_get_entry_by_name | ( | struct in_addr * | , |
struct key * | , | ||
const char * | , | ||
struct afs_cache_vlocation * | , | ||
const struct afs_wait_mode * | |||
) |
Definition at line 150 of file vlclient.c.
|
read |
Definition at line 373 of file vlocation.c.
Definition at line 605 of file vlocation.c.
Definition at line 595 of file vlocation.c.
void afs_vnode_finalise_status_update | ( | struct afs_vnode * | , |
struct afs_server * | |||
) |
int afs_vnode_store_data | ( | struct afs_writeback * | , |
pgoff_t | , | ||
pgoff_t | , | ||
unsigned | , | ||
unsigned | |||
) |
|
read |
|
read |
int afs_writepage | ( | struct page * | , |
struct writeback_control * | |||
) |
int afs_writepages | ( | struct address_space * | , |
struct writeback_control * | |||
) |
Definition at line 51 of file security.c.
struct afs_wait_mode afs_async_call |
struct inode_operations afs_autocell_inode_operations |
struct file_operations afs_dir_file_operations |
struct inode_operations afs_dir_inode_operations |
struct inode_operations afs_file_inode_operations |
struct file_operations afs_file_operations |
struct address_space_operations afs_fs_aops |
struct dentry_operations afs_fs_dentry_operations |
struct file_system_type afs_fs_type |
struct file_operations afs_mntpt_file_operations |
struct inode_operations afs_mntpt_inode_operations |
struct rw_semaphore afs_proc_cells_sem |
spinlock_t afs_server_peer_lock |
struct afs_wait_mode afs_sync_call |
AFS_WBACK_COMPLETE |
Definition at line 164 of file internal.h.
AFS_WBACK_CONFLICTING |
Definition at line 164 of file internal.h.
AFS_WBACK_PENDING |
Definition at line 164 of file internal.h.
AFS_WBACK_SYNCING |
Definition at line 164 of file internal.h.
AFS_WBACK_WRITING |
Definition at line 164 of file internal.h.
struct workqueue_struct* afs_wq |
Definition at line 245 of file internal.h.
afs_voltype_t vtype |
Definition at line 244 of file internal.h.