Lines Matching refs:fs
22 ext2_filsys fs;
46 ls->err = ext2fs_get_rec_len(ls->fs, dirent, &curr_rec_len);
59 ls->err = ext2fs_set_rec_len(ls->fs, curr_rec_len, dirent);
75 ls->err = ext2fs_set_rec_len(ls->fs, min_rec_len, dirent);
82 ls->err = ext2fs_set_rec_len(ls->fs, rec_len, next);
111 errcode_t ext2fs_link(ext2_filsys fs, ext2_ino_t dir, const char *name,
118 EXT2_CHECK_MAGIC(fs, EXT2_ET_MAGIC_EXT2FS_FILSYS);
120 if (!(fs->flags & EXT2_FLAG_RW))
123 ls.fs = fs;
129 ls.sb = fs->super;
130 ls.blocksize = fs->blocksize;
133 retval = ext2fs_dir_iterate(fs, dir, DIRENT_FLAG_INCLUDE_EMPTY,
143 if ((retval = ext2fs_read_inode(fs, dir, &inode)) != 0)
148 if ((retval = ext2fs_write_inode(fs, dir, &inode)) != 0)