Lines Matching refs:flags
311 int flags,
335 if (flags & MEMORY_OBJECT_DATA_FLUSH_ALL) {
337 flags &= ~MEMORY_OBJECT_DATA_FLUSH_ALL;
338 flags |= MEMORY_OBJECT_DATA_FLUSH;
343 if (flags & MEMORY_OBJECT_DATA_FLUSH_ALL)
347 io_errno, should_return, flags, prot);
375 int flags)
383 return vm_object_release_name(object, flags);
417 * If the should_flush and should_return flags are true pages
443 int flags;
458 flags = MEMORY_OBJECT_DATA_FLUSH;
460 flags = 0;
463 flags |= MEMORY_OBJECT_IO_SYNC;
469 flags,
677 int flags,
683 boolean_t should_flush = (flags & MEMORY_OBJECT_DATA_FLUSH) ? TRUE : FALSE;
684 boolean_t should_iosync = (flags & MEMORY_OBJECT_IO_SYNC) ? TRUE : FALSE;
714 update_cow = ((flags & MEMORY_OBJECT_DATA_FLUSH)
715 && (!(flags & MEMORY_OBJECT_DATA_NO_CHANGE) &&
716 !(flags & MEMORY_OBJECT_DATA_PURGE)))
717 || (flags & MEMORY_OBJECT_COPY_SYNC);
719 if (update_cow || (flags & (MEMORY_OBJECT_DATA_PURGE | MEMORY_OBJECT_DATA_SYNC))) {
751 if ((copy_object != VM_OBJECT_NULL && update_cow) || (flags & MEMORY_OBJECT_DATA_SYNC)) {
883 if ((flags & (MEMORY_OBJECT_DATA_SYNC | MEMORY_OBJECT_COPY_SYNC))) {
892 if ((flags & MEMORY_OBJECT_DATA_PURGE)) {
1451 int *flags)
1457 caller_flags = *flags;
1561 *flags = UPL_PHYS_CONTIG;
1563 *flags = 0;
1566 *flags = UPL_DEV_MEMORY | UPL_PHYS_CONTIG;
1843 int *flags)
1851 return vm_object_page_op(object, offset, ops, phys_entry, flags);