Lines Matching refs:dma_debug_entry

35 #define DMA_DEBUG_DYNAMIC_ENTRIES (PAGE_SIZE / sizeof(struct dma_debug_entry))
67 struct dma_debug_entry { struct
84 typedef bool (*match_fn)(struct dma_debug_entry *, struct dma_debug_entry *); argument
166 static inline void dump_entry_trace(struct dma_debug_entry *entry) in dump_entry_trace()
236 static int hash_fn(struct dma_debug_entry *entry) in hash_fn()
248 static struct hash_bucket *get_hash_bucket(struct dma_debug_entry *entry, in get_hash_bucket()
270 static bool exact_match(struct dma_debug_entry *a, struct dma_debug_entry *b) in exact_match()
276 static bool containing_match(struct dma_debug_entry *a, in containing_match()
277 struct dma_debug_entry *b) in containing_match()
292 static struct dma_debug_entry *__hash_bucket_find(struct hash_bucket *bucket, in __hash_bucket_find()
293 struct dma_debug_entry *ref, in __hash_bucket_find()
296 struct dma_debug_entry *entry, *ret = NULL; in __hash_bucket_find()
342 static struct dma_debug_entry *bucket_find_exact(struct hash_bucket *bucket, in bucket_find_exact()
343 struct dma_debug_entry *ref) in bucket_find_exact()
348 static struct dma_debug_entry *bucket_find_contain(struct hash_bucket **bucket, in bucket_find_contain()
349 struct dma_debug_entry *ref, in bucket_find_contain()
353 struct dma_debug_entry *entry, index = *ref; in bucket_find_contain()
377 struct dma_debug_entry *entry) in hash_bucket_add()
385 static void hash_bucket_del(struct dma_debug_entry *entry) in hash_bucket_del()
419 static phys_addr_t to_cacheline_number(struct dma_debug_entry *entry) in to_cacheline_number()
472 static int active_cacheline_insert(struct dma_debug_entry *entry) in active_cacheline_insert()
494 static void active_cacheline_remove(struct dma_debug_entry *entry) in active_cacheline_remove()
523 struct dma_debug_entry *entry; in debug_dma_dump_mappings()
555 struct dma_debug_entry *entry; in dump_show()
581 static void add_dma_entry(struct dma_debug_entry *entry, unsigned long attrs) in add_dma_entry()
603 struct dma_debug_entry *entry; in dma_debug_create_entries()
619 static struct dma_debug_entry *__dma_entry_alloc(void) in __dma_entry_alloc()
621 struct dma_debug_entry *entry; in __dma_entry_alloc()
623 entry = list_entry(free_entries.next, struct dma_debug_entry, list); in __dma_entry_alloc()
655 static struct dma_debug_entry *dma_entry_alloc(void) in dma_entry_alloc()
658 struct dma_debug_entry *entry; in dma_entry_alloc()
689 static void dma_entry_free(struct dma_debug_entry *entry) in dma_entry_free()
823 static int device_dma_allocations(struct device *dev, struct dma_debug_entry **out_entry) in device_dma_allocations()
825 struct dma_debug_entry *entry; in device_dma_allocations()
846 struct dma_debug_entry *entry; in dma_debug_device_change()
954 static void check_unmap(struct dma_debug_entry *ref) in check_unmap()
956 struct dma_debug_entry *entry; in check_unmap()
1090 struct dma_debug_entry *ref, in check_sync()
1093 struct dma_debug_entry *entry; in check_sync()
1208 struct dma_debug_entry *entry; in debug_dma_map_page()
1241 struct dma_debug_entry ref; in debug_dma_mapping_error()
1242 struct dma_debug_entry *entry; in debug_dma_mapping_error()
1280 struct dma_debug_entry ref = { in debug_dma_unmap_page()
1297 struct dma_debug_entry *entry; in debug_dma_map_sg()
1331 struct dma_debug_entry *ref) in get_nr_mapped_entries()
1333 struct dma_debug_entry *entry; in get_nr_mapped_entries()
1360 struct dma_debug_entry ref = { in debug_dma_unmap_sg()
1396 struct dma_debug_entry *entry; in debug_dma_alloc_coherent()
1425 struct dma_debug_entry ref = { in debug_dma_free_coherent()
1449 struct dma_debug_entry *entry; in debug_dma_map_resource()
1472 struct dma_debug_entry ref = { in debug_dma_unmap_resource()
1489 struct dma_debug_entry ref; in debug_dma_sync_single_for_cpu()
1508 struct dma_debug_entry ref; in debug_dma_sync_single_for_device()
1534 struct dma_debug_entry ref = { in debug_dma_sync_sg_for_cpu()
1565 struct dma_debug_entry ref = { in debug_dma_sync_sg_for_device()