Lines Matching defs:fdb
17 #include <fdb.h>
23 int _stat_(struct stat* st, struct fdb* fdb);
142 struct fdb* __locate(const char* fn, char* buf, short* drv)
144 struct fdb* fdb;
152 if (fdb = _locate(fn, buf, drv))
153 return fdb;
178 fdb = _locate(p + 1, buf, drv);
181 return fdb;
248 register struct fdb* fdb;
297 if (fdb = _locate(buf2, buf, &st->st_dev)) {
301 || fdb->fileowner == 0
303 || fdb->fileowner == getuid())
305 return _stat_(st, fdb);
351 status = _stat_(st, (struct fdb*) &fsa);
407 int _stat_(st, fdb)
409 register struct fdb* fdb;
413 st->st_org = fdb->filestat;
415 /* map fdb file status to stat mode */
416 switch (fdb->filestat) {
430 st->st_mode |= _tm2um_(st->st_protect = fdb->protect);
432 st->st_uid = st->st_gid = fdb->fileowner;
433 st->st_size = fdb->filesize;
434 st->st_atime = st->st_mtime = st->st_ctime = getfiledate(fdb);
437 st->st_rlen = fdb->reclen;
438 st->st_klen = fdb->keylen;
439 st->st_grow = fdb->filegrow;