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

1 2 3 4 5 6

  /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...]
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...]
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);
113 if (ext2fs_test_inode_bitmap(ctx->inode_dir_map, dir->ino))
114 if (check_directory(ctx, dir->ino, &pctx))
276 ext2_ino_t ino = dir, parent; local
290 if (ext2fs_mark_inode_bitmap(inode_done_map, ino))
293 if (e2fsck_dir_info_get_parent(ctx, ino, &parent)) {
307 pctx->ino = ino;
309 if (e2fsck_reconnect_file(ctx, pctx->ino))
370 ext2_ino_t ino; local
    [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);
244 ext2_ino_t ino; member in struct:process_block_struct
253 ext2_ino_t ino; local
275 pctx.errcode = ext2fs_get_next_inode(scan, &ino, &inode)
417 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
95 ext2_ino_t ino; member in struct:process_inode_block
222 e2fsck_write_inode(ctx, pctx->ino, pctx->inode, "pass1");
241 e2fsck_write_inode(ctx, pctx->ino, pctx->inode, "pass1");
319 e2fsck_write_inode_full(ctx, pctx->ino, (struct ext2_inode *) inode,
337 printf("inode #%u, i_extra_size %d\n", pctx->ino,
352 e2fsck_write_inode_full(ctx, pctx->ino, pctx->inode,
413 (dirent->inode != pctx->ino) ||
429 e2fsck_write_inode_full(ctx, pctx->ino, inode,
471 ext2_ino_t ino; local
1255 ext2_ino_t ino = pctx->ino; local
1480 ext2_ino_t ino = pctx->ino; local
    [all...]
  /external/e2fsprogs/lib/ext2fs/
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 ext2fs_mark_inode_bitmap(fs->inode_map, ino);
26 ext2fs_unmark_inode_bitmap(fs->inode_map, ino);
35 void ext2fs_inode_alloc_stats(ext2_filsys fs, ext2_ino_t ino, int inuse)
37 ext2fs_inode_alloc_stats2(fs, ino, inuse, 0);
icount.c 45 ext2_ino_t ino; member in struct:ext2_icount_el
256 icount->list[i].ino = hint->list[i].ino;
280 ext2_ino_t ino, int pos)
287 if (icount->last_lookup && icount->last_lookup->ino == ino)
292 new_size = icount->list[(unsigned)icount->count-1].ino;
320 el->ino = ino;
331 ext2_ino_t ino, int create
660 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) {
97 retval = ext2fs_write_new_inode(fs, ino, &inode);
114 retval = ext2fs_link(fs, parent, name, ino, EXT2_FT_DIR);
122 if (parent != ino) {
133 ext2fs_inode_alloc_stats2(fs, ino, +1, 1);
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...]
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.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))
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 67 fs->icache->cache[i].ino = 0;
110 errcode_t (*save_get_blocks)(ext2_filsys f, ext2_ino_t ino, blk_t *blocks);
384 errcode_t ext2fs_get_next_inode_full(ext2_inode_scan scan, ext2_ino_t *ino,
405 *ino = 0;
490 *ino = scan->current_inode;
494 errcode_t ext2fs_get_next_inode(ext2_inode_scan scan, ext2_ino_t *ino,
497 return ext2fs_get_next_inode_full(scan, ino, inode,
504 errcode_t ext2fs_read_inode_full(ext2_filsys fs, ext2_ino_t ino,
517 retval = (fs->read_inode)(fs, ino, inode);
531 if (fs->icache->cache[i].ino == ino)
    [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...]
fileio.c 24 ext2_ino_t ino; member in struct:ext2_file
35 errcode_t ext2fs_file_open2(ext2_filsys fs, ext2_ino_t ino,
57 file->ino = ino;
63 retval = ext2fs_read_inode(fs, ino, &file->inode);
82 errcode_t ext2fs_file_open(ext2_filsys fs, ext2_ino_t ino,
85 return ext2fs_file_open2(fs, ino, NULL, flags, ret);
119 retval = ext2fs_bmap(fs, file->ino, &file->inode,
120 BMAP_BUFFER, file->ino ? BMAP_ALLOC : 0,
171 retval = ext2fs_bmap(fs, file->ino, &file->inode
    [all...]
unlink.c 71 const char *name, ext2_ino_t ino,
79 if (!name && !ino)
87 ls.inode = ino;
  /external/e2fsprogs/debugfs/
ncheck.c 22 ext2_ino_t ino; member in struct:inode_info
48 if (iw->iarray[i].ino == dirent->inode) {
65 ext2_ino_t ino; local
86 iw.iarray[i-1].ino = strtol(argv[i], &tmp, 0);
102 retval = ext2fs_get_next_inode(scan, &ino, &inode);
109 while (ino) {
123 iw.parent = ino;
125 retval = ext2fs_dir_iterate(current_fs, ino, 0, 0,
138 retval = ext2fs_get_next_inode(scan, &ino, &inode);
152 iinfo->ino, &iinfo->pathname)
    [all...]
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, 0, block_buf,
143 retval = ext2fs_get_next_inode(scan, &ino, &inode);
154 if (binfo->ino == 0)
    [all...]
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);
189 static void rdump_symlink(ext2_ino_t ino, struct ext2_inode *inode,
209 retval = ext2fs_file_open(current_fs, ino, 0, &e2_file);
243 static void rdump_inode(ext2_ino_t ino, struct ext2_inode *inode,
258 rdump_symlink(ino, inode, fullname);
266 dump_file("rdump", ino, fd, 1, fullname);
279 retval = ext2fs_dir_iterate(current_fs, ino, 0, 0,
317 ext2_ino_t ino; local
    [all...]
util.c 107 ext2_ino_t ino; local
113 * If the string is of the form <ino>, then treat it as an
117 ino = strtoul(str+1, &end, 0);
119 return ino;
122 retval = ext2fs_namei(current_fs, root, cwd, str, &ino);
127 return ino;
348 int debugfs_read_inode_full(ext2_ino_t ino, struct ext2_inode * inode,
353 retval = ext2fs_read_inode_full(current_fs, ino, inode, bufsize);
355 com_err(cmd, retval, "while reading inode %u", ino);
361 int debugfs_read_inode(ext2_ino_t ino, struct ext2_inode * inode
    [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, 0, block_buf,
163 delarray[num_delarray].ino = ino;
178 retval = ext2fs_get_next_inode(scan, &ino, &inode);
196 delarray[i].ino,
    [all...]
ls.c 52 ext2_ino_t ino; variable
66 ino = dirent->inode;
71 ino = 0;
76 if (ino) {
77 if (debugfs_read_inode(ino, &inode, name))
89 fprintf(ls->f, "%c%6u%c %6o (%d) %5d %5d ", lbr, ino, rbr,
  /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)
  /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...]

Completed in 228 milliseconds

1 2 3 4 5 6