Home
last modified time | relevance | path

Searched refs:reloc (Results 1 – 3 of 3) sorted by relevance

/optee_os/core/mm/
A Dfobj.c533 const uint32_t *reloc, unsigned int num_relocs) in get_num_rels() argument
547 assert(offs < reloc[n]); /* check that it's sorted */ in get_num_rels()
548 offs = reloc[n]; in get_num_rels()
558 const uint32_t *reloc, unsigned int num_relocs) in init_rels() argument
570 if (reloc[n] < reloc_offs) in init_rels()
574 r = reloc[n] - reloc_offs; in init_rels()
591 const void *reloc, in fobj_ro_reloc_paged_alloc() argument
598 assert(IS_ALIGNED_WITH_TYPE(reloc, uint32_t)); in fobj_ro_reloc_paged_alloc()
602 assert(!reloc); in fobj_ro_reloc_paged_alloc()
605 assert(reloc); in fobj_ro_reloc_paged_alloc()
[all …]
/optee_os/core/arch/arm/kernel/
A Dboot.c357 const uint32_t *reloc = NULL; in undo_init_relocation() local
364 reloc = (const void *)((vaddr_t)embdata + embdata->reloc_offset); in undo_init_relocation()
365 reloc_end = reloc + embdata->reloc_len / sizeof(*reloc); in undo_init_relocation()
367 for (; reloc < reloc_end; reloc++) { in undo_init_relocation()
368 if (*reloc < addr_start) in undo_init_relocation()
370 if (*reloc >= addr_end) in undo_init_relocation()
372 ptr = (void *)(paged_store + *reloc - addr_start); in undo_init_relocation()
385 const void *reloc = __init_end + embdata->reloc_offset; in ro_paged_alloc() local
388 reloc, embdata->reloc_len, store); in ro_paged_alloc()
/optee_os/core/include/mm/
A Dfobj.h108 const void *reloc,

Completed in 7 milliseconds