Searched refs:seg_size (Results 1 – 5 of 5) sorted by relevance
/arch/powerpc/mm/ |
D | dma-noncoherent.c | 62 size_t seg_size = min((size_t)(PAGE_SIZE - offset), size); in __dma_sync_page_highmem() local 63 size_t cur_size = seg_size; in __dma_sync_page_highmem() 65 int nr_segs = 1 + ((size - seg_size) + PAGE_SIZE - 1)/PAGE_SIZE; in __dma_sync_page_highmem() 74 __dma_sync((void *)start, seg_size, direction); in __dma_sync_page_highmem() 79 seg_size = min((size_t)PAGE_SIZE, size - cur_size); in __dma_sync_page_highmem() 82 cur_size += seg_size; in __dma_sync_page_highmem()
|
/arch/x86/kernel/ |
D | amd_gart_64.c | 383 unsigned int seg_size; in gart_map_sg() local 393 seg_size = 0; in gart_map_sg() 413 (s->length + seg_size > max_seg_size) || in gart_map_sg() 421 seg_size = 0; in gart_map_sg() 429 seg_size += s->length; in gart_map_sg()
|
/arch/powerpc/kvm/ |
D | book3s_64_mmu.c | 452 u64 seg_size; in kvmppc_mmu_book3s_64_slbie() local 467 seg_size = 1ull << kvmppc_slb_sid_shift(slbe); in kvmppc_mmu_book3s_64_slbie() 468 kvmppc_mmu_flush_segment(vcpu, ea & ~(seg_size - 1), seg_size); in kvmppc_mmu_book3s_64_slbie()
|
D | book3s_64_mmu_host.c | 358 void kvmppc_mmu_flush_segment(struct kvm_vcpu *vcpu, ulong ea, ulong seg_size) in kvmppc_mmu_flush_segment() argument 361 ulong seg_mask = -seg_size; in kvmppc_mmu_flush_segment()
|
/arch/powerpc/include/asm/ |
D | kvm_book3s.h | 156 extern void kvmppc_mmu_flush_segment(struct kvm_vcpu *vcpu, ulong eaddr, ulong seg_size);
|