Home
last modified time | relevance | path

Searched refs:freebufs (Results 1 – 2 of 2) sorted by relevance

/freebsd-14.2/sbin/fsck_ffs/
H A Dfsutil.c82 static struct bufhash freebufs; /* unused buffers */
197 LIST_INIT(&freebufs); in bufinit()
352 if ((bp = LIST_FIRST(&freebufs)) != NULL) { in getdatablk()
442 LIST_INSERT_HEAD(&freebufs, bp, b_hash); in binval()
/freebsd-14.2/sys/kern/
H A Dvfs_bio.c1713 int freebufs, error; in buf_alloc() local
1721 freebufs = atomic_fetchadd_int(&bd->bd_freebuffers, -1); in buf_alloc()
1722 if (freebufs > 0) in buf_alloc()
1733 if (freebufs == bd->bd_lofreebuffers) in buf_alloc()