Lines Matching defs:etfs
145 struct etfsreg *etfs = NULL;
296 etfs = realloc(etfs,
297 (netfs+ALLOCCHUNK)*sizeof(*etfs));
298 if (etfs == NULL)
299 die(1, errno, "realloc etfs");
303 etfs[curetfs].key = key;
304 etfs[curetfs].hostpath = hostpath;
305 etfs[curetfs].flen = flen;
306 etfs[curetfs].foffset = foffset;
307 etfs[curetfs].partition = partition;
308 etfs[curetfs].type = ftype;
413 error, "module etfs register failed");
433 oflags = etfs[i].flen == DSIZE_E ? 0 : O_CREAT;
434 fd = open(etfs[i].hostpath, O_RDWR | oflags, 0644);
436 die(sflag, errno, "etfs hostpath open");
438 if (etfs[i].partition) {
439 processlabel(sflag, fd, etfs[i].partition - 'a',
442 foffset = etfs[i].foffset;
443 flen = etfs[i].flen;
447 die(sflag, errno, "fstat etfs hostpath");
461 if ((error = rump_pub_etfs_register_withsize(etfs[i].key,
462 etfs[i].hostpath, etfs[i].type, foffset, flen)) != 0)
463 die_rumperr(sflag, error, "etfs register");