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

1 2 3 4 5 6 7 8

  /external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/dump/
Dirent.java 25 private final int ino; field in class:Dirent
33 * @param ino
38 Dirent(final int ino, final int parentIno, final int type, final String name) {
39 this.ino = ino;
46 * Get ino.
50 return ino;
54 * Get ino of parent directory.
85 return String.format("[%d]: %s", ino, name);
  /external/e2fsprogs/tests/f_badsymlinks2/
mkimage.sh 31 local ino=$1
34 echo "zap_block -f <$ino> -p $((len%256)) -o 0 -l 1 0"
35 echo "zap_block -f <$ino> -p $((len/256)) -o 1 -l 1 0"
42 local ino
51 ino=$(symlink 1 $dir/empty)
52 echo "set_inode_field <$ino> i_size 10"
53 echo "set_inode_field <$ino> block[0] 0"
57 ino=$(symlink 10 $dir/fast_isize_too_small)
58 echo "set_inode_field <$ino> i_size 1"
60 ino=$(symlink 10 $dir/fast_isize_too_large
    [all...]
  /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);
61 ctx->dx_dir_info[ctx->dx_dir_info_count-1].ino >= ino) {
63 if (ctx->dx_dir_info[i-1].ino < ino)
66 if (dir->ino != ino)
72 dir->ino = ino;
    [all...]
dirinfo.c 130 void e2fsck_add_dir_info(e2fsck_t ctx, ext2_ino_t ino, ext2_ino_t parent)
138 printf("add_dir_info for inode (%lu, %lu)...\n", ino, parent);
166 ent.ino = ino;
184 ctx->dir_info->array[ctx->dir_info->count-1].ino >= ino) {
186 if (ctx->dir_info->array[i-1].ino < ino)
189 if (dir->ino != ino)
    [all...]
quota.c 85 pctx.ino = *quota_sb_inump(sb, qtype);
88 if (pctx.ino && (pctx.ino != quota_ino) &&
90 if (move_quota_inode(fs, pctx.ino, quota_ino, qtype))
110 pctx.ino = *quota_sb_inump(sb, qtype);
112 if (pctx.ino &&
113 ((pctx.ino == EXT2_BAD_INO) ||
114 (pctx.ino == EXT2_ROOT_INO) ||
115 (pctx.ino == EXT2_BOOT_LOADER_INO) ||
116 (pctx.ino == EXT2_UNDEL_DIR_INO) |
    [all...]
emptydir.c 27 ext2_ino_t ino; member in struct:empty_dir_info_struct
95 if (db->ino == 11)
99 db->blk, db->blockcnt, db->ino);
102 if (ext2fs_test_inode_bitmap(edi->dir_map, db->ino))
104 ext2fs_mark_inode_bitmap(edi->dir_map, db->ino);
106 ext2fs_add_dir_block2(edi->empty_dblist, db->ino,
131 retval = ext2fs_bmap2(fs, edi->ino, &edi->inode,
159 edi->ino = db->ino;
161 retval = ext2fs_read_inode(fs, db->ino, &edi->inode)
    [all...]
extents.c 25 static errcode_t e2fsck_rebuild_extents(e2fsck_t ctx, ext2_ino_t ino);
28 errcode_t e2fsck_rebuild_extents_later(e2fsck_t ctx, ext2_ino_t ino)
34 (ino != EXT2_ROOT_INO && ino < ctx->fs->super->s_first_ino))
38 return e2fsck_rebuild_extents(ctx, ino);
49 ext2fs_mark_inode_bitmap2(ctx->inodes_to_rebuild, ino);
54 int e2fsck_ino_will_be_rebuilt(e2fsck_t ctx, ext2_ino_t ino)
58 return ext2fs_test_inode_bitmap2(ctx->inodes_to_rebuild, ino);
68 ext2_ino_t ino; member in struct:extent_list
78 retval = ext2fs_extent_open(fs, list->ino, &handle)
359 ext2_ino_t ino = 0; local
    [all...]
pass3.c 46 static int check_directory(e2fsck_t ctx, ext2_ino_t ino,
48 static void fix_dotdot(e2fsck_t ctx, ext2_ino_t ino, ext2_ino_t parent);
108 if (ext2fs_test_inode_bitmap2(ctx->inode_dir_map, dir->ino))
109 if (check_directory(ctx, dir->ino, &pctx))
287 ext2_ino_t ino = dir, parent; local
301 if (ext2fs_mark_inode_bitmap2(inode_done_map, ino))
304 if (e2fsck_dir_info_get_parent(ctx, ino, &parent)) {
318 pctx->ino = ino;
320 if (e2fsck_reconnect_file(ctx, pctx->ino))
381 ext2_ino_t ino; local
    [all...]
pass1b.c 89 static void delete_file(e2fsck_t ctx, ext2_ino_t ino,
91 static errcode_t clone_file(e2fsck_t ctx, ext2_ino_t ino,
120 static void add_dupe(e2fsck_t ctx, ext2_ino_t ino, blk64_t cluster,
141 ino_el->inode = ino;
146 n = dict_lookup(&ino_dict, INT_TO_VOIDPTR(ino));
152 if (ino == EXT2_ROOT_INO) {
161 dict_alloc_insert(&ino_dict, INT_TO_VOIDPTR(ino), di);
280 ext2_ino_t ino; member in struct:process_block_struct
291 ext2_ino_t ino = 0; local
314 if (ino % (fs->super->s_inodes_per_group * 4) == 1)
501 ext2_ino_t *shared, ino; local
756 ext2_ino_t dir, ino; member in struct:clone_struct
    [all...]
  /external/e2fsprogs/lib/ext2fs/
mkdir.c 41 ext2_ino_t ino = inum; local
51 * and ino >= EXT2_FIRST_INO.
53 if ((!ino || ino >= EXT2_FIRST_INO(fs->super)) &&
60 if (!ino) {
62 0, &ino);
72 retval = ext2fs_new_block2(fs, ext2fs_find_inode_goal(fs, ino,
84 retval = ext2fs_new_dir_inline_data(fs, ino, parent,
87 retval = ext2fs_new_dir_block(fs, ino, parent, &block);
94 if (parent != ino) {
    [all...]
icount.c 46 ext2_ino_t ino; member in struct:ext2_icount_el
313 icount->list[i].ino = hint->list[i].ino;
338 ext2_ino_t ino, int pos)
345 if (icount->last_lookup && icount->last_lookup->ino == ino)
350 new_size = icount->list[(unsigned)icount->count-1].ino;
378 el->ino = ino;
389 ext2_ino_t ino, int create
725 ext2_ino_t ino; member in struct:test_program
    [all...]
symlink.c 47 errcode_t ext2fs_symlink(ext2_filsys fs, ext2_ino_t parent, ext2_ino_t ino,
82 retval = ext2fs_new_block2(fs, ext2fs_find_inode_goal(fs, ino,
93 if (!ino) {
95 0, &ino);
116 retval = ext2fs_write_new_inode(fs, ino, &inode);
119 retval = ext2fs_inline_data_set(fs, ino, &inode, block_buf,
126 retval = ext2fs_read_inode(fs, ino, &inode);
145 * operations using ino must come after it.
148 retval = ext2fs_write_inode(fs, ino, &inode);
150 retval = ext2fs_write_new_inode(fs, ino, &inode)
    [all...]
dblist.c 132 errcode_t ext2fs_add_dir_block2(ext2_dblist dblist, ext2_ino_t ino,
154 new_entry->ino = ino;
165 errcode_t ext2fs_set_dir_block2(ext2_dblist dblist, ext2_ino_t ino,
173 if ((dblist->list[i].ino != ino) ||
243 if (db_a->ino != db_b->ino)
244 return (int) (db_a->ino - db_b->ino);
    [all...]
tst_libext2fs.c 50 ext2_ino_t ino; local
57 ino = string_to_inode(argv[1]);
58 if (!ino)
68 ext2fs_block_iterate3(current_fs, ino, flags, NULL,
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);
23 if (ino > fs->super->s_inodes_count) {
26 "Illegal inode number: %lu", (unsigned long) ino);
31 ext2fs_mark_inode_bitmap2(fs->inode_map, ino);
33 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...]
bmove.c 30 ext2_ino_t ino; member in struct:process_block_struct
81 printf("ino=%u, blockcnt=%lld, %llu->%llu\n",
82 (unsigned) pb->ino, blockcnt,
87 retval = ext2fs_add_dir_block2(fs->dblist, pb->ino,
102 ext2_ino_t ino; local
138 retval = ext2fs_get_next_inode(scan, &ino, &inode);
142 while (ino) {
147 pb.ino = ino;
153 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...]
  /external/strace/
stat.h 34 unsigned long long ino; member in struct:strace_stat
  /external/squashfs-tools/kernel/fs/squashfs/
export.c 50 * Look-up inode number (ino) in table, returning the inode location.
58 __le64 ino; local
63 err = squashfs_read_metadata(sb, &ino, &start, &offset, sizeof(ino));
68 (u64) le64_to_cpu(ino));
70 return le64_to_cpu(ino);
77 long long ino; local
82 ino = squashfs_inode_lookup(sb, ino_num);
83 if (ino >= 0)
84 dentry = d_obtain_alias(squashfs_iget(sb, ino, ino_num))
    [all...]
  /external/e2fsprogs/debugfs/
util.c 111 ext2_ino_t ino; local
117 * If the string is of the form <ino>, then treat it as an
121 ino = strtoul(str+1, &end, 0);
122 if (*end=='>' && (ino <= current_fs->super->s_inodes_count))
123 return ino;
126 retval = ext2fs_namei(current_fs, root, cwd, str, &ino);
131 if (ino > current_fs->super->s_inodes_count) {
133 ino);
136 return ino;
423 int debugfs_read_inode_full(ext2_ino_t ino, struct ext2_inode * inode
    [all...]
icheck.c 24 ext2_ino_t ino; member in struct:block_info
45 if (!bw->barray[i].ino && bw->barray[i].blk == *block_nr) {
46 bw->barray[i].ino = bw->inode;
63 ext2_ino_t ino; local
103 retval = ext2fs_get_next_inode(scan, &ino, &inode);
110 while (ino) {
116 bw.inode = ino;
136 retval = ext2fs_block_iterate3(current_fs, ino,
150 retval = ext2fs_get_next_inode(scan, &ino, &inode);
161 if (binfo->ino == 0)
    [all...]
filefrag.c 37 ext2_ino_t ino; member in struct:dir_list
129 static void filefrag(ext2_ino_t ino, struct ext2_inode *inode,
157 retval = ext2fs_block_iterate3(current_fs, ino,
179 ext2_ino_t ino; variable
190 ino = dirent->inode;
205 if (debugfs_read_inode(ino, &inode, fs->name))
208 filefrag(ino, &inode, fs);
221 p->ino = ino;
236 static void dir_iterate(ext2_ino_t ino, struct filefrag_struct *fs
268 ext2_ino_t ino; local
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
dynload_shlib.c 60 ino_t ino[3]; member in struct:__anon5866
62 ino_t ino; member in struct:__anon5866
93 statb.st_ino == handles[i].ino) {
102 handles[nhandles].ino[0] = statb.st_ino[0];
103 handles[nhandles].ino[1] = statb.st_ino[1];
104 handles[nhandles].ino[2] = statb.st_ino[2];
106 handles[nhandles].ino = statb.st_ino;
  /external/python/cpython2/Python/
dynload_shlib.c 60 ino_t ino[3]; member in struct:__anon36876
62 ino_t ino; member in struct:__anon36876
93 statb.st_ino == handles[i].ino) {
102 handles[nhandles].ino[0] = statb.st_ino[0];
103 handles[nhandles].ino[1] = statb.st_ino[1];
104 handles[nhandles].ino[2] = statb.st_ino[2];
106 handles[nhandles].ino = statb.st_ino;
  /external/e2fsprogs/contrib/android/
perms.c 31 static errcode_t ino_add_xattr(ext2_filsys fs, ext2_ino_t ino, const char *name,
37 retval = ext2fs_xattrs_open(fs, ino, &xhandle);
39 com_err(__func__, retval, _("while opening inode %u"), ino);
45 _("while reading xattrs of inode %u"), ino);
51 _("while setting xattrs of inode %u"), ino);
58 _("while closing xattrs of inode %u"), ino);
64 static errcode_t set_selinux_xattr(ext2_filsys fs, ext2_ino_t ino,
74 retval = ext2fs_read_inode(fs, ino, &inode);
77 _("while reading inode %u"), ino);
90 retval = ino_add_xattr(fs, ino, "security." XATTR_SELINUX_SUFFIX
    [all...]

Completed in 783 milliseconds

1 2 3 4 5 6 7 8