Home
last modified time | relevance | path

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

/netbsd-src/sbin/fsck_ext2fs/
H A Dutilities.c153 bufhead.b_next = bufhead.b_prev = &bufhead; in bufinit()
168 bp->b_prev = &bufhead; in bufinit()
169 bp->b_next = bufhead.b_next; in bufinit()
170 bufhead.b_next->b_prev = bp; in bufinit()
171 bufhead.b_next = bp; in bufinit()
174 bufhead.b_size = i; /* save number of buffers */ in bufinit()
185 for (bp = bufhead.b_next; bp != &bufhead; bp = bp->b_next) in getdatablk()
188 for (bp = bufhead.b_prev; bp != &bufhead; bp = bp->b_prev) in getdatablk()
191 if (bp == &bufhead) in getdatablk()
200 bp->b_prev = &bufhead; in getdatablk()
[all …]
H A Dfsck.h100 extern struct bufarea bufhead; /* head of list of other blks in filesys */
H A Dmain.c90 struct bufarea bufhead; variable
/netbsd-src/sbin/fsck_ffs/
H A Dutilities.c150 bufhead.b_next = bufhead.b_prev = &bufhead; in bufinit()
168 bp->b_prev = &bufhead; in bufinit()
169 bp->b_next = bufhead.b_next; in bufinit()
170 bufhead.b_next->b_prev = bp; in bufinit()
171 bufhead.b_next = bp; in bufinit()
174 bufhead.b_size = i; /* save number of buffers */ in bufinit()
185 for (bp = bufhead.b_next; bp != &bufhead; bp = bp->b_next) in getdatablk()
188 for (bp = bufhead.b_prev; bp != &bufhead; bp = bp->b_prev) in getdatablk()
191 if (bp == &bufhead) in getdatablk()
198 bp->b_prev = &bufhead; in getdatablk()
[all …]
H A Dfsck.h142 extern struct bufarea bufhead; /* head of list of other blks in filesys */
H A Dmain.c73 struct bufarea bufhead; variable
/netbsd-src/lib/libc/db/hash/
H A Dhash_buf.c88 #define MRU hashp->bufhead.next
89 #define LRU hashp->bufhead.prev
91 #define MRU_INSERT(B) BUF_INSERT((B), &hashp->bufhead)
282 bfp = &(hashp->bufhead); in __buf_init()
307 for (bp = LRU; bp != &hashp->bufhead;) { in __buf_free()
H A Dhash.h118 BUFHEAD bufhead; /* Header of buffer lru list */ member
/netbsd-src/sbin/fsdb/
H A Dfsdb.c65 struct bufarea bufhead; variable