Lines Matching refs:blocks
154 ExtDescriptor blocks; in f_alloc() local
165 blocks.xdrNumABlks = clumpsz / vol->mdb.drAlBlkSiz; in f_alloc()
167 if (v_allocblocks(vol, &blocks) < 0) in f_alloc()
193 v_freeblocks(vol, &blocks); in f_alloc()
199 v_freeblocks(vol, &blocks); in f_alloc()
210 v_freeblocks(vol, &blocks); in f_alloc()
218 file->ext[i].xdrStABN + file->ext[i].xdrNumABlks == blocks.xdrStABN) in f_alloc()
219 file->ext[i].xdrNumABlks += blocks.xdrNumABlks; in f_alloc()
225 file->ext[i] = blocks; in f_alloc()
234 file->ext[0] = blocks; in f_alloc()
250 v_freeblocks(vol, &blocks); in f_alloc()
268 v_freeblocks(vol, &blocks); in f_alloc()
276 *pylen += blocks.xdrNumABlks * vol->mdb.drAlBlkSiz; in f_alloc()
280 return blocks.xdrNumABlks; in f_alloc()
351 ExtDescriptor blocks; in f_trunc() local
356 blocks.xdrStABN = file->ext[i].xdrStABN + file->ext[i].xdrNumABlks; in f_trunc()
357 blocks.xdrNumABlks = start - end; in f_trunc()
359 v_freeblocks(file->vol, &blocks); in f_trunc()