| /optee_os/core/kernel/ |
| H A D | transfer_list.c | 66 if (tl->max_size <= sz) in transfer_list_map() 69 sz = ROUNDUP(tl->max_size, SMALL_PAGE_SIZE); in transfer_list_map() 76 size_t sz = tl->max_size; in transfer_list_unmap_sync() 85 unmap_list(tl, tl->max_size); in transfer_list_unmap_nosync() 103 DMSG("max_size %#"PRIx32, tl->max_size); in transfer_list_dump() 126 struct transfer_list_header *transfer_list_init(paddr_t pa, size_t max_size) in transfer_list_init() argument 131 if (!pa || !max_size) in transfer_list_init() 134 if (!IS_ALIGNED(pa, align) || !IS_ALIGNED(max_size, align) || in transfer_list_init() 135 max_size < sizeof(*tl)) in transfer_list_init() 138 tl = core_mmu_add_mapping(MEM_AREA_TRANSFER_LIST, pa, max_size); in transfer_list_init() [all …]
|
| H A D | dt.c | 977 void init_manifest_dt(void *fdt, size_t max_size) in init_manifest_dt() argument 980 manifest_max_size = max_size; in init_manifest_dt() 1051 void init_manifest_dt(void *fdt __unused, size_t max_size __unused) in init_manifest_dt()
|
| /optee_os/core/arch/arm/plat-bcm/ |
| H A D | bcm_elog.c | 17 base = io_pa_or_va(&elog->base, elog->max_size); in bcm_elog_putchar() 25 if (offset >= elog->max_size) in bcm_elog_putchar() 29 if (len < elog->max_size - BCM_ELOG_HEADER_LEN) in bcm_elog_putchar() 43 elog->max_size = size; in bcm_elog_init()
|
| H A D | bcm_elog.h | 29 uint32_t max_size; member
|
| /optee_os/core/include/kernel/ |
| H A D | transfer_list.h | 73 uint32_t max_size; member 109 struct transfer_list_header *transfer_list_init(paddr_t pa, size_t max_size); 113 size_t max_size);
|
| H A D | dt.h | 327 void init_manifest_dt(void *fdt, size_t max_size); 498 size_t max_size __unused) in init_manifest_dt()
|
| /optee_os/lib/libmbedtls/core/ |
| H A D | sm2-pke.c | 26 size_t max_size, size_t *consumed) in sm2_uncompressed_bytes_to_point() argument 31 if (max_size < (size_t)(2 * SM2_INT_SIZE_BYTES)) in sm2_uncompressed_bytes_to_point() 66 size_t max_size, size_t *consumed) in sm2_bytes_to_point() argument 70 if (!max_size) in sm2_bytes_to_point() 83 max_size - 1, consumed); in sm2_bytes_to_point()
|
| /optee_os/lib/libutils/ext/ftrace/ |
| H A D | ftrace.c | 82 if ((idx + 1) * sizeof(*elem) > fbuf->max_size) { in add_elem() 95 if (!fbuf || !fbuf->buf_off || !fbuf->max_size) in ftrace_enter()
|
| /optee_os/ldelf/ |
| H A D | ftrace.c | 79 fbuf->max_size = fbuf_size - sizeof(struct ftrace_buf) - count; in ftrace_init() 103 csize = fbuf->max_size; in ftrace_copy_buf()
|
| /optee_os/core/lib/libtomcrypt/ |
| H A D | sm2-pke.c | 25 const uint8_t *x1y1, size_t max_size, in sm2_uncompressed_bytes_to_point() argument 32 if (max_size < (size_t)(2 * SM2_INT_SIZE_BYTES)) in sm2_uncompressed_bytes_to_point() 64 const uint8_t *buf, size_t max_size, in sm2_bytes_to_point() argument 69 if (!max_size) in sm2_bytes_to_point() 82 max_size - 1, consumed); in sm2_bytes_to_point()
|
| /optee_os/lib/libutee/include/ |
| H A D | user_ta_header.h | 94 uint32_t max_size; /* Max allowed size of ftrace buffer */ member
|
| H A D | utee_syscalls.h | 114 TEE_Result _utee_cryp_obj_alloc(unsigned long type, unsigned long max_size,
|
| /optee_os/core/pta/tests/ |
| H A D | transfer_list.c | 171 tl->max_size != TEST_TL_MAX_SIZE || in transfer_list_tests()
|
| /optee_os/core/arch/arm/kernel/ |
| H A D | boot.c | 1003 uint32_t dtb_max_sz = mapped_tl->max_size - in boot_init_primary_late()
|
| /optee_os/core/tee/ |
| H A D | tee_svc_cryp.c | 502 uint16_t max_size; /* may not be larger than this */ member 510 #define PROP(obj_type, quanta, min_size, max_size, alloc_size, type_attrs) \ argument 511 { (obj_type), (min_size), (max_size), (alloc_size), (quanta), \ 1543 if (sz > props->max_size) in check_key_size()
|