/optee_os/core/arch/arm/kernel/ |
A D | link.mk | 7 link-script-pp = $(link-out-dir)/kern.ld 8 link-script-dep = $(link-out-dir)/.kern.ld.d 24 link-ldflags += -T $(link-script-pp) -Map=$(link-out-dir)/tee.map 42 ldargs-tee.elf := $(link-ldflags) $(link-objs) $(link-out-dir)/version.o \ 52 $(link-objs) $(link-ldadd) $(libgcccore) 93 init-ldadd := $(link-objs-init) $(link-out-dir)/version.o $(link-ldadd) \ 104 $(link-out-dir)/text_init.ld.S: $(link-out-dir)/init.o 121 cleanfiles += $(link-script-pp) $(link-script-dep) 122 $(link-script-pp): $(link-script) $(link-script-extra-deps) 175 $(link-out-dir)/tee.elf: $(link-objs) $(libdeps) $(link-script-pp) $(FORCE_LINK) [all …]
|
/optee_os/ldelf/ |
A D | link.mk | 2 link-script-pp$(sm) = $(link-out-dir$(sm))/ldelf.lds 3 link-script-dep$(sm) = $(link-out-dir$(sm))/.ldelf.ld.d 13 cleanfiles += $(link-script-pp$(sm)) $(link-script-dep$(sm)) 16 link-ldflags += -T $(link-script-pp$(sm)) 17 link-ldflags += -Map=$(link-out-dir$(sm))/ldelf.map 23 link-ldflags += $(link-ldflags$(sm)) 27 ldargs-ldelf.elf := $(link-ldflags) $(objs) $(link-ldadd) $(libgcc$(sm)) 39 define gen-link-t 40 $(link-script-pp$(sm)): $(link-script$(sm)) $(conf-file) \ 47 $(link-out-dir$(sm))/ldelf.elf: $(objs) $(libdeps) $(link-script-pp$(sm)) [all …]
|
/optee_os/ta/arch/arm/ |
A D | link.mk | 2 link-script-pp$(sm) = $(link-out-dir$(sm))/ta.lds 3 link-script-dep$(sm) = $(link-out-dir$(sm))/.ta.ld.d 27 cleanfiles += $(link-script-pp$(sm)) $(link-script-dep$(sm)) 30 link-ldflags += -T $(link-script-pp$(sm)) 31 link-ldflags += -Map=$(link-out-dir$(sm))/$(user-ta-uuid).map 38 link-ldflags += $(link-ldflags$(sm)) 51 link-ldflags += --dynamic-list $(link-out-dir$(sm))/dyn_list 66 ldargs-$(user-ta-uuid).elf := $(link-ldflags) $(objs) $(link-ldadd) \ 79 define gen-link-t 80 $(link-script-pp$(sm)): $(link-script$(sm)) $(conf-file) $(link-script-pp-makefiles$(sm)) [all …]
|
A D | link_shlib.mk | 4 link-out-dir = $(out-dir) 9 all: $(link-out-dir)/$(shlibname).so $(link-out-dir)/$(shlibname).dmp \ 10 $(link-out-dir)/$(shlibname).stripped.so \ 11 $(link-out-dir)/$(shlibuuid).elf \ 12 $(link-out-dir)/$(shlibuuid).ta 14 cleanfiles += $(link-out-dir)/$(shlibname).so 18 cleanfiles += $(link-out-dir)/$(shlibuuid).ta 38 $(link-out-dir)/$(shlibname).dmp: $(link-out-dir)/$(shlibname).so 42 $(link-out-dir)/$(shlibname).stripped.so: $(link-out-dir)/$(shlibname).so 46 $(link-out-dir)/$(shlibuuid).elf: $(link-out-dir)/$(shlibname).so [all …]
|
/optee_os/out/arm/export-ta_arm32/mk/ |
A D | link.mk | 2 link-script-pp$(sm) = $(link-out-dir$(sm))/ta.lds 3 link-script-dep$(sm) = $(link-out-dir$(sm))/.ta.ld.d 27 cleanfiles += $(link-script-pp$(sm)) $(link-script-dep$(sm)) 30 link-ldflags += -T $(link-script-pp$(sm)) 31 link-ldflags += -Map=$(link-out-dir$(sm))/$(user-ta-uuid).map 38 link-ldflags += $(link-ldflags$(sm)) 51 link-ldflags += --dynamic-list $(link-out-dir$(sm))/dyn_list 66 ldargs-$(user-ta-uuid).elf := $(link-ldflags) $(objs) $(link-ldadd) \ 79 define gen-link-t 80 $(link-script-pp$(sm)): $(link-script$(sm)) $(conf-file) $(link-script-pp-makefiles$(sm)) [all …]
|
A D | link_shlib.mk | 4 link-out-dir = $(out-dir) 9 all: $(link-out-dir)/$(shlibname).so $(link-out-dir)/$(shlibname).dmp \ 10 $(link-out-dir)/$(shlibname).stripped.so \ 11 $(link-out-dir)/$(shlibuuid).elf \ 12 $(link-out-dir)/$(shlibuuid).ta 14 cleanfiles += $(link-out-dir)/$(shlibname).so 18 cleanfiles += $(link-out-dir)/$(shlibuuid).ta 38 $(link-out-dir)/$(shlibname).dmp: $(link-out-dir)/$(shlibname).so 42 $(link-out-dir)/$(shlibname).stripped.so: $(link-out-dir)/$(shlibname).so 46 $(link-out-dir)/$(shlibuuid).elf: $(link-out-dir)/$(shlibname).so [all …]
|
/optee_os/out/arm/export-ta_arm64/mk/ |
A D | link.mk | 2 link-script-pp$(sm) = $(link-out-dir$(sm))/ta.lds 3 link-script-dep$(sm) = $(link-out-dir$(sm))/.ta.ld.d 27 cleanfiles += $(link-script-pp$(sm)) $(link-script-dep$(sm)) 30 link-ldflags += -T $(link-script-pp$(sm)) 31 link-ldflags += -Map=$(link-out-dir$(sm))/$(user-ta-uuid).map 38 link-ldflags += $(link-ldflags$(sm)) 51 link-ldflags += --dynamic-list $(link-out-dir$(sm))/dyn_list 66 ldargs-$(user-ta-uuid).elf := $(link-ldflags) $(objs) $(link-ldadd) \ 79 define gen-link-t 80 $(link-script-pp$(sm)): $(link-script$(sm)) $(conf-file) $(link-script-pp-makefiles$(sm)) [all …]
|
A D | link_shlib.mk | 4 link-out-dir = $(out-dir) 9 all: $(link-out-dir)/$(shlibname).so $(link-out-dir)/$(shlibname).dmp \ 10 $(link-out-dir)/$(shlibname).stripped.so \ 11 $(link-out-dir)/$(shlibuuid).elf \ 12 $(link-out-dir)/$(shlibuuid).ta 14 cleanfiles += $(link-out-dir)/$(shlibname).so 18 cleanfiles += $(link-out-dir)/$(shlibuuid).ta 38 $(link-out-dir)/$(shlibname).dmp: $(link-out-dir)/$(shlibname).so 42 $(link-out-dir)/$(shlibname).stripped.so: $(link-out-dir)/$(shlibname).so 46 $(link-out-dir)/$(shlibuuid).elf: $(link-out-dir)/$(shlibname).so [all …]
|
/optee_os/core/arch/arm/plat-stm32mp1/ |
A D | link.mk | 1 include core/arch/arm/kernel/link.mk 11 all: $(link-out-dir)/tee-header_v2.stm32 12 cleanfiles += $(link-out-dir)/tee-header_v2.stm32 13 $(link-out-dir)/tee-header_v2.stm32: $(link-out-dir)/tee-header_v2.bin 16 all: $(link-out-dir)/tee-pager_v2.stm32 17 cleanfiles += $(link-out-dir)/tee-pager_v2.stm32 18 $(link-out-dir)/tee-pager_v2.stm32: $(link-out-dir)/tee-pager_v2.bin 21 all: $(link-out-dir)/tee-pageable_v2.stm32 22 cleanfiles += $(link-out-dir)/tee-pageable_v2.stm32 23 $(link-out-dir)/tee-pageable_v2.stm32: $(link-out-dir)/tee-pageable_v2.bin
|
/optee_os/core/kernel/ |
A D | lockdep.c | 30 TAILQ_FOREACH(node, graph, link) in lockdep_add_to_graph() 40 TAILQ_INSERT_TAIL(graph, node, link); in lockdep_add_to_graph() 105 TAILQ_ENTRY(lockdep_bfs) link; 116 TAILQ_REMOVE(queue, cur, link); in lockdep_bfs_queue_delete() 154 TAILQ_REMOVE(&queue, qe, link); in lockdep_graph_get_shortest_cycle() 238 TAILQ_FOREACH(node, graph, link) { in lockdep_graph_sort() 248 TAILQ_FOREACH(node, graph, link) in lockdep_graph_sort() 260 TAILQ_FOREACH(node, graph, link) in lockdep_find_edge() 444 TAILQ_REMOVE(graph, node, link); in lockdep_graph_delete() 467 TAILQ_REMOVE(graph, node, link); in lockdep_node_destroy() [all …]
|
A D | wait_queue.c | 50 while (SLIST_NEXT(wqe_iter, link)) in slist_add_tail() 51 wqe_iter = SLIST_NEXT(wqe_iter, link); in slist_add_tail() 52 SLIST_INSERT_AFTER(wqe_iter, wqe, link); in slist_add_tail() 54 SLIST_INSERT_HEAD(wq, wqe, link); in slist_add_tail() 88 SLIST_REMOVE(wq, wqe, wait_queue_elem, link); in wq_wait_final() 113 SLIST_FOREACH(wqe, wq, link) { in wq_wake_next() 162 SLIST_FOREACH(wqe, wq, link) { in wq_promote_condvar() 188 SLIST_FOREACH(wqe, wq, link) { in wq_have_condvar()
|
A D | dt_driver.c | 37 TAILQ_ENTRY(dt_driver_probe) link; 60 SLIST_ENTRY(dt_driver_provider) link; 199 SLIST_FOREACH(prv, &dt_driver_provider_list, link) in dt_driver_get_provider_by_node() 211 SLIST_FOREACH(prv, &dt_driver_provider_list, link) in dt_driver_get_provider_by_phandle() 296 TAILQ_FOREACH(elt, &dt_driver_probe_list, link) in print_probe_list() 300 TAILQ_FOREACH(elt, &dt_driver_probe_list, link) in print_probe_list() 308 TAILQ_FOREACH(elt, &dt_driver_failed_list, link) in print_probe_list() 312 TAILQ_FOREACH(elt, &dt_driver_failed_list, link) in print_probe_list() 469 dt_driver_probe_head, link, prev) { in process_probe_list() 528 TAILQ_FOREACH(elt, &dt_driver_probe_list, link) in add_node_to_probe() [all …]
|
A D | interrupt.c | 55 SLIST_FOREACH(h, &handlers, link) { in itr_handle() 94 SLIST_REMOVE(&handlers, hdl, itr_handler, link); in itr_free() 102 SLIST_FOREACH(hdl, &handlers, link) in itr_add_type_prio() 108 SLIST_INSERT_HEAD(&handlers, h, link); in itr_add_type_prio()
|
/optee_os/core/arch/arm/mm/ |
A D | pgt_cache.c | 195 p = SLIST_NEXT(pgt, link); in pop_from_cache_list() 199 SLIST_REMOVE_AFTER(pgt, link); in pop_from_cache_list() 221 if (!SLIST_NEXT(pgt, link)) in pop_least_used_from_cache_list() 227 pgt = SLIST_NEXT(pgt, link); in pop_least_used_from_cache_list() 232 pgt = SLIST_NEXT(p_prev, link); in pop_least_used_from_cache_list() 233 SLIST_REMOVE_AFTER(p_prev, link); in pop_least_used_from_cache_list() 303 p = SLIST_NEXT(pp, link); in pgt_flush_ctx() 307 SLIST_REMOVE_AFTER(pp, link); in pgt_flush_ctx() 376 next_p = SLIST_NEXT(p, link); in flush_ctx_range_from_list() 381 SLIST_REMOVE_AFTER(p, link); in flush_ctx_range_from_list() [all …]
|
A D | sp_mem.c | 171 SLIST_FOREACH(r, &smem->receivers, link) { in sp_mem_get_receiver() 183 SLIST_FOREACH(smem, &mem_shares, link) { in sp_mem_get() 197 TAILQ_FOREACH(region, &uctx->vm_info.regions, link) { in sp_mem_get_va() 240 SLIST_INSERT_HEAD(&mem_shares, smem, link); in sp_mem_add() 252 SLIST_FOREACH(smem, &mem_shares, link) { in sp_mem_is_shared() 255 SLIST_FOREACH(reg, &smem->regions, link) { in sp_mem_is_shared() 290 SLIST_REMOVE_HEAD(&smem->receivers, link); in sp_mem_remove() 299 SLIST_REMOVE_HEAD(&smem->regions, link); in sp_mem_remove() 310 SLIST_FOREACH(tsmem, &mem_shares, link) { in sp_mem_remove() 312 SLIST_REMOVE(&mem_shares, smem, sp_mem, link); in sp_mem_remove()
|
A D | tee_pager.c | 57 TAILQ_ENTRY(tee_pager_pmem) link; 670 TAILQ_FOREACH(reg, regions, link) { in find_region() 721 TAILQ_REMOVE(regions, reg, link); in unlink_region() 758 reg = TAILQ_NEXT(reg, link); in pager_add_um_region() 863 TAILQ_INSERT_BEFORE(reg, r2, link); in split_region() 904 TAILQ_REMOVE(regions, r_next, link); in merge_region_with_next() 967 r_next = TAILQ_NEXT(reg, link); in tee_pager_merge_um_region() 1021 TAILQ_REMOVE(regions, reg, link); in rem_region() 1171 reg = TAILQ_NEXT(reg, link); in tee_pager_set_um_region_attr() 1594 pmem, link); in pager_get_page() [all …]
|
/optee_os/core/arch/arm/plat-amlogic/ |
A D | link.mk | 1 include core/arch/arm/kernel/link.mk 11 all: $(link-out-dir)/bl32.img 12 cleanfiles += $(link-out-dir)/bl32.img 13 $(link-out-dir)/bl32.img: $(link-out-dir)/tee-pager_v2.bin
|
/optee_os/core/mm/ |
A D | file.c | 18 SLIST_ENTRY(file_slice_elem) link; 38 TAILQ_ENTRY(file) link; 59 TAILQ_FOREACH(f, &file_head, link) in file_find_tag_unlocked() 73 SLIST_REMOVE_HEAD(&f->slice_head, link); in file_free() 104 SLIST_INSERT_HEAD(&f->slice_head, fse, link); in file_add_slice() 159 TAILQ_INSERT_HEAD(&file_head, f, link); in file_get_by_tag() 171 TAILQ_REMOVE(&file_head, f, link); in file_put() 185 SLIST_FOREACH(fse, &f->slice_head, link) { in file_find_slice()
|
A D | vm.c | 186 r2 = TAILQ_NEXT(r, link); in rem_um_region() 240 TAILQ_INSERT_BEFORE(r, reg, link); in umap_add_region() 444 r = TAILQ_NEXT(r, link); in split_vm_range() 472 r_next = TAILQ_NEXT(r, link); in merge_vm_range() 551 r_next = TAILQ_NEXT(r, link); in vm_remap() 554 TAILQ_INSERT_TAIL(®s, r, link); in vm_remap() 566 TAILQ_REMOVE(®s, r, link); in vm_remap() 599 r_next = TAILQ_NEXT(r, link); in vm_remap() 603 link); in vm_remap() 624 TAILQ_REMOVE(®s, r, link); in vm_remap() [all …]
|
/optee_os/lib/libutee/arch/arm/gprof/ |
A D | gprof.c | 191 p->tos[0].link = 0; in __utee_gprof_init() 277 to_index = _gmonparam.tos[to_index].link) { in _gprof_write_call_graph() 367 toindex = ++p->tos[0].link; in __mcount_internal() 377 top->link = 0; in __mcount_internal() 393 if (top->link == 0) { in __mcount_internal() 400 toindex = ++p->tos[0].link; in __mcount_internal() 407 top->link = *frompcindex; in __mcount_internal() 415 top = &p->tos[top->link]; in __mcount_internal() 422 toindex = prevtop->link; in __mcount_internal() 423 prevtop->link = top->link; in __mcount_internal() [all …]
|
/optee_os/lib/libutee/arch/arm/ |
A D | user_ta_entry.c | 23 TAILQ_ENTRY(ta_session) link; 42 TAILQ_ENTRY(phdr_info) link; 65 TAILQ_INSERT_TAIL(&__phdr_info_head, qe, link); in _init_iterate_phdr_cb() 114 TAILQ_FOREACH_REVERSE(qe, &__phdr_info_head, phdr_info_head, link) { in __utee_call_elf_init_fn() 127 TAILQ_FOREACH_SAFE(qe, &__phdr_info_head, link, qe2) { in __utee_call_elf_init_fn() 128 TAILQ_REMOVE(&__phdr_info_head, qe, link); in __utee_call_elf_init_fn() 186 TAILQ_FOREACH(itr, &ta_sessions, link) { in ta_header_get_session() 214 TAILQ_INSERT_TAIL(&ta_sessions, itr, link); in ta_header_add_session() 224 TAILQ_FOREACH(itr, &ta_sessions, link) { in ta_header_remove_session() 226 TAILQ_REMOVE(&ta_sessions, itr, link); in ta_header_remove_session()
|
/optee_os/ta/mk/ |
A D | build-user-ta.mk | 20 link-out-dir$(sm) := $(out-dir)/$(patsubst %/,%, $(dir $(ta-mk-file))) 41 link-ldflags$(sm) := -static 54 spec-out-dir := $(link-out-dir$(sm)) 64 additional-link-deps := $(ta_dev_kit-files-lib) 65 include ta/arch/$(ARCH)/link.mk 69 $(out-dir)/export-$(ta-target)/ta/$(user-ta-uuid).ta: $(link-out-dir$(sm))/$(user-ta-uuid).ta
|
/optee_os/core/include/mm/ |
A D | sp_mem.h | 28 SLIST_ENTRY(sp_mem_receiver) link; 46 SLIST_ENTRY(sp_mem_map_region) link; 69 SLIST_ENTRY(sp_mem) link;
|
/optee_os/core/tee/ |
A D | tee_obj.c | 18 TAILQ_INSERT_TAIL(&utc->objects, o, link); in tee_obj_add() 26 TAILQ_FOREACH(o, &utc->objects, link) { in tee_obj_get() 37 TAILQ_REMOVE(&utc->objects, o, link); in tee_obj_close()
|
/optee_os/core/arch/arm/plat-rzg/ |
A D | link.mk | 1 include core/arch/arm/kernel/link.mk 3 all: $(link-out-dir)/tee.srec
|