Lines Matching refs:BUFHEAD
67 static BUFHEAD *newbuf(HTAB *, u_int32_t, BUFHEAD *);
98 BUFHEAD *
100 BUFHEAD *prev_bp, /* If prev_bp set, indicates a new overflow page. */ in __get_buf()
103 BUFHEAD *bp; in __get_buf()
137 (BUFHEAD *)((intptr_t)bp | is_disk_mask); in __get_buf()
151 static BUFHEAD *
152 newbuf(HTAB *hashp, u_int32_t addr, BUFHEAD *prev_bp) in newbuf()
154 BUFHEAD *bp; /* The buffer we're going to use */ in newbuf()
155 BUFHEAD *xbp; /* Temp pointer */ in newbuf()
156 BUFHEAD *next_xbp; in newbuf()
173 BUFHEAD *ovfl; in newbuf()
189 if ((bp = (BUFHEAD *)calloc(1, sizeof(BUFHEAD))) == NULL) in newbuf()
233 segp[segment_ndx] = (BUFHEAD *)BUF_DISK; in newbuf()
295 BUFHEAD *bfp; in __buf_init()
318 BUFHEAD *bp; in __buf_free()
347 __reclaim_buf(HTAB *hashp, BUFHEAD *bp) in __reclaim_buf()