Searched refs:fso (Results 1 – 2 of 2) sorted by relevance
112 static int fso; variable294 fso = fsi; in main()405 fso = creat(fsys, 0666); in main()406 if (fso < 0) { in main()430 fso = open(fsys, O_RDONLY); in main()431 if (fso < 0) { in main()494 (void) fsync(fso); in main()496 (void) close(fso); in main()1161 if (fso == -1) in wtfs()1164 if (llseek(fso, (offset_t)bno * sectorsize, 0) < 0) { in wtfs()[all …]
465 int fso = -1; variable1480 fso = (grow) ? open64(fsys, O_WRONLY) : creat64(fsys, 0666); in main()1481 if (fso < 0) { in main()1498 fso = open64(fsys, O_RDONLY); in main()1499 if (fso < 0) { in main()1510 if (ioctl(fso, DKIOCGMEDIAINFO, &dkminfo) != -1) { in main()1517 (void) close(fso); in main()2373 if (fsync(fso) == -1) { in main()2387 if (close(fso) == -1) { in main()2394 fsi = fso = -1; in main()[all …]