Lines Matching defs:attributes
2396 * Returns true if _all_ gfns in the range [@start, @end) have attributes
2489 * if KVM supports RWX attributes in the future and the attributes are
2494 * but it's not obvious that allowing new mappings while the attributes
2502 /* Set @attributes for the gfn range [@start, @end). */
2504 unsigned long attributes)
2517 .arg.attributes = attributes,
2526 entry = attributes ? xa_mk_value(attributes) : NULL;
2530 /* Nothing to do if the entire range as the desired attributes. */
2531 if (kvm_range_has_memory_attributes(kvm, start, end, attributes))
2536 * partway through setting the new attributes.
2567 if (attrs->attributes & ~kvm_supported_mem_attributes(kvm))
2579 * KVM. For simplicity, supports generic attributes only on 64-bit
2582 BUILD_BUG_ON(sizeof(attrs->attributes) != sizeof(unsigned long));
2584 return kvm_vm_set_mem_attributes(kvm, start, end, attrs->attributes);