Home | History | Annotate | Download | only in misc

Lines Matching defs:ino

70 			  ext2_ino_t ino, const char *name)
75 retval = ext2fs_read_inode(fs, ino, &inode);
77 com_err(__func__, retval, _("while reading inode %u"), ino);
81 retval = ext2fs_link(fs, parent_ino, name, ino,
90 retval = ext2fs_link(fs, parent_ino, name, ino,
100 retval = ext2fs_write_inode(fs, ino, &inode);
102 com_err(__func__, retval, _("while writing inode %u"), ino);
108 static errcode_t set_inode_extra(ext2_filsys fs, ext2_ino_t ino,
114 retval = ext2fs_read_inode(fs, ino, &inode);
116 com_err(__func__, retval, _("while reading inode %u"), ino);
127 retval = ext2fs_write_inode(fs, ino, &inode);
129 com_err(__func__, retval, _("while writing inode %u"), ino);
134 static errcode_t set_inode_xattr(ext2_filsys fs, ext2_ino_t ino,
153 retval = ext2fs_xattrs_open(fs, ino, &handle);
157 com_err(__func__, retval, _("while opening inode %u"), ino);
209 name, ino);
218 com_err(__func__, retval, _("while closing inode %u"), ino);
226 ext2_ino_t ino EXT2FS_ATTR((unused)),
238 ext2_ino_t ino;
267 retval = ext2fs_new_inode(fs, cwd, 010755, 0, &ino);
275 printf("Allocated inode: %u\n", ino);
277 retval = ext2fs_link(fs, cwd, name, ino, filetype);
285 retval = ext2fs_link(fs, cwd, name, ino, filetype);
291 if (ext2fs_test_inode_bitmap2(fs->inode_map, ino))
293 ext2fs_inode_alloc_stats2(fs, ino, +1, 0);
314 retval = ext2fs_write_new_inode(fs, ino, &inode);
316 com_err(__func__, retval, _("while writing inode %u"), ino);
553 ext2_ino_t ino)
559 err = ext2fs_file_open(fs, ino, EXT2_FILE_WRITE, &e2_file);
594 static int is_hardlink(struct hdlinks_s *hdlinks, dev_t dev, ino_t ino)
600 hdlinks->hdl[i].src_ino == ino)
724 ext2_ino_t ino;
865 name, &ino);
871 retval = __populate_fs(fs, ino, name, root, hdlinks,
887 retval = ext2fs_namei(fs, root, parent_ino, name, &ino);
894 retval = set_inode_extra(fs, ino, &st);
901 retval = set_inode_xattr(fs, ino, name);
916 /* Save the hardlink ino */
938 hdlinks->hdl[hdlinks->count].dst_ino = ino;