/hafnium-2.8-rc0/src/ |
A D | dlog.c | 145 *ptr = '\0'; in print_num() 147 --ptr; in print_num() 153 num = ptr; in print_num() 159 ptr -= 2; in print_num() 160 ptr[0] = '0'; in print_num() 165 ptr--; in print_num() 166 *ptr = '0'; in print_num() 173 *--ptr = '-'; in print_num() 175 *--ptr = '+'; in print_num() 177 *--ptr = ' '; in print_num() [all …]
|
A D | fdt.c | 31 bool fdt_size_from_header(const void *ptr, size_t *val) in fdt_size_from_header() argument 33 if (fdt_check_header(ptr) != 0) { in fdt_size_from_header() 37 *val = fdt_totalsize(ptr); in fdt_size_from_header() 45 bool fdt_init_from_ptr(struct fdt *fdt, const void *ptr, size_t len) in fdt_init_from_ptr() argument 47 if (fdt_check_full(ptr, len) != 0) { in fdt_init_from_ptr() 51 memiter_init(&fdt->buf, ptr, len); in fdt_init_from_ptr() 135 const void *ptr; in fdt_read_property() local 138 ptr = fdt_getprop(fdt_base(&node->fdt), node->offset, name, &lenp); in fdt_read_property() 139 if (ptr == NULL) { in fdt_read_property() 144 memiter_init(data, ptr, (size_t)lenp); in fdt_read_property()
|
A D | mpool.c | 119 void *ptr = entry; in mpool_fini() local 122 mpool_free(p->fallback, ptr); in mpool_fini() 128 void *ptr = chunk; in mpool_fini() local 132 mpool_add_chunk(p->fallback, ptr, size); in mpool_fini() 246 void mpool_free(struct mpool *p, void *ptr) in mpool_free() argument 248 struct mpool_entry *e = ptr; in mpool_free()
|
A D | std.c | 104 void *memchr(const void *ptr, int ch, size_t count) in memchr() argument 107 const unsigned char *p = (const unsigned char *)ptr; in memchr() 109 CHECK(ptr != NULL); in memchr()
|
A D | load.c | 50 void *ptr; in copy_to_unmapped() local 52 ptr = mm_identity_map(stage1_locked, to, to_end, MM_MODE_W, ppool); in copy_to_unmapped() 53 if (!ptr) { in copy_to_unmapped() 57 memcpy_s(ptr, size, from, size); in copy_to_unmapped() 58 arch_mm_flush_dcache(ptr, size); in copy_to_unmapped()
|
A D | manifest.c | 120 char *ptr = base + (VM_NAME_EXTRA_CHARS + vm_id_digits); in generate_vm_node_name() local 123 *(--ptr) = '\0'; in generate_vm_node_name() 125 *(--ptr) = digits[vm_id % 10]; in generate_vm_node_name() 128 *(--ptr) = 'm'; in generate_vm_node_name() 129 *(--ptr) = 'v'; in generate_vm_node_name() 130 assert(ptr == base); in generate_vm_node_name()
|
A D | ffa_memory.c | 797 void *ptr = mm_identity_map(stage1_locked, begin, end, in clear_memory() local 803 if (!ptr) { in clear_memory() 807 memset_s(ptr, size, 0, size); in clear_memory() 808 arch_mm_flush_dcache(ptr, size); in clear_memory()
|
/hafnium-2.8-rc0/test/vmapi/el0_partitions/services/ |
A D | memory.c | 54 ++ptr[i]; in TEST_SERVICE() 107 uint8_t *ptr; in TEST_SERVICE() local 124 ptr[i]++; in TEST_SERVICE() 138 ptr[0] = 123; in TEST_SERVICE() 150 uint8_t *ptr; in TEST_SERVICE() local 184 uint8_t *ptr; in TEST_SERVICE() local 206 ptr[-1]++; in TEST_SERVICE() 399 ptr[j]++; in TEST_SERVICE() 499 ptr[i]++; in TEST_SERVICE() 720 ptr[i]++; in TEST_SERVICE() [all …]
|
/hafnium-2.8-rc0/test/vmapi/primary_with_secondaries/services/ |
A D | memory.c | 54 ++ptr[i]; in TEST_SERVICE() 91 ++ptr[i]; in TEST_SERVICE() 148 ++ptr[i]; in TEST_SERVICE() 205 uint8_t *ptr; in TEST_SERVICE() local 224 ptr[i]++; in TEST_SERVICE() 238 ptr[0] = 123; in TEST_SERVICE() 250 uint8_t *ptr; in TEST_SERVICE() local 310 ptr[-1]++; in TEST_SERVICE() 595 ptr[i]++; in TEST_SERVICE() 816 ptr[i]++; in TEST_SERVICE() [all …]
|
/hafnium-2.8-rc0/inc/hf/ |
A D | io.h | 22 volatile uint8_t *ptr; member 26 volatile uint16_t *ptr; member 30 volatile uint32_t *ptr; member 120 return *io.ptr; in io_read8() 125 return *io.ptr; in io_read16() 130 return *io.ptr; in io_read32() 135 return *io.ptr; in io_read64() 236 *io.ptr = v; in io_write8() 241 *io.ptr = v; in io_write16() 246 *io.ptr = v; in io_write32() [all …]
|
A D | fdt.h | 34 bool fdt_size_from_header(const void *ptr, size_t *val); 36 bool fdt_init_from_ptr(struct fdt *fdt, const void *ptr, size_t len);
|
A D | list.h | 23 #define CONTAINER_OF(ptr, type, field) \ argument 24 ((type *)((char *)ptr - offsetof(type, field)))
|
A D | std.h | 33 void *memchr(const void *ptr, int ch, size_t count);
|
A D | mpool.h | 32 void mpool_free(struct mpool *p, void *ptr);
|
/hafnium-2.8-rc0/test/vmapi/el0_partitions/ |
A D | memory_sharing.c | 238 uint8_t *ptr = pages; in memory_send_reclaim() local 248 ptr[i] = i; in memory_send_reclaim() 342 uint8_t *ptr = pages; in TEST() local 384 uint8_t *ptr = pages; in TEST() local 442 uint8_t *ptr = pages; in TEST() local 768 uint8_t *ptr; in TEST() local 803 uint8_t *ptr; in TEST() local 1090 ptr[0] = 'f'; in TEST() 1438 ptr[i]++; in TEST() 1460 ptr[i]++; in TEST() [all …]
|
/hafnium-2.8-rc0/test/vmapi/primary_with_secondaries/ |
A D | memory_sharing.c | 237 uint8_t *ptr = pages; in memory_send_reclaim() local 247 ptr[i] = i; in memory_send_reclaim() 343 uint8_t *ptr = pages; in TEST() local 838 uint8_t *ptr; in TEST() local 874 uint8_t *ptr; in TEST() local 1168 ptr[0] = 'f'; in TEST() 1517 ptr[i]++; in TEST() 1539 ptr[i]++; in TEST() 1605 ptr[i]++; in TEST() 2808 ptr[i] = i; in TEST() [all …]
|
/hafnium-2.8-rc0/test/vmapi/arch/aarch64/gicv3/ |
A D | gicv3_setup.c | 33 hftest_mm_identity_map((void *)IO32_C(SGI_BASE).ptr, PAGE_SIZE, mode); in gicv3_system_setup()
|
/hafnium-2.8-rc0/test/vmapi/arch/aarch64/trusty/ |
A D | trusty.c | 174 uint8_t *ptr = pages; in TEST() local 181 memset_s(ptr, sizeof(pages), 'b', PAGE_SIZE); in TEST() 202 uint8_t *ptr = pages; in TEST() local 211 memset_s(ptr, sizeof(pages), 'b', in TEST()
|
/hafnium-2.8-rc0/test/vmapi/ffa_secure_partition_only/ |
A D | secure_partition.c | 438 volatile uint32_t* ptr = (volatile uint32_t*)((uintptr_t)&val + 2); in TEST() local 447 EXPECT_EQ(*ptr, 0x33440000); in TEST() 455 *ptr; in TEST()
|