Home
last modified time | relevance | path

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

/kernel/dma/
Dremap.c23 pgprot_t prot, const void *caller) in dma_common_pages_remap() argument
28 VM_DMA_COHERENT, prot); in dma_common_pages_remap()
39 pgprot_t prot, const void *caller) in dma_common_contiguous_remap() argument
51 vaddr = vmap(pages, count, VM_DMA_COHERENT, prot); in dma_common_contiguous_remap()
Ddirect.c286 pgprot_t prot = dma_pgprot(dev, PAGE_KERNEL, attrs); in dma_direct_alloc() local
289 prot = pgprot_decrypted(prot); in dma_direct_alloc()
295 ret = dma_common_contiguous_remap(page, size, prot, in dma_direct_alloc()
Dmapping.c415 pgprot_t dma_pgprot(struct device *dev, pgprot_t prot, unsigned long attrs) in dma_pgprot() argument
418 return prot; in dma_pgprot()
421 return pgprot_writecombine(prot); in dma_pgprot()
425 return pgprot_syscached(prot); in dma_pgprot()
426 return pgprot_dmacoherent(prot); in dma_pgprot()
/kernel/events/
Dcore.c8386 u32 prot, flags; member
8432 mmap_event->event_id.header.size += sizeof(mmap_event->prot); in perf_event_mmap_output()
8464 perf_output_put(&handle, mmap_event->prot); in perf_event_mmap_output()
8485 u32 prot = 0, flags = 0; in perf_event_mmap_event() local
8492 prot |= PROT_READ; in perf_event_mmap_event()
8494 prot |= PROT_WRITE; in perf_event_mmap_event()
8496 prot |= PROT_EXEC; in perf_event_mmap_event()
8580 mmap_event->prot = prot; in perf_event_mmap_event()