/external/e2fsprogs/lib/ext2fs/ |
H A D | alloc_stats.c | 18 void ext2fs_inode_alloc_stats2(ext2_filsys fs, ext2_ino_t ino, argument 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) argument 61 ext2fs_inode_alloc_stats2(fs, ino, inus [all...] |
H A D | 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);
|
H A D | 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, argument 151 if (dir == ino) 152 ino 68 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 D | unlink.c | 71 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 D | 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, [all...] |
H A D | link.c | 112 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 D | tst_iscan.c | 139 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 D | alloc.c | 81 ext2_ino_t i, ino; local 88 ino = (group * fs->super->s_inodes_per_group) + 1; 89 for (i=0; i < fs->super->s_inodes_per_group; i++, ino++) 90 ext2fs_fast_unmark_inode_bitmap(map, ino);
|
H A D | bmap.c | 28 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 D | dblist.c | 156 errcode_t ext2fs_add_dir_block(ext2_dblist dblist, ext2_ino_t ino, blk_t blk, argument 178 new_entry->ino = ino; 189 errcode_t ext2fs_set_dir_block(ext2_dblist dblist, ext2_ino_t ino, blk_t blk, argument 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...] |
H A D | ext2fsP.h | 75 ext2_ino_t ino; member in struct:ext2_inode_cache_ent
|
H A D | inode_io.c | 38 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 D | 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 [all...] |
H A D | 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);
|
H A D | 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,
|
H A D | 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/e2fsck/ |
H A D | dx_dirinfo.c | 16 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 D | 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, [all...] |
H A D | iscan.c | 100 ext2_ino_t ino; local 126 retval = ext2fs_get_next_inode(scan, &ino, &inode); 132 if (ino == 0)
|
H A D | scantest.c | 97 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 D | swapfs.c | 22 ext2_ino_t ino; member in struct:swap_block_struct 80 static void swap_inode_blocks(e2fsck_t ctx, ext2_ino_t ino, char *block_buf, argument 86 sb.ino = ino; 94 retval = ext2fs_block_iterate(ctx->fs, ino, 0, block_buf, 115 ext2_ino_t ino = 1; local 145 i++, ino++, inode++) { 146 ctx->stashed_ino = ino; 163 swap_inode_blocks(ctx, ino, block_buf, inode);
|
H A D | message.c | 19 * %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 D | pub_tool_libcfile.h | 54 ULong ino; member in struct:vg_stat
|
/external/openssh/openbsd-compat/ |
H A D | getcwd.c | 57 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 D | 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)) 50 parse_inode(const char *request, const char *desc, const char *str, ext2_ino_t *ino) argument 177 ext2_ino_t ino; local [all...] |