Home
last modified time | relevance | path

Searched refs:ioasid_allocator_ops (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/include/linux/
Dioasid.h25 struct ioasid_allocator_ops { struct
40 int ioasid_register_allocator(struct ioasid_allocator_ops *allocator); argument
41 void ioasid_unregister_allocator(struct ioasid_allocator_ops *allocator);
61 static inline int ioasid_register_allocator(struct ioasid_allocator_ops *allocator) in ioasid_register_allocator()
66 static inline void ioasid_unregister_allocator(struct ioasid_allocator_ops *allocator) in ioasid_unregister_allocator()
Dintel-iommu.h596 struct ioasid_allocator_ops pasid_allocator; /* Custom allocator for PASIDs */
/Linux-v5.10/drivers/iommu/
Dioasid.c49 struct ioasid_allocator_ops *ops;
64 static struct ioasid_allocator_ops default_ops = {
98 static struct ioasid_allocator_data *ioasid_alloc_allocator(struct ioasid_allocator_ops *ops) in ioasid_alloc_allocator()
117 static bool use_same_ops(struct ioasid_allocator_ops *a, struct ioasid_allocator_ops *b) in use_same_ops()
138 int ioasid_register_allocator(struct ioasid_allocator_ops *ops) in ioasid_register_allocator()
206 void ioasid_unregister_allocator(struct ioasid_allocator_ops *ops) in ioasid_unregister_allocator()
209 struct ioasid_allocator_ops *sops; in ioasid_unregister_allocator()