Lines Matching refs:ndx
189 int ndx;
220 ndx = BUF_HASH ( bhp->id.file_id, bhp->id.obj_id );
222 if ( buf_hash_table[ndx] == (bhp-bufhdr_table) ) {
224 buf_hash_table[ndx] = bhp->hash.next;
226 buf_hash_table[ndx] = NUM_BUFS;
247 int ndx;
265 ndx = BUF_HASH ( fid, *new_pageno );
268 bhp = bf_assign_buf ( ndx, &fobj, BF_PIN|BF_DIRTY|BF_EMPTY, &len );
304 int ndx;
309 ndx = BUF_HASH ( file_id, page_id );
320 bufid = buf_hash_table[ndx];
369 bhp = bf_assign_buf ( ndx, &fobj, flags, len );
500 int ndx;
522 ndx = *buf_sp - strlen(fname) - 1;
523 if ( ndx < 0 ) {
527 *buf_sp = ndx;
528 strcpy ( buf_strings+ndx, fname );
529 buf_fids[fid].offset = ndx;
603 bf_assign_buf ( ndx, obj, flags, len )
604 int ndx;
618 if ( buf_hash_table[ndx] >= NUM_BUFS ) {
619 buf_hash_table[ndx] = bhp-bufhdr_table;
621 LISTPE_INSERT ( bufhdr_table, hash, bhp, buf_hash_table[ndx] );