Searched refs:NUM_BUFS (Results 1 – 2 of 2) sorted by relevance
106 bufhdr_table = (BUFHDR_T *)(buf_table + NUM_BUFS);107 buf_hash_table = (int *)(bufhdr_table + NUM_BUFS);136 bufhdr_table[0].lru.prev = NUM_BUFS-1;137 bufhdr_table[NUM_BUFS-1].lru.next = 0;141 buf_hash_table[i] = NUM_BUFS;225 buf_hash_table[ndx] = NUM_BUFS;320 if ( bufid < NUM_BUFS ) {457 assert ( bufid < NUM_BUFS);579 assert ( (bhp-bufhdr_table) < NUM_BUFS );617 if ( buf_hash_table[ndx] >= NUM_BUFS ) {[all …]
109 #define NUM_BUFS 4 in naddr_ntoa() macro113 } bufs[NUM_BUFS]; in naddr_ntoa()119 bufno = (bufno+1) % NUM_BUFS; in naddr_ntoa()121 #undef NUM_BUFS in naddr_ntoa()419 #define NUM_BUFS 4 in addrname() macro423 } bufs[NUM_BUFS]; in addrname()432 bufno = (bufno+1) % NUM_BUFS; in addrname()450 #undef NUM_BUFS in addrname()