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

Function vm_object_mightbedirty

freebsd/vm/vm_object.h:333–346  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

331}
332
333static __inline bool
334vm_object_mightbedirty(vm_object_t object)
335{
336
337 if (object->type != OBJT_VNODE) {
338 if ((object->flags & OBJ_TMPFS_NODE) == 0)
339 return (false);
340#ifdef KASSERT
341 KASSERT(object->type == OBJT_SWAP,
342 ("TMPFS_NODE obj %p is not swap", object));
343#endif
344 }
345 return (object->generation != object->cleangeneration);
346}
347
348void vm_object_clear_flag(vm_object_t object, u_short bits);
349void vm_object_pip_add(vm_object_t object, short i);

Callers 5

vinactivefFunction · 0.85
vfs_want_msyncFunction · 0.85
vn_need_pageq_flushFunction · 0.85
vm_object_page_cleanFunction · 0.85
vm_object_syncFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected