Lines Matching refs:io_tlb_mem
89 static struct io_tlb_mem io_tlb_default_mem = {
98 static struct io_tlb_mem io_tlb_default_mem;
306 static void add_mem_pool(struct io_tlb_mem *mem, struct io_tlb_pool *pool) in add_mem_pool()
736 struct io_tlb_mem *mem = in swiotlb_dyn_alloc()
737 container_of(work, struct io_tlb_mem, dyn_alloc); in swiotlb_dyn_alloc()
777 struct io_tlb_mem *mem = dev->dma_io_tlb_mem; in swiotlb_find_pool()
954 static void inc_used_and_hiwater(struct io_tlb_mem *mem, unsigned int nslots) in inc_used_and_hiwater()
967 static void dec_used(struct io_tlb_mem *mem, unsigned int nslots) in dec_used()
973 static void inc_used_and_hiwater(struct io_tlb_mem *mem, unsigned int nslots) in inc_used_and_hiwater()
976 static void dec_used(struct io_tlb_mem *mem, unsigned int nslots) in dec_used()
1157 struct io_tlb_mem *mem = dev->dma_io_tlb_mem; in swiotlb_find_slots()
1248 static unsigned long mem_used(struct io_tlb_mem *mem) in mem_used()
1282 static unsigned long mem_used(struct io_tlb_mem *mem) in mem_used()
1306 struct io_tlb_mem *mem = dev->dma_io_tlb_mem; in swiotlb_tbl_map_single()
1548 struct io_tlb_mem *mem = dev->dma_io_tlb_mem; in is_swiotlb_active()
1584 struct io_tlb_mem *mem = data; in io_tlb_used_get()
1592 struct io_tlb_mem *mem = data; in io_tlb_hiwater_get()
1600 struct io_tlb_mem *mem = data; in io_tlb_hiwater_set()
1614 static void swiotlb_create_debugfs_files(struct io_tlb_mem *mem, in swiotlb_create_debugfs_files()
1641 static inline void swiotlb_create_debugfs_files(struct io_tlb_mem *mem, in swiotlb_create_debugfs_files()
1652 struct io_tlb_mem *mem = dev->dma_io_tlb_mem; in swiotlb_alloc()
1692 struct io_tlb_mem *mem = rmem->priv; in rmem_swiotlb_device_init()