Searched refs:newspace (Results 1 – 5 of 5) sorted by relevance
/netbsd-src/sys/ufs/ffs/ |
H A D | ffs_inode.c | 540 long oldspace, newspace; in ffs_truncate() local 549 newspace = ffs_blksize(fs, oip, lastblock); in ffs_truncate() 550 if (newspace == 0) in ffs_truncate() 552 if (oldspace - newspace > 0) { in ffs_truncate() 558 bn += ffs_numfrags(fs, newspace); in ffs_truncate() 563 oldspace - newspace, NULL); in ffs_truncate() 568 oldspace - newspace, oip->i_number); in ffs_truncate() 569 blocksreleased += btodb(oldspace - newspace); in ffs_truncate()
|
/netbsd-src/sys/ufs/lfs/ |
H A D | lfs_inode.c | 535 long oldspace, newspace; in lfs_truncate() local 551 newspace = lfs_blksize(fs, oip, lastblock); in lfs_truncate() 552 if (newspace == 0) in lfs_truncate() 554 if (oldspace - newspace > 0) { in lfs_truncate() 555 blocksreleased += lfs_btofsb(fs, oldspace - newspace); in lfs_truncate() 558 if (bn > 0 && olddspace - newspace > 0) { in lfs_truncate() 560 real_released += lfs_btofsb(fs, olddspace - newspace); in lfs_truncate()
|
/netbsd-src/external/mpl/dhcp/bind/dist/lib/isc/ |
H A D | httpd.c | 877 char *newspace; in alloc_compspace() local 885 newspace = isc_mem_get(httpd->mgr->mctx, size); in alloc_compspace() 886 isc_buffer_reinit(&httpd->compbuffer, newspace, size); in alloc_compspace() 1119 char *newspace; in grow_headerspace() local 1129 newspace = isc_mem_get(httpd->mgr->mctx, newlen); in grow_headerspace() 1131 isc_buffer_reinit(&httpd->headerbuffer, newspace, newlen); in grow_headerspace()
|
/netbsd-src/external/gpl3/binutils.old/dist/bfd/ |
H A D | elf.c | 11632 size_t newspace; in elfcore_write_note() local 11639 newspace = 12 + ((namesz + 3) & -4) + ((size + 3) & -4); in elfcore_write_note() 11641 buf = (char *) realloc (buf, *bufsiz + newspace); in elfcore_write_note() 11645 *bufsiz += newspace; in elfcore_write_note()
|
/netbsd-src/external/gpl3/binutils/dist/bfd/ |
H A D | elf.c | 12371 size_t newspace; in elfcore_write_note() local 12378 newspace = 12 + ((namesz + 3) & -4) + ((size + 3) & -4); in elfcore_write_note() 12380 buf = (char *) realloc (buf, *bufsiz + newspace); in elfcore_write_note() 12384 *bufsiz += newspace; in elfcore_write_note()
|