Home
last modified time | relevance | path

Searched refs:NUM_BUFS (Results 1 – 2 of 2) sorted by relevance

/freebsd-12.1/lib/libc/db/mpool/
H A Dmpool.libtp107 bufhdr_table = (BUFHDR_T *)(buf_table + NUM_BUFS);
108 buf_hash_table = (int *)(bufhdr_table + NUM_BUFS);
137 bufhdr_table[0].lru.prev = NUM_BUFS-1;
138 bufhdr_table[NUM_BUFS-1].lru.next = 0;
142 buf_hash_table[i] = NUM_BUFS;
226 buf_hash_table[ndx] = NUM_BUFS;
321 if ( bufid < NUM_BUFS ) {
458 assert ( bufid < NUM_BUFS);
580 assert ( (bhp-bufhdr_table) < NUM_BUFS );
618 if ( buf_hash_table[ndx] >= NUM_BUFS ) {
[all …]
/freebsd-12.1/sbin/routed/
H A Dtrace.c125 #define NUM_BUFS 4 in naddr_ntoa() macro
129 } bufs[NUM_BUFS]; in naddr_ntoa()
135 bufno = (bufno+1) % NUM_BUFS; in naddr_ntoa()
137 #undef NUM_BUFS in naddr_ntoa()
439 #define NUM_BUFS 4 in addrname() macro
443 } bufs[NUM_BUFS]; in addrname()
452 bufno = (bufno+1) % NUM_BUFS; in addrname()
470 #undef NUM_BUFS in addrname()