Lines Matching refs:BUFHEAD
70 static BUFHEAD *newbuf(HTAB *, __uint32_t, BUFHEAD *);
109 extern BUFHEAD *
112 BUFHEAD *prev_bp, in __get_buf()
115 BUFHEAD *bp; in __get_buf()
149 (BUFHEAD *)((ptrdiff_t)bp | (intptr_t)is_disk_mask); in __get_buf()
163 static BUFHEAD *
166 BUFHEAD *prev_bp) in newbuf()
168 BUFHEAD *bp; /* The buffer we're going to use */ in newbuf()
169 BUFHEAD *xbp; /* Temp pointer */ in newbuf()
170 BUFHEAD *next_xbp; in newbuf()
183 if ((bp = (BUFHEAD *)malloc(sizeof(BUFHEAD))) == NULL) in newbuf()
186 memset(bp, 0xff, sizeof(BUFHEAD)); in newbuf()
233 segp[segment_ndx] = (BUFHEAD *)BUF_DISK; in newbuf()
295 BUFHEAD *bfp; in __buf_init()
318 BUFHEAD *bp; in __buf_free()
345 __reclaim_buf(HTAB *hashp, BUFHEAD *bp) in __reclaim_buf()