fs                 97 src/diffviewer/ydiff.c #define FILE_DIRTY(fs) \
fs                100 src/diffviewer/ydiff.c     (fs)->pos = 0; \
fs                101 src/diffviewer/ydiff.c     (fs)->len = 0;  \
fs                196 src/diffviewer/ydiff.c     FBUF *fs;
fs                201 src/diffviewer/ydiff.c     fs = g_try_malloc (sizeof (FBUF));
fs                202 src/diffviewer/ydiff.c     if (fs == NULL)
fs                205 src/diffviewer/ydiff.c     fs->buf = g_try_malloc (FILE_READ_BUF);
fs                206 src/diffviewer/ydiff.c     if (fs->buf == NULL)
fs                208 src/diffviewer/ydiff.c         g_free (fs);
fs                212 src/diffviewer/ydiff.c     fs->fd = fd;
fs                213 src/diffviewer/ydiff.c     FILE_DIRTY (fs);
fs                214 src/diffviewer/ydiff.c     fs->flags = 0;
fs                215 src/diffviewer/ydiff.c     fs->data = NULL;
fs                217 src/diffviewer/ydiff.c     return fs;
fs                230 src/diffviewer/ydiff.c f_free (FBUF * fs)
fs                234 src/diffviewer/ydiff.c     if (fs->flags & FILE_FLAG_TEMP)
fs                236 src/diffviewer/ydiff.c         rv = unlink (fs->data);
fs                237 src/diffviewer/ydiff.c         g_free (fs->data);
fs                239 src/diffviewer/ydiff.c     g_free (fs->buf);
fs                240 src/diffviewer/ydiff.c     g_free (fs);
fs                256 src/diffviewer/ydiff.c     FBUF *fs;
fs                258 src/diffviewer/ydiff.c     fs = f_dopen (0);
fs                259 src/diffviewer/ydiff.c     if (fs == NULL)
fs                262 src/diffviewer/ydiff.c     fd = open_temp (&fs->data);
fs                265 src/diffviewer/ydiff.c         f_free (fs);
fs                269 src/diffviewer/ydiff.c     fs->fd = fd;
fs                270 src/diffviewer/ydiff.c     fs->flags = FILE_FLAG_TEMP;
fs                271 src/diffviewer/ydiff.c     return fs;
fs                289 src/diffviewer/ydiff.c     FBUF *fs;
fs                291 src/diffviewer/ydiff.c     fs = f_dopen (0);
fs                292 src/diffviewer/ydiff.c     if (fs == NULL)
fs                298 src/diffviewer/ydiff.c         f_free (fs);
fs                302 src/diffviewer/ydiff.c     fs->fd = fd;
fs                303 src/diffviewer/ydiff.c     return fs;
fs                321 src/diffviewer/ydiff.c f_gets (char *buf, size_t size, FBUF * fs)
fs                330 src/diffviewer/ydiff.c         for (i = fs->pos; j < size && i < fs->len && !stop; i++, j++)
fs                332 src/diffviewer/ydiff.c             buf[j] = fs->buf[i];
fs                336 src/diffviewer/ydiff.c         fs->pos = i;
fs                341 src/diffviewer/ydiff.c         fs->pos = 0;
fs                342 src/diffviewer/ydiff.c         fs->len = read (fs->fd, fs->buf, FILE_READ_BUF);
fs                344 src/diffviewer/ydiff.c     while (fs->len > 0);
fs                363 src/diffviewer/ydiff.c f_seek (FBUF * fs, off_t off, int whence)
fs                367 src/diffviewer/ydiff.c     if (fs->len && whence != SEEK_END)
fs                369 src/diffviewer/ydiff.c         rv = lseek (fs->fd, 0, SEEK_CUR);
fs                375 src/diffviewer/ydiff.c                 off += rv - fs->len + fs->pos;
fs                377 src/diffviewer/ydiff.c             if (off - rv >= -fs->len && off - rv <= 0)
fs                379 src/diffviewer/ydiff.c                 fs->pos = fs->len + off - rv;
fs                385 src/diffviewer/ydiff.c     rv = lseek (fs->fd, off, whence);
fs                387 src/diffviewer/ydiff.c         FILE_DIRTY (fs);
fs                402 src/diffviewer/ydiff.c f_reset (FBUF * fs)
fs                406 src/diffviewer/ydiff.c     rv = lseek (fs->fd, 0, SEEK_SET);
fs                408 src/diffviewer/ydiff.c         FILE_DIRTY (fs);
fs                426 src/diffviewer/ydiff.c f_write (FBUF * fs, const char *buf, size_t size)
fs                430 src/diffviewer/ydiff.c     rv = write (fs->fd, buf, size);
fs                432 src/diffviewer/ydiff.c         FILE_DIRTY (fs);
fs                448 src/diffviewer/ydiff.c f_trunc (FBUF * fs)
fs                452 src/diffviewer/ydiff.c     off = lseek (fs->fd, 0, SEEK_CUR);
fs                457 src/diffviewer/ydiff.c         rv = ftruncate (fs->fd, off);
fs                461 src/diffviewer/ydiff.c             FILE_DIRTY (fs);
fs                477 src/diffviewer/ydiff.c f_close (FBUF * fs)
fs                481 src/diffviewer/ydiff.c     if (fs != NULL)
fs                483 src/diffviewer/ydiff.c         rv = close (fs->fd);
fs                484 src/diffviewer/ydiff.c         f_free (fs);
fs                505 src/diffviewer/ydiff.c     FBUF *fs;
fs                516 src/diffviewer/ydiff.c     fs = f_dopen (0);
fs                517 src/diffviewer/ydiff.c     if (fs == NULL)
fs                523 src/diffviewer/ydiff.c         f_free (fs);
fs                527 src/diffviewer/ydiff.c     fs->fd = fileno (f);
fs                528 src/diffviewer/ydiff.c     fs->data = f;
fs                529 src/diffviewer/ydiff.c     return fs;
fs                542 src/diffviewer/ydiff.c p_close (FBUF * fs)
fs                546 src/diffviewer/ydiff.c     if (fs != NULL)
fs                548 src/diffviewer/ydiff.c         rv = pclose (fs->data);
fs                549 src/diffviewer/ydiff.c         f_free (fs);
fs               1227 src/filemanager/mountlist.c     struct statfs fs;
fs                126 src/vfs/undelfs/undelfs.c static ext2_filsys fs = NULL;
fs                145 src/vfs/undelfs/undelfs.c     if (fs)
fs                146 src/vfs/undelfs/undelfs.c         ext2fs_close (fs);
fs                147 src/vfs/undelfs/undelfs.c     fs = NULL;
fs                251 src/vfs/undelfs/undelfs.c     block_buf = g_try_malloc (fs->blocksize * 3);
fs                257 src/vfs/undelfs/undelfs.c     retval = ext2fs_open_inode_scan (fs, 0, &scan);
fs                285 src/vfs/undelfs/undelfs.c         retval = ext2fs_block_iterate (fs, ino, 0, block_buf, undelfs_lsdel_proc, &lsd);
fs                369 src/vfs/undelfs/undelfs.c         return fs;
fs                372 src/vfs/undelfs/undelfs.c     if (ext2fs_open (ext2_fname, 0, 0, 0, unix_io_manager, &fs))
fs                378 src/vfs/undelfs/undelfs.c     if (ext2fs_read_inode_bitmap (fs))
fs                384 src/vfs/undelfs/undelfs.c     if (ext2fs_read_block_bitmap (fs))
fs                393 src/vfs/undelfs/undelfs.c     return fs;
fs                396 src/vfs/undelfs/undelfs.c     ext2fs_close (fs);
fs                397 src/vfs/undelfs/undelfs.c     fs = NULL;
fs                409 src/vfs/undelfs/undelfs.c     if (vfs_info != fs)
fs                478 src/vfs/undelfs/undelfs.c         p->buf = g_try_malloc (fs->blocksize);
fs                600 src/vfs/undelfs/undelfs.c     retval = ext2fs_block_iterate (fs, p->inode, 0, NULL, undelfs_dump_read, p);
fs                763 src/vfs/undelfs/undelfs.c     return ok ? (vfsid) fs : NULL;