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

Function vm_wait_flags

freebsd/vm/vm_page.c:3242–3259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3240}
3241
3242static int
3243vm_wait_flags(vm_object_t obj, int mflags)
3244{
3245 struct domainset *d;
3246
3247 d = NULL;
3248
3249 /*
3250 * Carefully fetch pointers only once: the struct domainset
3251 * itself is ummutable but the pointer might change.
3252 */
3253 if (obj != NULL)
3254 d = obj->domain.dr_policy;
3255 if (d == NULL)
3256 d = curthread->td_domain.dr_policy;
3257
3258 return (vm_wait_doms(&d->ds_mask, mflags));
3259}
3260
3261/*
3262 * vm_wait:

Callers 2

vm_waitFunction · 0.85
vm_wait_intrFunction · 0.85

Calls 1

vm_wait_domsFunction · 0.70

Tested by

no test coverage detected