MCPcopy Create free account
hub / github.com/F-Stack/f-stack / vm_pagequeue_cnt_add

Function vm_pagequeue_cnt_add

freebsd/vm/vm_pagequeue.h:334–340  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

332 mtx_unlock(vm_domain_pageout_lockptr((d)))
333
334static __inline void
335vm_pagequeue_cnt_add(struct vm_pagequeue *pq, int addend)
336{
337
338 vm_pagequeue_assert_locked(pq);
339 pq->pq_cnt += addend;
340}
341#define vm_pagequeue_cnt_inc(pq) vm_pagequeue_cnt_add((pq), 1)
342#define vm_pagequeue_cnt_dec(pq) vm_pagequeue_cnt_add((pq), -1)
343

Callers 2

vm_pageout_collect_batchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected