Lines Matching defs:used
110 * @used: The number of used IO TLB block.
116 unsigned long used;
256 * before the SWIOTLB memory is used.
285 mem->areas[i].used = 0;
352 * structures for the software IO TLB used to implement the DMA API.
563 * alloc_dma_pages() - allocate pages to be used for DMA
569 * pages decrypted that they can be used for DMA.
944 * Track the total used slots with a global atomic value in order to have
1061 if (unlikely(nslots > pool->area_nslabs - area->used))
1115 area->used += nslots;
1282 * mem_used() - get number of used slots in an allocator
1288 * Return: Number of used slots.
1298 * mem_pool_used() - get number of used slots in a memory pool
1303 * Return: Approximate number of used slots.
1308 unsigned long used = 0;
1311 used += pool->areas[i].used;
1312 return used;
1316 * mem_used() - get number of used slots in an allocator
1322 * Return: Approximate number of used slots.
1328 unsigned long used = 0;
1332 used += mem_pool_used(pool);
1335 return used;
1377 "swiotlb buffer is full (sz: %zd bytes), total %lu (slots), used %lu (slots)\n",
1455 area->used -= nslots;
1601 * Get the lowest physical address used by the default software IO TLB pool.
1614 * Get the highest physical address used by the default software IO TLB pool.