Home | History | Annotate | Download | only in genext2fs

Lines Matching refs:amount

1205 extend_blk(filesystem *fs, uint32 nod, block b, int amount)
1207 int create = amount;
1211 if(amount < 0)
1214 for(i = 0; i < get_nod(fs, nod)->i_blocks / INOBLK + amount; i++)
1218 get_nod(fs, nod)->i_blocks += amount * INOBLK;
1233 if(((int32*)(b + BLOCKSIZE * (amount - create)))[i])
1241 memcpy(get_blk(fs, bk), b + BLOCKSIZE * (amount - create - 1), BLOCKSIZE);