Symbol: UDB_ALLOC_CHUNK_SIZE
usr.sbin/nsd/udb.c
1211
grow_align(base, alloc, UDB_ALLOC_CHUNK_SIZE);
usr.sbin/nsd/udb.c
1241
uint64_t need=(asz+UDB_ALLOC_CHUNK_SIZE-1)&(~(UDB_ALLOC_CHUNK_SIZE-1));
usr.sbin/nsd/udb.c
1284
if(asz > UDB_ALLOC_CHUNK_SIZE) {
usr.sbin/nsd/udb.c
1431
udb_void q = s + m - UDB_ALLOC_CHUNK_SIZE;
usr.sbin/nsd/udb.c
1433
assert(s >= UDB_ALLOC_CHUNK_SIZE);
usr.sbin/nsd/udb.c
1438
q -= UDB_ALLOC_CHUNK_SIZE;
usr.sbin/nsd/udb.c
1462
uint64_t seg, maxseg = amount/UDB_ALLOC_CHUNK_SIZE;
usr.sbin/nsd/udb.c
1465
memcpy(np+seg*UDB_ALLOC_CHUNK_SIZE,
usr.sbin/nsd/udb.c
1466
xlp+seg*UDB_ALLOC_CHUNK_SIZE,
usr.sbin/nsd/udb.c
1467
UDB_ALLOC_CHUNK_SIZE);
usr.sbin/nsd/udb.c
1479
assert( (xl_start&(UDB_ALLOC_CHUNK_SIZE-1)) == 0 ); /* aligned */
usr.sbin/nsd/udb.c
1480
assert( (amount&(UDB_ALLOC_CHUNK_SIZE-1)) == 0 ); /* multiples */
usr.sbin/nsd/udb.c
1481
assert( (xl_sz&(UDB_ALLOC_CHUNK_SIZE-1)) == 0 ); /* multiples */
usr.sbin/nsd/udb.c
1663
udb_void chunk = at - UDB_ALLOC_CHUNK_SIZE;
usr.sbin/nsd/udb.c
1667
m += UDB_ALLOC_CHUNK_SIZE;
usr.sbin/nsd/udb.c
1724
assert( (xlsz & (UDB_ALLOC_CHUNK_SIZE-1)) == 0 ); /* whole mbs */
usr.sbin/nsd/udb.c
1725
assert( (f & (UDB_ALLOC_CHUNK_SIZE-1)) == 0 ); /* aligned */
usr.sbin/nsd/udb.c
1738
c = f + xlsz - UDB_ALLOC_CHUNK_SIZE;
usr.sbin/nsd/udb.c
1740
assert(f >= UDB_ALLOC_CHUNK_SIZE);
usr.sbin/nsd/udb.c
1744
c -= UDB_ALLOC_CHUNK_SIZE;
usr.sbin/nsd/udb.c
43
if( (xl & (UDB_ALLOC_CHUNK_SIZE-1)) == 0)
usr.sbin/nsd/udb.c
714
if( (xlsz&(UDB_ALLOC_CHUNK_SIZE-1)) != 0) {
usr.sbin/nsd/udb.c
717
if( (c&(UDB_ALLOC_CHUNK_SIZE-1)) != 0) {
usr.sbin/nsd/udb.c
822
udb_void q = s + m - UDB_ALLOC_CHUNK_SIZE;
usr.sbin/nsd/udb.c
824
assert(s >= UDB_ALLOC_CHUNK_SIZE);
usr.sbin/nsd/udb.c
828
q -= UDB_ALLOC_CHUNK_SIZE;
usr.sbin/nsd/udb.c
841
if( (rb_size&(UDB_ALLOC_CHUNK_SIZE-1)) != 0)
usr.sbin/nsd/udb.c
843
if( (rb_old&(UDB_ALLOC_CHUNK_SIZE-1)) != 0)
usr.sbin/nsd/udb.c
845
if( (rb_new&(UDB_ALLOC_CHUNK_SIZE-1)) != 0)