Home
last modified time | relevance | path

Searched refs:ino (Results 1 – 25 of 709) sorted by relevance

12345678910>>...29

/external/e2fsprogs/lib/ext2fs/
Dicount.c46 ext2_ino_t ino; member
313 icount->list[i].ino = hint->list[i].ino; in ext2fs_create_icount2()
338 ext2_ino_t ino, int pos) in insert_icount_el() argument
345 if (icount->last_lookup && icount->last_lookup->ino == ino) in insert_icount_el()
350 new_size = icount->list[(unsigned)icount->count-1].ino; in insert_icount_el()
378 el->ino = ino; in insert_icount_el()
389 ext2_ino_t ino, int create) in get_icount_el() argument
397 (ino > icount->list[(unsigned)icount->count-1].ino))) { in get_icount_el()
398 return insert_icount_el(icount, ino, (unsigned) icount->count); in get_icount_el()
405 if (ino == icount->list[icount->cursor].ino) in get_icount_el()
[all …]
Dinline_data.c25 ext2_ino_t ino; member
35 retval = ext2fs_xattrs_open(data->fs, data->ino, &handle); in ext2fs_inline_data_ea_set()
58 retval = ext2fs_xattrs_open(data->fs, data->ino, &handle); in ext2fs_inline_data_ea_get()
80 errcode_t ext2fs_inline_data_init(ext2_filsys fs, ext2_ino_t ino) in ext2fs_inline_data_init() argument
86 data.ino = ino; in ext2fs_inline_data_init()
92 errcode_t ext2fs_inline_data_size(ext2_filsys fs, ext2_ino_t ino, size_t *size) in ext2fs_inline_data_size() argument
98 retval = ext2fs_read_inode(fs, ino, &inode); in ext2fs_inline_data_size()
106 data.ino = ino; in ext2fs_inline_data_size()
115 int ext2fs_inline_data_dir_iterate(ext2_filsys fs, ext2_ino_t ino, in ext2fs_inline_data_dir_iterate() argument
134 ctx->errcode = ext2fs_read_inode(fs, ino, &inode); in ext2fs_inline_data_dir_iterate()
[all …]
Dmkdir.c41 ext2_ino_t ino = inum; in ext2fs_mkdir() local
53 if ((!ino || ino >= EXT2_FIRST_INO(fs->super)) && in ext2fs_mkdir()
60 if (!ino) { in ext2fs_mkdir()
62 0, &ino); in ext2fs_mkdir()
72 retval = ext2fs_new_block2(fs, ext2fs_find_inode_goal(fs, ino, in ext2fs_mkdir()
84 retval = ext2fs_new_dir_inline_data(fs, ino, parent, in ext2fs_mkdir()
87 retval = ext2fs_new_dir_block(fs, ino, parent, &block); in ext2fs_mkdir()
94 if (parent != ino) { in ext2fs_mkdir()
124 retval = ext2fs_write_new_inode(fs, ino, &inode); in ext2fs_mkdir()
129 retval = ext2fs_inline_data_init(fs, ino); in ext2fs_mkdir()
[all …]
Ddblist.c132 errcode_t ext2fs_add_dir_block2(ext2_dblist dblist, ext2_ino_t ino, in ext2fs_add_dir_block2() argument
154 new_entry->ino = ino; in ext2fs_add_dir_block2()
165 errcode_t ext2fs_set_dir_block2(ext2_dblist dblist, ext2_ino_t ino, in ext2fs_set_dir_block2() argument
173 if ((dblist->list[i].ino != ino) || in ext2fs_set_dir_block2()
243 if (db_a->ino != db_b->ino) in dir_block_cmp2()
244 return (int) (db_a->ino - db_b->ino); in dir_block_cmp2()
285 errcode_t ext2fs_add_dir_block(ext2_dblist dblist, ext2_ino_t ino, blk_t blk, in ext2fs_add_dir_block() argument
288 return ext2fs_add_dir_block2(dblist, ino, blk, blockcnt); in ext2fs_add_dir_block()
294 errcode_t ext2fs_set_dir_block(ext2_dblist dblist, ext2_ino_t ino, blk_t blk, in ext2fs_set_dir_block() argument
297 return ext2fs_set_dir_block2(dblist, ino, blk, blockcnt); in ext2fs_set_dir_block()
[all …]
Dinode.c73 fs->icache->cache[i].ino = 0; in ext2fs_flush_icache()
144 errcode_t (*save_get_blocks)(ext2_filsys f, ext2_ino_t ino, blk_t *blocks); in ext2fs_open_inode_scan()
410 ext2_ino_t ino, inodes_to_scan; in check_inode_block_sanity() local
427 ino = scan->current_inode + 1; in check_inode_block_sanity()
443 bad_csum = ext2fs_inode_csum_verify(scan->fs, ino, in check_inode_block_sanity()
469 ((ino - 1) % inodes_per_block); in check_inode_block_sanity()
474 ino += ino_adj; in check_inode_block_sanity()
479 if ((ino % inodes_per_block) == 0) { in check_inode_block_sanity()
486 ino++; in check_inode_block_sanity()
576 errcode_t ext2fs_get_next_inode_full(ext2_inode_scan scan, ext2_ino_t *ino, in ext2fs_get_next_inode_full() argument
[all …]
/external/e2fsprogs/tests/f_badsymlinks2/
Dmkimage.sh31 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/
Dpass3.c46 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)) in e2fsck_pass3()
109 if (check_directory(ctx, dir->ino, &pctx)) in e2fsck_pass3()
287 ext2_ino_t ino = dir, parent; in check_directory() local
301 if (ext2fs_mark_inode_bitmap2(inode_done_map, ino)) in check_directory()
304 if (e2fsck_dir_info_get_parent(ctx, ino, &parent)) { in check_directory()
318 pctx->ino = ino; in check_directory()
320 if (e2fsck_reconnect_file(ctx, pctx->ino)) in check_directory()
323 fix_dotdot(ctx, pctx->ino, in check_directory()
[all …]
Ddirinfo.c130 void e2fsck_add_dir_info(e2fsck_t ctx, ext2_ino_t ino, ext2_ino_t parent) in e2fsck_add_dir_info() argument
138 printf("add_dir_info for inode (%lu, %lu)...\n", ino, parent); in e2fsck_add_dir_info()
166 ent.ino = ino; in e2fsck_add_dir_info()
184 ctx->dir_info->array[ctx->dir_info->count-1].ino >= ino) { in e2fsck_add_dir_info()
186 if (ctx->dir_info->array[i-1].ino < ino) in e2fsck_add_dir_info()
189 if (dir->ino != ino) in e2fsck_add_dir_info()
195 dir->ino = ino; in e2fsck_add_dir_info()
204 static struct dir_info *e2fsck_get_dir_info(e2fsck_t ctx, ext2_ino_t ino) in e2fsck_get_dir_info() argument
213 printf("e2fsck_get_dir_info %d...", ino); in e2fsck_get_dir_info()
222 key.dptr = (unsigned char *) &ino; in e2fsck_get_dir_info()
[all …]
Ddx_dirinfo.c16 void e2fsck_add_dx_dir(e2fsck_t ctx, ext2_ino_t ino, int num_blocks) in e2fsck_add_dx_dir() argument
24 printf("add_dx_dir_info for inode %lu...\n", ino); in e2fsck_add_dx_dir()
61 ctx->dx_dir_info[ctx->dx_dir_info_count-1].ino >= ino) { in e2fsck_add_dx_dir()
63 if (ctx->dx_dir_info[i-1].ino < ino) in e2fsck_add_dx_dir()
66 if (dir->ino != ino) in e2fsck_add_dx_dir()
72 dir->ino = ino; in e2fsck_add_dx_dir()
85 struct dx_dir_info *e2fsck_get_dx_dir_info(e2fsck_t ctx, ext2_ino_t ino) in e2fsck_get_dx_dir_info() argument
93 if (ino == ctx->dx_dir_info[low].ino) in e2fsck_get_dx_dir_info()
95 if (ino == ctx->dx_dir_info[high].ino) in e2fsck_get_dx_dir_info()
102 if (ino == ctx->dx_dir_info[mid].ino) in e2fsck_get_dx_dir_info()
[all …]
Dextents.c25 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) in e2fsck_rebuild_extents_later() argument
34 (ino != EXT2_ROOT_INO && ino < ctx->fs->super->s_first_ino)) in e2fsck_rebuild_extents_later()
38 return e2fsck_rebuild_extents(ctx, ino); in e2fsck_rebuild_extents_later()
49 ext2fs_mark_inode_bitmap2(ctx->inodes_to_rebuild, ino); in e2fsck_rebuild_extents_later()
54 int e2fsck_ino_will_be_rebuilt(e2fsck_t ctx, ext2_ino_t ino) in e2fsck_ino_will_be_rebuilt() argument
58 return ext2fs_test_inode_bitmap2(ctx->inodes_to_rebuild, ino); in e2fsck_ino_will_be_rebuilt()
68 ext2_ino_t ino; member
78 retval = ext2fs_extent_open(fs, list->ino, &handle); in load_extents()
93 printf("ino=%d free=%llu bf=%llu\n", list->ino, in load_extents()
[all …]
Dpass1b.c89 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, in add_dupe() argument
141 ino_el->inode = ino; in add_dupe()
146 n = dict_lookup(&ino_dict, INT_TO_VOIDPTR(ino)); in add_dupe()
152 if (ino == EXT2_ROOT_INO) { in add_dupe()
161 dict_alloc_insert(&ino_dict, INT_TO_VOIDPTR(ino), di); in add_dupe()
280 ext2_ino_t ino; member
291 ext2_ino_t ino = 0; in pass1b() local
314 if (ino % (fs->super->s_inodes_per_group * 4) == 1) { in pass1b()
[all …]
Dquota.c85 pctx.ino = *quota_sb_inump(sb, qtype); in e2fsck_hide_quota()
88 if (pctx.ino && (pctx.ino != quota_ino) && in e2fsck_hide_quota()
90 if (move_quota_inode(fs, pctx.ino, quota_ino, qtype)) in e2fsck_hide_quota()
110 pctx.ino = *quota_sb_inump(sb, qtype); in e2fsck_validate_quota_inodes()
112 if (pctx.ino && in e2fsck_validate_quota_inodes()
113 ((pctx.ino == EXT2_BAD_INO) || in e2fsck_validate_quota_inodes()
114 (pctx.ino == EXT2_ROOT_INO) || in e2fsck_validate_quota_inodes()
115 (pctx.ino == EXT2_BOOT_LOADER_INO) || in e2fsck_validate_quota_inodes()
116 (pctx.ino == EXT2_UNDEL_DIR_INO) || in e2fsck_validate_quota_inodes()
117 (pctx.ino == EXT2_RESIZE_INO) || in e2fsck_validate_quota_inodes()
[all …]
Dpass1.c79 static void mark_inode_bad(e2fsck_t ctx, ino_t ino);
80 static void add_encrypted_dir(e2fsck_t ctx, ino_t ino);
91 ext2_ino_t ino; member
111 ext2_ino_t ino; member
183 int e2fsck_pass1_check_symlink(ext2_filsys fs, ext2_ino_t ino, in e2fsck_pass1_check_symlink() argument
198 if (ext2fs_inline_data_size(fs, ino, &inline_size)) in e2fsck_pass1_check_symlink()
219 if (ext2fs_extent_open2(fs, ino, inode, &handle)) in e2fsck_pass1_check_symlink()
281 e2fsck_write_inode(ctx, pctx->ino, pctx->inode, "pass1"); in check_extents_inlinedata()
299 e2fsck_write_inode(ctx, pctx->ino, pctx->inode, "pass1"); in check_immutable()
317 e2fsck_write_inode(ctx, pctx->ino, pctx->inode, "pass1"); in check_size()
[all …]
Dpass2.c63 static void deallocate_inode(e2fsck_t ctx, ext2_ino_t ino, char* block_buf);
73 static void clear_htree(e2fsck_t ctx, ext2_ino_t ino);
203 if (e2fsck_dir_will_be_rehashed(ctx, dx_dir->ino) || in e2fsck_pass2()
208 pctx.dir = dx_dir->ino; in e2fsck_pass2()
270 clear_htree(ctx, dx_dir->ino); in e2fsck_pass2()
363 if (db_a->ino != db_b->ino) in special_dir_block_cmp()
364 return (int) (db_a->ino - db_b->ino); in special_dir_block_cmp()
376 ext2_ino_t ino, struct problem_context *pctx) in check_dot() argument
397 dirent->inode = ino; in check_dot()
406 if (dirent->inode != ino) { in check_dot()
[all …]
/external/perfetto/protos/perfetto/trace/ftrace/
Dext4.proto11 optional uint64 ino = 2; field
18 optional uint64 ino = 2; field
25 optional uint64 ino = 2; field
31 optional uint64 ino = 2; field
36 optional uint64 ino = 2; field
42 optional uint64 ino = 2; field
55 optional uint64 ino = 2; field
61 optional uint64 ino = 2; field
66 optional uint64 ino = 2; field
72 optional uint64 ino = 2; field
[all …]
Df2fs.proto18 optional uint64 ino = 2; field
28 optional uint64 ino = 2; field
38 optional uint64 ino = 2; field
58 optional uint64 ino = 2; field
68 optional uint64 ino = 2; field
73 optional uint64 ino = 2; field
78 optional uint64 ino = 2; field
90 optional uint64 ino = 2; field
98 optional uint64 ino = 2; field
105 optional uint64 ino = 2; field
[all …]
/external/libxml2/result/
Datt8.sax3 …ment(ino:response, xmlns:ino='http://namespaces.softwareag.com/tamino/response2', xmlns:xql='http:…
11 SAX.startElement(ino:message, ino:returnvalue='0')
12 SAX.startElement(ino:messageline)
14 SAX.endElement(ino:messageline)
15 SAX.endElement(ino:message)
17 SAX.startElement(bsk:DocPart, docId='20040308152601345236', docPartNo='1', ino:id='15290', xmlns:bs…
23 SAX.startElement(ino:message, ino:returnvalue='0')
24 SAX.startElement(ino:messageline)
26 SAX.endElement(ino:messageline)
27 SAX.endElement(ino:message)
[all …]
Datt8.sax23ino, 'http://namespaces.softwareag.com/tamino/response2', 2, xmlns:ino='http://namespaces.software…
11 SAX.startElementNs(message, ino, 'http://namespaces.softwareag.com/tamino/response2', 0, 1, 0, ino:…
12 SAX.startElementNs(messageline, ino, 'http://namespaces.softwareag.com/tamino/response2', 0, 0, 0)
14 SAX.endElementNs(messageline, ino, 'http://namespaces.softwareag.com/tamino/response2')
15 SAX.endElementNs(message, ino, 'http://namespaces.softwareag.com/tamino/response2')
17 …c.net/sara4/tamino/basket', 3, 0, docId='2004...', 20, docPartNo='1" i...', 1, ino:id='1529...', 5)
23 SAX.startElementNs(message, ino, 'http://namespaces.softwareag.com/tamino/response2', 0, 1, 0, ino:…
24 SAX.startElementNs(messageline, ino, 'http://namespaces.softwareag.com/tamino/response2', 0, 0, 0)
26 SAX.endElementNs(messageline, ino, 'http://namespaces.softwareag.com/tamino/response2')
27 SAX.endElementNs(message, ino, 'http://namespaces.softwareag.com/tamino/response2')
[all …]
Datt8.rdr1 0 1 ino:response 0 0
5 1 1 ino:message 0 0
6 2 1 ino:messageline 0 0
8 2 15 ino:messageline 0 0
9 1 15 ino:message 0 0
17 1 1 ino:message 0 0
18 2 1 ino:messageline 0 0
20 2 15 ino:messageline 0 0
21 1 15 ino:message 0 0
22 0 15 ino:response 0 0
Datt8.rde1 0 1 ino:response 0 0
5 1 1 ino:message 0 0
6 2 1 ino:messageline 0 0
8 2 15 ino:messageline 0 0
9 1 15 ino:message 0 0
17 1 1 ino:message 0 0
18 2 1 ino:messageline 0 0
20 2 15 ino:messageline 0 0
21 1 15 ino:message 0 0
22 0 15 ino:response 0 0
/external/e2fsprogs/misc/
Dfuse2fs.c309 ext2_ino_t ino; member
338 static int __translate_error(ext2_filsys fs, errcode_t err, ext2_ino_t ino,
340 #define translate_error(fs, ino, err) __translate_error((fs), (err), (ino), \ argument
470 static int update_ctime(ext2_filsys fs, ext2_ino_t ino, in update_ctime() argument
488 err = ext2fs_read_inode_full(fs, ino, (struct ext2_inode *)&inode, in update_ctime()
491 return translate_error(fs, ino, err); in update_ctime()
496 err = ext2fs_write_inode_full(fs, ino, (struct ext2_inode *)&inode, in update_ctime()
499 return translate_error(fs, ino, err); in update_ctime()
504 static int update_atime(ext2_filsys fs, ext2_ino_t ino) in update_atime() argument
513 err = ext2fs_read_inode_full(fs, ino, (struct ext2_inode *)&inode, in update_atime()
[all …]
/external/libxml2/result/noent/
Datt8.sax23ino, 'http://namespaces.softwareag.com/tamino/response2', 2, xmlns:ino='http://namespaces.software…
11 SAX.startElementNs(message, ino, 'http://namespaces.softwareag.com/tamino/response2', 0, 1, 0, ino:…
12 SAX.startElementNs(messageline, ino, 'http://namespaces.softwareag.com/tamino/response2', 0, 0, 0)
14 SAX.endElementNs(messageline, ino, 'http://namespaces.softwareag.com/tamino/response2')
15 SAX.endElementNs(message, ino, 'http://namespaces.softwareag.com/tamino/response2')
17 …c.net/sara4/tamino/basket', 3, 0, docId='2004...', 20, docPartNo='1" i...', 1, ino:id='1529...', 5)
23 SAX.startElementNs(message, ino, 'http://namespaces.softwareag.com/tamino/response2', 0, 1, 0, ino:…
24 SAX.startElementNs(messageline, ino, 'http://namespaces.softwareag.com/tamino/response2', 0, 0, 0)
26 SAX.endElementNs(messageline, ino, 'http://namespaces.softwareag.com/tamino/response2')
27 SAX.endElementNs(message, ino, 'http://namespaces.softwareag.com/tamino/response2')
[all …]
/external/e2fsprogs/contrib/android/
Dperms.c31 static errcode_t ino_add_xattr(ext2_filsys fs, ext2_ino_t ino, const char *name, in ino_add_xattr() argument
37 retval = ext2fs_xattrs_open(fs, ino, &xhandle); in ino_add_xattr()
39 com_err(__func__, retval, _("while opening inode %u"), ino); in ino_add_xattr()
45 _("while reading xattrs of inode %u"), ino); in ino_add_xattr()
51 _("while setting xattrs of inode %u"), ino); in ino_add_xattr()
58 _("while closing xattrs of inode %u"), ino); in ino_add_xattr()
64 static errcode_t set_selinux_xattr(ext2_filsys fs, ext2_ino_t ino, in set_selinux_xattr() argument
74 retval = ext2fs_read_inode(fs, ino, &inode); in set_selinux_xattr()
77 _("while reading inode %u"), ino); in set_selinux_xattr()
90 retval = ino_add_xattr(fs, ino, "security." XATTR_SELINUX_SUFFIX, in set_selinux_xattr()
[all …]
/external/e2fsprogs/debugfs/
Dutil.c111 ext2_ino_t ino; in string_to_inode() local
121 ino = strtoul(str+1, &end, 0); in string_to_inode()
122 if (*end=='>' && (ino <= current_fs->super->s_inodes_count)) in string_to_inode()
123 return ino; in string_to_inode()
126 retval = ext2fs_namei(current_fs, root, cwd, str, &ino); in string_to_inode()
131 if (ino > current_fs->super->s_inodes_count) { in string_to_inode()
133 ino); in string_to_inode()
136 return ino; in string_to_inode()
423 int debugfs_read_inode_full(ext2_ino_t ino, struct ext2_inode * inode, in debugfs_read_inode_full() argument
428 retval = ext2fs_read_inode_full(current_fs, ino, inode, bufsize); in debugfs_read_inode_full()
[all …]
Dfilefrag.c37 ext2_ino_t ino; member
129 static void filefrag(ext2_ino_t ino, struct ext2_inode *inode, in filefrag() argument
157 retval = ext2fs_block_iterate3(current_fs, ino, in filefrag()
179 ext2_ino_t ino; in filefrag_dir_proc() local
190 ino = dirent->inode; in filefrag_dir_proc()
205 if (debugfs_read_inode(ino, &inode, fs->name)) in filefrag_dir_proc()
208 filefrag(ino, &inode, fs); in filefrag_dir_proc()
221 p->ino = ino; in filefrag_dir_proc()
236 static void dir_iterate(ext2_ino_t ino, struct filefrag_struct *fs) in dir_iterate() argument
244 retval = ext2fs_dir_iterate2(current_fs, ino, 0, in dir_iterate()
[all …]

12345678910>>...29