Lines Matching refs:nblocks
207 int nblocks; in ea_write() local
225 nblocks = (size + (sb->s_blocksize - 1)) >> sb->s_blocksize_bits; in ea_write()
228 rc = dquot_alloc_block(ip, nblocks); in ea_write()
232 rc = dbAlloc(ip, INOHINT(ip), nblocks, &blkno); in ea_write()
235 dquot_free_block(ip, nblocks); in ea_write()
246 for (i = 0; i < nblocks; i += sbi->nbperpage) { in ea_write()
289 DXDlength(ea, nblocks); in ea_write()
300 dquot_free_block(ip, nblocks); in ea_write()
302 dbFree(ip, blkno, nblocks); in ea_write()
356 int nblocks; in ea_read() local
378 nblocks = lengthDXD(&ji->ea) << sbi->l2nbperpage; in ea_read()
386 for (i = 0; i < nblocks; i += sbi->nbperpage) { in ea_read()