Searched defs:ino (Results 1 - 25 of 87) sorted by relevance

1234

/external/e2fsprogs/lib/ext2fs/
H A Dalloc_stats.c17 void ext2fs_inode_alloc_stats2(ext2_filsys fs, ext2_ino_t ino, argument
20 int group = ext2fs_group_of_ino(fs, ino);
23 if (ino > fs->super->s_inodes_count) {
25 "Illegal inode number: %lu", (unsigned long) ino);
30 ext2fs_mark_inode_bitmap2(fs->inode_map, ino);
32 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) argument
58 ext2fs_inode_alloc_stats2(fs, ino, inus
[all...]
H A Dmkdir.c39 ext2_ino_t ino = inum; local
49 if (!ino) {
51 0, &ino);
66 retval = ext2fs_new_dir_block(fs, ino, parent, &block);
73 if (parent != ino) {
100 retval = ext2fs_write_new_inode(fs, ino, &inode);
105 retval = ext2fs_extent_open2(fs, ino, &inode, &handle);
127 retval = ext2fs_link(fs, parent, name, ino, EXT2_FT_DIR);
135 if (parent != ino) {
146 ext2fs_inode_alloc_stats2(fs, ino,
[all...]
H A Dsymlink.c30 errcode_t ext2fs_symlink(ext2_filsys fs, ext2_ino_t parent, ext2_ino_t ino, argument
67 if (!ino) {
69 0, &ino);
105 * operations using ino must come after it.
107 retval = ext2fs_write_new_inode(fs, ino, &inode);
112 retval = ext2fs_bmap2(fs, ino, &inode, NULL, BMAP_SET, 0, NULL,
134 retval = ext2fs_link(fs, parent, name, ino, EXT2_FT_SYMLINK);
144 ext2fs_inode_alloc_stats2(fs, ino, +1, 0);
H A Dunlink.c71 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 Dbmove.c29 ext2_ino_t ino; member in struct:process_block_struct
80 printf("ino=%u, blockcnt=%lld, %llu->%llu\n",
81 (unsigned) pb->ino, blockcnt,
86 retval = ext2fs_add_dir_block2(fs->dblist, pb->ino,
101 ext2_ino_t ino; local
137 retval = ext2fs_get_next_inode(scan, &ino, &inode);
141 while (ino) {
146 pb.ino = ino;
152 retval = ext2fs_block_iterate3(fs, ino,
[all...]
H A Dget_pathname.c14 * 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, argument
71 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 Dlink.c115 ext2_ino_t ino, int flags)
129 ls.inode = ino;
114 ext2fs_link(ext2_filsys fs, ext2_ino_t dir, const char *name, ext2_ino_t ino, int flags) argument
H A Dtst_iscan.c145 ext2_ino_t ino; local
153 retval = ext2fs_get_next_inode(scan, &ino, &inode);
158 while (ino) {
159 retval = ext2fs_get_next_inode(scan, &ino, &inode);
161 ext2fs_mark_inode_bitmap2(bad_inode_map, ino);
H A Dalloc.c83 ext2_ino_t i, ino; local
90 ino = (group * fs->super->s_inodes_per_group) + 1;
91 for (i=0; i < fs->super->s_inodes_per_group; i++, ino++)
92 ext2fs_fast_unmark_inode_bitmap2(map, ino);
H A Dext2fsP.h77 ext2_ino_t ino; member in struct:ext2_inode_cache_ent
H A Dinode_io.c38 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 Dicheck.c23 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) {
114 bw.inode = ino;
134 retval = ext2fs_block_iterate3(current_fs, ino,
148 retval = ext2fs_get_next_inode(scan, &ino, &inode);
159 if (binfo->ino
[all...]
H A Dls.c53 ext2_ino_t ino; variable
66 ino = dirent->inode;
71 ino = 0;
76 if (ino) {
77 if (debugfs_read_inode(ino, &inode, name))
81 fprintf(ls->f,"/%u/%06o/%d/%d/%s/",ino,inode.i_mode,inode.i_uid, inode.i_gid,name);
88 if (ino) {
89 if (debugfs_read_inode(ino, &inode, name))
101 fprintf(ls->f, "%c%6u%c %6o (%d) %5d %5d ", lbr, ino, rbr,
H A Dncheck.c94 ext2_ino_t ino; local
147 retval = ext2fs_get_next_inode(scan, &ino, &inode);
155 while (ino) {
170 iw.dir = ino;
173 retval = ext2fs_dir_iterate(current_fs, ino, 0, 0,
187 retval = ext2fs_get_next_inode(scan, &ino, &inode);
H A Dlsdel.c24 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_iterate3(current_fs, ino,
164 delarray[num_delarray].ino = ino;
176 retval = ext2fs_get_next_inode(scan, &ino, &inode);
194 delarray[i].ino,
[all...]
/external/e2fsprogs/e2fsck/
H A Ddx_dirinfo.c16 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 Demptydir.c26 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_block2(edi->empty_dblist, db->ino,
130 retval = ext2fs_bmap2(fs, edi->ino, &edi->inode,
158 edi->ino = db->ino;
160 retval = ext2fs_read_inode(fs, db->ino,
[all...]
H A Discan.c97 ext2_ino_t ino; local
123 retval = ext2fs_get_next_inode(scan, &ino, &inode);
129 if (ino == 0)
H A Dscantest.c94 ext2_ino_t ino; local
116 retval = ext2fs_get_next_inode(scan, &ino, &inode);
121 while (ino) {
126 retval = ext2fs_get_next_inode(scan, &ino, &inode);
H A Dmessage.c19 * %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
197 ext2_ino_t ino)
202 if (!dir && (ino < num_special_inodes)) {
203 fputs(_(special_inode_name[ino]), f);
208 retval = ext2fs_get_pathname(fs, dir, ino, &path);
455 fprintf(f, "%*u", width, ctx->ino);
196 print_pathname(FILE *f, ext2_filsys fs, ext2_ino_t dir, ext2_ino_t ino) argument
[all...]
/external/squashfs-tools/kernel/fs/squashfs/
H A Dinode.c79 struct inode *squashfs_iget(struct super_block *sb, long long ino, argument
92 err = squashfs_read_inode(inode, ino);
107 int squashfs_read_inode(struct inode *inode, long long ino) argument
111 u64 block = SQUASHFS_INODE_BLK(ino) + msblk->inode_table;
112 int err, type, offset = SQUASHFS_INODE_OFFSET(ino);
130 block = SQUASHFS_INODE_BLK(ino) + msblk->inode_table;
131 offset = SQUASHFS_INODE_OFFSET(ino);
173 "%llx, offset %x\n", SQUASHFS_INODE_BLK(ino),
217 "%llx, offset %x\n", SQUASHFS_INODE_BLK(ino),
240 SQUASHFS_INODE_BLK(ino), offse
[all...]
H A Dexport.c50 * 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_nu
[all...]
/external/valgrind/include/
H A Dpub_tool_libcfile.h57 ULong ino; member in struct:vg_stat
H A Dpub_tool_aspacemgr.h70 dev==ino==foff = 0, fnidx == -1
81 dev==ino==foff = 0, fnidx == -1
87 dev==ino==foff = 0, fnidx == -1
104 ULong ino; member in struct:__anon20419
/external/toybox/toys/posix/
H A Ddu.c88 ino_t ino; member in struct:inode_list
93 if(new->ino == st->st_ino && new->dev == st->st_dev)
97 new->ino = st->st_ino;

Completed in 754 milliseconds

1234