Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions | Variables
internal.h File Reference
#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)
 

Enumerations

enum  __attribute__ {
  DAC960_SenseKey_NoSense = 0x0, DAC960_SenseKey_RecoveredError = 0x1, DAC960_SenseKey_NotReady = 0x2, DAC960_SenseKey_MediumError = 0x3,
  DAC960_SenseKey_HardwareError = 0x4, DAC960_SenseKey_IllegalRequest = 0x5, DAC960_SenseKey_UnitAttention = 0x6, DAC960_SenseKey_DataProtect = 0x7,
  DAC960_SenseKey_BlankCheck = 0x8, DAC960_SenseKey_VendorSpecific = 0x9, DAC960_SenseKey_CopyAborted = 0xA, DAC960_SenseKey_AbortedCommand = 0xB,
  DAC960_SenseKey_Equal = 0xC, DAC960_SenseKey_VolumeOverflow = 0xD, DAC960_SenseKey_Miscompare = 0xE, DAC960_SenseKey_Reserved = 0xF,
  DAC960_V1_ReadExtended = 0x33, DAC960_V1_WriteExtended = 0x34, DAC960_V1_ReadAheadExtended = 0x35, DAC960_V1_ReadExtendedWithScatterGather = 0xB3,
  DAC960_V1_WriteExtendedWithScatterGather = 0xB4, DAC960_V1_Read = 0x36, DAC960_V1_ReadWithScatterGather = 0xB6, DAC960_V1_Write = 0x37,
  DAC960_V1_WriteWithScatterGather = 0xB7, DAC960_V1_DCDB = 0x04, DAC960_V1_DCDBWithScatterGather = 0x84, DAC960_V1_Flush = 0x0A,
  DAC960_V1_Enquiry = 0x53, DAC960_V1_Enquiry2 = 0x1C, DAC960_V1_GetLogicalDriveElement = 0x55, DAC960_V1_GetLogicalDriveInformation = 0x19,
  DAC960_V1_IOPortRead = 0x39, DAC960_V1_IOPortWrite = 0x3A, DAC960_V1_GetSDStats = 0x3E, DAC960_V1_GetPDStats = 0x3F,
  DAC960_V1_PerformEventLogOperation = 0x72, DAC960_V1_StartDevice = 0x10, DAC960_V1_GetDeviceState = 0x50, DAC960_V1_StopChannel = 0x13,
  DAC960_V1_StartChannel = 0x12, DAC960_V1_ResetChannel = 0x1A, DAC960_V1_Rebuild = 0x09, DAC960_V1_RebuildAsync = 0x16,
  DAC960_V1_CheckConsistency = 0x0F, DAC960_V1_CheckConsistencyAsync = 0x1E, DAC960_V1_RebuildStat = 0x0C, DAC960_V1_GetRebuildProgress = 0x27,
  DAC960_V1_RebuildControl = 0x1F, DAC960_V1_ReadBadBlockTable = 0x0B, DAC960_V1_ReadBadDataTable = 0x25, DAC960_V1_ClearBadDataTable = 0x26,
  DAC960_V1_GetErrorTable = 0x17, DAC960_V1_AddCapacityAsync = 0x2A, DAC960_V1_BackgroundInitializationControl = 0x2B, DAC960_V1_ReadConfig2 = 0x3D,
  DAC960_V1_WriteConfig2 = 0x3C, DAC960_V1_ReadConfigurationOnDisk = 0x4A, DAC960_V1_WriteConfigurationOnDisk = 0x4B, DAC960_V1_ReadConfiguration = 0x4E,
  DAC960_V1_ReadBackupConfiguration = 0x4D, DAC960_V1_WriteConfiguration = 0x4F, DAC960_V1_AddConfiguration = 0x4C, DAC960_V1_ReadConfigurationLabel = 0x48,
  DAC960_V1_WriteConfigurationLabel = 0x49, DAC960_V1_LoadImage = 0x20, DAC960_V1_StoreImage = 0x21, DAC960_V1_ProgramImage = 0x22,
  DAC960_V1_SetDiagnosticMode = 0x31, DAC960_V1_RunDiagnostic = 0x32, DAC960_V1_GetSubsystemData = 0x70, DAC960_V1_SetSubsystemParameters = 0x71,
  DAC960_V1_Enquiry_Old = 0x05, DAC960_V1_GetDeviceState_Old = 0x14, DAC960_V1_Read_Old = 0x02, DAC960_V1_Write_Old = 0x03,
  DAC960_V1_ReadWithScatterGather_Old = 0x82, DAC960_V1_WriteWithScatterGather_Old = 0x83, DAC960_V1_LogicalDrive_Online = 0x03, DAC960_V1_LogicalDrive_Critical = 0x04,
  DAC960_V1_LogicalDrive_Offline = 0xFF, DAC960_V1_GetEventLogEntry = 0x00, DAC960_V1_Device_Dead = 0x00, DAC960_V1_Device_WriteOnly = 0x02,
  DAC960_V1_Device_Online = 0x03, DAC960_V1_Device_Standby = 0x10, DAC960_V2_MemCopy = 0x01, DAC960_V2_SCSI_10_Passthru = 0x02,
  DAC960_V2_SCSI_255_Passthru = 0x03, DAC960_V2_SCSI_10 = 0x04, DAC960_V2_SCSI_256 = 0x05, DAC960_V2_IOCTL = 0x20,
  DAC960_V2_GetControllerInfo = 0x01, DAC960_V2_GetLogicalDeviceInfoValid = 0x03, DAC960_V2_GetPhysicalDeviceInfoValid = 0x05, DAC960_V2_GetHealthStatus = 0x11,
  DAC960_V2_GetEvent = 0x15, DAC960_V2_StartDiscovery = 0x81, DAC960_V2_SetDeviceState = 0x82, DAC960_V2_RebuildDeviceStart = 0x88,
  DAC960_V2_RebuildDeviceStop = 0x89, DAC960_V2_ConsistencyCheckStart = 0x8C, DAC960_V2_ConsistencyCheckStop = 0x8D, DAC960_V2_SetMemoryMailbox = 0x8E,
  DAC960_V2_PauseDevice = 0x92, DAC960_V2_TranslatePhysicalToLogicalDevice = 0xC5, DAC960_V2_ProcessorType_i960CA = 0x01, DAC960_V2_ProcessorType_i960RD = 0x02,
  DAC960_V2_ProcessorType_i960RN = 0x03, DAC960_V2_ProcessorType_i960RP = 0x04, DAC960_V2_ProcessorType_NorthBay = 0x05, DAC960_V2_ProcessorType_StrongArm = 0x06,
  DAC960_V2_ProcessorType_i960RM = 0x07, DAC960_V2_LogicalDevice_Online = 0x01, DAC960_V2_LogicalDevice_Offline = 0x08, DAC960_V2_LogicalDevice_Critical = 0x09,
  DAC960_V2_Device_Unconfigured = 0x00, DAC960_V2_Device_Online = 0x01, DAC960_V2_Device_Rebuild = 0x03, DAC960_V2_Device_Missing = 0x04,
  DAC960_V2_Device_Critical = 0x05, DAC960_V2_Device_Dead = 0x08, DAC960_V2_Device_SuspectedDead = 0x0C, DAC960_V2_Device_CommandedOffline = 0x10,
  DAC960_V2_Device_Standby = 0x21, DAC960_V2_Device_InvalidState = 0xFF, DAC960_V2_Physical_Device = 0x00, DAC960_V2_RAID_Device = 0x01,
  DAC960_V2_Physical_Channel = 0x02, DAC960_V2_RAID_Channel = 0x03, DAC960_V2_Physical_Controller = 0x04, DAC960_V2_RAID_Controller = 0x05,
  DAC960_V2_Configuration_Group = 0x10, DAC960_V2_Enclosure = 0x11, AFSVL_RWVOL, AFSVL_ROVOL,
  AFSVL_BACKVOL, AFS_VL_NEW, AFS_VL_CREATING, AFS_VL_VALID,
  AFS_VL_NO_VOLUME, AFS_VL_UPDATING, AFS_VL_VOLUME_DELETED, AFS_VL_UNCERTAIN
}
 

Functions

struct afs_cache_vhash __attribute__ ((packed))
 
void afs_init_callback_state (struct afs_server *)
 
void afs_broken_callback_work (struct work_struct *)
 
void afs_break_callbacks (struct afs_server *, size_t, struct afs_callback[])
 
void afs_discard_callback_on_delete (struct afs_vnode *)
 
void afs_give_up_callback (struct afs_vnode *)
 
void afs_dispatch_give_up_callbacks (struct work_struct *)
 
void afs_flush_callback_breaks (struct afs_server *)
 
int __init afs_callback_update_init (void)
 
void afs_callback_update_kill (void)
 
int afs_cell_init (char *)
 
struct afs_cellafs_cell_create (const char *, unsigned, char *, bool)
 
struct afs_cellafs_cell_lookup (const char *, unsigned, bool)
 
struct afs_cellafs_grab_cell (struct afs_cell *)
 
void afs_put_cell (struct afs_cell *)
 
void afs_cell_purge (void)
 
bool afs_cm_incoming_call (struct afs_call *)
 
int afs_open (struct inode *, struct file *)
 
int afs_release (struct inode *, struct file *)
 
int afs_page_filler (void *, struct page *)
 
void __exit afs_kill_lock_manager (void)
 
void afs_lock_work (struct work_struct *)
 
void afs_lock_may_be_available (struct afs_vnode *)
 
int afs_lock (struct file *, int, struct file_lock *)
 
int afs_flock (struct file *, int, struct file_lock *)
 
int afs_fs_fetch_file_status (struct afs_server *, struct key *, struct afs_vnode *, struct afs_volsync *, const struct afs_wait_mode *)
 
int afs_fs_give_up_callbacks (struct afs_server *, const struct afs_wait_mode *)
 
int afs_fs_fetch_data (struct afs_server *, struct key *, struct afs_vnode *, off_t, size_t, struct page *, const struct afs_wait_mode *)
 
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 *)
 
int afs_fs_remove (struct afs_server *, struct key *, struct afs_vnode *, const char *, bool, const struct afs_wait_mode *)
 
int afs_fs_link (struct afs_server *, struct key *, struct afs_vnode *, struct afs_vnode *, const char *, const struct afs_wait_mode *)
 
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 *)
 
int afs_fs_rename (struct afs_server *, struct key *, struct afs_vnode *, const char *, struct afs_vnode *, const char *, const struct afs_wait_mode *)
 
int afs_fs_store_data (struct afs_server *, struct afs_writeback *, pgoff_t, pgoff_t, unsigned, unsigned, const struct afs_wait_mode *)
 
int afs_fs_setattr (struct afs_server *, struct key *, struct afs_vnode *, struct iattr *, const struct afs_wait_mode *)
 
int afs_fs_get_volume_status (struct afs_server *, struct key *, struct afs_vnode *, struct afs_volume_status *, const struct afs_wait_mode *)
 
int afs_fs_set_lock (struct afs_server *, struct key *, struct afs_vnode *, afs_lock_type_t, const struct afs_wait_mode *)
 
int afs_fs_extend_lock (struct afs_server *, struct key *, struct afs_vnode *, const struct afs_wait_mode *)
 
int afs_fs_release_lock (struct afs_server *, struct key *, struct afs_vnode *, const struct afs_wait_mode *)
 
struct inodeafs_iget_autocell (struct inode *, const char *, int, struct key *)
 
struct inodeafs_iget (struct super_block *, struct key *, struct afs_fid *, struct afs_file_status *, struct afs_callback *)
 
void afs_zap_data (struct afs_vnode *)
 
int afs_validate (struct afs_vnode *, struct key *)
 
int afs_getattr (struct vfsmount *, struct dentry *, struct kstat *)
 
int afs_setattr (struct dentry *, struct iattr *)
 
void afs_evict_inode (struct inode *)
 
int afs_drop_inode (struct inode *)
 
int afs_abort_to_error (u32)
 
struct vfsmountafs_d_automount (struct path *)
 
int afs_mntpt_check_symlink (struct afs_vnode *, struct key *)
 
void afs_mntpt_kill_timer (void)
 
int afs_proc_init (void)
 
void afs_proc_cleanup (void)
 
int afs_proc_cell_setup (struct afs_cell *)
 
void afs_proc_cell_remove (struct afs_cell *)
 
int afs_open_socket (void)
 
void afs_close_socket (void)
 
int afs_make_call (struct in_addr *, struct afs_call *, gfp_t, const struct afs_wait_mode *)
 
struct afs_callafs_alloc_flat_call (const struct afs_call_type *, size_t, size_t)
 
void afs_flat_call_destructor (struct afs_call *)
 
void afs_transfer_reply (struct afs_call *, struct sk_buff *)
 
void afs_send_empty_reply (struct afs_call *)
 
void afs_send_simple_reply (struct afs_call *, const void *, size_t)
 
int afs_extract_data (struct afs_call *, struct sk_buff *, bool, void *, size_t)
 
void afs_clear_permits (struct afs_vnode *)
 
void afs_cache_permit (struct afs_vnode *, struct key *, long)
 
void afs_zap_permits (struct rcu_head *)
 
struct keyafs_request_key (struct afs_cell *)
 
int afs_permission (struct inode *, int)
 
struct afs_serverafs_lookup_server (struct afs_cell *, const struct in_addr *)
 
struct afs_serverafs_find_server (const struct in_addr *)
 
void afs_put_server (struct afs_server *)
 
void __exit afs_purge_servers (void)
 
int afs_fs_init (void)
 
void afs_fs_exit (void)
 
int afs_get_ipv4_interfaces (struct afs_interface *, size_t, bool)
 
int afs_get_MAC_address (u8 *, size_t)
 
int afs_vl_get_entry_by_name (struct in_addr *, struct key *, const char *, struct afs_cache_vlocation *, const struct afs_wait_mode *)
 
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 *)
 
int __init afs_vlocation_update_init (void)
 
struct afs_vlocationafs_vlocation_lookup (struct afs_cell *, struct key *, const char *, size_t)
 
void afs_put_vlocation (struct afs_vlocation *)
 
void afs_vlocation_purge (void)
 
void afs_vnode_finalise_status_update (struct afs_vnode *, struct afs_server *)
 
int afs_vnode_fetch_status (struct afs_vnode *, struct afs_vnode *, struct key *)
 
int afs_vnode_fetch_data (struct afs_vnode *, struct key *, off_t, size_t, struct page *)
 
int afs_vnode_create (struct afs_vnode *, struct key *, const char *, umode_t, struct afs_fid *, struct afs_file_status *, struct afs_callback *, struct afs_server **)
 
int afs_vnode_remove (struct afs_vnode *, struct key *, const char *, bool)
 
int afs_vnode_link (struct afs_vnode *, struct afs_vnode *, struct key *, const char *)
 
int afs_vnode_symlink (struct afs_vnode *, struct key *, const char *, const char *, struct afs_fid *, struct afs_file_status *, struct afs_server **)
 
int afs_vnode_rename (struct afs_vnode *, struct afs_vnode *, struct key *, const char *, const char *)
 
int afs_vnode_store_data (struct afs_writeback *, pgoff_t, pgoff_t, unsigned, unsigned)
 
int afs_vnode_setattr (struct afs_vnode *, struct key *, struct iattr *)
 
int afs_vnode_get_volume_status (struct afs_vnode *, struct key *, struct afs_volume_status *)
 
int afs_vnode_set_lock (struct afs_vnode *, struct key *, afs_lock_type_t)
 
int afs_vnode_extend_lock (struct afs_vnode *, struct key *)
 
int afs_vnode_release_lock (struct afs_vnode *, struct key *)
 
void afs_put_volume (struct afs_volume *)
 
struct afs_volumeafs_volume_lookup (struct afs_mount_params *)
 
struct afs_serverafs_volume_pick_fileserver (struct afs_vnode *)
 
int afs_volume_release_fileserver (struct afs_vnode *, struct afs_server *, int)
 
int afs_set_page_dirty (struct page *)
 
void afs_put_writeback (struct afs_writeback *)
 
int afs_write_begin (struct file *file, struct address_space *mapping, loff_t pos, unsigned len, unsigned flags, struct page **pagep, void **fsdata)
 
int afs_write_end (struct file *file, struct address_space *mapping, loff_t pos, unsigned len, unsigned copied, struct page *page, void *fsdata)
 
int afs_writepage (struct page *, struct writeback_control *)
 
int afs_writepages (struct address_space *, struct writeback_control *)
 
void afs_pages_written_back (struct afs_vnode *, struct afs_call *)
 
ssize_t afs_file_write (struct kiocb *, const struct iovec *, unsigned long, loff_t)
 
int afs_writeback_all (struct afs_vnode *)
 
int afs_fsync (struct file *, loff_t, loff_t, int)
 

Variables

struct afs_wait_mode afs_sync_call
 
struct afs_wait_mode afs_async_call
 
 AFS_WBACK_SYNCING
 
 AFS_WBACK_PENDING
 
 AFS_WBACK_CONFLICTING
 
 AFS_WBACK_WRITING
 
 AFS_WBACK_COMPLETE
 
struct file_system_type afs_fs_type
 
afs_voltype_t vtype
 
uint8_t hash_bucket
 
struct afs_vlocation __attribute__
 
struct rw_semaphore afs_proc_cells_sem
 
struct list_head afs_proc_cells
 
struct inode_operations afs_dir_inode_operations
 
struct dentry_operations afs_fs_dentry_operations
 
struct file_operations afs_dir_file_operations
 
struct address_space_operations afs_fs_aops
 
struct inode_operations afs_file_inode_operations
 
struct file_operations afs_file_operations
 
struct workqueue_structafs_wq
 
struct afs_uuid afs_uuid
 
struct inode_operations afs_mntpt_inode_operations
 
struct inode_operations afs_autocell_inode_operations
 
struct file_operations afs_mntpt_file_operations
 
spinlock_t afs_server_peer_lock
 
unsigned afs_debug
 

Macro Definition Documentation

#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)
Value:
do { \
_debug("GET SERVER %d", atomic_read(&(S)->usage)); \
atomic_inc(&(S)->usage); \
} while(0)

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.

#define AFS_VNODE_AUTOCELL   10 /* set if Vnode is an auto mount point */

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.

#define AFS_VNODE_CB_BROKEN   0 /* set if vnode's callback was broken */

Definition at line 352 of file internal.h.

#define AFS_VNODE_DELETED   4 /* set if vnode deleted on server */

Definition at line 356 of file internal.h.

#define AFS_VNODE_LOCKING   6 /* set if waiting for lock on vnode */

Definition at line 358 of file internal.h.

#define AFS_VNODE_MODIFIED   2 /* set if vnode's data modified */

Definition at line 354 of file internal.h.

#define AFS_VNODE_MOUNTPOINT   5 /* set if vnode is a mountpoint symlink */

Definition at line 357 of file internal.h.

#define AFS_VNODE_PSEUDODIR   11 /* set if Vnode is a pseudo directory */

Definition at line 363 of file internal.h.

#define AFS_VNODE_READLOCKED   7 /* set if vnode is read-locked on the server */

Definition at line 359 of file internal.h.

#define AFS_VNODE_UNLOCKING   9 /* set if vnode is being unlocked on the server */

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.

#define AFS_VNODE_WRITELOCKED   8 /* set if vnode is write-locked on the server */

Definition at line 360 of file internal.h.

#define AFS_VNODE_ZAP_DATA   3 /* set if vnode's data should be invalidated */

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)
Value:
do { \
if (unlikely(!(X))) { \
printk(KERN_ERR "\n"); \
printk(KERN_ERR "AFS: Assertion failed\n"); \
BUG(); \
} \
} while(0)

Definition at line 809 of file internal.h.

#define ASSERTCMP (   X,
  OP,
 
)
Value:
do { \
if (unlikely(!((X) OP (Y)))) { \
printk(KERN_ERR "\n"); \
printk(KERN_ERR "AFS: Assertion failed\n"); \
printk(KERN_ERR "%lu " #OP " %lu is false\n", \
(unsigned long)(X), (unsigned long)(Y)); \
printk(KERN_ERR "0x%lx " #OP " 0x%lx is false\n", \
(unsigned long)(X), (unsigned long)(Y)); \
BUG(); \
} \
} while(0)

Definition at line 818 of file internal.h.

#define ASSERTIF (   C,
  X 
)
Value:
do { \
if (unlikely((C) && !(X))) { \
printk(KERN_ERR "\n"); \
printk(KERN_ERR "AFS: Assertion failed\n"); \
BUG(); \
} \
} while(0)

Definition at line 846 of file internal.h.

#define ASSERTIFCMP (   C,
  X,
  OP,
 
)
Value:
do { \
if (unlikely((C) && !((X) OP (Y)))) { \
printk(KERN_ERR "\n"); \
printk(KERN_ERR "AFS: Assertion failed\n"); \
printk(KERN_ERR "%lu " #OP " %lu is false\n", \
(unsigned long)(X), (unsigned long)(Y)); \
printk(KERN_ERR "0x%lx " #OP " 0x%lx is false\n", \
(unsigned long)(X), (unsigned long)(Y)); \
BUG(); \
} \
} while(0)

Definition at line 855 of file internal.h.

#define ASSERTRANGE (   L,
  OP1,
  N,
  OP2,
  H 
)
Value:
do { \
if (unlikely(!((L) OP1 (N)) || !((N) OP2 (H)))) { \
printk(KERN_ERR "\n"); \
printk(KERN_ERR "AFS: Assertion failed\n"); \
printk(KERN_ERR "%lu "#OP1" %lu "#OP2" %lu is false\n", \
(unsigned long)(L), (unsigned long)(N), \
(unsigned long)(H)); \
printk(KERN_ERR "0x%lx "#OP1" 0x%lx "#OP2" 0x%lx is false\n", \
(unsigned long)(L), (unsigned long)(N), \
(unsigned long)(H)); \
BUG(); \
} \
} while(0)

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.

Enumeration Type Documentation

Enumerator:
DAC960_SenseKey_NoSense 
DAC960_SenseKey_RecoveredError 
DAC960_SenseKey_NotReady 
DAC960_SenseKey_MediumError 
DAC960_SenseKey_HardwareError 
DAC960_SenseKey_IllegalRequest 
DAC960_SenseKey_UnitAttention 
DAC960_SenseKey_DataProtect 
DAC960_SenseKey_BlankCheck 
DAC960_SenseKey_VendorSpecific 
DAC960_SenseKey_CopyAborted 
DAC960_SenseKey_AbortedCommand 
DAC960_SenseKey_Equal 
DAC960_SenseKey_VolumeOverflow 
DAC960_SenseKey_Miscompare 
DAC960_SenseKey_Reserved 
DAC960_V1_ReadExtended 
DAC960_V1_WriteExtended 
DAC960_V1_ReadAheadExtended 
DAC960_V1_ReadExtendedWithScatterGather 
DAC960_V1_WriteExtendedWithScatterGather 
DAC960_V1_Read 
DAC960_V1_ReadWithScatterGather 
DAC960_V1_Write 
DAC960_V1_WriteWithScatterGather 
DAC960_V1_DCDB 
DAC960_V1_DCDBWithScatterGather 
DAC960_V1_Flush 
DAC960_V1_Enquiry 
DAC960_V1_Enquiry2 
DAC960_V1_GetLogicalDriveElement 
DAC960_V1_GetLogicalDriveInformation 
DAC960_V1_IOPortRead 
DAC960_V1_IOPortWrite 
DAC960_V1_GetSDStats 
DAC960_V1_GetPDStats 
DAC960_V1_PerformEventLogOperation 
DAC960_V1_StartDevice 
DAC960_V1_GetDeviceState 
DAC960_V1_StopChannel 
DAC960_V1_StartChannel 
DAC960_V1_ResetChannel 
DAC960_V1_Rebuild 
DAC960_V1_RebuildAsync 
DAC960_V1_CheckConsistency 
DAC960_V1_CheckConsistencyAsync 
DAC960_V1_RebuildStat 
DAC960_V1_GetRebuildProgress 
DAC960_V1_RebuildControl 
DAC960_V1_ReadBadBlockTable 
DAC960_V1_ReadBadDataTable 
DAC960_V1_ClearBadDataTable 
DAC960_V1_GetErrorTable 
DAC960_V1_AddCapacityAsync 
DAC960_V1_BackgroundInitializationControl 
DAC960_V1_ReadConfig2 
DAC960_V1_WriteConfig2 
DAC960_V1_ReadConfigurationOnDisk 
DAC960_V1_WriteConfigurationOnDisk 
DAC960_V1_ReadConfiguration 
DAC960_V1_ReadBackupConfiguration 
DAC960_V1_WriteConfiguration 
DAC960_V1_AddConfiguration 
DAC960_V1_ReadConfigurationLabel 
DAC960_V1_WriteConfigurationLabel 
DAC960_V1_LoadImage 
DAC960_V1_StoreImage 
DAC960_V1_ProgramImage 
DAC960_V1_SetDiagnosticMode 
DAC960_V1_RunDiagnostic 
DAC960_V1_GetSubsystemData 
DAC960_V1_SetSubsystemParameters 
DAC960_V1_Enquiry_Old 
DAC960_V1_GetDeviceState_Old 
DAC960_V1_Read_Old 
DAC960_V1_Write_Old 
DAC960_V1_ReadWithScatterGather_Old 
DAC960_V1_WriteWithScatterGather_Old 
DAC960_V1_LogicalDrive_Online 
DAC960_V1_LogicalDrive_Critical 
DAC960_V1_LogicalDrive_Offline 
DAC960_V1_GetEventLogEntry 
DAC960_V1_Device_Dead 
DAC960_V1_Device_WriteOnly 
DAC960_V1_Device_Online 
DAC960_V1_Device_Standby 
DAC960_V2_MemCopy 
DAC960_V2_SCSI_10_Passthru 
DAC960_V2_SCSI_255_Passthru 
DAC960_V2_SCSI_10 
DAC960_V2_SCSI_256 
DAC960_V2_IOCTL 
DAC960_V2_GetControllerInfo 
DAC960_V2_GetLogicalDeviceInfoValid 
DAC960_V2_GetPhysicalDeviceInfoValid 
DAC960_V2_GetHealthStatus 
DAC960_V2_GetEvent 
DAC960_V2_StartDiscovery 
DAC960_V2_SetDeviceState 
DAC960_V2_RebuildDeviceStart 
DAC960_V2_RebuildDeviceStop 
DAC960_V2_ConsistencyCheckStart 
DAC960_V2_ConsistencyCheckStop 
DAC960_V2_SetMemoryMailbox 
DAC960_V2_PauseDevice 
DAC960_V2_TranslatePhysicalToLogicalDevice 
DAC960_V2_ProcessorType_i960CA 
DAC960_V2_ProcessorType_i960RD 
DAC960_V2_ProcessorType_i960RN 
DAC960_V2_ProcessorType_i960RP 
DAC960_V2_ProcessorType_NorthBay 
DAC960_V2_ProcessorType_StrongArm 
DAC960_V2_ProcessorType_i960RM 
DAC960_V2_LogicalDevice_Online 
DAC960_V2_LogicalDevice_Offline 
DAC960_V2_LogicalDevice_Critical 
DAC960_V2_Device_Unconfigured 
DAC960_V2_Device_Online 
DAC960_V2_Device_Rebuild 
DAC960_V2_Device_Missing 
DAC960_V2_Device_Critical 
DAC960_V2_Device_Dead 
DAC960_V2_Device_SuspectedDead 
DAC960_V2_Device_CommandedOffline 
DAC960_V2_Device_Standby 
DAC960_V2_Device_InvalidState 
DAC960_V2_Physical_Device 
DAC960_V2_RAID_Device 
DAC960_V2_Physical_Channel 
DAC960_V2_RAID_Channel 
DAC960_V2_Physical_Controller 
DAC960_V2_RAID_Controller 
DAC960_V2_Configuration_Group 
DAC960_V2_Enclosure 
AFSVL_RWVOL 
AFSVL_ROVOL 
AFSVL_BACKVOL 
AFS_VL_NEW 
AFS_VL_CREATING 
AFS_VL_VALID 
AFS_VL_NO_VOLUME 
AFS_VL_UPDATING 
AFS_VL_VOLUME_DELETED 
AFS_VL_UNCERTAIN 

Definition at line 32 of file internal.h.

Function Documentation

struct afs_cache_vhash __attribute__ ( (packed)  )
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.

int afs_abort_to_error ( u32  )

Definition at line 22 of file misc.c.

struct afs_call* afs_alloc_flat_call ( const struct afs_call_type ,
size_t  ,
size_t   
)
read

Definition at line 189 of file rxrpc.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.

void afs_cache_permit ( struct afs_vnode ,
struct key ,
long   
)

Definition at line 129 of file security.c.

int __init afs_callback_update_init ( void  )

Definition at line 462 of file callback.c.

void afs_callback_update_kill ( void  )

Definition at line 472 of file callback.c.

struct afs_cell* afs_cell_create ( const char ,
unsigned  ,
char ,
bool   
)
read

Definition at line 150 of file cell.c.

int afs_cell_init ( char )

Definition at line 226 of file cell.c.

struct afs_cell* afs_cell_lookup ( const char ,
unsigned  ,
bool   
)
read

Definition at line 268 of file cell.c.

void afs_cell_purge ( void  )

Definition at line 425 of file cell.c.

void afs_clear_permits ( struct afs_vnode )

Definition at line 109 of file security.c.

void afs_close_socket ( void  )

Definition at line 118 of file rxrpc.c.

bool afs_cm_incoming_call ( struct afs_call )

Definition at line 99 of file cmservice.c.

struct vfsmount* afs_d_automount ( struct path )
read

Definition at line 241 of file mntpt.c.

void afs_discard_callback_on_delete ( struct afs_vnode )

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.

int afs_drop_inode ( struct inode )

Definition at line 393 of file inode.c.

void afs_evict_inode ( struct inode )

Definition at line 406 of file inode.c.

int afs_extract_data ( struct afs_call ,
struct sk_buff ,
bool  ,
void ,
size_t   
)

Definition at line 835 of file rxrpc.c.

ssize_t afs_file_write ( struct kiocb ,
const struct iovec ,
unsigned  long,
loff_t   
)

Definition at line 627 of file write.c.

struct afs_server* afs_find_server ( const struct in_addr )
read

Definition at line 181 of file server.c.

void afs_flat_call_destructor ( struct afs_call )

Definition at line 231 of file rxrpc.c.

int afs_flock ( struct file ,
int  ,
struct file_lock  
)

Definition at line 538 of file flock.c.

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.

void afs_fs_exit ( void  )

Definition at line 113 of file super.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_init ( void  )

Definition at line 78 of file super.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_fsync ( struct file ,
loff_t  ,
loff_t  ,
int   
)

Definition at line 684 of file write.c.

int afs_get_ipv4_interfaces ( struct afs_interface ,
size_t  ,
bool   
)

Definition at line 40 of file netdevices.c.

int afs_get_MAC_address ( u8 ,
size_t   
)

Definition at line 18 of file netdevices.c.

int afs_getattr ( struct vfsmount ,
struct dentry ,
struct kstat  
)

Definition at line 377 of file inode.c.

void afs_give_up_callback ( struct afs_vnode )

Definition at line 289 of file callback.c.

struct afs_cell* afs_grab_cell ( struct afs_cell )
read
struct inode* afs_iget ( struct super_block ,
struct key ,
struct afs_fid ,
struct afs_file_status ,
struct afs_callback  
)
read

Definition at line 198 of file inode.c.

struct inode* afs_iget_autocell ( struct inode ,
const char ,
int  ,
struct key  
)
read

Definition at line 136 of file inode.c.

void afs_init_callback_state ( struct afs_server )

Definition at line 38 of file callback.c.

void __exit afs_kill_lock_manager ( void  )

Definition at line 52 of file flock.c.

int afs_lock ( struct file ,
int  ,
struct file_lock  
)

Definition at line 515 of file flock.c.

void afs_lock_may_be_available ( struct afs_vnode )

Definition at line 61 of file flock.c.

void afs_lock_work ( struct work_struct )

Definition at line 106 of file flock.c.

struct afs_server* afs_lookup_server ( struct afs_cell ,
const struct in_addr  
)
read

Definition at line 104 of file server.c.

int afs_make_call ( struct in_addr ,
struct afs_call ,
gfp_t  ,
const struct afs_wait_mode  
)

Definition at line 309 of file rxrpc.c.

int afs_mntpt_check_symlink ( struct afs_vnode ,
struct key  
)

Definition at line 53 of file mntpt.c.

void afs_mntpt_kill_timer ( void  )

Definition at line 278 of file mntpt.c.

int afs_open ( struct inode ,
struct file  
)

Definition at line 66 of file file.c.

int afs_open_socket ( void  )

Definition at line 65 of file rxrpc.c.

int afs_page_filler ( void ,
struct page  
)

Definition at line 126 of file file.c.

void afs_pages_written_back ( struct afs_vnode ,
struct afs_call  
)

Definition at line 571 of file write.c.

int afs_permission ( struct inode ,
int   
)

Definition at line 288 of file security.c.

void afs_proc_cell_remove ( struct afs_cell )

Definition at line 430 of file proc.c.

int afs_proc_cell_setup ( struct afs_cell )

Definition at line 388 of file proc.c.

void afs_proc_cleanup ( void  )

Definition at line 173 of file proc.c.

int afs_proc_init ( void  )

Definition at line 140 of file proc.c.

void __exit afs_purge_servers ( void  )

Definition at line 318 of file server.c.

void afs_put_cell ( struct afs_cell )

Definition at line 343 of file cell.c.

void afs_put_server ( struct afs_server )

Definition at line 219 of file server.c.

void afs_put_vlocation ( struct afs_vlocation )

Definition at line 491 of file vlocation.c.

void afs_put_volume ( struct afs_volume )

Definition at line 172 of file volume.c.

void afs_put_writeback ( struct afs_writeback )

Definition at line 67 of file write.c.

int afs_release ( struct inode ,
struct file  
)

Definition at line 94 of file file.c.

struct key* afs_request_key ( struct afs_cell )
read

Definition at line 23 of file security.c.

void afs_send_empty_reply ( struct afs_call )

Definition at line 758 of file rxrpc.c.

void afs_send_simple_reply ( struct afs_call ,
const void ,
size_t   
)

Definition at line 797 of file rxrpc.c.

int afs_set_page_dirty ( struct page )

Definition at line 25 of file write.c.

int afs_setattr ( struct dentry ,
struct iattr  
)

Definition at line 459 of file inode.c.

void afs_transfer_reply ( struct afs_call ,
struct sk_buff  
)

Definition at line 657 of file rxrpc.c.

int afs_validate ( struct afs_vnode ,
struct key  
)

Definition at line 313 of file inode.c.

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.

struct afs_vlocation* afs_vlocation_lookup ( struct afs_cell ,
struct key ,
const char ,
size_t   
)
read

Definition at line 373 of file vlocation.c.

void afs_vlocation_purge ( void  )

Definition at line 605 of file vlocation.c.

int __init afs_vlocation_update_init ( void  )

Definition at line 595 of file vlocation.c.

int afs_vnode_create ( struct afs_vnode ,
struct key ,
const char ,
umode_t  ,
struct afs_fid ,
struct afs_file_status ,
struct afs_callback ,
struct afs_server **   
)

Definition at line 450 of file vnode.c.

int afs_vnode_extend_lock ( struct afs_vnode ,
struct key  
)

Definition at line 954 of file vnode.c.

int afs_vnode_fetch_data ( struct afs_vnode ,
struct key ,
off_t  ,
size_t  ,
struct page  
)

Definition at line 395 of file vnode.c.

int afs_vnode_fetch_status ( struct afs_vnode ,
struct afs_vnode ,
struct key  
)

Definition at line 264 of file vnode.c.

void afs_vnode_finalise_status_update ( struct afs_vnode ,
struct afs_server  
)

Definition at line 213 of file vnode.c.

int afs_vnode_get_volume_status ( struct afs_vnode ,
struct key ,
struct afs_volume_status  
)

Definition at line 876 of file vnode.c.

int afs_vnode_link ( struct afs_vnode ,
struct afs_vnode ,
struct key ,
const char  
)

Definition at line 563 of file vnode.c.

int afs_vnode_release_lock ( struct afs_vnode ,
struct key  
)

Definition at line 992 of file vnode.c.

int afs_vnode_remove ( struct afs_vnode ,
struct key ,
const char ,
bool   
)

Definition at line 508 of file vnode.c.

int afs_vnode_rename ( struct afs_vnode ,
struct afs_vnode ,
struct key ,
const char ,
const char  
)

Definition at line 690 of file vnode.c.

int afs_vnode_set_lock ( struct afs_vnode ,
struct key ,
afs_lock_type_t   
)

Definition at line 915 of file vnode.c.

int afs_vnode_setattr ( struct afs_vnode ,
struct key ,
struct iattr  
)

Definition at line 824 of file vnode.c.

int afs_vnode_store_data ( struct afs_writeback ,
pgoff_t  ,
pgoff_t  ,
unsigned  ,
unsigned   
)

Definition at line 769 of file vnode.c.

int afs_vnode_symlink ( struct afs_vnode ,
struct key ,
const char ,
const char ,
struct afs_fid ,
struct afs_file_status ,
struct afs_server **   
)

Definition at line 631 of file vnode.c.

struct afs_volume* afs_volume_lookup ( struct afs_mount_params )
read

Definition at line 45 of file volume.c.

struct afs_server* afs_volume_pick_fileserver ( struct afs_vnode )
read

Definition at line 219 of file volume.c.

int afs_volume_release_fileserver ( struct afs_vnode ,
struct afs_server ,
int   
)

Definition at line 306 of file volume.c.

int afs_write_begin ( struct file file,
struct address_space mapping,
loff_t  pos,
unsigned  len,
unsigned  flags,
struct page **  pagep,
void **  fsdata 
)

Definition at line 118 of file write.c.

int afs_write_end ( struct file file,
struct address_space mapping,
loff_t  pos,
unsigned  len,
unsigned  copied,
struct page page,
void fsdata 
)

Definition at line 244 of file write.c.

int afs_writeback_all ( struct afs_vnode )

Definition at line 660 of file write.c.

int afs_writepage ( struct page ,
struct writeback_control  
)

Definition at line 437 of file write.c.

int afs_writepages ( struct address_space ,
struct writeback_control  
)

Definition at line 537 of file write.c.

void afs_zap_data ( struct afs_vnode )

Definition at line 291 of file inode.c.

void afs_zap_permits ( struct rcu_head )

Definition at line 51 of file security.c.

Variable Documentation

struct afs_wait_mode afs_async_call

Definition at line 39 of file rxrpc.c.

struct inode_operations afs_autocell_inode_operations

Definition at line 40 of file mntpt.c.

unsigned afs_debug

Definition at line 23 of file main.c.

struct file_operations afs_dir_file_operations

Definition at line 43 of file dir.c.

struct inode_operations afs_dir_inode_operations

Definition at line 51 of file dir.c.

struct inode_operations afs_file_inode_operations

Definition at line 44 of file file.c.

struct file_operations afs_file_operations

Definition at line 29 of file file.c.

Definition at line 50 of file file.c.

struct dentry_operations afs_fs_dentry_operations

Definition at line 65 of file dir.c.

struct file_system_type afs_fs_type

Definition at line 39 of file super.c.

struct file_operations afs_mntpt_file_operations

Definition at line 29 of file mntpt.c.

struct inode_operations afs_mntpt_inode_operations

Definition at line 34 of file mntpt.c.

struct list_head afs_proc_cells
struct rw_semaphore afs_proc_cells_sem
spinlock_t afs_server_peer_lock
struct afs_wait_mode afs_sync_call

Definition at line 33 of file rxrpc.c.

Definition at line 32 of file main.c.

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.

Definition at line 33 of file main.c.

Definition at line 245 of file internal.h.

afs_voltype_t vtype

Definition at line 244 of file internal.h.