#include <vcrcommon.h>
Go to the source code of this file.
|
void | InitListHdr (int, resreplica *, struct listhdr **) |
|
int | InsertListHdr (int, struct repair *, struct listhdr **, int) |
|
int | InRepairList (struct listhdr *, unsigned, VnodeId, Unique_t) |
|
int | IsCreatedEarlier (struct listhdr **, int, VnodeId, Unique_t) |
|
int | getunixdirreps (int, char **, resreplica **) |
|
int | dirresolve (int, resreplica *, int(*)(char *), struct listhdr **, VolumeId, struct repinfo *, char *realm) |
|
void | resClean (int, resreplica *, struct listhdr *) |
|
int | GetParent (char *realm, ViceFid *, ViceFid *, char *, char *) |
|
◆ AVGDIRENTRYSIZE
◆ GROWSIZE
◆ ISDIRVNODE
#define ISDIRVNODE |
( |
|
vnode | ) |
((vnode) & 1) /* directory vnodes are odd */ |
◆ MAXHOSTS
◆ MAXNAMELEN
◆ NNCONFLICTS
◆ dirresolve()
int dirresolve |
( |
int |
nreplicas, |
|
|
resreplica * |
dirs, |
|
|
int(*)(char *) |
cbfn, |
|
|
struct listhdr ** |
opList, |
|
|
VolumeId |
RepVolume, |
|
|
struct repinfo * |
inf, |
|
|
char * |
realm |
|
) |
| |
◆ GetParent()
int GetParent |
( |
char * |
realm, |
|
|
ViceFid * |
cfid, |
|
|
ViceFid * |
dfid, |
|
|
char * |
dpath, |
|
|
char * |
childname |
|
) |
| |
◆ getunixdirreps()
int getunixdirreps |
( |
int |
, |
|
|
char ** |
, |
|
|
resreplica ** |
|
|
) |
| |
◆ InitListHdr()
◆ InRepairList()
int InRepairList |
( |
struct listhdr * |
opList, |
|
|
unsigned |
opcode, |
|
|
VnodeId |
vnode, |
|
|
Unique_t |
unique |
|
) |
| |
◆ InsertListHdr()
int InsertListHdr |
( |
int |
nreplicas, |
|
|
struct repair * |
rep, |
|
|
struct listhdr ** |
ops, |
|
|
int |
index |
|
) |
| |
◆ IsCreatedEarlier()
int IsCreatedEarlier |
( |
struct listhdr ** |
opList, |
|
|
int |
index, |
|
|
VnodeId |
vnode, |
|
|
Unique_t |
unique |
|
) |
| |
◆ resClean()
◆ direntriesarr
◆ direntriesarrsize
◆ nConflicts
◆ nextavailindex
◆ sortedArrByFidName
◆ sortedArrByName
◆ totaldirentries