Home
last modified time | relevance | path

Searched refs:i_block (Results 1 – 25 of 59) sorted by relevance

123

/external/e2fsprogs/ext2ed/
Dext2.descriptors88 __u32 i_block[0]; /* Pointers to blocks */
89 __u32 i_block[1]; /* Pointers to blocks */
90 __u32 i_block[2]; /* Pointers to blocks */
91 __u32 i_block[3]; /* Pointers to blocks */
92 __u32 i_block[4]; /* Pointers to blocks */
93 __u32 i_block[5]; /* Pointers to blocks */
94 __u32 i_block[6]; /* Pointers to blocks */
95 __u32 i_block[7]; /* Pointers to blocks */
96 __u32 i_block[8]; /* Pointers to blocks */
97 __u32 i_block[9]; /* Pointers to blocks */
[all …]
Dfile_com.c34 file_info.global_block_num=ptr->i_block [0]; in init_file_info()
35 file_info.global_block_offset=ptr->i_block [0]*file_system_info.block_size; in init_file_info()
518 return (file_info_ptr->inode_ptr->i_block [file_block]); in file_block_to_global_block()
524 return (return_indirect (file_info_ptr->inode_ptr->i_block [EXT2_IND_BLOCK],file_block)); in file_block_to_global_block()
530 return (return_dindirect (file_info_ptr->inode_ptr->i_block [EXT2_DIND_BLOCK],file_block)); in file_block_to_global_block()
535 return (return_tindirect (file_info_ptr->inode_ptr->i_block [EXT2_TIND_BLOCK],file_block)); in file_block_to_global_block()
Ddir_com.c61 info_ptr->global_block_num=ptr->i_block [0]; in init_dir_info()
62 info_ptr->global_block_offset=ptr->i_block [0]*file_system_info.block_size; in init_dir_info()
278 strcpy (temp2,(unsigned char *) &type_data.u.t_ext2_inode.i_block); in type_dir___cd()
/external/e2fsprogs/lib/ext2fs/
Dinline_data.c161 dirent.inode = ext2fs_le32_to_cpu(inode.i_block[0]); in ext2fs_inline_data_dir_iterate()
173 inode.i_block[0] = ext2fs_cpu_to_le32(dirent.inode); in ext2fs_inline_data_dir_iterate()
182 ctx->buf = (char *)inode.i_block + EXT4_INLINE_DATA_DOTDOT_SIZE; in ext2fs_inline_data_dir_iterate()
405 memset(inode->i_block, 0, sizeof(inode->i_block)); in ext2fs_inline_data_file_expand()
457 memcpy(inline_buf, (void *)inode.i_block, EXT4_MIN_INLINE_DATA_SIZE); in ext2fs_inline_data_expand()
463 memset((void *)inode.i_block, 0, EXT4_MIN_INLINE_DATA_SIZE); in ext2fs_inline_data_expand()
522 memcpy(buf, (void *)inode->i_block, EXT4_MIN_INLINE_DATA_SIZE); in ext2fs_inline_data_get()
553 memcpy((void *)inode->i_block, buf, size); in ext2fs_inline_data_set()
574 memcpy((void *)inode->i_block, buf, EXT4_MIN_INLINE_DATA_SIZE); in ext2fs_inline_data_set()
Dblock.c524 if (inode.i_block[i] || (flags & BLOCK_FLAG_APPEND)) { in ext2fs_block_iterate3()
525 blk64 = inode.i_block[i]; in ext2fs_block_iterate3()
528 inode.i_block[i] = (blk_t) blk64; in ext2fs_block_iterate3()
534 if (inode.i_block[EXT2_IND_BLOCK] || (flags & BLOCK_FLAG_APPEND)) { in ext2fs_block_iterate3()
535 ret |= block_iterate_ind(&inode.i_block[EXT2_IND_BLOCK], in ext2fs_block_iterate3()
541 if (inode.i_block[EXT2_DIND_BLOCK] || (flags & BLOCK_FLAG_APPEND)) { in ext2fs_block_iterate3()
542 ret |= block_iterate_dind(&inode.i_block[EXT2_DIND_BLOCK], in ext2fs_block_iterate3()
548 if (inode.i_block[EXT2_TIND_BLOCK] || (flags & BLOCK_FLAG_APPEND)) { in ext2fs_block_iterate3()
549 ret |= block_iterate_tind(&inode.i_block[EXT2_TIND_BLOCK], in ext2fs_block_iterate3()
Dsymlink.c80 fastlink = (target_len < sizeof(inode.i_block)); in ext2fs_symlink()
112 strcpy((char *)&inode.i_block, target); in ext2fs_symlink()
203 EXT2_I_SIZE(inode) < sizeof(inode->i_block); in ext2fs_is_fast_symlink()
Dmkdir.c85 inode.i_block); in ext2fs_mkdir()
113 inode.i_block[0] = blk; in ext2fs_mkdir()
Dinode.c378 EXT2_I_SIZE(inode) <= sizeof(inode->i_block)) in block_map_looks_insane()
387 if (inode->i_block[i] != 0 && in block_map_looks_insane()
388 (inode->i_block[i] < fs->super->s_first_data_block || in block_map_looks_insane()
389 inode->i_block[i] >= ext2fs_blocks_count(fs->super))) in block_map_looks_insane()
397 ext2fs_extent_header_verify(inode->i_block, in extent_head_looks_insane()
398 sizeof(inode->i_block)) == 0) in extent_head_looks_insane()
1036 blocks[i] = inode.i_block[i]; in ext2fs_get_blocks()
Dres_gdt.c109 if ((dindir_blk = inode.i_block[EXT2_DIND_BLOCK])) { in ext2fs_create_resize_inode()
126 inode.i_block[EXT2_DIND_BLOCK] = dindir_blk; in ext2fs_create_resize_inode()
Dvalid_blk.c50 if (inode->i_size > 4 && inode->i_block[1] == 0) in ext2fs_inode_has_valid_blocks2()
Dswapfs.c287 t->i_block[i] = ext2fs_swab32(f->i_block[i]); in ext2fs_swap_inode_full()
290 t->i_block[i] = f->i_block[i]; in ext2fs_swap_inode_full()
Dtst_inode_size.c64 check_field(i_block, 15 * 4); in main()
Dextent.c249 eh = (struct ext3_extent_header *) &handle->inode->i_block[0]; in ext2fs_extent_open2()
252 if (handle->inode->i_block[i]) in ext2fs_extent_open2()
258 i = (sizeof(handle->inode->i_block) - sizeof(*eh)) / in ext2fs_extent_open2()
269 retval = ext2fs_extent_header_verify(eh, sizeof(handle->inode->i_block)); in ext2fs_extent_open2()
280 handle->path[0].buf = (char *) handle->inode->i_block; in ext2fs_extent_open2()
1722 size_t iblock_sz = sizeof(((struct ext2_inode *)NULL)->i_block); in ext2fs_max_extent_depth()
DAndroid.bp52 "i_block.c",
Dpunch.c112 blk_t *bp = inode->i_block; in ext2fs_punch_ind()
464 memset((char *)inode->i_block, 0, EXT4_MIN_INLINE_DATA_SIZE); in ext2fs_punch_inline_data()
Dalloc.c378 if (inode->i_block[0]) in ext2fs_find_inode_goal()
379 return inode->i_block[0]; in ext2fs_find_inode_goal()
Dnamei.c54 pathname = (char *)&(ei.i_block[0]); in follow_link()
/external/e2fsprogs/e2fsck/
Dpass1.c173 if (inode->i_block[i]) in e2fsck_pass1_check_device_inode()
209 buf = (char *)inode->i_block; in e2fsck_pass1_check_symlink()
210 buflen = sizeof(inode->i_block); in e2fsck_pass1_check_symlink()
237 blk = inode->i_block[0]; in e2fsck_pass1_check_symlink()
240 if (inode->i_block[i]) in e2fsck_pass1_check_symlink()
679 LINUX_S_ISLNK(inode->i_mode) || inode->i_block[0] == 0) in check_is_really_dir()
722 memcpy(&dotdot, inode->i_block, sizeof(dotdot)); in check_is_really_dir()
723 memcpy(&de, ((char *)inode->i_block) + EXT4_INLINE_DATA_DOTDOT_SIZE, in check_is_really_dir()
749 blk = inode->i_block[i]; in check_is_really_dir()
761 blk = inode->i_block[0]; in check_is_really_dir()
[all …]
Dextents.c251 memset(inode.i_block, 0, sizeof(inode.i_block)); in rebuild_extent_tree()
/external/e2fsprogs/debugfs/
Dlogdump.c220 memcpy(&journal_inode.i_block[0], es->s_jnl_blocks, in do_logdump()
697 this = inode->i_block[i]; in dump_metadata_block()
708 show_indirect(out_file, "IND", inode->i_block[i++]); in dump_metadata_block()
709 show_indirect(out_file, "DIND", inode->i_block[i++]); in dump_metadata_block()
710 show_indirect(out_file, "TIND", inode->i_block[i++]); in dump_metadata_block()
Ddebugfs.c936 (int)EXT2_I_SIZE(inode), (char *)inode->i_block); in internal_dump_inode()
944 if (inode->i_block[0]) { in internal_dump_inode()
945 major = (inode->i_block[0] >> 8) & 255; in internal_dump_inode()
946 minor = inode->i_block[0] & 255; in internal_dump_inode()
949 major = (inode->i_block[1] & 0xfff00) >> 8; in internal_dump_inode()
950 minor = ((inode->i_block[1] & 0xff) | in internal_dump_inode()
951 ((inode->i_block[1] >> 12) & 0xfff00)); in internal_dump_inode()
1401 modify_u32(argv[0], buf, decimal_format, &inode.i_block[i]); in do_modify_inode()
1404 &inode.i_block[EXT2_IND_BLOCK]); in do_modify_inode()
1406 &inode.i_block[EXT2_DIND_BLOCK]); in do_modify_inode()
[all …]
Dset_fields.c208 { "block", &set_inode.i_block[0], NULL, 4, parse_uint, FLAG_ARRAY,
210 { "block[IND]", &set_inode.i_block[EXT2_IND_BLOCK], NULL, 4, parse_uint },
211 { "block[DIND]", &set_inode.i_block[EXT2_DIND_BLOCK], NULL, 4, parse_uint },
212 { "block[TIND]", &set_inode.i_block[EXT2_TIND_BLOCK], NULL, 4, parse_uint },
/external/e2fsprogs/tests/f_idata_and_extents/
Dexpect.18 Inode 21 has inline data and extent flags set but i_block contains junk.
/external/e2fsprogs/misc/
Dcreate_inode.c310 inode.i_block[0] = devmajor * 256 + devminor; in do_mknod_internal()
311 inode.i_block[1] = 0; in do_mknod_internal()
313 inode.i_block[0] = 0; in do_mknod_internal()
314 inode.i_block[1] = (devminor & 0xff) | (devmajor << 8) | in do_mknod_internal()
/external/e2fsprogs/contrib/android/
Dfsmap.c38 return format->inline_data(&(inode.i_block[0]), in ino_iter_blocks()

123