/external/e2fsprogs/lib/ext2fs/ |
valid_blk.c | 49 return 1; /* definitely using i_block[] */ 50 if (inode->i_size > 4 && inode->i_block[1] == 0) 51 return 1; /* definitely using i_block[] */
|
i_block.c | 2 * i_block.c --- Manage the i_block field for i_blocks
|
block.c | 461 if (inode.i_block[i] || (flags & BLOCK_FLAG_APPEND)) { 462 ret |= (*ctx.func)(fs, &inode.i_block[i], 469 if (inode.i_block[EXT2_IND_BLOCK] || (flags & BLOCK_FLAG_APPEND)) { 470 ret |= block_iterate_ind(&inode.i_block[EXT2_IND_BLOCK], 476 if (inode.i_block[EXT2_DIND_BLOCK] || (flags & BLOCK_FLAG_APPEND)) { 477 ret |= block_iterate_dind(&inode.i_block[EXT2_DIND_BLOCK], 483 if (inode.i_block[EXT2_TIND_BLOCK] || (flags & BLOCK_FLAG_APPEND)) { 484 ret |= block_iterate_tind(&inode.i_block[EXT2_TIND_BLOCK],
|
Android.mk | 35 i_block.c \
|
mkdir.c | 86 inode.i_block[0] = blk;
|
swapfs.c | 195 t->i_block[i] = ext2fs_swab32(f->i_block[i]); 198 t->i_block[i] = f->i_block[i];
|
namei.c | 54 retval = io_channel_read_blk(fs->io, ei.i_block[0], 1, buffer); 61 pathname = (char *)&(ei.i_block[0]);
|
res_gdt.c | 86 if ((dindir_blk = inode.i_block[EXT2_DIND_BLOCK])) { 103 inode.i_block[EXT2_DIND_BLOCK] = dindir_blk;
|
ext3_extents.h | 23 * ext3_inode has i_block array (total 60 bytes)
|
/external/e2fsprogs/e2fsck/ |
swapfs.c | 59 if (*block_nr == sb->inode->i_block[EXT2_IND_BLOCK]) 64 if (*block_nr == sb->inode->i_block[EXT2_DIND_BLOCK]) 69 if (*block_nr == sb->inode->i_block[EXT2_TIND_BLOCK]) 159 ((inode->i_block[EXT2_IND_BLOCK] || 160 inode->i_block[EXT2_DIND_BLOCK] || 161 inode->i_block[EXT2_TIND_BLOCK]) &&
|
pass1.c | 129 * since they have the same requirement; the i_block fields should be 147 * inode's additional i_block fields, there are some rare 149 * additional i_block fields. So for now, we only complain 157 if (inode->i_block[i]) 207 (inode->i_block[0] < fs->super->s_first_data_block) || 208 (inode->i_block[0] >= fs->super->s_blocks_count)) 212 if (inode->i_block[i]) 215 if (io_channel_read_blk(fs->io, inode->i_block[0], 1, buf)) 222 if (inode->i_size >= sizeof(inode->i_block)) 225 len = strnlen((char *)inode->i_block, sizeof(inode->i_block)) [all...] |
/system/extras/ext4_utils/ |
extent.c | 98 (struct ext4_extent_header *)&inode->i_block[0]; 105 extent = (struct ext4_extent *)&inode->i_block[3]; 108 (struct ext4_extent_header *)&inode->i_block[0]; 116 (struct ext4_extent_idx *)&inode->i_block[3];
|
indirect.c | 172 inode->i_block[i] = get_block(alloc, i); 194 inode->i_block[EXT4_IND_BLOCK] = ind_block; 225 inode->i_block[EXT4_DIND_BLOCK] = dind_block; 256 inode->i_block[EXT4_TIND_BLOCK] = tind_block; 472 inode->i_block[EXT4_DIND_BLOCK] = dind_block;
|
contents.c | 224 if (len + 1 <= sizeof(inode->i_block)) { 226 memcpy((char*)inode->i_block, link, len);
|
ext4fixup.c | 462 block_list[i] = inode->i_block[i]; 489 read_block(fd, inode->i_block[EXT4_NDIR_BLOCKS], indirect_block); 576 extent_hdr = (struct ext4_extent_header *)inode->i_block; 584 get_extent_ents(fd, (struct ext4_extent_header *)inode->i_block, block_list); 588 get_extent_idx(fd, (struct ext4_extent_header *)inode->i_block, block_list);
|
/external/e2fsprogs/ext2ed/ |
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...] |
file_com.c | 33 file_info.global_block_num=ptr->i_block [0]; 34 file_info.global_block_offset=ptr->i_block [0]*file_system_info.block_size; 517 return (file_info_ptr->inode_ptr->i_block [file_block]); 523 return (return_indirect (file_info_ptr->inode_ptr->i_block [EXT2_IND_BLOCK],file_block)); 529 return (return_dindirect (file_info_ptr->inode_ptr->i_block [EXT2_DIND_BLOCK],file_block)); 534 return (return_tindirect (file_info_ptr->inode_ptr->i_block [EXT2_TIND_BLOCK],file_block));
|
/external/genext2fs/ |
genext2fs.c | 492 utdecl32(i_block,15) /* Blocks table */ \ 544 bpdir -> index into the inode->i_block[]. Indicates level of indirection. 993 bkref = &get_nod(fs, nod)->i_block[bw->bpdir = 0]; 1002 bkref = &get_nod(fs, nod)->i_block[++bw->bpdir]; 1015 get_nod(fs, nod)->i_block[bw->bpdir] = alloc_blk(fs,nod); 1017 free_blk(fs, get_nod(fs, nod)->i_block[bw->bpdir]); 1018 b = (uint32*)get_blk(fs, get_nod(fs, nod)->i_block[bw->bpdir]); 1029 b = (uint32*)get_blk(fs, get_nod(fs, nod)->i_block[bw->bpdir]); 1044 get_nod(fs, nod)->i_block[bw->bpdir] = alloc_blk(fs,nod); 1046 free_blk(fs, get_nod(fs, nod)->i_block[bw->bpdir]) [all...] |
/external/grub/stage2/ |
fsys_ext2fs.c | 129 __u32 i_block[EXT2_N_BLOCKS]; /* 40: Pointers to blocks */ member in struct:ext2_inode 315 printf ("returning %d\n", (unsigned char *) (INODE->i_block[logical_block])); 316 printf ("returning %d\n", INODE->i_block[logical_block]); 318 return INODE->i_block[logical_block]; 326 && !ext2_rdfsb (INODE->i_block[EXT2_IND_BLOCK], DATABLOCK1)) 341 && !ext2_rdfsb (INODE->i_block[EXT2_DIND_BLOCK], DATABLOCK1)) 363 && !ext2_rdfsb (INODE->i_block[EXT2_TIND_BLOCK], DATABLOCK1)) 645 memmove (linkbuf, (char *) INODE->i_block, len);
|
/external/e2fsprogs/debugfs/ |
logdump.c | 210 memcpy(&journal_inode.i_block[0], es->s_jnl_blocks, 650 this = inode->i_block[i]; 661 show_indirect(out_file, "IND", inode->i_block[i++]); 662 show_indirect(out_file, "DIND", inode->i_block[i++]); 663 show_indirect(out_file, "TIND", inode->i_block[i++]);
|
set_fields.c | 155 { "block", &set_inode.i_block[0], 4, parse_uint, FLAG_ARRAY, 157 { "block[IND]", &set_inode.i_block[EXT2_IND_BLOCK], 4, parse_uint }, 158 { "block[DIND]", &set_inode.i_block[EXT2_DIND_BLOCK], 4, parse_uint }, 159 { "block[TIND]", &set_inode.i_block[EXT2_TIND_BLOCK], 4, parse_uint },
|
util.o | |
debugfs.c | 790 (int) inode->i_size, (char *)inode->i_block); 795 if (inode->i_block[0]) { 796 major = (inode->i_block[0] >> 8) & 255; 797 minor = inode->i_block[0] & 255; 800 major = (inode->i_block[1] & 0xfff00) >> 8; 801 minor = ((inode->i_block[1] & 0xff) | 802 ((inode->i_block[1] >> 12) & 0xfff00)); 1177 modify_u32(argv[0], buf, decimal_format, &inode.i_block[i]); 1180 &inode.i_block[EXT2_IND_BLOCK]); 1182 &inode.i_block[EXT2_DIND_BLOCK]) [all...] |
debugfs.o | |
/external/e2fsprogs/misc/ |
e2image.c | 178 blocks[i] = stashed_inode->i_block[i]; 539 inode.i_block[EXT2_IND_BLOCK] || 540 inode.i_block[EXT2_DIND_BLOCK] || 541 inode.i_block[EXT2_TIND_BLOCK]) {
|