Home
last modified time | relevance | path

Searched refs:bufhead (Results 1 – 4 of 4) sorted by relevance

/dflybsd-src/sbin/fsck/
H A Dutilities.c45 struct bufarea bufhead; /* head of list of other blks in filesys */ variable
149 bufhead.b_next = bufhead.b_prev = &bufhead; in bufinit()
162 bp->b_prev = &bufhead; in bufinit()
163 bp->b_next = bufhead.b_next; in bufinit()
164 bufhead.b_next->b_prev = bp; in bufinit()
165 bufhead.b_next = bp; in bufinit()
168 bufhead.b_size = i; /* save number of buffers */ in bufinit()
179 for (bp = bufhead.b_next; bp != &bufhead; bp = bp->b_next) in getdatablk()
182 for (bp = bufhead.b_prev; bp != &bufhead; bp = bp->b_prev) in getdatablk()
185 if (bp == &bufhead) in getdatablk()
[all …]
H A Dfsck.h95 extern struct bufarea bufhead; /* head of list of other blks in filesys */
/dflybsd-src/lib/libc/db/hash/
H A Dhash_buf.c84 #define MRU hashp->bufhead.next
85 #define LRU hashp->bufhead.prev
87 #define MRU_INSERT(B) BUF_INSERT((B), &hashp->bufhead)
299 bfp = &(hashp->bufhead); in __buf_init()
324 for (bp = LRU; bp != &hashp->bufhead;) { in __buf_free()
H A Dhash.h114 BUFHEAD bufhead; /* Header of buffer lru list */ member