X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/9bccf70c0258c7cac2dcb80011b2a964d884c552..2d21ac55c334faf3a56e5634905ed6987fc787d4:/osfmk/man/MO_get_attributes.html?ds=sidebyside
diff --git a/osfmk/man/MO_get_attributes.html b/osfmk/man/MO_get_attributes.html
index 15d33f797..917a4898b 100755
--- a/osfmk/man/MO_get_attributes.html
+++ b/osfmk/man/MO_get_attributes.html
@@ -1 +1,73 @@
-
memory_object_get_attributes
Function - Return current attributes for a memory object.
SYNOPSIS
kern_return_t memory_object_get_attributes
(memory_object_control_t memory_control,
memory_object_flavor_t flavor,
memory_object_info_t attributes,
mach_msg_type_number_t attributes_count);
PARAMETERS
- memory_control
-
[in memory-cache-control send right]
The memory cache control port
to be used by the memory manager for cache management requests.
This port is provided by the kernel in a memory_object_notify call.
- flavor
-
[in scalar]
The type of information to be returned. Valid values are:
- MEMORY_OBJECT_PERFORMANCE_INFO
-
Performance related attributes such as the cache indicator and
the cluster size. attributes should specify a structure of type
memory_object_perf_info.
- MEMORY_OBJECT_BEHAVIOR_INFO
-
Behavior related attributes such as the copy strategy and sync
invalidate flag. attributes should specify a structure of type
memory_object_behavior_info.
- MEMORY_OBJECT_ATTRIBUTES_INFO
-
Behavior and performance related attributes such as the copy strategy,
cache indicator, and cluster size. attributes should specify a structure of type
memory_object_attr_info.
- attributes
-
[out structure]
Current attributes.
- attributes_count
-
[in/out scalar]
On input, the maximum size of the buffer; on output, the
size returned (in natural-sized units).
DESCRIPTION
The memory_object_get_attributes function retrieves
the current attributes for
the specified memory object.
RETURN VALUES
Only generic errors apply.
RELATED INFORMATION
Functions:
memory_object_change_attributes.
Data Structures:
memory_object_perf_info,
memory_object_attr_info.
\ No newline at end of file
+
memory_object_get_attributes
+
+
+Function - Return current attributes for a memory object.
+
SYNOPSIS
+
+kern_return_t memory_object_get_attributes
+ (memory_object_control_t memory_control,
+ memory_object_flavor_t flavor,
+ memory_object_info_t attributes,
+ mach_msg_type_number_t attributes_count);
+
+PARAMETERS
+
+
+
- memory_control
+
-
+[in memory-cache-control send right]
+The memory cache control port
+to be used by the memory manager for cache management requests.
+This port is provided by the kernel in a memory_object_notify call.
+
+
- flavor
+
-
+[in scalar]
+The type of information to be returned. Valid values are:
+
+
+
- MEMORY_OBJECT_PERFORMANCE_INFO
+
-
+Performance related attributes such as the cache indicator and
+the cluster size. attributes should specify a structure of type
+memory_object_perf_info.
+
+
- MEMORY_OBJECT_BEHAVIOR_INFO
+
-
+Behavior related attributes such as the copy strategy and sync
+invalidate flag. attributes should specify a structure of type
+memory_object_behavior_info.
+
- MEMORY_OBJECT_ATTRIBUTES_INFO
+
-
+Behavior and performance related attributes such as the copy strategy,
+cache indicator, and cluster size. attributes should specify a structure of type
+memory_object_attr_info.
+
+
+
- attributes
+
-
+[out structure]
+Current attributes.
+
+
- attributes_count
+
-
+[in/out scalar]
+On input, the maximum size of the buffer; on output, the
+size returned (in natural-sized units).
+
+DESCRIPTION
+
+The memory_object_get_attributes function retrieves
+the current attributes for
+the specified memory object.
+
RETURN VALUES
+
+Only generic errors apply.
+
RELATED INFORMATION
+
+Functions:
+memory_object_change_attributes.
+
+Data Structures:
+memory_object_perf_info,
+memory_object_attr_info.