• Home
  • Raw
  • Download

Lines Matching refs:dma_debug_entry

35 #define DMA_DEBUG_DYNAMIC_ENTRIES (PAGE_SIZE / sizeof(struct dma_debug_entry))
66 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()
390 static unsigned long long phys_addr(struct dma_debug_entry *entry) in phys_addr()
407 struct dma_debug_entry *entry; in debug_dma_dump_mappings()
455 static phys_addr_t to_cacheline_number(struct dma_debug_entry *entry) in to_cacheline_number()
508 static int active_cacheline_insert(struct dma_debug_entry *entry) in active_cacheline_insert()
530 static void active_cacheline_remove(struct dma_debug_entry *entry) in active_cacheline_remove()
553 static void add_dma_entry(struct dma_debug_entry *entry, unsigned long attrs) in add_dma_entry()
575 struct dma_debug_entry *entry; in dma_debug_create_entries()
591 static struct dma_debug_entry *__dma_entry_alloc(void) in __dma_entry_alloc()
593 struct dma_debug_entry *entry; in __dma_entry_alloc()
595 entry = list_entry(free_entries.next, struct dma_debug_entry, list); in __dma_entry_alloc()
627 static struct dma_debug_entry *dma_entry_alloc(void) in dma_entry_alloc()
630 struct dma_debug_entry *entry; in dma_entry_alloc()
661 static void dma_entry_free(struct dma_debug_entry *entry) in dma_entry_free()
783 struct dma_debug_entry *entry; in dump_show()
822 static int device_dma_allocations(struct device *dev, struct dma_debug_entry **out_entry) in device_dma_allocations()
824 struct dma_debug_entry *entry; in device_dma_allocations()
845 struct dma_debug_entry *entry; in dma_debug_device_change()
953 static void check_unmap(struct dma_debug_entry *ref) in check_unmap()
955 struct dma_debug_entry *entry; in check_unmap()
1085 struct dma_debug_entry *ref, in check_sync()
1088 struct dma_debug_entry *entry; in check_sync()
1206 struct dma_debug_entry *entry; in debug_dma_map_page()
1240 struct dma_debug_entry ref; in debug_dma_mapping_error()
1241 struct dma_debug_entry *entry; in debug_dma_mapping_error()
1279 struct dma_debug_entry ref = { in debug_dma_unmap_page()
1296 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()
1385 struct dma_debug_entry *entry; in debug_dma_alloc_coherent()
1419 struct dma_debug_entry ref = { in debug_dma_free_coherent()
1447 struct dma_debug_entry *entry; in debug_dma_map_resource()
1471 struct dma_debug_entry ref = { in debug_dma_unmap_resource()
1488 struct dma_debug_entry ref; in debug_dma_sync_single_for_cpu()
1507 struct dma_debug_entry ref; in debug_dma_sync_single_for_device()
1533 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()