Lines Matching defs:alloc_align_mask

1008  * @alloc_align_mask:	Required alignment of the allocated buffer.
1018 unsigned int alloc_align_mask)
1039 * 'alloc_align_mask' was later introduced to specify the alignment
1044 if (!alloc_align_mask && !iotlb_align_mask && alloc_size >= PAGE_SIZE)
1045 alloc_align_mask = PAGE_SIZE - 1;
1052 alloc_align_mask |= (IO_TLB_SIZE - 1);
1053 iotlb_align_mask &= ~alloc_align_mask;
1059 stride = get_max_slots(max(alloc_align_mask, iotlb_align_mask));
1074 if ((tlb_addr & alloc_align_mask) ||
1133 * @alloc_align_mask: Required alignment of the allocated buffer.
1143 unsigned int alloc_align_mask, struct io_tlb_pool **retpool)
1157 alloc_align_mask);
1173 * @alloc_align_mask: Required alignment of the allocated buffer.
1182 size_t alloc_size, unsigned int alloc_align_mask,
1199 alloc_align_mask, &pool);
1217 alloc_size, alloc_align_mask);
1258 size_t alloc_size, unsigned int alloc_align_mask,
1269 alloc_size, alloc_align_mask);
1350 * @alloc_align_mask: Required start and end alignment of the allocated buffer
1355 * The allocated space starts at an alignment specified by alloc_align_mask,
1357 * of allocated space is a multiple of (alloc_align_mask + 1). If
1358 * alloc_align_mask is zero, the allocated space may be at any alignment and
1370 size_t mapping_size, unsigned int alloc_align_mask,
1398 dev_WARN_ONCE(dev, alloc_align_mask > ~PAGE_MASK,
1401 offset = swiotlb_align_offset(dev, alloc_align_mask, orig_addr);
1402 size = ALIGN(mapping_size + offset, alloc_align_mask + 1);
1403 index = swiotlb_find_slots(dev, orig_addr, size, alloc_align_mask, &pool);