fs                 99 src/diffviewer/ydiff.c #define FILE_DIRTY(fs) \
fs                102 src/diffviewer/ydiff.c     (fs)->pos = 0; \
fs                103 src/diffviewer/ydiff.c     (fs)->len = 0;  \
fs                198 src/diffviewer/ydiff.c     FBUF *fs;
fs                203 src/diffviewer/ydiff.c     fs = g_try_malloc (sizeof (FBUF));
fs                204 src/diffviewer/ydiff.c     if (fs == NULL)
fs                207 src/diffviewer/ydiff.c     fs->buf = g_try_malloc (FILE_READ_BUF);
fs                208 src/diffviewer/ydiff.c     if (fs->buf == NULL)
fs                210 src/diffviewer/ydiff.c         g_free (fs);
fs                214 src/diffviewer/ydiff.c     fs->fd = fd;
fs                215 src/diffviewer/ydiff.c     FILE_DIRTY (fs);
fs                216 src/diffviewer/ydiff.c     fs->flags = 0;
fs                217 src/diffviewer/ydiff.c     fs->data = NULL;
fs                219 src/diffviewer/ydiff.c     return fs;
fs                232 src/diffviewer/ydiff.c f_free (FBUF * fs)
fs                236 src/diffviewer/ydiff.c     if (fs->flags & FILE_FLAG_TEMP)
fs                238 src/diffviewer/ydiff.c         rv = unlink (fs->data);
fs                239 src/diffviewer/ydiff.c         g_free (fs->data);
fs                241 src/diffviewer/ydiff.c     g_free (fs->buf);
fs                242 src/diffviewer/ydiff.c     g_free (fs);
fs                258 src/diffviewer/ydiff.c     FBUF *fs;
fs                260 src/diffviewer/ydiff.c     fs = f_dopen (0);
fs                261 src/diffviewer/ydiff.c     if (fs == NULL)
fs                264 src/diffviewer/ydiff.c     fd = open_temp (&fs->data);
fs                267 src/diffviewer/ydiff.c         f_free (fs);
fs                271 src/diffviewer/ydiff.c     fs->fd = fd;
fs                272 src/diffviewer/ydiff.c     fs->flags = FILE_FLAG_TEMP;
fs                273 src/diffviewer/ydiff.c     return fs;
fs                291 src/diffviewer/ydiff.c     FBUF *fs;
fs                293 src/diffviewer/ydiff.c     fs = f_dopen (0);
fs                294 src/diffviewer/ydiff.c     if (fs == NULL)
fs                300 src/diffviewer/ydiff.c         f_free (fs);
fs                304 src/diffviewer/ydiff.c     fs->fd = fd;
fs                305 src/diffviewer/ydiff.c     return fs;
fs                323 src/diffviewer/ydiff.c f_gets (char *buf, size_t size, FBUF * fs)
fs                332 src/diffviewer/ydiff.c         for (i = fs->pos; j < size && i < fs->len && !stop; i++, j++)
fs                334 src/diffviewer/ydiff.c             buf[j] = fs->buf[i];
fs                338 src/diffviewer/ydiff.c         fs->pos = i;
fs                343 src/diffviewer/ydiff.c         fs->pos = 0;
fs                344 src/diffviewer/ydiff.c         fs->len = read (fs->fd, fs->buf, FILE_READ_BUF);
fs                346 src/diffviewer/ydiff.c     while (fs->len > 0);
fs                365 src/diffviewer/ydiff.c f_seek (FBUF * fs, off_t off, int whence)
fs                369 src/diffviewer/ydiff.c     if (fs->len && whence != SEEK_END)
fs                371 src/diffviewer/ydiff.c         rv = lseek (fs->fd, 0, SEEK_CUR);
fs                377 src/diffviewer/ydiff.c                 off += rv - fs->len + fs->pos;
fs                379 src/diffviewer/ydiff.c             if (off - rv >= -fs->len && off - rv <= 0)
fs                381 src/diffviewer/ydiff.c                 fs->pos = fs->len + off - rv;
fs                387 src/diffviewer/ydiff.c     rv = lseek (fs->fd, off, whence);
fs                389 src/diffviewer/ydiff.c         FILE_DIRTY (fs);
fs                404 src/diffviewer/ydiff.c f_reset (FBUF * fs)
fs                408 src/diffviewer/ydiff.c     rv = lseek (fs->fd, 0, SEEK_SET);
fs                410 src/diffviewer/ydiff.c         FILE_DIRTY (fs);
fs                428 src/diffviewer/ydiff.c f_write (FBUF * fs, const char *buf, size_t size)
fs                432 src/diffviewer/ydiff.c     rv = write (fs->fd, buf, size);
fs                434 src/diffviewer/ydiff.c         FILE_DIRTY (fs);
fs                450 src/diffviewer/ydiff.c f_trunc (FBUF * fs)
fs                454 src/diffviewer/ydiff.c     off = lseek (fs->fd, 0, SEEK_CUR);
fs                459 src/diffviewer/ydiff.c         rv = ftruncate (fs->fd, off);
fs                463 src/diffviewer/ydiff.c             FILE_DIRTY (fs);
fs                479 src/diffviewer/ydiff.c f_close (FBUF * fs)
fs                483 src/diffviewer/ydiff.c     if (fs != NULL)
fs                485 src/diffviewer/ydiff.c         rv = close (fs->fd);
fs                486 src/diffviewer/ydiff.c         f_free (fs);
fs                507 src/diffviewer/ydiff.c     FBUF *fs;
fs                518 src/diffviewer/ydiff.c     fs = f_dopen (0);
fs                519 src/diffviewer/ydiff.c     if (fs == NULL)
fs                525 src/diffviewer/ydiff.c         f_free (fs);
fs                529 src/diffviewer/ydiff.c     fs->fd = fileno (f);
fs                530 src/diffviewer/ydiff.c     fs->data = f;
fs                531 src/diffviewer/ydiff.c     return fs;
fs                544 src/diffviewer/ydiff.c p_close (FBUF * fs)
fs                548 src/diffviewer/ydiff.c     if (fs != NULL)
fs                550 src/diffviewer/ydiff.c         rv = pclose (fs->data);
fs                551 src/diffviewer/ydiff.c         f_free (fs);
fs               1241 src/filemanager/mountlist.c     struct statfs fs;
fs                118 src/vfs/undelfs/undelfs.c static ext2_filsys fs = NULL;
fs                137 src/vfs/undelfs/undelfs.c     if (fs)
fs                138 src/vfs/undelfs/undelfs.c         ext2fs_close (fs);
fs                139 src/vfs/undelfs/undelfs.c     fs = NULL;
fs                243 src/vfs/undelfs/undelfs.c     block_buf = g_try_malloc (fs->blocksize * 3);
fs                249 src/vfs/undelfs/undelfs.c     retval = ext2fs_open_inode_scan (fs, 0, &scan);
fs                277 src/vfs/undelfs/undelfs.c         retval = ext2fs_block_iterate (fs, ino, 0, block_buf, undelfs_lsdel_proc, &lsd);
fs                361 src/vfs/undelfs/undelfs.c         return fs;
fs                364 src/vfs/undelfs/undelfs.c     if (ext2fs_open (ext2_fname, 0, 0, 0, unix_io_manager, &fs))
fs                370 src/vfs/undelfs/undelfs.c     if (ext2fs_read_inode_bitmap (fs))
fs                376 src/vfs/undelfs/undelfs.c     if (ext2fs_read_block_bitmap (fs))
fs                385 src/vfs/undelfs/undelfs.c     return fs;
fs                388 src/vfs/undelfs/undelfs.c     ext2fs_close (fs);
fs                389 src/vfs/undelfs/undelfs.c     fs = NULL;
fs                400 src/vfs/undelfs/undelfs.c     if (vfs_info != fs)
fs                474 src/vfs/undelfs/undelfs.c         p->buf = g_try_malloc (fs->blocksize);
fs                596 src/vfs/undelfs/undelfs.c     retval = ext2fs_block_iterate (fs, p->inode, 0, NULL, undelfs_dump_read, p);
fs                759 src/vfs/undelfs/undelfs.c     return ok ? (vfsid) fs : NULL;