Home
last modified time | relevance | path

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

1234567

/external/e2fsprogs/lib/ext2fs/
Dicount.c45 ext2_ino_t ino; member
278 icount->list[i].ino = hint->list[i].ino; in ext2fs_create_icount2()
302 ext2_ino_t ino, int pos) in insert_icount_el() argument
309 if (icount->last_lookup && icount->last_lookup->ino == ino) in insert_icount_el()
314 new_size = icount->list[(unsigned)icount->count-1].ino; in insert_icount_el()
342 el->ino = ino; in insert_icount_el()
353 ext2_ino_t ino, int create) in get_icount_el() argument
361 (ino > icount->list[(unsigned)icount->count-1].ino))) { in get_icount_el()
362 return insert_icount_el(icount, ino, (unsigned) icount->count); in get_icount_el()
369 if (ino == icount->list[icount->cursor].ino) in get_icount_el()
[all …]
Ddblist.c159 errcode_t ext2fs_add_dir_block2(ext2_dblist dblist, ext2_ino_t ino, in ext2fs_add_dir_block2() argument
181 new_entry->ino = ino; in ext2fs_add_dir_block2()
192 errcode_t ext2fs_set_dir_block2(ext2_dblist dblist, ext2_ino_t ino, in ext2fs_set_dir_block2() argument
200 if ((dblist->list[i].ino != ino) || in ext2fs_set_dir_block2()
255 if (db_a->ino != db_b->ino) in dir_block_cmp2()
256 return (int) (db_a->ino - db_b->ino); in dir_block_cmp2()
297 errcode_t ext2fs_add_dir_block(ext2_dblist dblist, ext2_ino_t ino, blk_t blk, in ext2fs_add_dir_block() argument
300 return ext2fs_add_dir_block2(dblist, ino, blk, blockcnt); in ext2fs_add_dir_block()
306 errcode_t ext2fs_set_dir_block(ext2_dblist dblist, ext2_ino_t ino, blk_t blk, in ext2fs_set_dir_block() argument
309 return ext2fs_set_dir_block2(dblist, ino, blk, blockcnt); in ext2fs_set_dir_block()
[all …]
Dinode.c68 fs->icache->cache[i].ino = 0; in ext2fs_flush_icache()
111 errcode_t (*save_get_blocks)(ext2_filsys f, ext2_ino_t ino, blk_t *blocks); in ext2fs_open_inode_scan()
404 errcode_t ext2fs_get_next_inode_full(ext2_inode_scan scan, ext2_ino_t *ino, in ext2fs_get_next_inode_full() argument
425 *ino = 0; in ext2fs_get_next_inode_full()
508 *ino = scan->current_inode; in ext2fs_get_next_inode_full()
512 errcode_t ext2fs_get_next_inode(ext2_inode_scan scan, ext2_ino_t *ino, in ext2fs_get_next_inode() argument
515 return ext2fs_get_next_inode_full(scan, ino, inode, in ext2fs_get_next_inode()
522 errcode_t ext2fs_read_inode_full(ext2_filsys fs, ext2_ino_t ino, in ext2fs_read_inode_full() argument
538 retval = (fs->read_inode)(fs, ino, inode); in ext2fs_read_inode_full()
542 if ((ino == 0) || (ino > fs->super->s_inodes_count)) in ext2fs_read_inode_full()
[all …]
Dmkdir.c39 ext2_ino_t ino = inum; in ext2fs_mkdir() local
49 if (!ino) { in ext2fs_mkdir()
51 0, &ino); in ext2fs_mkdir()
66 retval = ext2fs_new_dir_block(fs, ino, parent, &block); in ext2fs_mkdir()
73 if (parent != ino) { in ext2fs_mkdir()
100 retval = ext2fs_write_new_inode(fs, ino, &inode); in ext2fs_mkdir()
105 retval = ext2fs_extent_open2(fs, ino, &inode, &handle); in ext2fs_mkdir()
127 retval = ext2fs_link(fs, parent, name, ino, EXT2_FT_DIR); in ext2fs_mkdir()
135 if (parent != ino) { in ext2fs_mkdir()
146 ext2fs_inode_alloc_stats2(fs, ino, +1, 1); in ext2fs_mkdir()
Direl_ma.c35 static errcode_t ima_add_ref(ext2_irel irel, ext2_ino_t ino,
37 static errcode_t ima_start_iter_ref(ext2_irel irel, ext2_ino_t ino);
197 ext2_ino_t ino;
202 ino = ma->orig_map[(unsigned) orig];
203 if (ino == 0)
205 *old = ino;
206 *ent = ma->entries[(unsigned) ino];
233 static errcode_t ima_add_ref(ext2_irel irel, ext2_ino_t ino,
243 if (ino > ma->max_inode)
246 ref_ent = ma->ref_entries + (unsigned) ino;
[all …]
Dalloc_stats.c17 void ext2fs_inode_alloc_stats2(ext2_filsys fs, ext2_ino_t ino, in ext2fs_inode_alloc_stats2() argument
20 int group = ext2fs_group_of_ino(fs, ino); in ext2fs_inode_alloc_stats2()
23 if (ino > fs->super->s_inodes_count) { in ext2fs_inode_alloc_stats2()
25 "Illegal inode number: %lu", (unsigned long) ino); in ext2fs_inode_alloc_stats2()
30 ext2fs_mark_inode_bitmap2(fs->inode_map, ino); in ext2fs_inode_alloc_stats2()
32 ext2fs_unmark_inode_bitmap2(fs->inode_map, ino); in ext2fs_inode_alloc_stats2()
46 if (ino >= first_unused_inode) in ext2fs_inode_alloc_stats2()
47 …unused_set(fs, group, group * fs->super->s_inodes_per_group + fs->super->s_inodes_per_group - ino); in ext2fs_inode_alloc_stats2()
56 void ext2fs_inode_alloc_stats(ext2_filsys fs, ext2_ino_t ino, int inuse) in ext2fs_inode_alloc_stats() argument
58 ext2fs_inode_alloc_stats2(fs, ino, inuse, 0); in ext2fs_inode_alloc_stats()
Dget_pathname.c72 ext2_ino_t ino, int maxdepth, in ext2fs_get_pathname_int() argument
79 if (dir == ino) { in ext2fs_get_pathname_int()
95 gp.search_ino = ino; in ext2fs_get_pathname_int()
104 if (ino) in ext2fs_get_pathname_int()
105 snprintf(tmp, sizeof(tmp), "<%u>/<%u>", dir, ino); in ext2fs_get_pathname_int()
124 if (!ino) { in ext2fs_get_pathname_int()
154 errcode_t ext2fs_get_pathname(ext2_filsys fs, ext2_ino_t dir, ext2_ino_t ino, in ext2fs_get_pathname() argument
165 if (dir == ino) in ext2fs_get_pathname()
166 ino = 0; in ext2fs_get_pathname()
167 retval = ext2fs_get_pathname_int(fs, dir, ino, 32, buf, name); in ext2fs_get_pathname()
Dbmove.c29 ext2_ino_t ino; member
81 (unsigned) pb->ino, blockcnt, in process_block()
86 retval = ext2fs_add_dir_block2(fs->dblist, pb->ino, in process_block()
101 ext2_ino_t ino; in ext2fs_move_blocks() local
137 retval = ext2fs_get_next_inode(scan, &ino, &inode); in ext2fs_move_blocks()
141 while (ino) { in ext2fs_move_blocks()
146 pb.ino = ino; in ext2fs_move_blocks()
152 retval = ext2fs_block_iterate3(fs, ino, 0, block_buf, in ext2fs_move_blocks()
160 retval = ext2fs_get_next_inode(scan, &ino, &inode); in ext2fs_move_blocks()
/external/e2fsprogs/e2fsck/
Ddirinfo.c117 void e2fsck_add_dir_info(e2fsck_t ctx, ext2_ino_t ino, ext2_ino_t parent) in e2fsck_add_dir_info() argument
126 printf("add_dir_info for inode (%lu, %lu)...\n", ino, parent); in e2fsck_add_dir_info()
144 ent.ino = ino; in e2fsck_add_dir_info()
163 ctx->dir_info->array[ctx->dir_info->count-1].ino >= ino) { in e2fsck_add_dir_info()
165 if (ctx->dir_info->array[i-1].ino < ino) in e2fsck_add_dir_info()
168 if (dir->ino != ino) in e2fsck_add_dir_info()
174 dir->ino = ino; in e2fsck_add_dir_info()
183 static struct dir_info *e2fsck_get_dir_info(e2fsck_t ctx, ext2_ino_t ino) in e2fsck_get_dir_info() argument
194 printf("e2fsck_get_dir_info %d...", ino); in e2fsck_get_dir_info()
200 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()
57 ctx->dx_dir_info[ctx->dx_dir_info_count-1].ino >= ino) { in e2fsck_add_dx_dir()
59 if (ctx->dx_dir_info[i-1].ino < ino) in e2fsck_add_dx_dir()
62 if (dir->ino != ino) in e2fsck_add_dx_dir()
68 dir->ino = ino; in e2fsck_add_dx_dir()
81 struct dx_dir_info *e2fsck_get_dx_dir_info(e2fsck_t ctx, ext2_ino_t ino) in e2fsck_get_dx_dir_info() argument
89 if (ino == ctx->dx_dir_info[low].ino) in e2fsck_get_dx_dir_info()
91 if (ino == ctx->dx_dir_info[high].ino) in e2fsck_get_dx_dir_info()
98 if (ino == ctx->dx_dir_info[mid].ino) in e2fsck_get_dx_dir_info()
[all …]
Dpass3.c45 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)) in e2fsck_pass3()
107 if (check_directory(ctx, dir->ino, &pctx)) in e2fsck_pass3()
265 ext2_ino_t ino = dir, parent; in check_directory() local
279 if (ext2fs_mark_inode_bitmap2(inode_done_map, ino)) in check_directory()
282 if (e2fsck_dir_info_get_parent(ctx, ino, &parent)) { in check_directory()
296 pctx->ino = ino; in check_directory()
298 if (e2fsck_reconnect_file(ctx, pctx->ino)) in check_directory()
301 fix_dotdot(ctx, pctx->ino, in check_directory()
[all …]
Dpass1.c69 static void mark_inode_bad(e2fsck_t ctx, ino_t ino);
70 static void add_encrypted_dir(e2fsck_t ctx, ino_t ino);
81 ext2_ino_t ino; member
98 ext2_ino_t ino; member
169 int e2fsck_pass1_check_symlink(ext2_filsys fs, ext2_ino_t ino, in e2fsck_pass1_check_symlink() argument
186 if (ext2fs_extent_open2(fs, ino, inode, &handle)) in e2fsck_pass1_check_symlink()
255 e2fsck_write_inode(ctx, pctx->ino, pctx->inode, "pass1"); in check_immutable()
274 e2fsck_write_inode(ctx, pctx->ino, pctx->inode, "pass1"); in check_size()
352 e2fsck_write_inode_full(ctx, pctx->ino, pctx->inode, in check_ea_in_inode()
370 printf("inode #%u, i_extra_size %d\n", pctx->ino, in check_inode_extra_space()
[all …]
Dpass1b.c88 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, in add_dupe() argument
140 ino_el->inode = ino; in add_dupe()
145 n = dict_lookup(&ino_dict, INT_TO_VOIDPTR(ino)); in add_dupe()
151 if (ino == EXT2_ROOT_INO) { in add_dupe()
160 dict_alloc_insert(&ino_dict, INT_TO_VOIDPTR(ino), di); in add_dupe()
261 ext2_ino_t ino; member
271 ext2_ino_t ino = 0; in pass1b() local
293 if (ino % (fs->super->s_inodes_per_group * 4) == 1) { in pass1b()
[all …]
Dpass2.c62 static void deallocate_inode(e2fsck_t ctx, ext2_ino_t ino, char* block_buf);
69 static void clear_htree(e2fsck_t ctx, ext2_ino_t ino);
172 pctx.dir = dx_dir->ino; in e2fsck_pass2()
247 clear_htree(ctx, dx_dir->ino); in e2fsck_pass2()
340 if (db_a->ino != db_b->ino) in special_dir_block_cmp()
341 return (int) (db_a->ino - db_b->ino); in special_dir_block_cmp()
353 ext2_ino_t ino, struct problem_context *pctx) in check_dot() argument
374 dirent->inode = ino; in check_dot()
382 if (dirent->inode != ino) { in check_dot()
384 dirent->inode = ino; in check_dot()
[all …]
Demptydir.c26 ext2_ino_t ino; member
94 if (db->ino == 11) in add_empty_dirblock()
98 db->blk, db->blockcnt, db->ino); in add_empty_dirblock()
101 if (ext2fs_test_inode_bitmap(edi->dir_map, db->ino)) in add_empty_dirblock()
103 ext2fs_mark_inode_bitmap(edi->dir_map, db->ino); in add_empty_dirblock()
105 ext2fs_add_dir_block2(edi->empty_dblist, db->ino, in add_empty_dirblock()
130 retval = ext2fs_bmap2(fs, edi->ino, &edi->inode, in empty_pass1()
158 edi->ino = db->ino; in fix_directory()
160 retval = ext2fs_read_inode(fs, db->ino, &edi->inode); in fix_directory()
164 retval = ext2fs_block_iterate3(fs, db->ino, 0, edi->block_buf, in fix_directory()
[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.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 …]
/external/e2fsprogs/debugfs/
Dutil.c110 ext2_ino_t ino; in string_to_inode() local
120 ino = strtoul(str+1, &end, 0); in string_to_inode()
122 return ino; in string_to_inode()
125 retval = ext2fs_namei(current_fs, root, cwd, str, &ino); in string_to_inode()
130 return ino; in string_to_inode()
386 int debugfs_read_inode_full(ext2_ino_t ino, struct ext2_inode * inode, in debugfs_read_inode_full() argument
391 retval = ext2fs_read_inode_full(current_fs, ino, inode, bufsize); in debugfs_read_inode_full()
393 com_err(cmd, retval, "while reading inode %u", ino); in debugfs_read_inode_full()
399 int debugfs_read_inode(ext2_ino_t ino, struct ext2_inode * inode, in debugfs_read_inode() argument
404 retval = ext2fs_read_inode(current_fs, ino, inode); in debugfs_read_inode()
[all …]
Dfilefrag.c36 ext2_ino_t ino; member
128 static void filefrag(ext2_ino_t ino, struct ext2_inode *inode, in filefrag() argument
156 retval = ext2fs_block_iterate3(current_fs, ino, in filefrag()
177 ext2_ino_t ino; in filefrag_dir_proc() local
188 ino = dirent->inode; in filefrag_dir_proc()
203 if (debugfs_read_inode(ino, &inode, fs->name)) in filefrag_dir_proc()
206 filefrag(ino, &inode, fs); in filefrag_dir_proc()
219 p->ino = ino; in filefrag_dir_proc()
234 static void dir_iterate(ext2_ino_t ino, struct filefrag_struct *fs) in dir_iterate() argument
242 retval = ext2fs_dir_iterate2(current_fs, ino, 0, in dir_iterate()
[all …]
Dicheck.c23 ext2_ino_t ino; member
44 if (!bw->barray[i].ino && bw->barray[i].blk == *block_nr) { in icheck_proc()
45 bw->barray[i].ino = bw->inode; in icheck_proc()
61 ext2_ino_t ino; in do_icheck() local
101 retval = ext2fs_get_next_inode(scan, &ino, &inode); in do_icheck()
108 while (ino) { in do_icheck()
114 bw.inode = ino; in do_icheck()
134 retval = ext2fs_block_iterate3(current_fs, ino, in do_icheck()
148 retval = ext2fs_get_next_inode(scan, &ino, &inode); in do_icheck()
159 if (binfo->ino == 0) { in do_icheck()
[all …]
/external/squashfs-tools/kernel/fs/squashfs/
Dexport.c58 __le64 ino; in squashfs_inode_lookup() local
63 err = squashfs_read_metadata(sb, &ino, &start, &offset, sizeof(ino)); in squashfs_inode_lookup()
68 (u64) le64_to_cpu(ino)); in squashfs_inode_lookup()
70 return le64_to_cpu(ino); in squashfs_inode_lookup()
77 long long ino; in squashfs_export_iget() local
82 ino = squashfs_inode_lookup(sb, ino_num); in squashfs_export_iget()
83 if (ino >= 0) in squashfs_export_iget()
84 dentry = d_obtain_alias(squashfs_iget(sb, ino, ino_num)); in squashfs_export_iget()
97 return squashfs_export_iget(sb, fid->i32.ino); in squashfs_fh_to_dentry()
/external/e2fsprogs/tests/progs/
Dtest_icount.c51 const char *str, ext2_ino_t *ino) in parse_inode() argument
55 *ino = strtoul(str, &tmp, 0); in parse_inode()
106 ext2_ino_t ino; in do_fetch() local
115 if (parse_inode(argv[0], "inode", argv[1], &ino)) in do_fetch()
117 retval = ext2fs_icount_fetch(test_icount, ino, &count); in do_fetch()
129 ext2_ino_t ino; in do_increment() local
138 if (parse_inode(argv[0], "inode", argv[1], &ino)) in do_increment()
140 retval = ext2fs_icount_increment(test_icount, ino, &count); in do_increment()
153 ext2_ino_t ino; in do_decrement() local
162 if (parse_inode(argv[0], "inode", argv[1], &ino)) in do_decrement()
[all …]
/external/e2fsprogs/lib/quota/
Dquotaio.c112 errcode_t quota_inode_truncate(ext2_filsys fs, ext2_ino_t ino) in quota_inode_truncate() argument
117 if ((err = ext2fs_read_inode(fs, ino, &inode))) in quota_inode_truncate()
120 if ((ino == EXT4_USR_QUOTA_INO) || (ino == EXT4_GRP_QUOTA_INO)) { in quota_inode_truncate()
124 err = ext2fs_punch(fs, ino, &inode, NULL, 0, ~0ULL); in quota_inode_truncate()
132 err = ext2fs_write_inode(fs, ino, &inode); in quota_inode_truncate()
136 static ext2_off64_t compute_inode_size(ext2_filsys fs, ext2_ino_t ino) in compute_inode_size() argument
140 ext2fs_block_iterate3(fs, ino, in compute_inode_size()
221 h->qh_qf.ino = qf_ino; in quota_file_open()
246 static errcode_t quota_inode_init_new(ext2_filsys fs, ext2_ino_t ino) in quota_inode_init_new() argument
251 err = ext2fs_read_inode(fs, ino, &inode); in quota_inode_init_new()
[all …]

1234567