/external/grub/stage2/ |
D | fsys_ext2fs.c | 129 __u32 i_block[EXT2_N_BLOCKS]; /* 40: Pointers to blocks */ member 315 printf ("returning %d\n", (unsigned char *) (INODE->i_block[logical_block])); in ext2fs_block_map() 316 printf ("returning %d\n", INODE->i_block[logical_block]); in ext2fs_block_map() 318 return INODE->i_block[logical_block]; in ext2fs_block_map() 326 && !ext2_rdfsb (INODE->i_block[EXT2_IND_BLOCK], DATABLOCK1)) in ext2fs_block_map() 341 && !ext2_rdfsb (INODE->i_block[EXT2_DIND_BLOCK], DATABLOCK1)) in ext2fs_block_map() 363 && !ext2_rdfsb (INODE->i_block[EXT2_TIND_BLOCK], DATABLOCK1)) in ext2fs_block_map() 645 memmove (linkbuf, (char *) INODE->i_block, len); in ext2fs_dir()
|
/external/genext2fs/ |
D | genext2fs.c | 492 utdecl32(i_block,15) /* Blocks table */ \ 993 bkref = &get_nod(fs, nod)->i_block[bw->bpdir = 0]; in walk_bw() 1002 bkref = &get_nod(fs, nod)->i_block[++bw->bpdir]; in walk_bw() 1015 get_nod(fs, nod)->i_block[bw->bpdir] = alloc_blk(fs,nod); in walk_bw() 1017 free_blk(fs, get_nod(fs, nod)->i_block[bw->bpdir]); in walk_bw() 1018 b = (uint32*)get_blk(fs, get_nod(fs, nod)->i_block[bw->bpdir]); in walk_bw() 1029 b = (uint32*)get_blk(fs, get_nod(fs, nod)->i_block[bw->bpdir]); in walk_bw() 1044 get_nod(fs, nod)->i_block[bw->bpdir] = alloc_blk(fs,nod); in walk_bw() 1046 free_blk(fs, get_nod(fs, nod)->i_block[bw->bpdir]); in walk_bw() 1047 b = (uint32*)get_blk(fs, get_nod(fs, nod)->i_block[bw->bpdir]); in walk_bw() [all …]
|
/external/e2fsprogs/lib/ext2fs/ |
D | block.c | 462 if (inode.i_block[i] || (flags & BLOCK_FLAG_APPEND)) { in ext2fs_block_iterate2() 463 ret |= (*ctx.func)(fs, &inode.i_block[i], in ext2fs_block_iterate2() 470 if (inode.i_block[EXT2_IND_BLOCK] || (flags & BLOCK_FLAG_APPEND)) { in ext2fs_block_iterate2() 471 ret |= block_iterate_ind(&inode.i_block[EXT2_IND_BLOCK], in ext2fs_block_iterate2() 477 if (inode.i_block[EXT2_DIND_BLOCK] || (flags & BLOCK_FLAG_APPEND)) { in ext2fs_block_iterate2() 478 ret |= block_iterate_dind(&inode.i_block[EXT2_DIND_BLOCK], in ext2fs_block_iterate2() 484 if (inode.i_block[EXT2_TIND_BLOCK] || (flags & BLOCK_FLAG_APPEND)) { in ext2fs_block_iterate2() 485 ret |= block_iterate_tind(&inode.i_block[EXT2_TIND_BLOCK], in ext2fs_block_iterate2()
|
D | valid_blk.c | 49 if (inode->i_size > 4 && inode->i_block[1] == 0) in ext2fs_inode_has_valid_blocks()
|
D | swapfs.c | 201 t->i_block[i] = ext2fs_swab32(f->i_block[i]); in ext2fs_swap_inode_full() 204 t->i_block[i] = f->i_block[i]; in ext2fs_swap_inode_full()
|
D | res_gdt.c | 86 if ((dindir_blk = inode.i_block[EXT2_DIND_BLOCK])) { in ext2fs_create_resize_inode() 103 inode.i_block[EXT2_DIND_BLOCK] = dindir_blk; in ext2fs_create_resize_inode()
|
D | namei.c | 54 retval = io_channel_read_blk(fs->io, ei.i_block[0], 1, buffer); in follow_link() 61 pathname = (char *)&(ei.i_block[0]); in follow_link()
|
D | mkdir.c | 86 inode.i_block[0] = blk; in ext2fs_mkdir()
|
D | Android.mk | 35 i_block.c \
|
D | ext2_fs.h | 349 __u32 i_block[EXT2_N_BLOCKS];/* Pointers to blocks */ member 396 __u32 i_block[EXT2_N_BLOCKS];/* Pointers to blocks */ member
|
D | extent.c | 222 eh = (struct ext3_extent_header *) &handle->inode->i_block[0]; in ext2fs_extent_open2() 225 if (handle->inode->i_block[i]) in ext2fs_extent_open2() 231 i = (sizeof(handle->inode->i_block) - sizeof(*eh)) / in ext2fs_extent_open2() 242 retval = ext2fs_extent_header_verify(eh, sizeof(handle->inode->i_block)); in ext2fs_extent_open2() 254 handle->path[0].buf = (char *) handle->inode->i_block; in ext2fs_extent_open2()
|
D | bmap.c | 33 #define inode_bmap(inode, nr) ((inode)->i_block[(nr)])
|
/external/e2fsprogs/e2fsck/ |
D | pass1.c | 157 if (inode->i_block[i]) in e2fsck_pass1_check_device_inode() 207 (inode->i_block[0] < fs->super->s_first_data_block) || in e2fsck_pass1_check_symlink() 208 (inode->i_block[0] >= fs->super->s_blocks_count)) in e2fsck_pass1_check_symlink() 212 if (inode->i_block[i]) in e2fsck_pass1_check_symlink() 215 if (io_channel_read_blk(fs->io, inode->i_block[0], 1, buf)) in e2fsck_pass1_check_symlink() 222 if (inode->i_size >= sizeof(inode->i_block)) in e2fsck_pass1_check_symlink() 225 len = strnlen((char *)inode->i_block, sizeof(inode->i_block)); in e2fsck_pass1_check_symlink() 226 if (len == sizeof(inode->i_block)) in e2fsck_pass1_check_symlink() 420 LINUX_S_ISLNK(inode->i_mode) || inode->i_block[0] == 0) in check_is_really_dir() 450 blk = inode->i_block[i]; in check_is_really_dir() [all …]
|
D | super.c | 353 if (inode.i_block[i]) in check_resize_inode() 369 blk = inode.i_block[EXT2_DIND_BLOCK]; in check_resize_inode() 371 if (i != EXT2_DIND_BLOCK && inode.i_block[i]) in check_resize_inode()
|
D | journal.c | 289 memcpy(&j_inode->i_ext2.i_block[0], sb->s_jnl_blocks, in e2fsck_get_journal() 953 memcmp(inode.i_block, sb->s_jnl_blocks, EXT2_N_BLOCKS*4))) { in e2fsck_move_ext3_journal() 955 memcpy(sb->s_jnl_blocks, inode.i_block, in e2fsck_move_ext3_journal()
|
D | pass3.c | 217 inode.i_block[0] = blk; in check_root() 462 inode.i_block[0] = blk; in e2fsck_get_lost_and_found()
|
/external/e2fsprogs/ext2ed/ |
D | ext2.descriptors | 88 __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 …]
|
D | file_com.c | 33 file_info.global_block_num=ptr->i_block [0]; in init_file_info() 34 file_info.global_block_offset=ptr->i_block [0]*file_system_info.block_size; in init_file_info() 517 return (file_info_ptr->inode_ptr->i_block [file_block]); in file_block_to_global_block() 523 return (return_indirect (file_info_ptr->inode_ptr->i_block [EXT2_IND_BLOCK],file_block)); in file_block_to_global_block() 529 return (return_dindirect (file_info_ptr->inode_ptr->i_block [EXT2_DIND_BLOCK],file_block)); in file_block_to_global_block() 534 return (return_tindirect (file_info_ptr->inode_ptr->i_block [EXT2_TIND_BLOCK],file_block)); in file_block_to_global_block()
|
D | dir_com.c | 60 info_ptr->global_block_num=ptr->i_block [0]; in init_dir_info() 61 info_ptr->global_block_offset=ptr->i_block [0]*file_system_info.block_size; in init_dir_info() 277 strcpy (temp2,(unsigned char *) &type_data.u.t_ext2_inode.i_block); in type_dir___cd()
|
/external/e2fsprogs/debugfs/ |
D | logdump.c | 210 memcpy(&journal_inode.i_block[0], es->s_jnl_blocks, in do_logdump() 650 this = inode->i_block[i]; in dump_metadata_block() 661 show_indirect(out_file, "IND", inode->i_block[i++]); in dump_metadata_block() 662 show_indirect(out_file, "DIND", inode->i_block[i++]); in dump_metadata_block() 663 show_indirect(out_file, "TIND", inode->i_block[i++]); in dump_metadata_block()
|
D | debugfs.c | 790 (int) inode->i_size, (char *)inode->i_block); in internal_dump_inode() 795 if (inode->i_block[0]) { in internal_dump_inode() 796 major = (inode->i_block[0] >> 8) & 255; in internal_dump_inode() 797 minor = inode->i_block[0] & 255; in internal_dump_inode() 800 major = (inode->i_block[1] & 0xfff00) >> 8; in internal_dump_inode() 801 minor = ((inode->i_block[1] & 0xff) | in internal_dump_inode() 802 ((inode->i_block[1] >> 12) & 0xfff00)); in internal_dump_inode() 1177 modify_u32(argv[0], buf, decimal_format, &inode.i_block[i]); in do_modify_inode() 1180 &inode.i_block[EXT2_IND_BLOCK]); in do_modify_inode() 1182 &inode.i_block[EXT2_DIND_BLOCK]); in do_modify_inode() [all …]
|
D | set_fields.c | 161 { "block", &set_inode.i_block[0], 4, parse_uint, FLAG_ARRAY, 163 { "block[IND]", &set_inode.i_block[EXT2_IND_BLOCK], 4, parse_uint }, 164 { "block[DIND]", &set_inode.i_block[EXT2_DIND_BLOCK], 4, parse_uint }, 165 { "block[TIND]", &set_inode.i_block[EXT2_TIND_BLOCK], 4, parse_uint },
|
D | dump.c | 204 strcpy(buf, (char *) inode->i_block); in rdump_symlink()
|
/external/e2fsprogs/misc/ |
D | e2image.c | 178 blocks[i] = stashed_inode->i_block[i]; in meta_get_blocks() 539 inode.i_block[EXT2_IND_BLOCK] || in write_raw_image_file() 540 inode.i_block[EXT2_DIND_BLOCK] || in write_raw_image_file() 541 inode.i_block[EXT2_TIND_BLOCK]) { in write_raw_image_file()
|
/external/kernel-headers/original/linux/ |
D | ext2_fs.h | 234 __le32 i_block[EXT2_N_BLOCKS];/* Pointers to blocks */ member
|