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

1 2 3 4 5 6 7 8 910

  /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 117 void e2fsck_add_dir_info(e2fsck_t ctx, ext2_ino_t ino, ext2_ino_t parent)
126 printf("add_dir_info for inode (%lu, %lu)...\n", ino, parent);
144 ent.ino = ino;
163 ctx->dir_info->array[ctx->dir_info->count-1].ino >= ino) {
165 if (ctx->dir_info->array[i-1].ino < ino)
168 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_block2(edi->empty_dblist, db->ino,
130 retval = ext2fs_bmap2(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);
106 if (ext2fs_test_inode_bitmap2(ctx->inode_dir_map, dir->ino))
107 if (check_directory(ctx, dir->ino, &pctx))
265 ext2_ino_t ino = dir, parent; local
279 if (ext2fs_mark_inode_bitmap2(inode_done_map, ino))
282 if (e2fsck_dir_info_get_parent(ctx, ino, &parent)) {
296 pctx->ino = ino;
298 if (e2fsck_reconnect_file(ctx, pctx->ino))
359 ext2_ino_t ino; local
    [all...]
pass1b.c 88 static void delete_file(e2fsck_t ctx, ext2_ino_t ino,
90 static errcode_t clone_file(e2fsck_t ctx, ext2_ino_t ino,
119 static void add_dupe(e2fsck_t ctx, ext2_ino_t ino, blk64_t cluster,
140 ino_el->inode = ino;
145 n = dict_lookup(&ino_dict, INT_TO_VOIDPTR(ino));
151 if (ino == EXT2_ROOT_INO) {
160 dict_alloc_insert(&ino_dict, INT_TO_VOIDPTR(ino), di);
261 ext2_ino_t ino; member in struct:process_block_struct
271 ext2_ino_t ino = 0; local
293 if (ino % (fs->super->s_inodes_per_group * 4) == 1)
451 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
97 ext2_ino_t ino; member in struct:process_inode_block
168 int e2fsck_pass1_check_symlink(ext2_filsys fs, ext2_ino_t ino,
185 if (ext2fs_extent_open2(fs, ino, inode, &handle))
249 e2fsck_write_inode(ctx, pctx->ino, pctx->inode, "pass1");
268 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
547 ext2_ino_t ino = 0; local
1496 ext2_ino_t ino = pctx->ino; local
1961 ext2_ino_t ino = pctx->ino; local
2004 ext2_ino_t ino = pctx->ino; local
    [all...]
  /external/e2fsprogs/lib/ext2fs/
icount.c 45 ext2_ino_t ino; member in struct:ext2_icount_el
278 icount->list[i].ino = hint->list[i].ino;
302 ext2_ino_t ino, int pos)
309 if (icount->last_lookup && icount->last_lookup->ino == ino)
314 new_size = icount->list[(unsigned)icount->count-1].ino;
342 el->ino = ino;
353 ext2_ino_t ino, int create
658 ext2_ino_t ino; member in struct:test_program
    [all...]
alloc_stats.c 17 void ext2fs_inode_alloc_stats2(ext2_filsys fs, ext2_ino_t ino,
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_bitmap2(fs->inode_map, ino);
32 ext2fs_unmark_inode_bitmap2(fs->inode_map, ino);
46 if (ino >= first_unused_inode)
47 ext2fs_bg_itable_unused_set(fs, group, group * fs->super->s_inodes_per_group + fs->super->s_inodes_per_group - ino);
56 void ext2fs_inode_alloc_stats(ext2_filsys fs, ext2_ino_t ino, int inuse)
58 ext2fs_inode_alloc_stats2(fs, ino, inuse, 0)
    [all...]
mkdir.c 39 ext2_ino_t ino = inum; local
49 if (!ino) {
51 0, &ino);
66 retval = ext2fs_new_dir_block(fs, ino, parent, &block);
73 if (parent != ino) {
100 retval = ext2fs_write_new_inode(fs, ino, &inode);
105 retval = ext2fs_extent_open2(fs, ino, &inode, &handle);
127 retval = ext2fs_link(fs, parent, name, ino, EXT2_FT_DIR);
135 if (parent != ino) {
146 ext2fs_inode_alloc_stats2(fs, ino, +1, 1)
    [all...]
dblist.c 159 errcode_t ext2fs_add_dir_block2(ext2_dblist dblist, ext2_ino_t ino,
181 new_entry->ino = ino;
192 errcode_t ext2fs_set_dir_block2(ext2_dblist dblist, ext2_ino_t ino,
200 if ((dblist->list[i].ino != ino) ||
255 if (db_a->ino != db_b->ino)
256 return (int) (db_a->ino - db_b->ino);
    [all...]
symlink.c 30 errcode_t ext2fs_symlink(ext2_filsys fs, ext2_ino_t parent, ext2_ino_t ino,
67 if (!ino) {
69 0, &ino);
105 * operations using ino must come after it.
107 retval = ext2fs_write_new_inode(fs, ino, &inode);
112 retval = ext2fs_bmap2(fs, ino, &inode, NULL, BMAP_SET, 0, NULL,
134 retval = ext2fs_link(fs, parent, name, ino, EXT2_FT_SYMLINK);
144 ext2fs_inode_alloc_stats2(fs, ino, +1, 0);
bmove.c 29 ext2_ino_t ino; member in struct:process_block_struct
80 printf("ino=%u, blockcnt=%lld, %llu->%llu\n",
81 (unsigned) pb->ino, blockcnt,
86 retval = ext2fs_add_dir_block2(fs->dblist, pb->ino,
101 ext2_ino_t ino; local
137 retval = ext2fs_get_next_inode(scan, &ino, &inode);
141 while (ino) {
146 pb.ino = ino;
152 retval = ext2fs_block_iterate3(fs, ino, 0, block_buf
    [all...]
get_pathname.c 14 * 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;
104 if (ino)
105 snprintf(tmp, sizeof(tmp), "<%u>/<%u>", dir, ino);
124 if (!ino) {
154 errcode_t ext2fs_get_pathname(ext2_filsys fs, ext2_ino_t dir, ext2_ino_t ino,
    [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))
  /external/e2fsprogs/debugfs/
util.c 110 ext2_ino_t ino; local
116 * If the string is of the form <ino>, then treat it as an
120 ino = strtoul(str+1, &end, 0);
122 return ino;
125 retval = ext2fs_namei(current_fs, root, cwd, str, &ino);
130 return ino;
386 int debugfs_read_inode_full(ext2_ino_t ino, struct ext2_inode * inode,
391 retval = ext2fs_read_inode_full(current_fs, ino, inode, bufsize);
393 com_err(cmd, retval, "while reading inode %u", ino);
399 int debugfs_read_inode(ext2_ino_t ino, struct ext2_inode * inode
    [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) {
114 bw.inode = ino;
134 retval = ext2fs_block_iterate3(current_fs, ino,
148 retval = ext2fs_get_next_inode(scan, &ino, &inode);
159 if (binfo->ino == 0)
    [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_iterate3(current_fs, ino,
164 delarray[num_delarray].ino = ino;
176 retval = ext2fs_get_next_inode(scan, &ino, &inode);
194 delarray[i].ino,
    [all...]
filefrag.c 36 ext2_ino_t ino; member in struct:dir_list
128 static void filefrag(ext2_ino_t ino, struct ext2_inode *inode,
156 retval = ext2fs_block_iterate3(current_fs, ino,
177 ext2_ino_t ino; variable
188 ino = dirent->inode;
203 if (debugfs_read_inode(ino, &inode, fs->name))
206 filefrag(ino, &inode, fs);
219 p->ino = ino;
234 static void dir_iterate(ext2_ino_t ino, struct filefrag_struct *fs
265 ext2_ino_t ino; local
    [all...]
ls.c 53 ext2_ino_t ino; variable
66 ino = dirent->inode;
71 ino = 0;
76 if (ino) {
77 if (debugfs_read_inode(ino, &inode, name))
81 fprintf(ls->f,"/%u/%06o/%d/%d/%s/",ino,inode.i_mode,inode.i_uid, inode.i_gid,name);
88 if (ino) {
89 if (debugfs_read_inode(ino, &inode, name))
101 fprintf(ls->f, "%c%6u%c %6o (%d) %5d %5d ", lbr, ino, rbr,
  /external/e2fsprogs/lib/quota/
mkquota.h 47 void quota_data_inodes(quota_ctx_t qctx, struct ext2_inode *inode, ext2_ino_t ino,
49 void quota_data_add(quota_ctx_t qctx, struct ext2_inode *inode, ext2_ino_t ino,
51 void quota_data_sub(quota_ctx_t qctx, struct ext2_inode *inode, ext2_ino_t ino,
60 void quota_set_sb_inum(ext2_filsys fs, ext2_ino_t ino, int qtype);
  /external/skia/src/ports/
SkOSFile_posix.cpp 19 ino_t ino; member in struct:__anon14451
32 id->ino = status.st_ino;
39 && aID.ino == bID.ino
  /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...]
  /external/chromium_org/native_client_sdk/src/libraries/nacl_io/
inode_pool.h 25 // If we run out of INO numbers, then allocate 8 more
29 // since '0' refers to no INO.
35 // Return the INO at the top of the stack.
42 void Release(ino_t ino) {
44 inos_.push_back(ino);
getdents_helper.h 22 void AddDirent(ino_t ino, const char* name, size_t namelen);
  /external/chromium_org/third_party/skia/src/ports/
SkOSFile_posix.cpp 31 ino_t ino; member in struct:__anon19969
44 id->ino = status.st_ino;
51 && aID.ino == bID.ino

Completed in 351 milliseconds

1 2 3 4 5 6 7 8 910