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

Function vm_page_remove

freebsd/vm/vm_page.c:1660–1669  ·  view source on GitHub ↗

* vm_page_remove: * * Removes the specified page from its containing object, but does not * invalidate any backing storage. Returns true if the object's reference * was the last reference to the page, and false otherwise. * * The object must be locked and the page must be exclusively busied. * The exclusive busy will be released on return. If this is not the * final ref and the caller do

Source from the content-addressed store, hash-verified

1658 * continue to access the page.
1659 */
1660bool
1661vm_page_remove(vm_page_t m)
1662{
1663 bool dropped;
1664
1665 dropped = vm_page_remove_xbusy(m);
1666 vm_page_xunbusy(m);
1667
1668 return (dropped);
1669}
1670
1671/*
1672 * vm_page_remove_xbusy

Callers 5

sgx_page_removeFunction · 0.85
cdev_pager_free_pageFunction · 0.85
vm_page_free_invalidFunction · 0.85
vm_object_splitFunction · 0.85
vm_object_collapse_scanFunction · 0.85

Calls 1

vm_page_remove_xbusyFunction · 0.85

Tested by

no test coverage detected