Home
last modified time | relevance | path

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

/dragonfly/sys/vm/
H A Dvm_pager.c190 static int pbuf_raw_count; variable
194 SYSCTL_INT(_vm, OID_AUTO, pbuf_raw_count, CTLFLAG_RD, &pbuf_raw_count, 0,
328 atomic_add_int(&pbuf_raw_count, 1); in vm_pager_bufferinit()
423 if (pbuf_raw_count <= 0) { in getpbuf()
424 tsleep_interlock(&pbuf_raw_count, 0); in getpbuf()
425 if ((int)atomic_fetchadd_int(&pbuf_raw_count, 0) <= 0) in getpbuf()
426 tsleep(&pbuf_raw_count, PINTERLOCKED, in getpbuf()
443 atomic_add_int(&pbuf_raw_count, -1); in getpbuf()
577 atomic_add_int(&pbuf_raw_count, -1); in trypbuf()
674 if (atomic_fetchadd_int(&pbuf_raw_count, 1) == nswbuf_raw / 4) in relpbuf()
[all …]