fs                 85 src/diffviewer/ydiff.c #define FILE_DIRTY(fs) \
fs                 88 src/diffviewer/ydiff.c     (fs)->pos = 0; \
fs                 89 src/diffviewer/ydiff.c     (fs)->len = 0;  \
fs                204 src/diffviewer/ydiff.c     FBUF *fs;
fs                209 src/diffviewer/ydiff.c     fs = g_try_malloc (sizeof (FBUF));
fs                210 src/diffviewer/ydiff.c     if (fs == NULL)
fs                213 src/diffviewer/ydiff.c     fs->buf = g_try_malloc (FILE_READ_BUF);
fs                214 src/diffviewer/ydiff.c     if (fs->buf == NULL)
fs                216 src/diffviewer/ydiff.c         g_free (fs);
fs                220 src/diffviewer/ydiff.c     fs->fd = fd;
fs                221 src/diffviewer/ydiff.c     FILE_DIRTY (fs);
fs                222 src/diffviewer/ydiff.c     fs->flags = 0;
fs                223 src/diffviewer/ydiff.c     fs->data = NULL;
fs                225 src/diffviewer/ydiff.c     return fs;
fs                238 src/diffviewer/ydiff.c dview_ffree (FBUF *fs)
fs                242 src/diffviewer/ydiff.c     if ((fs->flags & FILE_FLAG_TEMP) != 0)
fs                244 src/diffviewer/ydiff.c         rv = unlink (fs->data);
fs                245 src/diffviewer/ydiff.c         g_free (fs->data);
fs                247 src/diffviewer/ydiff.c     g_free (fs->buf);
fs                248 src/diffviewer/ydiff.c     g_free (fs);
fs                264 src/diffviewer/ydiff.c     FBUF *fs;
fs                266 src/diffviewer/ydiff.c     fs = dview_fdopen (0);
fs                267 src/diffviewer/ydiff.c     if (fs == NULL)
fs                270 src/diffviewer/ydiff.c     fd = open_temp (&fs->data);
fs                273 src/diffviewer/ydiff.c         dview_ffree (fs);
fs                277 src/diffviewer/ydiff.c     fs->fd = fd;
fs                278 src/diffviewer/ydiff.c     fs->flags = FILE_FLAG_TEMP;
fs                279 src/diffviewer/ydiff.c     return fs;
fs                297 src/diffviewer/ydiff.c     FBUF *fs;
fs                299 src/diffviewer/ydiff.c     fs = dview_fdopen (0);
fs                300 src/diffviewer/ydiff.c     if (fs == NULL)
fs                306 src/diffviewer/ydiff.c         dview_ffree (fs);
fs                310 src/diffviewer/ydiff.c     fs->fd = fd;
fs                311 src/diffviewer/ydiff.c     return fs;
fs                329 src/diffviewer/ydiff.c dview_fgets (char *buf, size_t size, FBUF *fs)
fs                338 src/diffviewer/ydiff.c         for (i = fs->pos; j < size && i < fs->len && !stop; i++, j++)
fs                340 src/diffviewer/ydiff.c             buf[j] = fs->buf[i];
fs                344 src/diffviewer/ydiff.c         fs->pos = i;
fs                349 src/diffviewer/ydiff.c         fs->pos = 0;
fs                350 src/diffviewer/ydiff.c         fs->len = read (fs->fd, fs->buf, FILE_READ_BUF);
fs                352 src/diffviewer/ydiff.c     while (fs->len > 0);
fs                371 src/diffviewer/ydiff.c dview_fseek (FBUF *fs, off_t off, int whence)
fs                375 src/diffviewer/ydiff.c     if (fs->len != 0 && whence != SEEK_END)
fs                377 src/diffviewer/ydiff.c         rv = lseek (fs->fd, 0, SEEK_CUR);
fs                383 src/diffviewer/ydiff.c                 off += rv - fs->len + fs->pos;
fs                385 src/diffviewer/ydiff.c             if (off - rv >= -fs->len && off - rv <= 0)
fs                387 src/diffviewer/ydiff.c                 fs->pos = fs->len + off - rv;
fs                393 src/diffviewer/ydiff.c     rv = lseek (fs->fd, off, whence);
fs                395 src/diffviewer/ydiff.c         FILE_DIRTY (fs);
fs                410 src/diffviewer/ydiff.c dview_freset (FBUF *fs)
fs                414 src/diffviewer/ydiff.c     rv = lseek (fs->fd, 0, SEEK_SET);
fs                416 src/diffviewer/ydiff.c         FILE_DIRTY (fs);
fs                434 src/diffviewer/ydiff.c dview_fwrite (FBUF *fs, const char *buf, size_t size)
fs                438 src/diffviewer/ydiff.c     rv = write (fs->fd, buf, size);
fs                440 src/diffviewer/ydiff.c         FILE_DIRTY (fs);
fs                456 src/diffviewer/ydiff.c dview_ftrunc (FBUF *fs)
fs                460 src/diffviewer/ydiff.c     off = lseek (fs->fd, 0, SEEK_CUR);
fs                465 src/diffviewer/ydiff.c         rv = ftruncate (fs->fd, off);
fs                469 src/diffviewer/ydiff.c             FILE_DIRTY (fs);
fs                485 src/diffviewer/ydiff.c dview_fclose (FBUF *fs)
fs                489 src/diffviewer/ydiff.c     if (fs != NULL)
fs                491 src/diffviewer/ydiff.c         rv = close (fs->fd);
fs                492 src/diffviewer/ydiff.c         dview_ffree (fs);
fs                513 src/diffviewer/ydiff.c     FBUF *fs;
fs                524 src/diffviewer/ydiff.c     fs = dview_fdopen (0);
fs                525 src/diffviewer/ydiff.c     if (fs == NULL)
fs                531 src/diffviewer/ydiff.c         dview_ffree (fs);
fs                535 src/diffviewer/ydiff.c     fs->fd = fileno (f);
fs                536 src/diffviewer/ydiff.c     fs->data = f;
fs                537 src/diffviewer/ydiff.c     return fs;
fs                550 src/diffviewer/ydiff.c dview_pclose (FBUF *fs)
fs                554 src/diffviewer/ydiff.c     if (fs != NULL)
fs                556 src/diffviewer/ydiff.c         rv = pclose (fs->data);
fs                557 src/diffviewer/ydiff.c         dview_ffree (fs);
fs               1244 src/filemanager/mountlist.c     struct statfs fs;
fs                119 src/vfs/undelfs/undelfs.c static ext2_filsys fs = NULL;
fs                138 src/vfs/undelfs/undelfs.c     if (fs)
fs                139 src/vfs/undelfs/undelfs.c         ext2fs_close (fs);
fs                140 src/vfs/undelfs/undelfs.c     fs = NULL;
fs                241 src/vfs/undelfs/undelfs.c     block_buf = g_try_malloc (fs->blocksize * 3);
fs                247 src/vfs/undelfs/undelfs.c     retval = ext2fs_open_inode_scan (fs, 0, &scan);
fs                275 src/vfs/undelfs/undelfs.c         retval = ext2fs_block_iterate (fs, ino, 0, block_buf, undelfs_lsdel_proc, &lsd);
fs                359 src/vfs/undelfs/undelfs.c         return fs;
fs                362 src/vfs/undelfs/undelfs.c     if (ext2fs_open (ext2_fname, 0, 0, 0, unix_io_manager, &fs))
fs                368 src/vfs/undelfs/undelfs.c     if (ext2fs_read_inode_bitmap (fs))
fs                374 src/vfs/undelfs/undelfs.c     if (ext2fs_read_block_bitmap (fs))
fs                383 src/vfs/undelfs/undelfs.c     return fs;
fs                386 src/vfs/undelfs/undelfs.c     ext2fs_close (fs);
fs                387 src/vfs/undelfs/undelfs.c     fs = NULL;
fs                398 src/vfs/undelfs/undelfs.c     if (vfs_info != fs)
fs                472 src/vfs/undelfs/undelfs.c         p->buf = g_try_malloc (fs->blocksize);
fs                594 src/vfs/undelfs/undelfs.c     retval = ext2fs_block_iterate (fs, p->inode, 0, NULL, undelfs_dump_read, p);
fs                757 src/vfs/undelfs/undelfs.c     return ok ? (vfsid) fs : NULL;