HomeSort by relevance Sort by last modified time
    Searched refs:ino (Results 1 - 25 of 114) sorted by null

1 2 3 4 5

  /external/e2fsprogs/e2fsck/
dx_dirinfo.c 16 void e2fsck_add_dx_dir(e2fsck_t ctx, ext2_ino_t ino, int num_blocks)
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;
    [all...]
pass3.c 45 static int check_directory(e2fsck_t ctx, ext2_ino_t ino,
47 static void fix_dotdot(e2fsck_t ctx, ext2_ino_t ino, ext2_ino_t parent);
105 if (ext2fs_test_inode_bitmap(ctx->inode_dir_map, dir->ino))
106 if (check_directory(ctx, dir->ino, &pctx))
263 ext2_ino_t ino = dir, parent; local
277 if (ext2fs_mark_inode_bitmap(inode_done_map, ino))
280 if (e2fsck_dir_info_get_parent(ctx, ino, &parent)) {
294 pctx->ino = ino;
296 if (e2fsck_reconnect_file(ctx, pctx->ino))
357 ext2_ino_t ino; local
    [all...]
dirinfo.c 109 void e2fsck_add_dir_info(e2fsck_t ctx, ext2_ino_t ino, ext2_ino_t parent)
118 printf("add_dir_info for inode (%lu, %lu)...\n", ino, parent);
136 ent.ino = ino;
155 ctx->dir_info->array[ctx->dir_info->count-1].ino >= ino) {
157 if (ctx->dir_info->array[i-1].ino < ino)
160 if (dir->ino != ino)
    [all...]
emptydir.c 26 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, &edi->inode)
    [all...]
pass1b.c 88 static void delete_file(e2fsck_t ctx, ext2_ino_t ino,
90 static int clone_file(e2fsck_t ctx, ext2_ino_t ino,
118 static void add_dupe(e2fsck_t ctx, ext2_ino_t ino, blk_t blk,
139 ino_el->inode = ino;
144 n = dict_lookup(&ino_dict, INT_TO_VOIDPTR(ino));
150 if (ino == EXT2_ROOT_INO) {
159 dict_alloc_insert(&ino_dict, INT_TO_VOIDPTR(ino), di);
258 ext2_ino_t ino; member in struct:process_block_struct
267 ext2_ino_t ino; local
289 pctx.errcode = ext2fs_get_next_inode(scan, &ino, &inode)
432 ext2_ino_t *shared, ino; local
    [all...]
pass1.c 69 static void mark_inode_bad(e2fsck_t ctx, ino_t ino);
80 ext2_ino_t ino; member in struct:process_block_struct
96 ext2_ino_t ino; member in struct:process_inode_block
167 int e2fsck_pass1_check_symlink(ext2_filsys fs, ext2_ino_t ino,
184 if (ext2fs_extent_open2(fs, ino, inode, &handle))
248 e2fsck_write_inode(ctx, pctx->ino, pctx->inode, "pass1");
267 e2fsck_write_inode(ctx, pctx->ino, pctx->inode, "pass1");
346 e2fsck_write_inode_full(ctx, pctx->ino, pctx->inode,
364 printf("inode #%u, i_extra_size %d\n", pctx->ino,
379 e2fsck_write_inode_full(ctx, pctx->ino, pctx->inode
548 ext2_ino_t ino; local
1408 ext2_ino_t ino = pctx->ino; local
1823 ext2_ino_t ino = pctx->ino; local
1872 ext2_ino_t ino = pctx->ino; local
    [all...]
pass2.c 62 static void deallocate_inode(e2fsck_t ctx, ext2_ino_t ino, char* block_buf);
69 static void clear_htree(e2fsck_t ctx, ext2_ino_t ino);
167 pctx.dir = dx_dir->ino;
242 clear_htree(ctx, dx_dir->ino);
331 if (db_a->ino != db_b->ino)
332 return (int) (db_a->ino - db_b->ino);
344 ext2_ino_t ino, struct problem_context *pctx)
365 dirent->inode = ino;
718 ext2_ino_t ino = db->ino; local
    [all...]
e2fsck.h 88 ext2_ino_t ino; /* Inode number */ member in struct:dir_info
99 ext2_ino_t ino; /* Inode number */ member in struct:dx_dir_info
389 extern void e2fsck_add_dir_info(e2fsck_t ctx, ext2_ino_t ino, ext2_ino_t parent);
396 extern int e2fsck_dir_info_set_parent(e2fsck_t ctx, ext2_ino_t ino,
398 extern int e2fsck_dir_info_set_dotdot(e2fsck_t ctx, ext2_ino_t ino,
400 extern int e2fsck_dir_info_get_parent(e2fsck_t ctx, ext2_ino_t ino,
402 extern int e2fsck_dir_info_get_dotdot(e2fsck_t ctx, ext2_ino_t ino,
406 extern void e2fsck_add_dx_dir(e2fsck_t ctx, ext2_ino_t ino, int num_blocks);
407 extern struct dx_dir_info *e2fsck_get_dx_dir_info(e2fsck_t ctx, ext2_ino_t ino);
443 extern int e2fsck_pass1_check_symlink(ext2_filsys fs, ext2_ino_t ino,
    [all...]
  /external/e2fsprogs/lib/ext2fs/
icount.c 45 ext2_ino_t ino; member in struct:ext2_icount_el
265 icount->list[i].ino = hint->list[i].ino;
289 ext2_ino_t ino, int pos)
296 if (icount->last_lookup && icount->last_lookup->ino == ino)
301 new_size = icount->list[(unsigned)icount->count-1].ino;
329 el->ino = ino;
340 ext2_ino_t ino, int create
671 ext2_ino_t ino; member in struct:test_program
    [all...]
mkdir.c 38 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);
alloc_stats.c 18 void ext2fs_inode_alloc_stats2(ext2_filsys fs, ext2_ino_t ino,
21 int group = ext2fs_group_of_ino(fs, ino);
24 if (ino > fs->super->s_inodes_count) {
26 "Illegal inode number: %lu", (unsigned long) ino);
31 ext2fs_mark_inode_bitmap(fs->inode_map, ino);
33 ext2fs_unmark_inode_bitmap(fs->inode_map, ino);
47 if (ino >= first_unused_inode)
50 fs->super->s_inodes_per_group - ino;
59 void ext2fs_inode_alloc_stats(ext2_filsys fs, ext2_ino_t ino, int inuse)
61 ext2fs_inode_alloc_stats2(fs, ino, inuse, 0)
    [all...]
bmove.c 25 ext2_ino_t ino; member in struct:process_block_struct
76 printf("ino=%ld, blockcnt=%lld, %u->%u\n", pb->ino,
80 retval = ext2fs_add_dir_block(fs->dblist, pb->ino,
95 ext2_ino_t ino; local
131 retval = ext2fs_get_next_inode(scan, &ino, &inode);
135 while (ino) {
140 pb.ino = ino;
146 retval = ext2fs_block_iterate2(fs, ino, 0, block_buf
    [all...]
irel.h 65 errcode_t (*add_ref)(ext2_irel irel, ext2_ino_t ino,
72 errcode_t (*start_iter_ref)(ext2_irel irel, ext2_ino_t ino);
109 #define ext2fs_irel_add_ref(irel, ino, ref) ((irel)->add_ref((irel), ino, ref))
110 #define ext2fs_irel_start_iter_ref(irel, ino) ((irel)->start_iter_ref((irel), ino))
get_pathname.c 11 * ext2fs_get_pathname(fs, dir, ino, name)
15 * directory inode, and <ino> is the inode number itself. If
16 * <ino> is zero, then ext2fs_get_pathname will return pathname
69 ext2_ino_t ino, int maxdepth,
76 if (dir == ino) {
92 gp.search_ino = ino;
109 if (!ino) {
140 errcode_t ext2fs_get_pathname(ext2_filsys fs, ext2_ino_t dir, ext2_ino_t ino,
151 if (dir == ino)
152 ino = 0
    [all...]
irel_ma.c 35 static errcode_t ima_add_ref(ext2_irel irel, ext2_ino_t ino,
37 static errcode_t ima_start_iter_ref(ext2_irel irel, ext2_ino_t ino);
197 ext2_ino_t ino;
202 ino = ma->orig_map[(unsigned) orig];
203 if (ino == 0)
205 *old = ino;
206 *ent = ma->entries[(unsigned) ino];
233 static errcode_t ima_add_ref(ext2_irel irel, ext2_ino_t ino,
243 if (ino > ma->max_inode)
246 ref_ent = ma->ref_entries + (unsigned) ino;
    [all...]
inode.c 68 fs->icache->cache[i].ino = 0;
111 errcode_t (*save_get_blocks)(ext2_filsys f, ext2_ino_t ino, blk_t *blocks);
405 errcode_t ext2fs_get_next_inode_full(ext2_inode_scan scan, ext2_ino_t *ino,
426 *ino = 0;
509 *ino = scan->current_inode;
513 errcode_t ext2fs_get_next_inode(ext2_inode_scan scan, ext2_ino_t *ino,
516 return ext2fs_get_next_inode_full(scan, ino, inode,
523 errcode_t ext2fs_read_inode_full(ext2_filsys fs, ext2_ino_t ino,
536 retval = (fs->read_inode)(fs, ino, inode);
540 if ((ino == 0) || (ino > fs->super->s_inodes_count)
    [all...]
dblist.c 156 errcode_t ext2fs_add_dir_block(ext2_dblist dblist, ext2_ino_t ino, blk_t blk,
178 new_entry->ino = ino;
189 errcode_t ext2fs_set_dir_block(ext2_dblist dblist, ext2_ino_t ino, blk_t blk,
197 if ((dblist->list[i].ino != ino) ||
252 if (db_a->ino != db_b->ino)
253 return (int) (db_a->ino - db_b->ino);
    [all...]
  /external/e2fsprogs/debugfs/
icheck.c 23 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 == 0)
    [all...]
util.c 109 ext2_ino_t ino; local
115 * If the string is of the form <ino>, then treat it as an
119 ino = strtoul(str+1, &end, 0);
121 return ino;
124 retval = ext2fs_namei(current_fs, root, cwd, str, &ino);
129 return ino;
354 int debugfs_read_inode_full(ext2_ino_t ino, struct ext2_inode * inode,
359 retval = ext2fs_read_inode_full(current_fs, ino, inode, bufsize);
361 com_err(cmd, retval, "while reading inode %u", ino);
367 int debugfs_read_inode(ext2_ino_t ino, struct ext2_inode * inode
    [all...]
ls.c 53 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,
ncheck.c 58 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);
dump.c 100 static void dump_file(const char *cmdname, ext2_ino_t ino, int fd,
110 if (debugfs_read_inode(ino, &inode, cmdname))
113 retval = ext2fs_file_open(current_fs, ino, 0, &e2_file);
188 static void rdump_symlink(ext2_ino_t ino, struct ext2_inode *inode,
208 retval = ext2fs_file_open(current_fs, ino, 0, &e2_file);
242 static void rdump_inode(ext2_ino_t ino, struct ext2_inode *inode,
257 rdump_symlink(ino, inode, fullname);
265 dump_file("rdump", ino, fd, 1, fullname);
278 retval = ext2fs_dir_iterate(current_fs, ino, 0, 0,
316 ext2_ino_t ino; local
    [all...]
lsdel.c 24 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/tests/progs/
test_icount.c 51 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))
177 ext2_ino_t ino; local
    [all...]
  /prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/
bfs_fs.h 44 __le16 ino; member in struct:bfs_dirent
66 #define BFS_INO2OFF(ino) \
67 ((__u32)(((ino) - BFS_ROOT_INO) * sizeof(struct bfs_inode)) + BFS_BSIZE)

Completed in 248 milliseconds

1 2 3 4 5