Searched refs:NUM_BUFS (Results 1 – 2 of 2) sorted by relevance
107 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 …]
125 #define NUM_BUFS 4 in naddr_ntoa() macro129 } 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() macro443 } bufs[NUM_BUFS]; in addrname()452 bufno = (bufno+1) % NUM_BUFS; in addrname()470 #undef NUM_BUFS in addrname()