Home
last modified time | relevance | path

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

/kernel/dma/
Dswiotlb.c78 static unsigned long default_nslabs = IO_TLB_DEFAULT_SIZE >> IO_TLB_SHIFT; variable
112 if (default_nslabs < IO_TLB_SEGSIZE * default_nareas) in round_up_default_nslabs()
113 default_nslabs = IO_TLB_SEGSIZE * default_nareas; in round_up_default_nslabs()
114 else if (is_power_of_2(default_nslabs)) in round_up_default_nslabs()
116 default_nslabs = roundup_pow_of_two(default_nslabs); in round_up_default_nslabs()
140 (default_nslabs << IO_TLB_SHIFT) >> 20); in swiotlb_adjust_nareas()
165 default_nslabs = in setup_io_tlb_npages()
193 return default_nslabs << IO_TLB_SHIFT; in swiotlb_size_or_default()
203 if (default_nslabs != IO_TLB_DEFAULT_SIZE >> IO_TLB_SHIFT) in swiotlb_adjust_size()
207 default_nslabs = ALIGN(size >> IO_TLB_SHIFT, IO_TLB_SEGSIZE); in swiotlb_adjust_size()
[all …]