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

Function vm_freelist_add

freebsd/vm/vm_phys.c:373–383  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

371#endif
372
373static void
374vm_freelist_add(struct vm_freelist *fl, vm_page_t m, int order, int tail)
375{
376
377 m->order = order;
378 if (tail)
379 TAILQ_INSERT_TAIL(&fl[order].pl, m, listq);
380 else
381 TAILQ_INSERT_HEAD(&fl[order].pl, m, listq);
382 fl[order].lcnt++;
383}
384
385static void
386vm_freelist_rem(struct vm_freelist *fl, vm_page_t m, int order)

Callers 5

vm_phys_split_pagesFunction · 0.85
vm_phys_enq_rangeFunction · 0.85
vm_phys_free_pagesFunction · 0.85
vm_phys_enqueue_contigFunction · 0.85
vm_phys_unfree_pageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected