|
Coda Distributed File System
|
#include <fso.h>

Public Member Functions | |
| int | Fetch (uid_t) EXCLUDES_TRANSACTION |
| int | Fetch (uid_t uid, uint64_t pos, int64_t count) EXCLUDES_TRANSACTION |
| int | GetAttr (uid_t, RPC2_BoundedBS *=0) EXCLUDES_TRANSACTION |
| int | GetACL (RPC2_BoundedBS *, uid_t) EXCLUDES_TRANSACTION |
| int | Store (unsigned long, Date_t, uid_t) EXCLUDES_TRANSACTION |
| int | SetAttr (struct coda_vattr *, uid_t) EXCLUDES_TRANSACTION |
| int | SetACL (RPC2_CountedBS *, uid_t) EXCLUDES_TRANSACTION |
| int | Create (char *, fsobj **, uid_t, unsigned short, int) EXCLUDES_TRANSACTION |
| int | Remove (char *, fsobj *, uid_t) EXCLUDES_TRANSACTION |
| int | Link (char *, fsobj *, uid_t) EXCLUDES_TRANSACTION |
| int | Rename (fsobj *, char *, fsobj *, char *, fsobj *, uid_t) EXCLUDES_TRANSACTION |
| int | Mkdir (char *, fsobj **, uid_t, unsigned short, int) EXCLUDES_TRANSACTION |
| int | Rmdir (char *, fsobj *, uid_t) EXCLUDES_TRANSACTION |
| int | Symlink (char *, char *, uid_t, unsigned short, int) EXCLUDES_TRANSACTION |
| int | SetVV (ViceVersionVector *, uid_t) EXCLUDES_TRANSACTION |
| int | Open (int writep, int truncp, venus_cnode *cp, uid_t uid) EXCLUDES_TRANSACTION |
| int | Sync (uid_t uid) EXCLUDES_TRANSACTION |
| void | Release (int writep) EXCLUDES_TRANSACTION |
| int | Close (int writep, uid_t uid) EXCLUDES_TRANSACTION |
| int | Access (int rights, int modes, uid_t) EXCLUDES_TRANSACTION |
| int | Lookup (fsobj **, VenusFid *, const char *, uid_t, int flags, int GetInconsistent=0) EXCLUDES_TRANSACTION |
| int | Readdir (char *, int, int, int *, uid_t) |
| int | Readlink (char *, unsigned long, int *, uid_t) |
| int | ReadIntent (uid_t uid, int priority, uint64_t pos, int64_t count) EXCLUDES_TRANSACTION |
| int | ReadIntentFinish (uint64_t pos, int64_t count) |
| int | dir_Lookup (const char *, VenusFid *, int) |
| int | CheckAcRights (uid_t uid, long rights, int connected) |
| void | GetVattr (struct coda_vattr *) |
| void | GetFid (VenusFid *f) |
| void | GetPath (char *, int scope=PATH_VOLUME) |
| ViceVersionVector * | VV () |
| int | IsFile () |
| int | IsDir () |
| int | IsSymLink () |
| int | IsNormal () |
| int | IsRoot () |
| int | IsVenusRoot () |
| int | IsMtPt () |
| int | IsMTLink () |
| int | IsVirgin () |
| int | IsBackFetching () |
| int | IsPioctlFile () |
| int | SetLastResolved (long t) |
| int | MakeShadow () REQUIRES_TRANSACTION |
| void | RemoveShadow () |
| void | CacheReport (int, int) |
| CacheChunkList * | GetHoles (uint64_t start, int64_t len) |
| void | print () |
| void | print (FILE *fp) |
| void | print (int) |
| void | ListCache (FILE *, int long_format=0, unsigned int valid=3) |
| void | ListCacheShort (FILE *) |
| void | ListCacheLong (FILE *) |
| cmlent * | FinalCmlent (int) |
| void | SetComp (const char *) REQUIRES_TRANSACTION |
| const char * | GetComp (void) |
| void | SetLocalObj () REQUIRES_TRANSACTION |
| void | UnsetLocalObj () REQUIRES_TRANSACTION |
| int | IsLocalObj () |
| int | IsAncestor (VenusFid *) |
| void | DeLocalRootParent (fsobj *, VenusFid *, fsobj *) |
| void | RecoverRootParent (VenusFid *, char *) |
| int | SetLocalVV (ViceVersionVector *) EXCLUDES_TRANSACTION |
| int | RepairStore () EXCLUDES_TRANSACTION |
| int | RepairSetAttr (unsigned long, Date_t, uid_t, unsigned short, RPC2_CountedBS *) EXCLUDES_TRANSACTION |
| int | RepairCreate (fsobj **, char *, unsigned short, int) EXCLUDES_TRANSACTION |
| int | RepairRemove (char *, fsobj *) EXCLUDES_TRANSACTION |
| int | RepairLink (char *, fsobj *) EXCLUDES_TRANSACTION |
| int | RepairRename (fsobj *, char *, fsobj *, char *, fsobj *) EXCLUDES_TRANSACTION |
| int | RepairMkdir (fsobj **, char *, unsigned short, int) EXCLUDES_TRANSACTION |
| int | RepairRmdir (char *, fsobj *) EXCLUDES_TRANSACTION |
| int | RepairSymlink (fsobj **, char *, char *, unsigned short, int) EXCLUDES_TRANSACTION |
| void | FetchProgressIndicator (unsigned long offset) |
| size_t | Size (void) |
Friends | |
| class | fsdb |
| class | fso_iterator |
| class | vproc |
| class | namectxt |
| class | volent |
| class | repvol |
| class | reintvol |
| class | ClientModifyLog |
| class | cmlent |
| class | cml_iterator |
| class | resent |
| class | mgrpent |
| class | hdb |
| class | Realm |
| class | plan9server |
| void | FSOInit () |
| int | FSO_PriorityFN (bsnode *, bsnode *) |
| long | VENUS_CallBackFetch (RPC2_Handle, ViceFid *, SE_Descriptor *) |
| void | RecoverPathName (char *, VenusFid *, ClientModifyLog *, cmlent *) |
| int fsobj::Access | ( | int | rights, |
| int | modes, | ||
| uid_t | uid | ||
| ) |
| void fsobj::CacheReport | ( | int | fd, |
| int | level | ||
| ) |
| int fsobj::CheckAcRights | ( | uid_t | uid, |
| long | rights, | ||
| int | connected | ||
| ) |
| int fsobj::Close | ( | int | writep, |
| uid_t | uid | ||
| ) |
| int fsobj::Create | ( | char * | name, |
| fsobj ** | target_fso_addr, | ||
| uid_t | uid, | ||
| unsigned short | Mode, | ||
| int | target_pri | ||
| ) |
| int fsobj::dir_Lookup | ( | const char * | Name, |
| VenusFid * | Fid, | ||
| int | flags | ||
| ) |
| int fsobj::Fetch | ( | uid_t | uid, |
| uint64_t | pos, | ||
| int64_t | count | ||
| ) |
| int fsobj::Fetch | ( | uid_t | uid | ) |
| void fsobj::FetchProgressIndicator | ( | unsigned long | offset | ) |
| cmlent * fsobj::FinalCmlent | ( | int | tid | ) |
| int fsobj::GetACL | ( | RPC2_BoundedBS * | acl, |
| uid_t | uid | ||
| ) |
| int fsobj::GetAttr | ( | uid_t | uid, |
| RPC2_BoundedBS * | acl = 0 |
||
| ) |
| const char * fsobj::GetComp | ( | void | ) |
|
inline |
| CacheChunkList * fsobj::GetHoles | ( | uint64_t | start, |
| int64_t | len | ||
| ) |
| void fsobj::GetPath | ( | char * | buf, |
| int | scope = PATH_VOLUME |
||
| ) |
| void fsobj::GetVattr | ( | struct coda_vattr * | vap | ) |
| int fsobj::IsAncestor | ( | VenusFid * | ) |
| int fsobj::IsBackFetching | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| int fsobj::IsVirgin | ( | ) |
| int fsobj::Link | ( | char * | name, |
| fsobj * | source_fso, | ||
| uid_t | uid | ||
| ) |
| void fsobj::ListCache | ( | FILE * | fp, |
| int | long_format = 0, |
||
| unsigned int | valid = 3 |
||
| ) |
| void fsobj::ListCacheLong | ( | FILE * | fp | ) |
| void fsobj::ListCacheShort | ( | FILE * | fp | ) |
| int fsobj::Lookup | ( | fsobj ** | target_fso_addr, |
| VenusFid * | inc_fid, | ||
| const char * | name, | ||
| uid_t | uid, | ||
| int | flags, | ||
| int | GetInconsistent = 0 |
||
| ) |
| int fsobj::MakeShadow | ( | ) |
| int fsobj::Mkdir | ( | char * | name, |
| fsobj ** | target_fso_addr, | ||
| uid_t | uid, | ||
| unsigned short | Mode, | ||
| int | target_pri | ||
| ) |
| int fsobj::Open | ( | int | writep, |
| int | truncp, | ||
| venus_cnode * | cp, | ||
| uid_t | uid | ||
| ) |
|
inline |
|
inline |
| void fsobj::print | ( | int | fdes | ) |
| int fsobj::Readdir | ( | char * | , |
| int | , | ||
| int | , | ||
| int * | , | ||
| uid_t | |||
| ) |
| int fsobj::ReadIntent | ( | uid_t | uid, |
| int | priority, | ||
| uint64_t | pos, | ||
| int64_t | count | ||
| ) |
| int fsobj::ReadIntentFinish | ( | uint64_t | pos, |
| int64_t | count | ||
| ) |
| int fsobj::Readlink | ( | char * | buf, |
| unsigned long | len, | ||
| int * | cc, | ||
| uid_t | uid | ||
| ) |
| void fsobj::RecoverRootParent | ( | VenusFid * | , |
| char * | |||
| ) |
| void fsobj::Release | ( | int | writep | ) |
| int fsobj::Remove | ( | char * | name, |
| fsobj * | target_fso, | ||
| uid_t | uid | ||
| ) |
| void fsobj::RemoveShadow | ( | ) |
| int fsobj::Rename | ( | fsobj * | s_parent_fso, |
| char * | s_name, | ||
| fsobj * | s_fso, | ||
| char * | t_name, | ||
| fsobj * | t_fso, | ||
| uid_t | uid | ||
| ) |
| int fsobj::RepairCreate | ( | fsobj ** | t_fso_addr, |
| char * | name, | ||
| unsigned short | Mode, | ||
| int | target_pri | ||
| ) |
| int fsobj::RepairLink | ( | char * | name, |
| fsobj * | source_fso | ||
| ) |
| int fsobj::RepairMkdir | ( | fsobj ** | t_fso_addr, |
| char * | name, | ||
| unsigned short | Mode, | ||
| int | target_pri | ||
| ) |
| int fsobj::RepairRemove | ( | char * | name, |
| fsobj * | target_fso | ||
| ) |
| int fsobj::RepairRename | ( | fsobj * | s_parent_fso, |
| char * | s_name, | ||
| fsobj * | s_fso, | ||
| char * | t_name, | ||
| fsobj * | t_fso | ||
| ) |
| int fsobj::RepairRmdir | ( | char * | name, |
| fsobj * | target_fso | ||
| ) |
| int fsobj::RepairSetAttr | ( | unsigned long | NewLength, |
| Date_t | NewDate, | ||
| uid_t | NewOwner, | ||
| unsigned short | NewMode, | ||
| RPC2_CountedBS * | acl | ||
| ) |
| int fsobj::RepairStore | ( | ) |
| int fsobj::RepairSymlink | ( | fsobj ** | t_fso_addr, |
| char * | name, | ||
| char * | contents, | ||
| unsigned short | Mode, | ||
| int | target_pri | ||
| ) |
| int fsobj::Rmdir | ( | char * | name, |
| fsobj * | target_fso, | ||
| uid_t | uid | ||
| ) |
| int fsobj::SetACL | ( | RPC2_CountedBS * | acl, |
| uid_t | uid | ||
| ) |
| int fsobj::SetAttr | ( | struct coda_vattr * | vap, |
| uid_t | uid | ||
| ) |
| void fsobj::SetComp | ( | const char * | name | ) |
|
inline |
| void fsobj::SetLocalObj | ( | ) |
| int fsobj::SetLocalVV | ( | ViceVersionVector * | newvv | ) |
| int fsobj::SetVV | ( | ViceVersionVector * | newvv, |
| uid_t | uid | ||
| ) |
|
inline |
| int fsobj::Store | ( | unsigned long | NewLength, |
| Date_t | Mtime, | ||
| uid_t | uid | ||
| ) |
| int fsobj::Symlink | ( | char * | s_name, |
| char * | t_name, | ||
| uid_t | uid, | ||
| unsigned short | Mode, | ||
| int | target_pri | ||
| ) |
| int fsobj::Sync | ( | uid_t | uid | ) |
| void fsobj::UnsetLocalObj | ( | ) |
|
inline |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
| fsobj* fsobj::mtpoint |
| fsobj* fsobj::root |