/third_party/node/deps/openssl/openssl/crypto/dso/ |
H A D | dso_lib.c | 52 int DSO_free(DSO *dso) in DSO_free() argument 56 if (dso == NULL) in DSO_free() 59 if (CRYPTO_DOWN_REF(&dso->references, &i, dso->lock) <= 0) in DSO_free() 62 REF_PRINT_COUNT("DSO", dso); in DSO_free() 67 if ((dso->flags & DSO_FLAG_NO_UNLOAD_ON_FREE) == 0) { in DSO_free() 68 if ((dso->meth->dso_unload != NULL) && !dso->meth->dso_unload(dso)) { in DSO_free() 74 if ((dso in DSO_free() 87 DSO_flags(DSO *dso) DSO_flags() argument 92 DSO_up_ref(DSO *dso) DSO_up_ref() argument 109 DSO_load(DSO *dso, const char *filename, DSO_METHOD *meth, int flags) DSO_load() argument 163 DSO_bind_func(DSO *dso, const char *symname) DSO_bind_func() argument 192 DSO_ctrl(DSO *dso, int cmd, long larg, void *parg) DSO_ctrl() argument 221 DSO_get_filename(DSO *dso) DSO_get_filename() argument 230 DSO_set_filename(DSO *dso, const char *filename) DSO_set_filename() argument 253 DSO_merge(DSO *dso, const char *filespec1, const char *filespec2) DSO_merge() argument 270 DSO_convert_filename(DSO *dso, const char *filename) DSO_convert_filename() argument [all...] |
H A D | dso_dl.c | 19 static int dl_load(DSO *dso); 20 static int dl_unload(DSO *dso); 21 static DSO_FUNC_TYPE dl_bind_func(DSO *dso, const char *symname); 22 static char *dl_name_converter(DSO *dso, const char *filename); 23 static char *dl_merger(DSO *dso, const char *filespec1, 53 static int dl_load(DSO *dso) in dl_load() argument 61 char *filename = DSO_convert_filename(dso, NULL); in dl_load() 68 (dso->flags & DSO_FLAG_NO_NAME_TRANSLATION ? 0 : in dl_load() 81 if (!sk_push(dso->meth_data, (char *)ptr)) { in dl_load() 89 dso in dl_load() 99 dl_unload(DSO *dso) dl_unload() argument 122 dl_bind_func(DSO *dso, const char *symname) dl_bind_func() argument 154 dl_merger(DSO *dso, const char *filespec1, const char *filespec2) dl_merger() argument 219 dl_name_converter(DSO *dso, const char *filename) dl_name_converter() argument [all...] |
H A D | dso_dlfcn.c | 41 static int dlfcn_load(DSO *dso); 42 static int dlfcn_unload(DSO *dso); 43 static DSO_FUNC_TYPE dlfcn_bind_func(DSO *dso, const char *symname); 44 static char *dlfcn_name_converter(DSO *dso, const char *filename); 45 static char *dlfcn_merger(DSO *dso, const char *filespec1, 96 static int dlfcn_load(DSO *dso) in dlfcn_load() argument 100 char *filename = DSO_convert_filename(dso, NULL); in dlfcn_load() 109 if (dso->flags & DSO_FLAG_GLOBAL_SYMBOLS) in dlfcn_load() 127 if (!sk_void_push(dso->meth_data, (char *)ptr)) { in dlfcn_load() 132 dso in dlfcn_load() 142 dlfcn_unload(DSO *dso) dlfcn_unload() argument 165 dlfcn_bind_func(DSO *dso, const char *symname) dlfcn_bind_func() argument 195 dlfcn_merger(DSO *dso, const char *filespec1, const char *filespec2) dlfcn_merger() argument 253 dlfcn_name_converter(DSO *dso, const char *filename) dlfcn_name_converter() argument [all...] |
/third_party/openssl/crypto/dso/ |
H A D | dso_lib.c | 52 int DSO_free(DSO *dso) in DSO_free() argument 56 if (dso == NULL) in DSO_free() 59 if (CRYPTO_DOWN_REF(&dso->references, &i, dso->lock) <= 0) in DSO_free() 62 REF_PRINT_COUNT("DSO", dso); in DSO_free() 67 if ((dso->flags & DSO_FLAG_NO_UNLOAD_ON_FREE) == 0) { in DSO_free() 68 if ((dso->meth->dso_unload != NULL) && !dso->meth->dso_unload(dso)) { in DSO_free() 74 if ((dso in DSO_free() 87 DSO_flags(DSO *dso) DSO_flags() argument 92 DSO_up_ref(DSO *dso) DSO_up_ref() argument 109 DSO_load(DSO *dso, const char *filename, DSO_METHOD *meth, int flags) DSO_load() argument 163 DSO_bind_func(DSO *dso, const char *symname) DSO_bind_func() argument 192 DSO_ctrl(DSO *dso, int cmd, long larg, void *parg) DSO_ctrl() argument 221 DSO_get_filename(DSO *dso) DSO_get_filename() argument 230 DSO_set_filename(DSO *dso, const char *filename) DSO_set_filename() argument 253 DSO_merge(DSO *dso, const char *filespec1, const char *filespec2) DSO_merge() argument 270 DSO_convert_filename(DSO *dso, const char *filename) DSO_convert_filename() argument [all...] |
H A D | dso_dl.c | 19 static int dl_load(DSO *dso); 20 static int dl_unload(DSO *dso); 21 static DSO_FUNC_TYPE dl_bind_func(DSO *dso, const char *symname); 22 static char *dl_name_converter(DSO *dso, const char *filename); 23 static char *dl_merger(DSO *dso, const char *filespec1, 53 static int dl_load(DSO *dso) in dl_load() argument 61 char *filename = DSO_convert_filename(dso, NULL); in dl_load() 68 (dso->flags & DSO_FLAG_NO_NAME_TRANSLATION ? 0 : in dl_load() 81 if (!sk_push(dso->meth_data, (char *)ptr)) { in dl_load() 89 dso in dl_load() 99 dl_unload(DSO *dso) dl_unload() argument 122 dl_bind_func(DSO *dso, const char *symname) dl_bind_func() argument 154 dl_merger(DSO *dso, const char *filespec1, const char *filespec2) dl_merger() argument 219 dl_name_converter(DSO *dso, const char *filename) dl_name_converter() argument [all...] |
H A D | dso_dlfcn.c | 41 static int dlfcn_load(DSO *dso); 42 static int dlfcn_unload(DSO *dso); 43 static DSO_FUNC_TYPE dlfcn_bind_func(DSO *dso, const char *symname); 44 static char *dlfcn_name_converter(DSO *dso, const char *filename); 45 static char *dlfcn_merger(DSO *dso, const char *filespec1, 96 static int dlfcn_load(DSO *dso) in dlfcn_load() argument 100 char *filename = DSO_convert_filename(dso, NULL); in dlfcn_load() 109 if (dso->flags & DSO_FLAG_GLOBAL_SYMBOLS) in dlfcn_load() 127 if (!sk_void_push(dso->meth_data, (char *)ptr)) { in dlfcn_load() 132 dso in dlfcn_load() 142 dlfcn_unload(DSO *dso) dlfcn_unload() argument 165 dlfcn_bind_func(DSO *dso, const char *symname) dlfcn_bind_func() argument 195 dlfcn_merger(DSO *dso, const char *filespec1, const char *filespec2) dlfcn_merger() argument 253 dlfcn_name_converter(DSO *dso, const char *filename) dlfcn_name_converter() argument [all...] |
/third_party/musl/ldso/linux/ |
H A D | cfi.c | 24 * functions. These two functions will be called before visiting other dso's resources. The responsibility is to 25 * calculate the __cfi_check() of the target dso, and call it. So use CFI shadow and shadow value to store the 26 * relationship between dso and its __cfi_check addr while loading a dso. CFI shadow is an array which stores shadow 28 * each dso will be mapped to one or more shadow values in the CFI shadow, this depends on the address range of the 29 * dso. 31 * - invalid(0) : the target addr does not belongs to any loaded dso. 32 * - uncheck(1) : this LIBRARY_ALIGNMENT memory range belongs to a dso but it is no need to do the CFI check. 33 * - valid(2 - 0xFFFF) : this LIBRARY_ALIGNMENT memory range belongs to a dso and need to do the CFI check. 35 * of the dso (Th 146 addr_in_dso(struct dso *dso, size_t addr) addr_in_dso() argument 231 struct dso *dso = NULL; cfi_slowpath_common() local 294 map_dso_to_cfi_shadow(struct dso *dso) map_dso_to_cfi_shadow() argument 337 unmap_dso_from_cfi_shadow(struct dso *dso) unmap_dso_from_cfi_shadow() argument 392 add_dso_to_cfi_shadow(struct dso *dso) add_dso_to_cfi_shadow() argument [all...] |
H A D | dynlink.c | 128 struct dso *dso; member 146 struct dso *target; 162 static struct dso ldso; 163 static struct dso *head, *tail, *fini_head, *syms_tail, *lazy_head; 183 static struct dso *builtin_deps[2]; 184 static struct dso *const no_deps[1]; 185 static struct dso *builtin_ctor_queue[4]; 186 static struct dso **main_ctor_queue; 214 static int do_dlclose(struct dso * 590 sysv_lookup(struct verinfo *verinfo, struct sym_info_pair s_info_p, struct dso *dso) sysv_lookup() argument 614 gnu_lookup(struct sym_info_pair s_info_p, uint32_t *hashtab, struct dso *dso, struct verinfo *verinfo) gnu_lookup() argument 648 check_sym_accessible(struct dso *dso, ns_t *ns) check_sym_accessible() argument 667 is_dso_accessible(struct dso *dso, ns_t *ns) is_dso_accessible() argument 809 find_sym_impl( struct dso *dso, struct verinfo *verinfo, struct sym_info_pair s_info_g, int need_def, ns_t *ns) find_sym_impl() argument 862 find_sym2(struct dso *dso, struct verinfo *verinfo, int need_def, int use_deps, ns_t *ns) find_sym2() argument 901 find_sym_by_deps(struct dso *dso, struct verinfo *verinfo, int need_def, ns_t *ns) find_sym_by_deps() argument 939 find_sym_by_saved_so_list( int sym_type, struct dso *dso, struct verinfo *verinfo, int need_def, struct dso *dso_relocating) find_sym_by_saved_so_list() argument 977 find_sym(struct dso *dso, const char *s, int need_def) find_sym() argument 983 get_vna_hash(struct dso *dso, int sym_index, uint32_t *vna_hash) get_vna_hash() argument 1025 get_verinfo(struct dso *dso, int sym_index, struct verinfo *vinfo) get_verinfo() argument 1057 do_relocs(struct dso *dso, size_t *rel, size_t rel_size, size_t stride) do_relocs() argument 1279 reclaim(struct dso *dso, size_t start, size_t end) reclaim() argument 1288 reclaim_gaps(struct dso *dso) reclaim_gaps() argument 1345 unmap_library(struct dso *dso) unmap_library() argument 1569 map_library(int fd, struct dso *dso, struct reserved_address_params *reserved_params) map_library() argument 2684 do_relr_relocs(struct dso *dso, size_t *relr, size_t relr_size) do_relr_relocs() argument 2810 queue_ctors(struct dso *dso) queue_ctors() argument 4479 struct dso *dso = find_dso_by_handle(p); __dlclose() local 4598 struct dso *dso = find_dso_by_handle(p); __dlsym() local 4620 struct dso *dso = find_dso_by_handle(p); __dlvsym() local 6022 serialize_gnu_relro(int fd, struct dso *dso, ssize_t *file_offset) serialize_gnu_relro() argument 6052 map_gnu_relro(int fd, struct dso *dso, ssize_t *file_offset) map_gnu_relro() argument 6251 struct dso* dso; global() member [all...] |
H A D | cfi.h | 27 /* map all the dso and the dependents to cfi shadow */ 28 int init_cfi_shadow(struct dso *dso_list, struct dso *ldso, struct dso *app, struct dso *vdso); 29 /* map a dso and the dependents to cfi shadow */ 30 int map_dso_to_cfi_shadow(struct dso *dso); 31 /* unmap a dso from cfi shadow */ 32 void unmap_dso_from_cfi_shadow(struct dso *ds [all...] |
H A D | dynlink_rand.h | 31 struct dso; 39 struct dso *needed_by; 47 struct dso *p; 80 hidden void *add_handle_node(void *handle, struct dso *dso); 81 hidden struct dso *find_dso_by_handle(void *handle); 82 hidden void *find_handle_by_dso(struct dso *dso); 84 hidden void *assign_valid_handle(struct dso *p); 92 hidden struct loadtask *create_loadtask(const char *name, struct dso *needed_b [all...] |
/third_party/musl/porting/liteos_a/user/ldso/ |
H A D | dynlink.c | 53 struct dso { struct 61 struct dso *next, *prev; 71 struct dso *syms_next, *lazy_next; 81 struct dso **deps, *needed_by; 92 struct dso *fini_next; 109 struct dso *dso; member 124 static struct dso ldso; 125 static struct dso *head, *tail, *fini_head, *syms_tail, *lazy_head; 141 static struct dso *builtin_dep 242 sysv_lookup(const char *s, uint32_t h, struct dso *dso) sysv_lookup() argument 256 gnu_lookup(uint32_t h1, uint32_t *hashtab, struct dso *dso, const char *s) gnu_lookup() argument 277 gnu_lookup_filtered(uint32_t h1, uint32_t *hashtab, struct dso *dso, const char *s, uint32_t fofs, size_t fmask) gnu_lookup_filtered() argument 299 find_sym2(struct dso *dso, const char *s, int need_def, int use_deps) find_sym2() argument 330 find_sym(struct dso *dso, const char *s, int need_def) find_sym() argument 335 do_relocs(struct dso *dso, size_t *rel, size_t rel_size, size_t stride) do_relocs() argument 539 reclaim(struct dso *dso, size_t start, size_t end) reclaim() argument 548 reclaim_gaps(struct dso *dso) reclaim_gaps() argument 605 unmap_library(struct dso *dso) unmap_library() argument 621 map_library(int fd, struct dso *dso) map_library() argument 1459 queue_ctors(struct dso *dso) queue_ctors() argument [all...] |
/third_party/musl/porting/liteos_a/user_debug/ldso/ |
H A D | dynlink.c | 53 struct dso { struct 61 struct dso *next, *prev; 71 struct dso *syms_next, *lazy_next; 81 struct dso **deps, *needed_by; 92 struct dso *fini_next; 109 struct dso *dso; member 124 static struct dso ldso; 125 static struct dso *head, *tail, *fini_head, *syms_tail, *lazy_head; 141 static struct dso *builtin_dep 242 sysv_lookup(const char *s, uint32_t h, struct dso *dso) sysv_lookup() argument 256 gnu_lookup(uint32_t h1, uint32_t *hashtab, struct dso *dso, const char *s) gnu_lookup() argument 277 gnu_lookup_filtered(uint32_t h1, uint32_t *hashtab, struct dso *dso, const char *s, uint32_t fofs, size_t fmask) gnu_lookup_filtered() argument 299 find_sym2(struct dso *dso, const char *s, int need_def, int use_deps) find_sym2() argument 330 find_sym(struct dso *dso, const char *s, int need_def) find_sym() argument 335 do_relocs(struct dso *dso, size_t *rel, size_t rel_size, size_t stride) do_relocs() argument 539 reclaim(struct dso *dso, size_t start, size_t end) reclaim() argument 548 reclaim_gaps(struct dso *dso) reclaim_gaps() argument 605 unmap_library(struct dso *dso) unmap_library() argument 621 map_library(int fd, struct dso *dso) map_library() argument 1458 queue_ctors(struct dso *dso) queue_ctors() argument [all...] |
/third_party/musl/porting/linux/user/ldso/ |
H A D | cfi.c | 24 * functions. These two functions will be called before visiting other dso's resources. The responsibility is to 25 * calculate the __cfi_check() of the target dso, and call it. So use CFI shadow and shadow value to store the 26 * relationship between dso and its __cfi_check addr while loading a dso. CFI shadow is an array which stores shadow 28 * each dso will be mapped to one or more shadow values in the CFI shadow, this depends on the address range of the 29 * dso. 31 * - invalid(0) : the target addr does not belongs to any loaded dso. 32 * - uncheck(1) : this LIBRARY_ALIGNMENT memory range belongs to a dso but it is no need to do the CFI check. 33 * - valid(2 - 0xFFFF) : this LIBRARY_ALIGNMENT memory range belongs to a dso and need to do the CFI check. 35 * of the dso (Th 220 struct dso *dso = NULL; cfi_slowpath_common() local 279 map_dso_to_cfi_shadow(struct dso *dso) map_dso_to_cfi_shadow() argument 316 unmap_dso_from_cfi_shadow(struct dso *dso) unmap_dso_from_cfi_shadow() argument 363 add_dso_to_cfi_shadow(struct dso *dso) add_dso_to_cfi_shadow() argument [all...] |
H A D | dynlink.c | 100 struct dso *dso; member 118 struct dso *target; 134 static struct dso ldso; 135 static struct dso *head, *tail, *fini_head, *syms_tail, *lazy_head; 152 static struct dso *builtin_deps[2]; 153 static struct dso *const no_deps[1]; 154 static struct dso *builtin_ctor_queue[4]; 155 static struct dso **main_ctor_queue; 181 static int do_dlclose(struct dso * 556 sysv_lookup(struct verinfo *verinfo, struct sym_info_pair s_info_p, struct dso *dso) sysv_lookup() argument 580 gnu_lookup(struct sym_info_pair s_info_p, uint32_t *hashtab, struct dso *dso, struct verinfo *verinfo) gnu_lookup() argument 614 check_sym_accessible(struct dso *dso, ns_t *ns) check_sym_accessible() argument 633 is_dso_accessible(struct dso *dso, ns_t *ns) is_dso_accessible() argument 775 find_sym_impl( struct dso *dso, struct verinfo *verinfo, struct sym_info_pair s_info_g, int need_def, ns_t *ns) find_sym_impl() argument 828 find_sym2(struct dso *dso, struct verinfo *verinfo, int need_def, int use_deps, ns_t *ns) find_sym2() argument 866 find_sym_by_deps(struct dso *dso, struct verinfo *verinfo, int need_def, ns_t *ns) find_sym_by_deps() argument 904 find_sym_by_saved_so_list( int sym_type, struct dso *dso, struct verinfo *verinfo, int need_def, struct dso *dso_relocating) find_sym_by_saved_so_list() argument 942 find_sym(struct dso *dso, const char *s, int need_def) find_sym() argument 948 get_vna_hash(struct dso *dso, int sym_index, uint32_t *vna_hash) get_vna_hash() argument 990 get_verinfo(struct dso *dso, int sym_index, struct verinfo *vinfo) get_verinfo() argument 1022 do_relocs(struct dso *dso, size_t *rel, size_t rel_size, size_t stride) do_relocs() argument 1244 reclaim(struct dso *dso, size_t start, size_t end) reclaim() argument 1253 reclaim_gaps(struct dso *dso) reclaim_gaps() argument 1310 unmap_library(struct dso *dso) unmap_library() argument 1420 map_library(int fd, struct dso *dso, struct reserved_address_params *reserved_params) map_library() argument 2456 do_relr_relocs(struct dso *dso, size_t *relr, size_t relr_size) do_relr_relocs() argument 2581 queue_ctors(struct dso *dso) queue_ctors() argument 4139 struct dso *dso = find_dso_by_handle(p); __dlclose() local 4256 struct dso *dso = find_dso_by_handle(p); __dlsym() local 4278 struct dso *dso = find_dso_by_handle(p); __dlvsym() local 5631 serialize_gnu_relro(int fd, struct dso *dso, ssize_t *file_offset) serialize_gnu_relro() argument 5661 map_gnu_relro(int fd, struct dso *dso, ssize_t *file_offset) map_gnu_relro() argument [all...] |
H A D | dynlink_rand.h | 31 struct dso; 39 struct dso *needed_by; 47 struct dso *p; 80 hidden void *add_handle_node(void *handle, struct dso *dso); 81 hidden struct dso *find_dso_by_handle(void *handle); 82 hidden void *find_handle_by_dso(struct dso *dso); 84 hidden void *assign_valid_handle(struct dso *p); 92 hidden struct loadtask *create_loadtask(const char *name, struct dso *needed_b [all...] |
H A D | dynlink_rand.c | 30 struct dso *dso; member 38 void *add_handle_node(void *handle, struct dso *dso) in add_handle_node() argument 45 node->dso = dso; in add_handle_node() 51 struct dso *find_dso_by_handle(void *handle) in find_dso_by_handle() 56 return node->dso; in find_dso_by_handle() 63 void *find_handle_by_dso(struct dso *dso) in find_handle_by_dso() argument [all...] |
/third_party/musl/ldso/ |
H A D | dynlink.c | 61 struct dso { struct 69 struct dso *next, *prev; 79 struct dso *syms_next, *lazy_next; 93 struct dso **deps, *needed_by; 104 struct dso *fini_next; 121 struct dso *dso; member 136 static struct dso ldso; 137 static struct dso *head, *tail, *fini_head, *syms_tail, *lazy_head; 153 static struct dso *builtin_dep 257 sysv_lookup(const char *s, uint32_t h, struct dso *dso) sysv_lookup() argument 271 gnu_lookup(uint32_t h1, uint32_t *hashtab, struct dso *dso, const char *s) gnu_lookup() argument 292 gnu_lookup_filtered(uint32_t h1, uint32_t *hashtab, struct dso *dso, const char *s, uint32_t fofs, size_t fmask) gnu_lookup_filtered() argument 314 find_sym2(struct dso *dso, const char *s, int need_def, int use_deps) find_sym2() argument 345 find_sym(struct dso *dso, const char *s, int need_def) find_sym() argument 384 do_relocs(struct dso *dso, size_t *rel, size_t rel_size, size_t stride) do_relocs() argument 563 do_relr_relocs(struct dso *dso, size_t *relr, size_t relr_size) do_relr_relocs() argument 606 reclaim(struct dso *dso, size_t start, size_t end) reclaim() argument 615 reclaim_gaps(struct dso *dso) reclaim_gaps() argument 672 unmap_library(struct dso *dso) unmap_library() argument 688 map_library(int fd, struct dso *dso) map_library() argument 1552 queue_ctors(struct dso *dso) global() argument [all...] |
/third_party/node/deps/openssl/openssl/include/internal/ |
H A D | dso.h | 87 int DSO_free(DSO *dso); 88 int DSO_flags(DSO *dso); 89 int DSO_up_ref(DSO *dso); 90 long DSO_ctrl(DSO *dso, int cmd, long larg, void *parg); 96 const char *DSO_get_filename(DSO *dso); 97 int DSO_set_filename(DSO *dso, const char *filename); 108 char *DSO_convert_filename(DSO *dso, const char *filename); 115 char *DSO_merge(DSO *dso, const char *filespec1, const char *filespec2); 122 * If 'dso' is non-NULL, 'flags' is ignored. 124 DSO *DSO_load(DSO *dso, cons [all...] |
/third_party/openssl/include/internal/ |
H A D | dso.h | 87 int DSO_free(DSO *dso); 88 int DSO_flags(DSO *dso); 89 int DSO_up_ref(DSO *dso); 90 long DSO_ctrl(DSO *dso, int cmd, long larg, void *parg); 96 const char *DSO_get_filename(DSO *dso); 97 int DSO_set_filename(DSO *dso, const char *filename); 108 char *DSO_convert_filename(DSO *dso, const char *filename); 115 char *DSO_merge(DSO *dso, const char *filespec1, const char *filespec2); 122 * If 'dso' is non-NULL, 'flags' is ignored. 124 DSO *DSO_load(DSO *dso, cons [all...] |
/third_party/openssl/ohos_lite/include/internal/ |
H A D | dso.h | 86 int DSO_free(DSO *dso); 87 int DSO_flags(DSO *dso); 88 int DSO_up_ref(DSO *dso); 89 long DSO_ctrl(DSO *dso, int cmd, long larg, void *parg); 95 const char *DSO_get_filename(DSO *dso); 96 int DSO_set_filename(DSO *dso, const char *filename); 107 char *DSO_convert_filename(DSO *dso, const char *filename); 114 char *DSO_merge(DSO *dso, const char *filespec1, const char *filespec2); 121 * If 'dso' is non-NULL, 'flags' is ignored. 123 DSO *DSO_load(DSO *dso, cons [all...] |
/third_party/musl/porting/linux/user/src/exit/ |
H A D | atexit.c | 21 void *dso; member 22 struct dso *internal_dso; // the internal dso weekptr, used for dlclose 64 static void append_node(void (*func)(void *), void *arg, void *dso, struct dso *internal_dso) in append_node() argument 75 new_tail->dso = dso; in append_node() 134 void __cxa_finalize(void *dso) in __cxa_finalize() argument 141 if (dso == node->dso) { in __cxa_finalize() 163 __cxa_atexit(void (*func)(void *), void *arg, void *dso) __cxa_atexit() argument [all...] |
/third_party/musl/src/exit/linux/ |
H A D | atexit.c | 21 void *dso; member 22 struct dso *internal_dso; // the internal dso weekptr, used for dlclose 64 static void append_node(void (*func)(void *), void *arg, void *dso, struct dso *internal_dso) { in append_node() argument 74 new_tail->dso = dso; in append_node() 133 void __cxa_finalize(void *dso) in __cxa_finalize() argument 140 if (dso == node->dso) { in __cxa_finalize() 162 __cxa_atexit(void (*func)(void *), void *arg, void *dso) __cxa_atexit() argument [all...] |
/third_party/musl/src/internal/ |
H A D | dynlink.h | 90 struct dso { struct 98 struct dso *next, *prev; 102 struct dso *cache_dso; 114 struct dso *syms_next, *lazy_next; 129 struct dso *fini_next; 141 struct dso **deps, *needed_by; 143 struct dso **deps_all; 148 struct dso **parents; 149 struct dso **reloc_can_search_dso_list; 152 /* mark the dso statu 184 struct dso *dso; global() member [all...] |
/third_party/musl/libc-test/src/functionalext/unittest/ |
H A D | unit_test_ldso_dynlink.c | 235 struct dso *target; 243 void *map_library(int fd, struct dso *dso, struct reserved_address_params *reserved_params); 244 void unmap_library(struct dso *dso); 245 int fixup_rpath(struct dso *p, char *buf, size_t buf_size); 248 void assign_tls(struct dso *p); 249 size_t count_syms(struct dso *p); 252 struct dso *find_library_by_fstat(const struct stat *st, const ns_t *ns, bool check_inherited, uint64_t file_offset); 380 struct dso temp_ds in dynlink_test_0250() 601 struct dso dso = {.rpath = NULL, .rpath_orig = "$ARIGIN"}; dynlink_test_2000() local 614 struct dso dso = {.rpath = NULL, .rpath_orig = "$ORIGIN", .kernel_mapped = 0, .name="abc/abc"}; dynlink_test_2001() local 627 struct dso dso = {.rpath = NULL, .rpath_orig = "$ORIGIN", .kernel_mapped = 1, .name = "abc/abc"}; dynlink_test_2002() local 743 struct dso dso; dynlink_test_2009() local [all...] |
/third_party/musl/porting/linux/user/src/internal/ |
H A D | dynlink.h | 80 struct dso { struct 88 struct dso *next, *prev; 92 struct dso *cache_dso; 104 struct dso *syms_next, *lazy_next; 119 struct dso *fini_next; 131 struct dso **deps, *needed_by; 136 struct dso **parents; 137 struct dso **reloc_can_search_dso_list; 140 /* mark the dso status */ 170 struct dso *ds member [all...] |