Searched defs:ino (Results 1 - 25 of 76) sorted by relevance

1234

/external/e2fsprogs/lib/ext2fs/
H A Dalloc_stats.c17 void ext2fs_inode_alloc_stats2(ext2_filsys fs, ext2_ino_t ino, argument
20 int group = ext2fs_group_of_ino(fs, ino);
23 if (ino > fs->super->s_inodes_count) {
25 "Illegal inode number: %lu", (unsigned long) ino);
30 ext2fs_mark_inode_bitmap(fs->inode_map, ino);
32 ext2fs_unmark_inode_bitmap(fs->inode_map, ino);
46 if (ino >= first_unused_inode)
49 fs->super->s_inodes_per_group - ino;
58 void ext2fs_inode_alloc_stats(ext2_filsys fs, ext2_ino_t ino, int inuse) argument
60 ext2fs_inode_alloc_stats2(fs, ino, inus
[all...]
H A Dmkdir.c38 ext2_ino_t ino = inum; local
48 if (!ino) {
50 0, &ino);
65 retval = ext2fs_new_dir_block(fs, ino, parent, &block);
72 if (parent != ino) {
96 retval = ext2fs_write_new_inode(fs, ino, &inode);
113 retval = ext2fs_link(fs, parent, name, ino, EXT2_FT_DIR);
121 if (parent != ino) {
132 ext2fs_inode_alloc_stats2(fs, ino, +1, 1);
H A Dget_pathname.c14 * ext2fs_get_pathname(fs, dir, ino, name)
18 * directory inode, and <ino> is the inode number itself. If
19 * <ino> is zero, then ext2fs_get_pathname will return pathname
72 ext2_ino_t ino, int maxdepth,
79 if (dir == ino) {
95 gp.search_ino = ino;
112 if (!ino) {
143 errcode_t ext2fs_get_pathname(ext2_filsys fs, ext2_ino_t dir, ext2_ino_t ino, argument
154 if (dir == ino)
155 ino
71 ext2fs_get_pathname_int(ext2_filsys fs, ext2_ino_t dir, ext2_ino_t ino, int maxdepth, char *buf, char **name) argument
[all...]
H A Dunlink.c71 const char *name, ext2_ino_t ino,
79 if (!name && !ino)
87 ls.inode = ino;
70 ext2fs_unlink(ext2_filsys fs, ext2_ino_t dir, const char *name, ext2_ino_t ino, int flags EXT2FS_ATTR((unused))) argument
H A Dbmove.c29 ext2_ino_t ino; member in struct:process_block_struct
80 printf("ino=%ld, blockcnt=%lld, %u->%u\n", pb->ino,
84 retval = ext2fs_add_dir_block(fs->dblist, pb->ino,
99 ext2_ino_t ino; local
135 retval = ext2fs_get_next_inode(scan, &ino, &inode);
139 while (ino) {
144 pb.ino = ino;
150 retval = ext2fs_block_iterate2(fs, ino,
[all...]
H A Dlink.c112 ext2_ino_t ino, int flags)
126 ls.inode = ino;
111 ext2fs_link(ext2_filsys fs, ext2_ino_t dir, const char *name, ext2_ino_t ino, int flags) argument
H A Dtst_iscan.c139 ext2_ino_t ino; local
147 retval = ext2fs_get_next_inode(scan, &ino, &inode);
152 while (ino) {
153 retval = ext2fs_get_next_inode(scan, &ino, &inode);
155 ext2fs_mark_inode_bitmap(bad_inode_map, ino);
H A Dalloc.c80 ext2_ino_t i, ino; local
87 ino = (group * fs->super->s_inodes_per_group) + 1;
88 for (i=0; i < fs->super->s_inodes_per_group; i++, ino++)
89 ext2fs_fast_unmark_inode_bitmap(map, ino);
H A Dbmap.c28 extern errcode_t ext2fs_bmap(ext2_filsys fs, ext2_ino_t ino,
132 errcode_t ext2fs_bmap2(ext2_filsys fs, ext2_ino_t ino, struct ext2_inode *inode, argument
152 retval = ext2fs_read_inode(fs, ino, &inode_buf);
163 retval = ext2fs_extent_open2(fs, ino, inode, &handle);
197 retval = ext2fs_read_inode(fs, ino, inode);
315 retval = ext2fs_write_inode(fs, ino, inode);
320 errcode_t ext2fs_bmap(ext2_filsys fs, ext2_ino_t ino, struct ext2_inode *inode, argument
327 ret = ext2fs_bmap2(fs, ino, inode, block_buf, bmap_flags, block,
H A Ddblist.c155 errcode_t ext2fs_add_dir_block(ext2_dblist dblist, ext2_ino_t ino, blk_t blk, argument
177 new_entry->ino = ino;
188 errcode_t ext2fs_set_dir_block(ext2_dblist dblist, ext2_ino_t ino, blk_t blk, argument
196 if ((dblist->list[i].ino != ino) ||
251 if (db_a->ino != db_b->ino)
252 return (int) (db_a->ino - db_b->ino);
[all...]
H A Dext2fsP.h75 ext2_ino_t ino; member in struct:ext2_inode_cache_ent
H A Dinode_io.c38 ext2_ino_t ino; member in struct:inode_private_data
82 errcode_t ext2fs_inode_io_intern2(ext2_filsys fs, ext2_ino_t ino, argument
93 sprintf(data->name, "%u:%d", ino, ino_unique++);
96 data->ino = ino;
108 errcode_t ext2fs_inode_io_intern(ext2_filsys fs, ext2_ino_t ino, argument
111 return ext2fs_inode_io_intern2(fs, ino, NULL, name);
155 retval = ext2fs_file_open2(data->fs, data->ino,
/external/e2fsprogs/debugfs/
H A Dicheck.c23 ext2_ino_t ino; member in struct:block_info
44 if (!bw->barray[i].ino && bw->barray[i].blk == *block_nr) {
45 bw->barray[i].ino = bw->inode;
61 ext2_ino_t ino; local
101 retval = ext2fs_get_next_inode(scan, &ino, &inode);
108 while (ino) {
112 bw.inode = ino;
130 retval = ext2fs_block_iterate2(current_fs, ino,
144 retval = ext2fs_get_next_inode(scan, &ino, &inode);
155 if (binfo->ino
[all...]
H A Dncheck.c58 ext2_ino_t ino; local
95 retval = ext2fs_get_next_inode(scan, &ino, &inode);
103 while (ino) {
118 retval = ext2fs_get_pathname(current_fs, ino, 0, &iw.parent);
125 retval = ext2fs_dir_iterate(current_fs, ino, 0, 0,
139 retval = ext2fs_get_next_inode(scan, &ino, &inode);
H A Dls.c53 ext2_ino_t ino; variable
67 ino = dirent->inode;
72 ino = 0;
77 if (ino && debugfs_read_inode(ino, &inode, name)) return 0;
78 fprintf(ls->f,"/%u/%06o/%d/%d/%s/",ino,inode.i_mode,inode.i_uid, inode.i_gid,name);
86 if (ino) {
87 if (debugfs_read_inode(ino, &inode, name))
99 fprintf(ls->f, "%c%6u%c %6o (%d) %5d %5d ", lbr, ino, rbr,
H A Dlsdel.c24 ext2_ino_t ino; member in struct:deleted_info
79 ext2_ino_t ino; local
125 retval = ext2fs_get_next_inode(scan, &ino, &inode);
133 while (ino) {
138 lsd.inode = ino;
143 retval = ext2fs_block_iterate2(current_fs, ino,
164 delarray[num_delarray].ino = ino;
179 retval = ext2fs_get_next_inode(scan, &ino, &inode);
197 delarray[i].ino,
[all...]
/external/e2fsprogs/e2fsck/
H A Ddx_dirinfo.c16 void e2fsck_add_dx_dir(e2fsck_t ctx, ext2_ino_t ino, int num_blocks) argument
24 printf("add_dx_dir_info for inode %lu...\n", ino);
57 ctx->dx_dir_info[ctx->dx_dir_info_count-1].ino >= ino) {
59 if (ctx->dx_dir_info[i-1].ino < ino)
62 if (dir->ino != ino)
68 dir->ino = ino;
81 e2fsck_get_dx_dir_info(e2fsck_t ctx, ext2_ino_t ino) argument
[all...]
H A Demptydir.c26 ext2_ino_t ino; member in struct:empty_dir_info_struct
94 if (db->ino == 11)
98 db->blk, db->blockcnt, db->ino);
101 if (ext2fs_test_inode_bitmap(edi->dir_map, db->ino))
103 ext2fs_mark_inode_bitmap(edi->dir_map, db->ino);
105 ext2fs_add_dir_block(edi->empty_dblist, db->ino,
130 retval = ext2fs_bmap(fs, edi->ino, &edi->inode,
158 edi->ino = db->ino;
160 retval = ext2fs_read_inode(fs, db->ino,
[all...]
H A Discan.c100 ext2_ino_t ino; local
126 retval = ext2fs_get_next_inode(scan, &ino, &inode);
132 if (ino == 0)
H A Dscantest.c97 ext2_ino_t ino; local
119 retval = ext2fs_get_next_inode(scan, &ino, &inode);
124 while (ino) {
129 retval = ext2fs_get_next_inode(scan, &ino, &inode);
H A Dmessage.c19 * %Di <dirent>->ino inode number
26 * %i <ino> inode number
42 * %p ext2fs_get_pathname of directory <ino>
43 * %P ext2fs_get_pathname of <dirent>->ino with <ino2> as
47 * %Q ext2fs_get_pathname of directory <ino> with <dir> as
194 static void print_pathname(ext2_filsys fs, ext2_ino_t dir, ext2_ino_t ino) argument
199 if (!dir && (ino < num_special_inodes)) {
200 fputs(_(special_inode_name[ino]), stdout);
204 retval = ext2fs_get_pathname(fs, dir, ino, &path);
456 printf("%u", ctx->ino);
[all...]
/external/valgrind/main/include/
H A Dpub_tool_libcfile.h54 ULong ino; member in struct:vg_stat
/external/openssh/openbsd-compat/
H A Dgetcwd.c57 ino_t ino; local
113 ino = s.st_ino;
117 if (root_dev == dev && root_ino == ino) {
164 if (dp->d_fileno == ino)
182 if (s.st_dev == dev && s.st_ino == ino)
/external/e2fsprogs/tests/progs/
H A Dtest_icount.c51 const char *str, ext2_ino_t *ino)
55 *ino = strtoul(str, &tmp, 0);
106 ext2_ino_t ino; local
115 if (parse_inode(argv[0], "inode", argv[1], &ino))
117 retval = ext2fs_icount_fetch(test_icount, ino, &count);
129 ext2_ino_t ino; local
138 if (parse_inode(argv[0], "inode", argv[1], &ino))
140 retval = ext2fs_icount_increment(test_icount, ino, &count);
153 ext2_ino_t ino; local
162 if (parse_inode(argv[0], "inode", argv[1], &ino))
50 parse_inode(const char *request, const char *desc, const char *str, ext2_ino_t *ino) argument
177 ext2_ino_t ino; local
[all...]
/external/grub/stage2/
H A Dfsys_ffs.c186 int block, off, loc, map, ino = ROOTINO; local
194 if (!devread (fsbtodb (SUPERBLOCK, itod (SUPERBLOCK, ino)),
195 ino % (SUPERBLOCK->fs_inopb) * sizeof (struct dinode),
285 ino = dp->d_ino;

Completed in 234 milliseconds

1234