Home
last modified time | relevance | path

Searched refs:cb (Results 1 – 10 of 10) sorted by relevance

/bionic/libc/bionic/
Dsys_thread_properties.cpp58 void __libc_register_thread_exit_callback(thread_exit_cb_t cb) { in __libc_register_thread_exit_callback() argument
62 modules.first_thread_exit_callback = cb; in __libc_register_thread_exit_callback()
69 new_node->cb = cb; in __libc_register_thread_exit_callback()
128 void (*cb)(void* __dynamic_tls_begin, void* __dynamic_tls_end, in __libc_iterate_dynamic_tls()
143 cb(dtls_begin, dtls_end, dso_id, arg); in __libc_iterate_dynamic_tls()
Ddl_iterate_phdr_static.cpp42 int dl_iterate_phdr(int (*cb)(struct dl_phdr_info* info, size_t size, void* data), void* data) { in dl_iterate_phdr()
76 int rc = cb(&exe_info, sizeof(exe_info), data); in dl_iterate_phdr()
103 return cb(&vdso_info, sizeof(vdso_info), data); in dl_iterate_phdr()
Dbionic_elf_tls.cpp402 node->cb(); in __notify_thread_exit_callbacks()
/bionic/tests/libs/
Dtls_properties_helper.cpp79 auto cb = +[](void* dtls_begin, void* dtls_end, size_t dso_id, void* arg) { in test_iter_tls() local
82 __libc_iterate_dynamic_tls(gettid(), cb, nullptr); in test_iter_tls()
108 auto cb = +[](void* dtls_begin, void* dtls_end, size_t dso_id, void* arg) { in test_iterate_another_thread_tls() local
111 __libc_iterate_dynamic_tls(parent_pid, cb, nullptr); in test_iterate_another_thread_tls()
/bionic/libc/dns/net/
Dnsdispatch.c107 nss_method cb; in nsdispatch() local
126 cb = _nsmethod(srclist[i].name, database, method, in nsdispatch()
129 if (cb != NULL) { in nsdispatch()
131 result = (*cb)(retval, cb_data, ap); in nsdispatch()
/bionic/libdl/
Dlibdl.cpp57 int __loader_dl_iterate_phdr(int (*cb)(struct dl_phdr_info* info, size_t size, void* data),
126 int dl_iterate_phdr(int (*cb)(struct dl_phdr_info* info, size_t size, void* data), void* data) { in dl_iterate_phdr()
127 return __loader_dl_iterate_phdr(cb, data); in dl_iterate_phdr()
/bionic/linker/
Ddlfcn.cpp78 int __loader_dl_iterate_phdr(int (*cb)(dl_phdr_info* info, size_t size, void* data),
192 int __loader_dl_iterate_phdr(int (*cb)(dl_phdr_info* info, size_t size, void* data), void* data) { in __loader_dl_iterate_phdr()
194 return do_dl_iterate_phdr(cb, data); in __loader_dl_iterate_phdr()
Dlinker.h93 int do_dl_iterate_phdr(int (*cb)(dl_phdr_info* info, size_t size, void* data), void* data);
/bionic/libc/private/
Dbionic_elf_tls.h122 thread_exit_cb_t cb; member
/bionic/libc/kernel/uapi/linux/
Dbpf.h586 __u32 cb[5]; member