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

Function vm_map_entry_set_behavior

freebsd/vm/vm_map.c:1010–1015  ·  view source on GitHub ↗

* vm_map_entry_set_behavior: * * Set the expected access behavior, either normal, random, or * sequential. */

Source from the content-addressed store, hash-verified

1008 * sequential.
1009 */
1010static inline void
1011vm_map_entry_set_behavior(vm_map_entry_t entry, u_char behavior)
1012{
1013 entry->eflags = (entry->eflags & ~MAP_ENTRY_BEHAV_MASK) |
1014 (behavior & MAP_ENTRY_BEHAV_MASK);
1015}
1016
1017/*
1018 * vm_map_entry_max_free_{left,right}:

Callers 1

vm_map_madviseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected