Home
last modified time | relevance | path

Searched refs:tnf_ops_t (Results 1 – 17 of 17) sorted by relevance

/titanic_44/usr/src/lib/libtnfprobe/
H A Dprobe_cntl.c62 typedef tnf_ops_t *(*tnf_context_t)(void);
101 static tnf_ops_t *tnf_probe_getfunc(void);
105 static tnf_ops_t *tnf_get_ops();
111 extern tnf_ops_t tnf_trace_initial_tpd;
226 tnf_ops_t *ops; in _tnf_fork_thread_setup()
401 tnf_ops_t *ops; in _tnf_resume_ret()
515 static tnf_ops_t *
542 tnf_ops_t ops; /* allocated on stack */ in probestart()
609 static tnf_ops_t *stashed_tpd = NULL;
617 tnf_ops_t *ops; in tnf_thread_disable()
[all …]
H A Dtnf_trace.h124 tnf_record_p tnf_schedule_write(tnf_ops_t *ops, tnf_schedule_t *sched);
125 uintptr_t tnf_probe_tag(tnf_ops_t *ops, tnf_probe_control_t *probe);
134 void *tnf_trace_alloc(tnf_ops_t *, tnf_probe_control_t *, tnf_probe_setup_t *);
H A Dtrace_funcs.c99 tnf_trace_alloc(tnf_ops_t *ops, tnf_probe_control_t *probe_p, in tnf_trace_alloc()
391 tnf_allocate(tnf_ops_t *ops, size_t size) in tnf_allocate()
H A Dtrace_init.c94 tnf_ops_t tnf_trace_initial_tpd = {
H A Dtnf_trace.c160 tnf_schedule_write(tnf_ops_t *ops, tnf_schedule_t *sched) in tnf_schedule_write()
/titanic_44/usr/src/uts/common/tnf/
H A Dtnf_types.h399 extern tnf_reference_t tnf_tag_element_1(tnf_ops_t *,
404 extern tnf_reference_t tnf_tag_array_1(tnf_ops_t *,
409 extern tnf_reference_t tnf_tag_properties_1(tnf_ops_t *,
414 extern tnf_reference_t tnf_string_array_1(tnf_ops_t *,
423 extern tnf_record_p tnf_abstract_tag_1(tnf_ops_t *, tnf_tag_data_t *);
424 extern tnf_record_p tnf_scalar_tag_1(tnf_ops_t *, tnf_tag_data_t *);
425 extern tnf_record_p tnf_derived_tag_1(tnf_ops_t *, tnf_tag_data_t *);
426 extern tnf_record_p tnf_array_tag_1(tnf_ops_t *, tnf_tag_data_t *);
H A Dtnf_trace.h143 tnf_record_p tnf_kernel_schedule(tnf_ops_t *, tnf_schedule_t *);
144 uintptr_t tnf_probe_tag(tnf_ops_t *, tnf_probe_control_t *);
148 void *tnf_trace_alloc(tnf_ops_t *, tnf_probe_control_t *, tnf_probe_setup_t *);
H A Dtnf_writer.c64 static tnf_record_p tnf_root_tag_1(tnf_ops_t *, tnf_tag_data_t *);
361 tnf_ref32_1(tnf_ops_t *ops, tnf_record_p item, tnf_record_p reference) in tnf_ref32_1()
399 tnf_ref32_1(tnf_ops_t *ops, tnf_record_p item, tnf_record_p reference) in tnf_ref32_1()
445 tnf_abstract_tag_1(tnf_ops_t *ops, tnf_tag_data_t *tag_data) in tnf_abstract_tag_1()
475 tnf_scalar_tag_1(tnf_ops_t *ops, tnf_tag_data_t *tag_data) in tnf_scalar_tag_1()
510 tnf_derived_tag_1(tnf_ops_t *ops, tnf_tag_data_t *tag_data) in tnf_derived_tag_1()
541 tnf_struct_tag_1(tnf_ops_t *ops, tnf_tag_data_t *tag_data) in tnf_struct_tag_1()
575 tnf_array_tag_1(tnf_ops_t *ops, tnf_tag_data_t *tag_data) in tnf_array_tag_1()
609 tnf_root_tag_1(tnf_ops_t *ops, tnf_tag_data_t *tag_data) in tnf_root_tag_1()
726 tnf_string_1(tnf_ops_t *ops, const char *string, tnf_record_p reference, in tnf_string_1()
[all …]
H A Dtnf_res.c164 t->t_tnf_tpdp = kmem_zalloc(sizeof (tnf_ops_t), KM_NOSLEEP); in tnf_thread_create()
181 tnf_ops_t *ops; in tnf_thread_exit()
186 ops = (tnf_ops_t *)curthread->t_tnf_tpdp; in tnf_thread_exit()
218 tnf_ops_t *ops; in tnf_thread_free()
220 ops = (tnf_ops_t *)t->t_tnf_tpdp; in tnf_thread_free()
H A Dtrace_funcs.c94 tnf_trace_alloc(tnf_ops_t *ops, tnf_probe_control_t *probe_p, in tnf_trace_alloc()
286 tnf_ops_t *ops; in tnf_trace_commit()
311 tnf_ops_t *ops; in tnf_trace_rollback()
339 tnf_allocate(tnf_ops_t *ops, size_t size) in tnf_allocate()
H A Dtrace_init.c86 tnf_ops_t *ops; in tnf_trace_init()
110 if ((ops = (tnf_ops_t *)curthread->t_tnf_tpdp) != NULL) { in tnf_trace_init()
H A Dtnf_trace.c143 tnf_kernel_schedule(tnf_ops_t *ops, tnf_schedule_t *sched) in tnf_kernel_schedule()
187 tnf_opaque_array_1(tnf_ops_t *ops, tnf_opaque_t *opaques, in tnf_opaque_array_1()
228 tnf_opaque32_array_1(tnf_ops_t *ops, tnf_uint32_t *opaques, in tnf_opaque32_array_1()
H A Dmkprobehdr.sh88 typedef void * (*tnf_probe_alloc_func_t)(tnf_ops_t *, /* tpd */
99 tnf_ops_t *tpd_p;
H A Dtnf.c199 t0.t_tnf_tpdp = kmem_zalloc(sizeof (tnf_ops_t), KM_SLEEP); in _init()
642 tnf_ops_t *tpdp; in tnf_deallocbuf()
664 tpdp = (tnf_ops_t *)t->t_tnf_tpdp; in tnf_deallocbuf()
935 return (tnf_trace_alloc((tnf_ops_t *)tpdp, probe_p, sp)); in tnf_test_1()
945 return (tnf_trace_alloc((tnf_ops_t *)tpdp, probe_p, sp)); in tnf_test_2()
H A Dtnf_probe.c74 tnf_probe_tag(tnf_ops_t *ops, tnf_probe_control_t *probe_p) in tnf_probe_tag()
/titanic_44/usr/src/uts/common/sys/
H A Dtnf_writer.h56 typedef struct _tnf_ops tnf_ops_t; /* opaque */ typedef
96 tnf_record_p (*tag_desc)(tnf_ops_t *, tnf_tag_data_t *);
397 extern tnf_ref32_t tnf_ref32_1(tnf_ops_t *,
401 extern tnf_reference_t tnf_string_1(tnf_ops_t *,
408 extern tnf_reference_t tnf_opaque_array_1(tnf_ops_t *,
414 extern tnf_reference_t tnf_opaque32_array_1(tnf_ops_t *,
426 extern tnf_record_p tnf_struct_tag_1(tnf_ops_t *, tnf_tag_data_t *);
432 extern void *tnf_allocate(tnf_ops_t *, size_t);
H A Dtnf_probe.h80 typedef void * (*tnf_probe_alloc_func_t)(tnf_ops_t *, /* tpd */
91 tnf_ops_t *tpd_p;
137 extern record##_t record(tnf_ops_t *, ctype *, tnf_record_p)
173 ctype_record(tnf_ops_t *ops, ctype * the_ctype, \
235 ctype_record(tnf_ops_t *ops, ctype * the_ctype, \
302 ctype_record(tnf_ops_t *ops, ctype * the_ctype, \
374 ctype_record(tnf_ops_t *ops, ctype * the_ctype, \
451 ctype_record(tnf_ops_t *ops, ctype * the_ctype, \