Home
last modified time | relevance | path

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

/freebsd-13.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-13.1/sbin/routed/
H A Dtrace.c114 #define NUM_BUFS 4 in naddr_ntoa() macro
118 } bufs[NUM_BUFS]; in naddr_ntoa()
124 bufno = (bufno+1) % NUM_BUFS; in naddr_ntoa()
126 #undef NUM_BUFS in naddr_ntoa()
424 #define NUM_BUFS 4 in addrname() macro
428 } bufs[NUM_BUFS]; in addrname()
437 bufno = (bufno+1) % NUM_BUFS; in addrname()
455 #undef NUM_BUFS in addrname()