Searched refs:hmm_buffer_object (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/drivers/staging/media/atomisp/include/hmm/ |
D | hmm_bo.h | 54 container_of((root_node), struct hmm_buffer_object, node) 57 list_entry((list_ptr), struct hmm_buffer_object, list) 60 list_entry((kref_ptr), struct hmm_buffer_object, kref) 112 struct hmm_buffer_object { struct 138 struct hmm_buffer_object *prev; argument 139 struct hmm_buffer_object *next; argument 142 struct hmm_buffer_object *hmm_bo_alloc(struct hmm_bo_device *bdev, 145 void hmm_bo_release(struct hmm_buffer_object *bo); 164 void hmm_bo_ref(struct hmm_buffer_object *bo); 199 void hmm_bo_unref(struct hmm_buffer_object *bo); [all …]
|
/linux-6.12.1/drivers/staging/media/atomisp/pci/hmm/ |
D | hmm_bo.c | 47 static int __bo_init(struct hmm_bo_device *bdev, struct hmm_buffer_object *bo, in __bo_init() 77 static struct hmm_buffer_object *__bo_search_and_remove_from_free_rbtree( in __bo_search_and_remove_from_free_rbtree() 80 struct hmm_buffer_object *this, *ret_bo, *temp_bo; in __bo_search_and_remove_from_free_rbtree() 82 this = rb_entry(node, struct hmm_buffer_object, node); in __bo_search_and_remove_from_free_rbtree() 128 static struct hmm_buffer_object *__bo_search_by_addr(struct rb_root *root, in __bo_search_by_addr() 132 struct hmm_buffer_object *bo; in __bo_search_by_addr() 135 bo = rb_entry(n, struct hmm_buffer_object, node); in __bo_search_by_addr() 153 static struct hmm_buffer_object *__bo_search_by_addr_in_range( in __bo_search_by_addr_in_range() 157 struct hmm_buffer_object *bo; in __bo_search_by_addr_in_range() 160 bo = rb_entry(n, struct hmm_buffer_object, node); in __bo_search_by_addr_in_range() [all …]
|
D | hmm.c | 52 struct hmm_buffer_object *bo; in bo_show() 173 struct hmm_buffer_object *bo; in __hmm_alloc() 229 struct hmm_buffer_object *bo; in hmm_free() 248 static inline int hmm_check_bo(struct hmm_buffer_object *bo, unsigned int ptr) in hmm_check_bo() 276 struct hmm_buffer_object *bo; in load_and_flush_by_kmap() 319 struct hmm_buffer_object *bo; in load_and_flush() 376 struct hmm_buffer_object *bo; in hmm_store() 459 struct hmm_buffer_object *bo; in hmm_set() 520 struct hmm_buffer_object *bo; in hmm_virt_to_phys() 538 struct hmm_buffer_object *bo; in hmm_mmap() [all …]
|