etfs
LIST_ENTRY(etfs) et_entries;
static LIST_HEAD(, etfs) etfs_list = LIST_HEAD_INITIALIZER(etfs_list);
etfs_find(const char *key, struct etfs **etp, bool forceprefix)
struct etfs *et;
struct etfs *et;
struct etfs *et;
struct etfs *et;
struct etfs *et;
struct etfsreg *etfs = NULL;
etfs = realloc(etfs,
(netfs+ALLOCCHUNK)*sizeof(*etfs));
if (etfs == NULL)
etfs[curetfs].key = key;
etfs[curetfs].hostpath = hostpath;
etfs[curetfs].flen = flen;
etfs[curetfs].foffset = foffset;
etfs[curetfs].partition = partition;
etfs[curetfs].type = ftype;
oflags = etfs[i].flen == DSIZE_E ? 0 : O_CREAT;
fd = open(etfs[i].hostpath, O_RDWR | oflags, 0644);
if (etfs[i].partition) {
processlabel(sflag, fd, etfs[i].partition - 'a',
foffset = etfs[i].foffset;
flen = etfs[i].flen;
if ((error = rump_pub_etfs_register_withsize(etfs[i].key,
etfs[i].hostpath, etfs[i].type, foffset, flen)) != 0)