#include <stdio.h>
#include <vice.h>
#include <vcrcommon.h>
Go to the source code of this file.
|
VV_Cmp_Result | VV_Cmp (const ViceVersionVector *, const ViceVersionVector *) |
|
VV_Cmp_Result | VV_Cmp_IgnoreInc (const ViceVersionVector *, const ViceVersionVector *) |
|
int | VV_Check (int *, ViceVersionVector **, int) |
|
int | VV_Check_IgnoreInc (int *, ViceVersionVector **, int) |
|
int | IsRunt (ViceVersionVector *) |
|
void | AddVVs (ViceVersionVector *, ViceVersionVector *) |
|
void | SubVVs (ViceVersionVector *, ViceVersionVector *) |
|
void | InitVV (ViceVersionVector *) |
|
void | InvalidateVV (ViceVersionVector *) |
|
void | GetMaxVV (ViceVersionVector *, ViceVersionVector **, int) |
|
void | SPrintVV (char *buf, size_t len, ViceVersionVector *) |
|
void | FPrintVV (FILE *, ViceVersionVector *) |
|
◆ ClearBarren
◆ ClearCOP2Pending
◆ ClearIncon
◆ ClearLocal
◆ COP2Pending
◆ IsBarren
◆ IsIncon
◆ IsLocal
◆ SetBarren
◆ SetCOP2Pending
◆ SetIncon
◆ SetLocal
◆ SID_EQ
#define SID_EQ |
( |
|
a, |
|
|
|
b |
|
) |
| ((a).HostId == (b).HostId && (a).Uniquifier == (b).Uniquifier) |
◆ VV_BARREN
#define VV_BARREN 0x04 /* mask for barren flag - small vnode without a valid inode */ |
◆ VV_COP2PENDING
◆ VV_INCON
#define VV_INCON 0x01 /* mask for inconsistency flag */ |
◆ VV_LOCAL
#define VV_LOCAL 0x02 /* mask for local flag */ |
◆ VV_Cmp_Result
Enumerator |
---|
VV_EQ | |
VV_DOM | |
VV_SUB | |
VV_INC | |
◆ AddVVs()
void AddVVs |
( |
ViceVersionVector * |
v1, |
|
|
ViceVersionVector * |
v2 |
|
) |
| |
◆ FPrintVV()
void FPrintVV |
( |
FILE * |
fp, |
|
|
ViceVersionVector * |
v |
|
) |
| |
◆ GetMaxVV()
void GetMaxVV |
( |
ViceVersionVector * |
newvv, |
|
|
ViceVersionVector ** |
vvgroup, |
|
|
int |
domindex |
|
) |
| |
◆ InitVV()
void InitVV |
( |
ViceVersionVector * |
v | ) |
|
◆ InvalidateVV()
void InvalidateVV |
( |
ViceVersionVector * |
v | ) |
|
◆ IsRunt()
int IsRunt |
( |
ViceVersionVector * |
v | ) |
|
◆ SPrintVV()
void SPrintVV |
( |
char * |
buf, |
|
|
size_t |
len, |
|
|
ViceVersionVector * |
v |
|
) |
| |
◆ SubVVs()
void SubVVs |
( |
ViceVersionVector * |
v1, |
|
|
ViceVersionVector * |
v2 |
|
) |
| |
◆ VV_Check()
int VV_Check |
( |
int * |
HowMany, |
|
|
ViceVersionVector ** |
vvp, |
|
|
int |
EqReq |
|
) |
| |
◆ VV_Check_IgnoreInc()
int VV_Check_IgnoreInc |
( |
int * |
HowMany, |
|
|
ViceVersionVector ** |
vvp, |
|
|
int |
EqReq |
|
) |
| |
◆ VV_Cmp()
VV_Cmp_Result VV_Cmp |
( |
const ViceVersionVector * |
a, |
|
|
const ViceVersionVector * |
b |
|
) |
| |
◆ VV_Cmp_IgnoreInc()
VV_Cmp_Result VV_Cmp_IgnoreInc |
( |
const ViceVersionVector * |
a, |
|
|
const ViceVersionVector * |
b |
|
) |
| |
◆ NullSid
const ViceStoreId NullSid |
|
extern |