Home
last modified time | relevance | path

Searched refs:default_allocator (Results 1 - 1 of 1) sorted by relevance

/kernel/linux/linux-5.10/drivers/iommu/
H A Dioasid.c69 static struct ioasid_allocator_data default_allocator = { variable
75 static struct ioasid_allocator_data *active_allocator = &default_allocator;
81 if (xa_alloc(&default_allocator.xa, &id, opaque, XA_LIMIT(min, max), GFP_ATOMIC)) { in default_alloc()
93 ioasid_data = xa_erase(&default_allocator.xa, ioasid); in default_free()
158 WARN_ON(active_allocator != &default_allocator); in ioasid_register_allocator()
232 rcu_assign_pointer(active_allocator, &default_allocator); in ioasid_unregister_allocator()

Completed in 2 milliseconds