Lines Matching full:i_block
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]);
1047 b = (uint32*)get_blk(fs, get_nod(fs, nod)->i_block[bw->bpdir]);
1063 b = (uint32*)get_blk(fs, get_nod(fs, nod)->i_block[bw->bpdir]);
1077 b = (uint32*)get_blk(fs, get_nod(fs, nod)->i_block[bw->bpdir]);
1102 get_nod(fs, nod)->i_block[bw->bpdir] = alloc_blk(fs,nod);
1104 free_blk(fs, get_nod(fs, nod)->i_block[bw->bpdir]);
1105 b = (uint32*)get_blk(fs, get_nod(fs, nod)->i_block[bw->bpdir]);
1129 b = (uint32*)get_blk(fs, get_nod(fs, nod)->i_block[bw->bpdir]);
1148 b = (uint32*)get_blk(fs, get_nod(fs, nod)->i_block[bw->bpdir]);
1171 b = (uint32*)get_blk(fs, get_nod(fs, nod)->i_block[bw->bpdir]);
1393 ((uint8*)get_nod(fs, nod)->i_block)[0] = minor;
1394 ((uint8*)get_nod(fs, nod)->i_block)[1] = major;
1428 strncpy((char*)get_nod(fs, nod)->i_block, (char*)b, size);
1806 nod->i_block[i] = swab32(nod->i_block[i]);
1809 swap_block(get_blk(fs, nod->i_block[EXT2_IND_BLOCK]));
1825 assert(nod->i_block[EXT2_DIND_BLOCK] != 0);
1828 swap_block(get_blk(fs, ((uint32*)get_blk(fs, nod->i_block[EXT2_DIND_BLOCK]))[i]));
1829 swap_block(get_blk(fs, nod->i_block[EXT2_DIND_BLOCK]));
1833 b = (uint32*)get_blk(fs,nod->i_block[EXT2_TIND_BLOCK]);
1863 nod->i_block[i] = swab32(nod->i_block[i]);
1866 swap_block(get_blk(fs, nod->i_block[EXT2_IND_BLOCK]));
1870 assert(nod->i_block[EXT2_DIND_BLOCK] != 0);
1871 swap_block(get_blk(fs, nod->i_block[EXT2_DIND_BLOCK]));
1874 swap_block(get_blk(fs, ((uint32*)get_blk(fs, nod->i_block[EXT2_DIND_BLOCK]))[i]));
1878 b = (uint32*)get_blk(fs,nod->i_block[EXT2_TIND_BLOCK]);
2207 minor = ((uint8*)get_nod(fs, nod)->i_block)[0];
2208 major = ((uint8*)get_nod(fs, nod)->i_block)[1];
2242 printf("links to '%s'\n", (char*)get_nod(fs, nod)->i_block);