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

Function vm_map_splay_findprev

freebsd/vm/vm_map.c:1201–1214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1199}
1200
1201static __always_inline void
1202vm_map_splay_findprev(vm_map_entry_t root, vm_map_entry_t *llist)
1203{
1204 vm_map_entry_t left, lo, y;
1205
1206 left = *llist;
1207 lo = root->left == left ? NULL : root->left;
1208 if (lo == NULL)
1209 return;
1210 do
1211 SPLAY_RIGHT_STEP(lo, y, left, root, true);
1212 while (lo != NULL);
1213 *llist = left;
1214}
1215
1216static inline void
1217vm_map_entry_swap(vm_map_entry_t *a, vm_map_entry_t *b)

Callers 2

vm_map_entry_linkFunction · 0.85
vm_map_entry_unlinkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected