Lines Matching refs:NUM_BUFS
107 bufhdr_table = (BUFHDR_T *)(buf_table + NUM_BUFS);
108 buf_hash_table = (int *)(bufhdr_table + NUM_BUFS);
129 for ( i = 0, bhp = bufhdr_table; i < NUM_BUFS; bhp++, i++ ) {
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 ) {
409 for ( bhp = bufhdr_table, i = 0; i < NUM_BUFS; bhp++, i++ ) {
458 assert ( bufid < NUM_BUFS);
580 assert ( (bhp-bufhdr_table) < NUM_BUFS );
618 if ( buf_hash_table[ndx] >= NUM_BUFS ) {
724 for ( bhp = bufhdr_table, i = 0; i < NUM_BUFS; bhp++, i++ ) {
732 if ( id >= NUM_BUFS ) {