Lines Matching full:memory
39 * struct memory_group_manager_ops - Callbacks for memory group manager
42 * @mgm_alloc_page: Callback to allocate physical memory in a group
43 * @mgm_free_page: Callback to free physical memory in a group
44 * @mgm_get_import_memory_id: Callback to get the group ID for imported memory
48 * @mgm_vmf_insert_pfn_prot: Callback to map a physical memory page for the CPU
52 * mgm_alloc_page - Allocate a physical memory page in a group
54 * @mgm_dev: The memory group manager through which the request is
56 * @group_id: A physical memory group ID. The meaning of this is defined
71 * mgm_free_page - Free a physical memory page in a group
73 * @mgm_dev: The memory group manager through which the request
75 * @group_id: A physical memory group ID. The meaning of this is
79 * memory that was allocated by calling the mgm_alloc_page
80 * method of the same memory pool with the same values of
90 * mgm_get_import_memory_id - Get the physical memory group ID for the
91 * imported memory
93 * @mgm_dev: The memory group manager through which the request
95 * @import_data: Pointer to the data which describes imported memory.
101 * Return: The memory group ID to use when mapping pages from this
102 * imported memory.
109 * mgm_update_gpu_pte - Modify a GPU page table entry for a memory group
111 * @mgm_dev: The memory group manager through which the request
113 * @group_id: A physical memory group ID. The meaning of this is
122 * This function allows the memory group manager to modify a GPU page
125 * or modify the physical address, based on the physical memory group ID
136 * @mgm_dev: The memory group manager through which the request
138 * @group_id: A physical memory group ID. The meaning of this is
157 * @mgm_dev: The memory group manager through which the request
159 * @group_id: A physical memory group ID. The meaning of this is
162 * @vma: The virtual memory area to insert the page into.
167 * Called from a CPU virtual memory page fault handler. This function
182 * struct memory_group_manager_device - Device structure for a memory group
189 * In order for a systems integrator to provide custom behaviors for memory
209 * memory
211 * @type: type of imported memory
212 * @u: Union describing the imported memory
213 * @u.dma_buf: imported memory