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

Function vm_map_splay_findnext

freebsd/vm/vm_map.c:1186–1199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1184}
1185
1186static __always_inline void
1187vm_map_splay_findnext(vm_map_entry_t root, vm_map_entry_t *rlist)
1188{
1189 vm_map_entry_t hi, right, y;
1190
1191 right = *rlist;
1192 hi = root->right == right ? NULL : root->right;
1193 if (hi == NULL)
1194 return;
1195 do
1196 SPLAY_LEFT_STEP(hi, y, root, right, true);
1197 while (hi != NULL);
1198 *rlist = right;
1199}
1200
1201static __always_inline void
1202vm_map_splay_findprev(vm_map_entry_t root, vm_map_entry_t *llist)

Callers 3

vm_map_entry_linkFunction · 0.85
vm_map_entry_unlinkFunction · 0.85
vm_map_entry_resizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected