| 331 | } |
| 332 | |
| 333 | static __inline bool |
| 334 | vm_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 | |
| 348 | void vm_object_clear_flag(vm_object_t object, u_short bits); |
| 349 | void vm_object_pip_add(vm_object_t object, short i); |
no outgoing calls
no test coverage detected