/glibc-2.36/nptl_db/ ! |
D | td_ta_map_lwp2thr.c | 29 td_thragent_t *const ta = (td_thragent_t *) ta_arg; in __td_ta_lookup_th_unique() local 35 if (ta->ta_howto == ta_howto_unknown) in __td_ta_lookup_th_unique() 40 err = td_lookup (ta->ph, SYM_TH_UNIQUE_CONST_THREAD_AREA, &howto); in __td_ta_lookup_th_unique() 43 err = ps_pdread (ta->ph, howto, in __td_ta_lookup_th_unique() 44 &ta->ta_howto_data.const_thread_area, in __td_ta_lookup_th_unique() 45 sizeof ta->ta_howto_data.const_thread_area); in __td_ta_lookup_th_unique() 48 ta->ta_howto = ta_howto_const_thread_area; in __td_ta_lookup_th_unique() 49 if (ta->ta_howto_data.const_thread_area & 0xff000000U) in __td_ta_lookup_th_unique() 50 ta->ta_howto_data.const_thread_area in __td_ta_lookup_th_unique() 51 = bswap_32 (ta->ta_howto_data.const_thread_area); in __td_ta_lookup_th_unique() [all …]
|
D | thread_dbP.h | 138 ta_ok (const td_thragent_t *ta) in ta_ok() argument 143 if (list_entry (runp, td_thragent_t, list) == ta) in ta_ok() 158 #define DB_GET_SYMBOL(var, ta, name) \ argument 159 (((ta)->ta_addr_##name == 0 \ 160 && td_lookup ((ta)->ph, SYM_##name, &(ta)->ta_addr_##name) != PS_OK) \ 161 ? TD_ERR : ((var) = (ta)->ta_addr_##name, TD_OK)) 165 #define DB_GET_FIELD(var, ta, ptr, type, field, idx) \ argument 166 _td_fetch_value ((ta), (ta)->ta_field_##type##_##field, \ 178 #define DB_GET_FIELD_ADDRESS(var, ta, ptr, type, field, idx) \ argument 179 ((var) = (ptr), _td_locate_field ((ta), (ta)->ta_field_##type##_##field, \ [all …]
|
D | td_ta_thr_iter.c | 23 iterate_thread_list (td_thragent_t *ta, td_thr_iter_f *callback, in iterate_thread_list() argument 36 err = DB_GET_FIELD (next, ta, head, list_t, next, 0); in iterate_thread_list() 47 td_thrhandle_t th = { ta, 0 }; in iterate_thread_list() 52 err = DB_GET_FIELD_ADDRESS (ofs, ta, 0, pthread, list, 0); in iterate_thread_list() 56 if (ta->ta_sizeof_pthread == 0) in iterate_thread_list() 58 err = _td_check_sizeof (ta, &ta->ta_sizeof_pthread, SYM_SIZEOF_pthread); in iterate_thread_list() 62 copy = __alloca (ta->ta_sizeof_pthread); in iterate_thread_list() 75 if (ps_pdread (ta->ph, addr, copy, ta->ta_sizeof_pthread) != PS_OK) in iterate_thread_list() 78 err = DB_GET_FIELD_LOCAL (schedpolicy, ta, copy, pthread, in iterate_thread_list() 82 err = DB_GET_FIELD_LOCAL (schedprio, ta, copy, pthread, in iterate_thread_list() [all …]
|
D | td_thr_validate.c | 23 __td_ta_stack_user (td_thragent_t *ta, psaddr_t *plist) in __td_ta_stack_user() argument 25 if (__td_ta_rtld_global (ta)) in __td_ta_stack_user() 26 return DB_GET_FIELD_ADDRESS (*plist, ta, ta->ta_addr__rtld_global, in __td_ta_stack_user() 30 if (ta->ta_addr__dl_stack_user == 0 in __td_ta_stack_user() 31 && td_mod_lookup (ta->ph, NULL, SYM__dl_stack_user, in __td_ta_stack_user() 32 &ta->ta_addr__dl_stack_user) != PS_OK) in __td_ta_stack_user() 34 *plist = ta->ta_addr__dl_stack_user; in __td_ta_stack_user() 40 __td_ta_stack_used (td_thragent_t *ta, psaddr_t *plist) in __td_ta_stack_used() argument 43 if (__td_ta_rtld_global (ta)) in __td_ta_stack_used() 44 return DB_GET_FIELD_ADDRESS (*plist, ta, ta->ta_addr__rtld_global, in __td_ta_stack_used() [all …]
|
D | fetch-value.c | 25 _td_check_sizeof (td_thragent_t *ta, uint32_t *sizep, int sizep_name) in _td_check_sizeof() argument 30 ps_err_e err = td_lookup (ta->ph, sizep_name, &descptr); in _td_check_sizeof() 34 err = ps_pdread (ta->ph, descptr, sizep, sizeof *sizep); in _td_check_sizeof() 44 _td_locate_field (td_thragent_t *ta, in _td_locate_field() argument 54 ps_err_e err = td_lookup (ta->ph, descriptor_name, &descptr); in _td_locate_field() 58 err = ps_pdread (ta->ph, descptr, desc, DB_SIZEOF_DESC); in _td_locate_field() 88 _td_fetch_value (td_thragent_t *ta, in _td_fetch_value() argument 94 td_err_e terr = _td_locate_field (ta, desc, descriptor_name, idx, &address); in _td_fetch_value() 101 err = ps_pdread (ta->ph, address, &value, sizeof value); in _td_fetch_value() 107 err = ps_pdread (ta->ph, address, &value, sizeof value); in _td_fetch_value() [all …]
|
D | td_ta_event_getmsg.c | 28 td_thragent_t *const ta = (td_thragent_t *) ta_arg; in td_ta_event_getmsg() local 41 if (! ta_ok (ta)) in td_ta_event_getmsg() 45 err = DB_GET_VALUE (thp, ta, __nptl_last_event, 0); in td_ta_event_getmsg() 54 err = DB_GET_FIELD_ADDRESS (eventbuf, ta, thp, pthread, eventbuf, 0); in td_ta_event_getmsg() 56 err = DB_GET_STRUCT (copy, ta, eventbuf, td_eventbuf_t); in td_ta_event_getmsg() 61 err = DB_GET_FIELD_LOCAL (eventnum, ta, copy, td_eventbuf_t, eventnum, 0); in td_ta_event_getmsg() 69 err = DB_GET_FIELD_LOCAL (eventdata, ta, copy, td_eventbuf_t, eventdata, 0); in td_ta_event_getmsg() 74 th.th_ta_p = (td_thragent_t *) ta; in td_ta_event_getmsg() 83 memset (copy, 0, ta->ta_sizeof_td_eventbuf_t); in td_ta_event_getmsg() 84 err = DB_PUT_STRUCT (ta, eventbuf, td_eventbuf_t, copy); in td_ta_event_getmsg() [all …]
|
D | td_thr_tlsbase.c | 25 dtv_slotinfo_list (td_thragent_t *ta, in dtv_slotinfo_list() argument 31 if (__td_ta_rtld_global (ta)) in dtv_slotinfo_list() 33 err = DB_GET_FIELD (head, ta, ta->ta_addr__rtld_global, in dtv_slotinfo_list() 40 if (ta->ta_addr__dl_tls_dtv_slotinfo_list == 0 in dtv_slotinfo_list() 41 && td_mod_lookup (ta->ph, NULL, SYM__dl_tls_dtv_slotinfo_list, in dtv_slotinfo_list() 42 &ta->ta_addr__dl_tls_dtv_slotinfo_list) != PS_OK) in dtv_slotinfo_list() 45 err = _td_fetch_value (ta, ta->ta_var__dl_tls_dtv_slotinfo_list, in dtv_slotinfo_list() 47 0, ta->ta_addr__dl_tls_dtv_slotinfo_list, &head); in dtv_slotinfo_list() 59 dtv_slotinfo (td_thragent_t *ta, in dtv_slotinfo() argument 67 err = dtv_slotinfo_list (ta, &slot); in dtv_slotinfo() [all …]
|
D | td_ta_tsd_iter.c | 27 td_thragent_t *const ta = (td_thragent_t *) ta_arg; in td_ta_tsd_iter() local 37 if (! ta_ok (ta)) in td_ta_tsd_iter() 42 err = _td_locate_field (ta, in td_ta_tsd_iter() 43 ta->ta_var___pthread_keys, SYM_DESC___pthread_keys, in td_ta_tsd_iter() 50 keys_nb = keys_elemsize * DB_DESC_NELEM (ta->ta_var___pthread_keys); in td_ta_tsd_iter() 52 err = DB_GET_SYMBOL (addr, ta, __pthread_keys); in td_ta_tsd_iter() 55 if (ps_pdread (ta->ph, addr, keys, keys_nb) != PS_OK) in td_ta_tsd_iter() 59 for (idx = 0; idx < DB_DESC_NELEM (ta->ta_var___pthread_keys); ++idx) in td_ta_tsd_iter() 62 err = DB_GET_FIELD_LOCAL (seq, ta, keys, pthread_key_struct, seq, 0); in td_ta_tsd_iter() 67 err = DB_GET_FIELD_LOCAL (destr, ta, keys, pthread_key_struct, in td_ta_tsd_iter()
|
D | td_init.c | 33 __td_ta_rtld_global (td_thragent_t *ta) in __td_ta_rtld_global() argument 35 if (ta->ta_addr__rtld_global == 0) in __td_ta_rtld_global() 38 if (DB_GET_VALUE (rtldglobalp, ta, __nptl_rtld_global, 0) == TD_OK) in __td_ta_rtld_global() 39 ta->ta_addr__rtld_global = rtldglobalp; in __td_ta_rtld_global() 41 ta->ta_addr__rtld_global = (void *) -1; in __td_ta_rtld_global() 44 return ta->ta_addr__rtld_global != (void *)-1; in __td_ta_rtld_global()
|
D | td_ta_clear_event.c | 26 td_thragent_t *const ta = (td_thragent_t *) ta_arg; in td_ta_clear_event() local 34 if (! ta_ok (ta)) in td_ta_clear_event() 38 err = DB_GET_SYMBOL (eventmask, ta, __nptl_threads_events); in td_ta_clear_event() 40 err = DB_GET_STRUCT (copy, ta, eventmask, td_thr_events_t); in td_ta_clear_event() 48 err = DB_GET_FIELD_LOCAL (word, ta, copy, in td_ta_clear_event() 55 err = DB_PUT_FIELD_LOCAL (ta, copy, in td_ta_clear_event() 72 err = DB_PUT_STRUCT (ta, eventmask, td_thr_events_t, copy); in td_ta_clear_event()
|
D | td_ta_set_event.c | 26 td_thragent_t *const ta = (td_thragent_t *) ta_arg; in td_ta_set_event() local 34 if (! ta_ok (ta)) in td_ta_set_event() 38 err = DB_GET_SYMBOL (eventmask, ta, __nptl_threads_events); in td_ta_set_event() 40 err = DB_GET_STRUCT (copy, ta, eventmask, td_thr_events_t); in td_ta_set_event() 48 err = DB_GET_FIELD_LOCAL (word, ta, copy, in td_ta_set_event() 55 err = DB_PUT_FIELD_LOCAL (ta, copy, in td_ta_set_event() 72 err = DB_PUT_STRUCT (ta, eventmask, td_thr_events_t, copy); in td_ta_set_event()
|
D | td_ta_new.c | 33 td_ta_new (struct ps_prochandle *ps, td_thragent_t **ta) in td_ta_new() argument 51 *ta = (td_thragent_t *) calloc (1, sizeof (td_thragent_t)); in td_ta_new() 52 if (*ta == NULL) in td_ta_new() 57 (*ta)->ph = ps; in td_ta_new() 60 list_add (&(*ta)->list, &__td_agent_list); in td_ta_new()
|
D | td_ta_delete.c | 25 td_ta_delete (td_thragent_t *ta) in td_ta_delete() argument 30 if (!ta_ok (ta)) in td_ta_delete() 34 list_del (&ta->list); in td_ta_delete() 37 free (ta); in td_ta_delete()
|
D | td_ta_event_addr.c | 26 td_thragent_t *const ta = (td_thragent_t *) ta_arg; in td_ta_event_addr() local 33 if (! ta_ok (ta)) in td_ta_event_addr() 39 err = DB_GET_SYMBOL (taddr, ta, __nptl_create_event); in td_ta_event_addr() 43 err = DB_GET_SYMBOL (taddr, ta, __nptl_death_event); in td_ta_event_addr()
|
D | td_ta_get_ph.c | 23 td_ta_get_ph (const td_thragent_t *ta, struct ps_prochandle **ph) in td_ta_get_ph() argument 28 if (! ta_ok (ta)) in td_ta_get_ph() 31 *ph = ta->ph; in td_ta_get_ph()
|
D | td_ta_map_id2thr.c | 23 td_ta_map_id2thr (const td_thragent_t *ta, pthread_t pt, td_thrhandle_t *th) in td_ta_map_id2thr() argument 28 if (! ta_ok (ta)) in td_ta_map_id2thr() 32 th->th_ta_p = (td_thragent_t *) ta; in td_ta_map_id2thr()
|
D | td_ta_get_nthreads.c | 24 td_thragent_t *const ta = (td_thragent_t *) ta_arg; in td_ta_get_nthreads() local 31 if (! ta_ok (ta)) in td_ta_get_nthreads() 35 err = DB_GET_VALUE (n, ta, __nptl_nthreads, 0); in td_ta_get_nthreads()
|
D | td_ta_reset_stats.c | 23 td_ta_reset_stats (const td_thragent_t *ta) in td_ta_reset_stats() argument 29 if (! ta_ok (ta)) in td_ta_reset_stats()
|
D | td_ta_setconcurrency.c | 23 td_ta_setconcurrency (const td_thragent_t *ta, int level) in td_ta_setconcurrency() argument 29 if (! ta_ok (ta)) in td_ta_setconcurrency()
|
D | td_ta_enable_stats.c | 23 td_ta_enable_stats (const td_thragent_t *ta, int enable) in td_ta_enable_stats() argument 29 if (! ta_ok (ta)) in td_ta_enable_stats()
|
D | td_ta_get_stats.c | 23 td_ta_get_stats (const td_thragent_t *ta, td_ta_stats_t *statsp) in td_ta_get_stats() argument 29 if (! ta_ok (ta)) in td_ta_get_stats()
|
/glibc-2.36/resolv/ ! |
D | ns_samename.c | 28 char ta[NS_MAXDNAME], tb[NS_MAXDNAME]; in __libc_ns_samename() local 30 if (__libc_ns_makecanon (a, ta, sizeof ta) < 0 || in __libc_ns_samename() 33 if (__strcasecmp (ta, tb) == 0) in __libc_ns_samename()
|
/glibc-2.36/sysdeps/unix/sysv/linux/sparc/sparc32/ ! |
D | sigreturn_stub.S | 28 ta 0x10 33 ta 0x10
|
D | sysdep.h | 40 ta 0x10; \ 51 ta 0x10; 58 ta 0x10;
|
/glibc-2.36/sysdeps/unix/sysv/linux/sparc/sparc64/ ! |
D | sysdep.h | 40 ta 0x6d; \ 51 ta 0x6d; 58 ta 0x6d;
|