Home
last modified time | relevance | path

Searched refs:alloc_align_mask (Results 1 – 1 of 1) sorted by relevance

/linux/kernel/dma/
H A Dswiotlb.c1023 * @alloc_align_mask: Required alignment of the allocated buffer. in swiotlb_search_pool_area()
1033 unsigned int alloc_align_mask) in swiotlb_search_pool_area()
1054 * 'alloc_align_mask' was later introduced to specify the alignment in swiotlb_search_pool_area()
1059 if (!alloc_align_mask && !iotlb_align_mask && alloc_size >= PAGE_SIZE) in swiotlb_search_pool_area()
1060 alloc_align_mask = PAGE_SIZE - 1; in swiotlb_search_pool_area()
1067 alloc_align_mask |= (IO_TLB_SIZE - 1); in swiotlb_search_pool_area()
1068 iotlb_align_mask &= ~alloc_align_mask; in swiotlb_search_pool_area()
1074 stride = get_max_slots(max(alloc_align_mask, iotlb_align_mask)); in swiotlb_search_pool_area()
1089 if ((tlb_addr & alloc_align_mask) || in swiotlb_search_pool_area()
1148 * @alloc_align_mask in swiotlb_search_area()
1016 swiotlb_search_pool_area(struct device * dev,struct io_tlb_pool * pool,int area_index,phys_addr_t orig_addr,size_t alloc_size,unsigned int alloc_align_mask) swiotlb_search_pool_area() argument
1141 swiotlb_search_area(struct device * dev,int start_cpu,int cpu_offset,phys_addr_t orig_addr,size_t alloc_size,unsigned int alloc_align_mask,struct io_tlb_pool ** retpool) swiotlb_search_area() argument
1180 swiotlb_find_slots(struct device * dev,phys_addr_t orig_addr,size_t alloc_size,unsigned int alloc_align_mask,struct io_tlb_pool ** retpool) swiotlb_find_slots() argument
1256 swiotlb_find_slots(struct device * dev,phys_addr_t orig_addr,size_t alloc_size,unsigned int alloc_align_mask,struct io_tlb_pool ** retpool) swiotlb_find_slots() argument
1368 swiotlb_tbl_map_single(struct device * dev,phys_addr_t orig_addr,size_t mapping_size,unsigned int alloc_align_mask,enum dma_data_direction dir,unsigned long attrs) swiotlb_tbl_map_single() argument
[all...]