Lines Matching refs: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);
1807 nod->i_block[i] = swab32(nod->i_block[i]);
1810 swap_block(get_blk(fs, nod->i_block[EXT2_IND_BLOCK]));
1826 assert(nod->i_block[EXT2_DIND_BLOCK] != 0);
1829 swap_block(get_blk(fs, ((uint32*)get_blk(fs, nod->i_block[EXT2_DIND_BLOCK]))[i]));
1830 swap_block(get_blk(fs, nod->i_block[EXT2_DIND_BLOCK]));
1834 b = (uint32*)get_blk(fs,nod->i_block[EXT2_TIND_BLOCK]);
1864 nod->i_block[i] = swab32(nod->i_block[i]);
1867 swap_block(get_blk(fs, nod->i_block[EXT2_IND_BLOCK]));
1871 assert(nod->i_block[EXT2_DIND_BLOCK] != 0);
1872 swap_block(get_blk(fs, nod->i_block[EXT2_DIND_BLOCK]));
1875 swap_block(get_blk(fs, ((uint32*)get_blk(fs, nod->i_block[EXT2_DIND_BLOCK]))[i]));
1879 b = (uint32*)get_blk(fs,nod->i_block[EXT2_TIND_BLOCK]);
2208 minor = ((uint8*)get_nod(fs, nod)->i_block)[0];
2209 major = ((uint8*)get_nod(fs, nod)->i_block)[1];
2243 printf("links to '%s'\n", (char*)get_nod(fs, nod)->i_block);