Home
last modified time | relevance | path

Searched refs:ta (Results 1 – 25 of 76) sorted by relevance

1234

/glibc-2.36/nptl_db/
Dtd_ta_map_lwp2thr.c29 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 …]
Dthread_dbP.h138 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 …]
Dtd_ta_thr_iter.c23 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 …]
Dtd_thr_validate.c23 __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 …]
Dfetch-value.c25 _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 …]
Dtd_ta_event_getmsg.c28 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 …]
Dtd_thr_tlsbase.c25 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 …]
Dtd_ta_tsd_iter.c27 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()
Dtd_init.c33 __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()
Dtd_ta_clear_event.c26 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()
Dtd_ta_set_event.c26 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()
Dtd_ta_new.c33 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()
Dtd_ta_delete.c25 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()
Dtd_ta_event_addr.c26 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()
Dtd_ta_get_ph.c23 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()
Dtd_ta_map_id2thr.c23 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()
Dtd_ta_get_nthreads.c24 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()
Dtd_ta_reset_stats.c23 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()
Dtd_ta_setconcurrency.c23 td_ta_setconcurrency (const td_thragent_t *ta, int level) in td_ta_setconcurrency() argument
29 if (! ta_ok (ta)) in td_ta_setconcurrency()
Dtd_ta_enable_stats.c23 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()
Dtd_ta_get_stats.c23 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/
Dns_samename.c28 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/
Dsigreturn_stub.S28 ta 0x10
33 ta 0x10
Dsysdep.h40 ta 0x10; \
51 ta 0x10;
58 ta 0x10;
/glibc-2.36/sysdeps/unix/sysv/linux/sparc/sparc64/
Dsysdep.h40 ta 0x6d; \
51 ta 0x6d;
58 ta 0x6d;

1234