Lines Matching refs:dma_debug_entry

79 struct dma_debug_entry {  struct
97 typedef bool (*match_fn)(struct dma_debug_entry *, struct dma_debug_entry *); argument
182 static inline void dump_entry_trace(struct dma_debug_entry *entry) in dump_entry_trace()
252 static int hash_fn(struct dma_debug_entry *entry) in hash_fn()
264 static struct hash_bucket *get_hash_bucket(struct dma_debug_entry *entry, in get_hash_bucket()
288 static bool exact_match(struct dma_debug_entry *a, struct dma_debug_entry *b) in exact_match()
294 static bool containing_match(struct dma_debug_entry *a, in containing_match()
295 struct dma_debug_entry *b) in containing_match()
310 static struct dma_debug_entry *__hash_bucket_find(struct hash_bucket *bucket, in __hash_bucket_find()
311 struct dma_debug_entry *ref, in __hash_bucket_find()
314 struct dma_debug_entry *entry, *ret = NULL; in __hash_bucket_find()
360 static struct dma_debug_entry *bucket_find_exact(struct hash_bucket *bucket, in bucket_find_exact()
361 struct dma_debug_entry *ref) in bucket_find_exact()
366 static struct dma_debug_entry *bucket_find_contain(struct hash_bucket **bucket, in bucket_find_contain()
367 struct dma_debug_entry *ref, in bucket_find_contain()
372 struct dma_debug_entry *entry, index = *ref; in bucket_find_contain()
397 struct dma_debug_entry *entry) in hash_bucket_add()
405 static void hash_bucket_del(struct dma_debug_entry *entry) in hash_bucket_del()
410 static unsigned long long phys_addr(struct dma_debug_entry *entry) in phys_addr()
427 struct dma_debug_entry *entry; in debug_dma_dump_mappings()
477 static phys_addr_t to_cacheline_number(struct dma_debug_entry *entry) in to_cacheline_number()
533 static int active_cacheline_insert(struct dma_debug_entry *entry) in active_cacheline_insert()
555 static void active_cacheline_remove(struct dma_debug_entry *entry) in active_cacheline_remove()
584 static struct dma_debug_entry *ents[CACHELINES_PER_PAGE]; in debug_dma_assert_idle()
585 struct dma_debug_entry *entry = NULL; in debug_dma_assert_idle()
625 static void add_dma_entry(struct dma_debug_entry *entry) in add_dma_entry()
646 static struct dma_debug_entry *__dma_entry_alloc(void) in __dma_entry_alloc()
648 struct dma_debug_entry *entry; in __dma_entry_alloc()
650 entry = list_entry(free_entries.next, struct dma_debug_entry, list); in __dma_entry_alloc()
666 static struct dma_debug_entry *dma_entry_alloc(void) in dma_entry_alloc()
668 struct dma_debug_entry *entry; in dma_entry_alloc()
694 static void dma_entry_free(struct dma_debug_entry *entry) in dma_entry_free()
714 struct dma_debug_entry *entry; in dma_debug_resize_entries()
766 struct dma_debug_entry *entry, *next_entry; in prealloc_memory()
942 static int device_dma_allocations(struct device *dev, struct dma_debug_entry **out_entry) in device_dma_allocations()
944 struct dma_debug_entry *entry; in device_dma_allocations()
965 struct dma_debug_entry *uninitialized_var(entry); in dma_debug_device_change()
1073 static void check_unmap(struct dma_debug_entry *ref) in check_unmap()
1075 struct dma_debug_entry *entry; in check_unmap()
1215 struct dma_debug_entry *ref, in check_sync()
1218 struct dma_debug_entry *entry; in check_sync()
1319 struct dma_debug_entry *entry; in debug_dma_map_page()
1357 struct dma_debug_entry ref; in debug_dma_mapping_error()
1358 struct dma_debug_entry *entry; in debug_dma_mapping_error()
1396 struct dma_debug_entry ref = { in debug_dma_unmap_page()
1417 struct dma_debug_entry *entry; in debug_dma_map_sg()
1453 struct dma_debug_entry *ref) in get_nr_mapped_entries()
1455 struct dma_debug_entry *entry; in get_nr_mapped_entries()
1482 struct dma_debug_entry ref = { in debug_dma_unmap_sg()
1507 struct dma_debug_entry *entry; in debug_dma_alloc_coherent()
1542 struct dma_debug_entry ref = { in debug_dma_free_coherent()
1570 struct dma_debug_entry *entry; in debug_dma_map_resource()
1595 struct dma_debug_entry ref = { in debug_dma_unmap_resource()
1613 struct dma_debug_entry ref; in debug_dma_sync_single_for_cpu()
1633 struct dma_debug_entry ref; in debug_dma_sync_single_for_device()
1654 struct dma_debug_entry ref; in debug_dma_sync_single_range_for_cpu()
1675 struct dma_debug_entry ref; in debug_dma_sync_single_range_for_device()
1702 struct dma_debug_entry ref = { in debug_dma_sync_sg_for_cpu()
1735 struct dma_debug_entry ref = { in debug_dma_sync_sg_for_device()