Home
last modified time | relevance | path

Searched refs:i_block (Results 1 – 25 of 68) 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.c81 fastlink = (target_len < sizeof(inode.i_block)); in ext2fs_symlink()
113 strcpy((char *)&inode.i_block, target); in ext2fs_symlink()
211 EXT2_I_SIZE(inode) < sizeof(inode->i_block); in ext2fs_is_fast_symlink()
Dmkdir.c86 inode.i_block); in ext2fs_mkdir()
114 inode.i_block[0] = blk; in ext2fs_mkdir()
Dinode.c403 EXT2_I_SIZE(inode) <= sizeof(inode->i_block)) in block_map_looks_insane()
412 if (inode->i_block[i] != 0 && in block_map_looks_insane()
413 (inode->i_block[i] < fs->super->s_first_data_block || in block_map_looks_insane()
414 inode->i_block[i] >= ext2fs_blocks_count(fs->super))) in block_map_looks_insane()
422 ext2fs_extent_header_verify(inode->i_block, in extent_head_looks_insane()
423 sizeof(inode->i_block)) == 0) in extent_head_looks_insane()
1096 blocks[i] = inode.i_block[i]; in ext2fs_get_blocks()
Dvalid_blk.c50 if (inode->i_size > 4 && inode->i_block[1] == 0) in ext2fs_inode_has_valid_blocks2()
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()
Dswapfs.c289 t->i_block[i] = ext2fs_swab32(f->i_block[i]); in ext2fs_swap_inode_full()
292 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()
Dpunch.c112 blk_t *bp = inode->i_block; in ext2fs_punch_ind()
468 memset((char *)inode->i_block, 0, EXT4_MIN_INLINE_DATA_SIZE); in ext2fs_punch_inline_data()
Dextent.c250 eh = (struct ext3_extent_header *) &handle->inode->i_block[0]; in ext2fs_extent_open2()
253 if (handle->inode->i_block[i]) in ext2fs_extent_open2()
259 i = (sizeof(handle->inode->i_block) - sizeof(*eh)) / in ext2fs_extent_open2()
270 retval = ext2fs_extent_header_verify(eh, sizeof(handle->inode->i_block)); in ext2fs_extent_open2()
281 handle->path[0].buf = (char *) handle->inode->i_block; in ext2fs_extent_open2()
1737 size_t iblock_sz = sizeof(((struct ext2_inode *)NULL)->i_block); in ext2fs_max_extent_depth()
DAndroid.bp68 "i_block.c",
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.c166 if (inode->i_block[i]) in e2fsck_pass1_check_device_inode()
202 buf = (char *)inode->i_block; in e2fsck_pass1_check_symlink()
203 buflen = sizeof(inode->i_block); in e2fsck_pass1_check_symlink()
230 blk = inode->i_block[0]; in e2fsck_pass1_check_symlink()
233 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 …]
Djournal.c722 eh = (struct ext3_extent_header *)(&ondisk_inode->i_block[0]); in ext4_fc_replay_fixup_iblocks()
727 (sizeof(ondisk_inode->i_block) - in ext4_fc_replay_fixup_iblocks()
732 memcpy(ondisk_inode->i_block, fc_inode->i_block, in ext4_fc_replay_fixup_iblocks()
733 sizeof(fc_inode->i_block)); in ext4_fc_replay_fixup_iblocks()
779 memcpy(inode, fc_inode, offsetof(struct ext2_inode_large, i_block)); in ext4_fc_handle_inode()
1030 memcpy(&j_inode->i_ext2.i_block[0], sb->s_jnl_blocks, in e2fsck_get_journal()
1777 memcmp(inode.i_block, sb->s_jnl_blocks, EXT2_N_BLOCKS*4))) { in e2fsck_move_ext3_journal()
1779 memcpy(sb->s_jnl_blocks, inode.i_block, in e2fsck_move_ext3_journal()
/external/e2fsprogs/debugfs/
Dlogdump.c236 memcpy(&journal_inode.i_block[0], es->s_jnl_blocks, in do_logdump()
853 this = inode->i_block[i]; in dump_metadata_block()
864 show_indirect(out_file, "IND", inode->i_block[i++]); in dump_metadata_block()
865 show_indirect(out_file, "DIND", inode->i_block[i++]); in dump_metadata_block()
866 show_indirect(out_file, "TIND", inode->i_block[i++]); in dump_metadata_block()
Ddebugfs.c949 (int)EXT2_I_SIZE(inode), (char *)inode->i_block); in internal_dump_inode()
957 if (inode->i_block[0]) { in internal_dump_inode()
958 major = (inode->i_block[0] >> 8) & 255; in internal_dump_inode()
959 minor = inode->i_block[0] & 255; in internal_dump_inode()
962 major = (inode->i_block[1] & 0xfff00) >> 8; in internal_dump_inode()
963 minor = ((inode->i_block[1] & 0xff) | in internal_dump_inode()
964 ((inode->i_block[1] >> 12) & 0xfff00)); in internal_dump_inode()
1416 modify_u32(argv[0], buf, decimal_format, &inode.i_block[i]); in do_modify_inode()
1419 &inode.i_block[EXT2_IND_BLOCK]); in do_modify_inode()
1421 &inode.i_block[EXT2_DIND_BLOCK]); in do_modify_inode()
[all …]
Dset_fields.c213 { "block", &set_inode.i_block[0], NULL, 4, parse_uint, FLAG_ARRAY,
215 { "block[IND]", &set_inode.i_block[EXT2_IND_BLOCK], NULL, 4, parse_uint },
216 { "block[DIND]", &set_inode.i_block[EXT2_DIND_BLOCK], NULL, 4, parse_uint },
217 { "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.c320 inode.i_block[0] = devmajor * 256 + devminor; in do_mknod_internal()
321 inode.i_block[1] = 0; in do_mknod_internal()
323 inode.i_block[0] = 0; in do_mknod_internal()
324 inode.i_block[1] = (devminor & 0xff) | (devmajor << 8) | in do_mknod_internal()
/external/e2fsprogs/contrib/android/
Dfsmap.c78 return format->inline_data(&(inode.i_block[0]), in ino_iter_blocks()

123