Lines Matching full:custom
26 * - Custom allocators may share allocation helpers with different private data.
27 * Custom allocators that share the same helper functions also share the same
32 * custom allocators or allocate IOASIDs.
33 * 2. Custom allocators take precedence over the default allocator.
34 * 3. When all custom allocators sharing the same helper functions are
37 * 4. When switching between custom allocators sharing the same helper
39 * 5. When switching between custom allocator and default allocator, all IOASIDs
43 * @list: registered custom allocators
98 /* Allocate and initialize a new custom allocator with its helper functions */
112 /* For tracking custom allocators that share the same ops */ in ioasid_alloc_allocator()
124 * ioasid_register_allocator - register a custom allocator
125 * @ops: the custom allocator ops to be registered
127 * Custom allocators take precedence over the default xarray based allocator.
128 * Private data associated with the IOASID allocated by the custom allocators
133 * of runtime removal of a custom allocator, the next one is activated based
200 * ioasid_unregister_allocator - Remove a custom IOASID allocator ops
201 * @ops: the custom allocator to be removed
205 * custom allocators are unregistered without outstanding IOASIDs.
214 pr_warn("No custom IOASID allocators active!\n"); in ioasid_unregister_allocator()
232 pr_info("No custom IOASID allocators, switch to default.\n"); in ioasid_unregister_allocator()
321 * Custom allocator needs allocator data to perform platform specific in ioasid_alloc()
334 /* Custom allocator needs framework to store and track allocation results */ in ioasid_alloc()
393 /* Custom allocator needs additional steps to free the xa element */ in ioasid_put()