Home
last modified time | relevance | path

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

123456789

/third_party/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 …]
Dmkdir.c41 ext2_ino_t ino = inum; in ext2fs_mkdir() local
54 if ((!ino || ino >= EXT2_FIRST_INO(fs->super)) && in ext2fs_mkdir()
61 if (!ino) { in ext2fs_mkdir()
63 0, &ino); in ext2fs_mkdir()
73 retval = ext2fs_new_block2(fs, ext2fs_find_inode_goal(fs, ino, in ext2fs_mkdir()
85 retval = ext2fs_new_dir_inline_data(fs, ino, parent, in ext2fs_mkdir()
88 retval = ext2fs_new_dir_block(fs, ino, parent, &block); in ext2fs_mkdir()
95 if (parent != ino) { in ext2fs_mkdir()
125 retval = ext2fs_write_new_inode(fs, ino, &inode); in ext2fs_mkdir()
130 retval = ext2fs_inline_data_init(fs, ino); in ext2fs_mkdir()
[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 …]
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()
431 ext2_ino_t ino, inodes_to_scan; in check_inode_block_sanity() local
448 ino = scan->current_inode + 1; in check_inode_block_sanity()
464 bad_csum = ext2fs_inode_csum_verify(scan->fs, ino, in check_inode_block_sanity()
490 ((ino - 1) % inodes_per_block); in check_inode_block_sanity()
495 ino += ino_adj; in check_inode_block_sanity()
500 if ((ino % inodes_per_block) == 0) { in check_inode_block_sanity()
507 ino++; in check_inode_block_sanity()
597 errcode_t ext2fs_get_next_inode_full(ext2_inode_scan scan, ext2_ino_t *ino, in ext2fs_get_next_inode_full() argument
[all …]
Dsymlink.c47 errcode_t ext2fs_symlink(ext2_filsys fs, ext2_ino_t parent, ext2_ino_t ino, in ext2fs_symlink() argument
83 retval = ext2fs_new_block2(fs, ext2fs_find_inode_goal(fs, ino, in ext2fs_symlink()
94 if (!ino) { in ext2fs_symlink()
96 0, &ino); in ext2fs_symlink()
117 retval = ext2fs_write_new_inode(fs, ino, &inode); in ext2fs_symlink()
120 retval = ext2fs_inline_data_set(fs, ino, &inode, block_buf, in ext2fs_symlink()
127 retval = ext2fs_read_inode(fs, ino, &inode); in ext2fs_symlink()
149 retval = ext2fs_write_inode(fs, ino, &inode); in ext2fs_symlink()
151 retval = ext2fs_write_new_inode(fs, ino, &inode); in ext2fs_symlink()
156 retval = ext2fs_bmap2(fs, ino, &inode, NULL, BMAP_SET, 0, NULL, in ext2fs_symlink()
[all …]
/third_party/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 …]
/third_party/e2fsprogs/e2fsck/
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 (%u, %u)...\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 %u...", 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, struct ext2_inode *inode, in e2fsck_add_dx_dir() argument
25 printf("add_dx_dir_info for inode %lu...\n", ino); in e2fsck_add_dx_dir()
62 ctx->dx_dir_info[ctx->dx_dir_info_count-1].ino >= ino) { in e2fsck_add_dx_dir()
64 if (ctx->dx_dir_info[i-1].ino < ino) in e2fsck_add_dx_dir()
67 if (dir->ino != ino) in e2fsck_add_dx_dir()
73 dir->ino = ino; in e2fsck_add_dx_dir()
86 struct dx_dir_info *e2fsck_get_dx_dir_info(e2fsck_t ctx, ext2_ino_t ino) in e2fsck_get_dx_dir_info() argument
94 if (ino == ctx->dx_dir_info[low].ino) in e2fsck_get_dx_dir_info()
96 if (ino == ctx->dx_dir_info[high].ino) in e2fsck_get_dx_dir_info()
104 if (ino == ctx->dx_dir_info[mid].ino) in e2fsck_get_dx_dir_info()
[all …]
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()
293 ext2_ino_t ino = dir, parent; in check_directory() local
307 if (ext2fs_mark_inode_bitmap2(inode_done_map, ino)) in check_directory()
310 if (e2fsck_dir_info_get_parent(ctx, ino, &parent)) { in check_directory()
324 pctx->ino = ino; in check_directory()
326 if (e2fsck_reconnect_file(ctx, pctx->ino)) in check_directory()
329 fix_dotdot(ctx, pctx->ino, in check_directory()
[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 retval = ext2fs_extent_open(fs, list->ino, &handle); in load_extents()
83 printf("ino=%d free=%llu bf=%llu\n", list->ino, in load_extents()
105 printf("R: ino=%d len=%u\n", list->ino, in load_extents()
[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 …]
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,
121 static void add_dupe(e2fsck_t ctx, ext2_ino_t ino, blk64_t cluster, in add_dupe() argument
142 ino_el->inode = ino; in add_dupe()
147 n = dict_lookup(&ino_dict, INT_TO_VOIDPTR(ino)); in add_dupe()
153 if (ino == EXT2_ROOT_INO) { in add_dupe()
162 dict_alloc_insert(&ino_dict, INT_TO_VOIDPTR(ino), di); in add_dupe()
281 ext2_ino_t ino; member
292 ext2_ino_t ino = 0; in pass1b() local
315 if (ino % (fs->super->s_inodes_per_group * 4) == 1) { in pass1b()
[all …]
Dpass1.c82 static void mark_inode_bad(e2fsck_t ctx, ino_t ino);
83 static void add_casefolded_dir(e2fsck_t ctx, ino_t ino);
94 ext2_ino_t ino; member
114 ext2_ino_t ino; member
176 int e2fsck_pass1_check_symlink(ext2_filsys fs, ext2_ino_t ino, in e2fsck_pass1_check_symlink() argument
191 if (ext2fs_inline_data_size(fs, ino, &inline_size)) in e2fsck_pass1_check_symlink()
212 if (ext2fs_extent_open2(fs, ino, inode, &handle)) in e2fsck_pass1_check_symlink()
274 e2fsck_write_inode(ctx, pctx->ino, pctx->inode, "pass1"); in check_extents_inlinedata()
292 e2fsck_write_inode(ctx, pctx->ino, pctx->inode, "pass1"); in check_immutable()
310 e2fsck_write_inode(ctx, pctx->ino, pctx->inode, "pass1"); in check_size()
[all …]
/third_party/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.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
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.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 …]
/third_party/e2fsprogs/tests/f_bad_encryption/
Dmkimage.sh19 local ino
24 ino=$(stat -c %i "$file")
25 do_debugfs -R "zap_block -f <$ino> 0"
31 local ino
33 ino=$(stat -c %i "$file")
34 do_debugfs -R "ea_set <$ino> fscrypt.c $value"
39 local ino
41 ino=$(stat -c %i "$file")
42 do_debugfs -R "ea_rm <$ino> fscrypt.c"
47 local ino
[all …]
/third_party/ntfs-3g/include/fuse-lite/
Dfuse_lowlevel.h67 fuse_ino_t ino; member
202 void (*forget) (fuse_req_t req, fuse_ino_t ino, unsigned long nlookup);
215 void (*getattr) (fuse_req_t req, fuse_ino_t ino,
245 void (*setattr) (fuse_req_t req, fuse_ino_t ino, struct stat *attr,
258 void (*readlink) (fuse_req_t req, fuse_ino_t ino);
359 void (*link) (fuse_req_t req, fuse_ino_t ino, fuse_ino_t newparent,
387 void (*open) (fuse_req_t req, fuse_ino_t ino,
413 void (*read) (fuse_req_t req, fuse_ino_t ino, size_t size, off_t off,
439 void (*write) (fuse_req_t req, fuse_ino_t ino, const char *buf,
471 void (*flush) (fuse_req_t req, fuse_ino_t ino,
[all …]
/third_party/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 …]
/third_party/e2fsprogs/misc/
Dfuse2fs.c309 ext2_ino_t ino; member
340 static int __translate_error(ext2_filsys fs, errcode_t err, ext2_ino_t ino,
342 #define translate_error(fs, ino, err) __translate_error((fs), (err), (ino), \ argument
472 static int update_ctime(ext2_filsys fs, ext2_ino_t ino, in update_ctime() argument
490 err = ext2fs_read_inode_full(fs, ino, (struct ext2_inode *)&inode, in update_ctime()
493 return translate_error(fs, ino, err); in update_ctime()
498 err = ext2fs_write_inode_full(fs, ino, (struct ext2_inode *)&inode, in update_ctime()
501 return translate_error(fs, ino, err); in update_ctime()
506 static int update_atime(ext2_filsys fs, ext2_ino_t ino) in update_atime() argument
515 err = ext2fs_read_inode_full(fs, ino, (struct ext2_inode *)&inode, in update_atime()
[all …]
/third_party/e2fsprogs/contrib/android/
Dperms.c32 static errcode_t ino_add_xattr(ext2_filsys fs, ext2_ino_t ino, const char *name, in ino_add_xattr() argument
38 retval = ext2fs_xattrs_open(fs, ino, &xhandle); in ino_add_xattr()
40 com_err(__func__, retval, _("while opening inode %u"), ino); in ino_add_xattr()
46 _("while reading xattrs of inode %u"), ino); in ino_add_xattr()
52 _("while setting xattrs of inode %u"), ino); in ino_add_xattr()
59 _("while closing xattrs of inode %u"), ino); in ino_add_xattr()
65 static errcode_t set_selinux_xattr(ext2_filsys fs, ext2_ino_t ino, in set_selinux_xattr() argument
75 retval = ext2fs_read_inode(fs, ino, &inode); in set_selinux_xattr()
78 _("while reading inode %u"), ino); in set_selinux_xattr()
91 retval = ino_add_xattr(fs, ino, "security." XATTR_SELINUX_SUFFIX, in set_selinux_xattr()
[all …]
/third_party/e2fsprogs/debugfs/
Dfilefrag.c37 ext2_ino_t ino; member
132 static void filefrag(ext2_ino_t ino, struct ext2_inode *inode, in filefrag() argument
161 retval = ext2fs_block_iterate3(current_fs, ino, in filefrag()
183 ext2_ino_t ino; in filefrag_dir_proc() local
194 ino = dirent->inode; in filefrag_dir_proc()
209 if (debugfs_read_inode(ino, &inode, fs->name)) in filefrag_dir_proc()
212 filefrag(ino, &inode, fs); in filefrag_dir_proc()
225 p->ino = ino; in filefrag_dir_proc()
240 static void dir_iterate(ext2_ino_t ino, struct filefrag_struct *fs) in dir_iterate() argument
248 retval = ext2fs_dir_iterate2(current_fs, ino, 0, in dir_iterate()
[all …]
/third_party/ntfs-3g/ntfsprogs/
Dntfscluster.c387 static int dump_file(ntfs_volume *vol, ntfs_inode *ino) in dump_file() argument
395 utils_inode_get_name(ino, buffer, sizeof(buffer)); in dump_file()
399 ctx = ntfs_attr_get_search_ctx(ino, NULL); in dump_file()
429 static int print_match(ntfs_inode *ino, ATTR_RECORD *attr, in print_match() argument
434 if (!ino || !attr || !run) in print_match()
443 utils_inode_get_name(ino, buffer, MAX_PATH); in print_match()
444 ntfs_log_info("Inode %llu %s", (unsigned long long)ino->mft_no, buffer); in print_match()
446 utils_attr_get_name(ino->vol, attr, buffer, MAX_PATH); in print_match()
456 static int find_last(ntfs_inode *ino, ATTR_RECORD *attr, runlist_element *run, in find_last() argument
461 if (!ino || !attr || !run || !data) in find_last()
[all …]

123456789