Searched refs:tb_ptr (Results 1 – 3 of 3) sorted by relevance
78 tbp->tb_ptr = tbp->tb_buf; in fmd_trace_create()113 fmd_tracerec_t *trp = tbp->tb_ptr; in fmd_trace_lite()132 if (tbp->tb_ptr != tbp->tb_end) in fmd_trace_lite()133 tbp->tb_ptr = (void *)((uintptr_t)tbp->tb_ptr + tbp->tb_size); in fmd_trace_lite()135 tbp->tb_ptr = tbp->tb_buf; in fmd_trace_lite()145 fmd_tracerec_t *trp = tbp->tb_ptr; in fmd_trace_full()173 if (tbp->tb_ptr != tbp->tb_end) in fmd_trace_full()174 tbp->tb_ptr = (void *)((uintptr_t)tbp->tb_ptr + tbp->tb_size); in fmd_trace_full()176 tbp->tb_ptr = tbp->tb_buf; in fmd_trace_full()
117 ptr_off = (uintptr_t)t->trw_data.tb_ptr - t->trw_base; in trwalk_init()121 t->trw_data.tb_ptr = (void *)((uintptr_t)buf + ptr_off); in trwalk_init()123 if (t->trw_data.tb_ptr < t->trw_data.tb_buf || in trwalk_init()124 t->trw_data.tb_ptr > t->trw_data.tb_end) { in trwalk_init()127 t->trw_data.tb_ptr = t->trw_data.tb_buf; in trwalk_init()130 t->trw_stop = t->trw_data.tb_ptr; in trwalk_init()142 return (t->trw_data.tb_ptr); in trwalk_nextrec()144 if (t->trw_data.tb_ptr == t->trw_data.tb_buf) in trwalk_nextrec()145 t->trw_data.tb_ptr = t->trw_data.tb_end; in trwalk_nextrec()147 t->trw_data.tb_ptr = (fmd_tracerec_t *) in trwalk_nextrec()[all …]
54 fmd_tracerec_t *tb_ptr; /* next trace record to use */ member