* Return the number of pages we need to free-up or cache * A positive number indicates that we do not have enough free pages. */
| 397 | * A positive number indicates that we do not have enough free pages. |
| 398 | */ |
| 399 | static inline int |
| 400 | vm_paging_target(struct vm_domain *vmd) |
| 401 | { |
| 402 | |
| 403 | return (vmd->vmd_free_target - vmd->vmd_free_count); |
| 404 | } |
| 405 | |
| 406 | /* |
| 407 | * Returns TRUE if the pagedaemon needs to be woken up. |
no outgoing calls
no test coverage detected