Home
last modified time | relevance | path

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

/optee_os/ldelf/
A Dmain.c62 struct print_buf_ctx *pbuf = pctx; in print_to_pbuf() local
67 if (pbuf->buf && pbuf->blen > pbuf->ret) { in print_to_pbuf()
68 buf = pbuf->buf + pbuf->ret; in print_to_pbuf()
69 blen = pbuf->blen - pbuf->ret; in print_to_pbuf()
75 pbuf->ret += ret; in print_to_pbuf()
80 struct print_buf_ctx *pbuf = pctx; in copy_to_pbuf() local
84 if (pbuf->buf && pbuf->blen > pbuf->ret) { in copy_to_pbuf()
85 buf = pbuf->buf + pbuf->ret; in copy_to_pbuf()
86 blen = pbuf->blen - pbuf->ret; in copy_to_pbuf()
90 pbuf->ret += bl; in copy_to_pbuf()
[all …]
/optee_os/core/arch/arm/mm/
A Dcore_mmu.c275 static bool pbuf_is_special_mem(paddr_t pbuf, size_t len, in pbuf_is_special_mem() argument
435 static bool pbuf_is_nsec_ddr(paddr_t pbuf, size_t len) in pbuf_is_nsec_ddr() argument
443 return pbuf_is_special_mem(pbuf, len, start, end); in pbuf_is_nsec_ddr()
468 static bool pbuf_is_sdp_mem(paddr_t pbuf, size_t len) in pbuf_is_sdp_mem() argument
1298 return pbuf_is_inside(secure_only, pbuf, len); in core_pbuf_is()
1300 return pbuf_is_inside(nsec_shared, pbuf, len) || in core_pbuf_is()
1301 pbuf_is_nsec_ddr(pbuf, len); in core_pbuf_is()
1303 return core_is_buffer_inside(pbuf, len, TEE_RAM_START, in core_pbuf_is()
1306 return core_is_buffer_inside(pbuf, len, TA_RAM_START, in core_pbuf_is()
1314 return pbuf_is_sdp_mem(pbuf, len); in core_pbuf_is()
[all …]
/optee_os/core/include/mm/
A Dcore_memprot.h61 bool core_pbuf_is(uint32_t flags, paddr_t pbuf, size_t len);
/optee_os/core/arch/arm/kernel/
A Dthread_spmc.c727 static int handle_mem_share_tmem(paddr_t pbuf, size_t blen, size_t flen, in handle_mem_share_tmem() argument
734 vaddr_t offs = pbuf & SMALL_PAGE_MASK; in handle_mem_share_tmem()
738 if (!core_pbuf_is(CORE_MEM_NON_SEC, pbuf, len)) in handle_mem_share_tmem()
752 if (core_mmu_map_contiguous_pages(tee_mm_get_smem(mm), pbuf, in handle_mem_share_tmem()

Completed in 11 milliseconds