Lines Matching refs:BUFHEAD
68 static BUFHEAD *newbuf(HTAB *, uint32_t, BUFHEAD *);
99 BUFHEAD *
101 BUFHEAD *prev_bp, /* If prev_bp set, indicates a new overflow page. */ in __get_buf()
104 BUFHEAD *bp; in __get_buf()
138 (BUFHEAD *)((ptrdiff_t)bp | is_disk_mask); in __get_buf()
152 static BUFHEAD *
153 newbuf(HTAB *hashp, uint32_t addr, BUFHEAD *prev_bp) in newbuf()
155 BUFHEAD *bp; /* The buffer we're going to use */ in newbuf()
156 BUFHEAD *xbp; /* Temp pointer */ in newbuf()
157 BUFHEAD *next_xbp; in newbuf()
174 BUFHEAD *ovfl; in newbuf()
190 if ((bp = (BUFHEAD *)calloc(1, sizeof(BUFHEAD))) == NULL) in newbuf()
234 segp[segment_ndx] = (BUFHEAD *)BUF_DISK; in newbuf()
296 BUFHEAD *bfp; in __buf_init()
319 BUFHEAD *bp; in __buf_free()
348 __reclaim_buf(HTAB *hashp, BUFHEAD *bp) in __reclaim_buf()