Home
last modified time | relevance | path

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

/arch/powerpc/mm/
Ddma-noncoherent.c62 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/
Damd_gart_64.c383 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/
Dbook3s_64_mmu.c452 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()
Dbook3s_64_mmu_host.c358 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/
Dkvm_book3s.h156 extern void kvmppc_mmu_flush_segment(struct kvm_vcpu *vcpu, ulong eaddr, ulong seg_size);