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

Function vm_batchqueue_insert

freebsd/vm/vm_pagequeue.h:359–368  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

357}
358
359static inline bool
360vm_batchqueue_insert(struct vm_batchqueue *bq, vm_page_t m)
361{
362
363 if (bq->bq_cnt < nitems(bq->bq_pa)) {
364 bq->bq_pa[bq->bq_cnt++] = m;
365 return (true);
366 }
367 return (false);
368}
369
370static inline vm_page_t
371vm_batchqueue_pop(struct vm_batchqueue *bq)

Callers 3

vm_page_pqbatch_submitFunction · 0.85
vm_pageout_collect_batchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected