Lines Matching refs:lsrec
66 typedef struct lsrec { struct
67 struct lsrec *ls_next; /* next in hash chain */ argument
83 struct lsrec *lsd_next; /* next available */ argument
936 lsrec_fill(lsrec_t *lsrec, const dtrace_recdesc_t *rec, int nrecs, caddr_t data) in lsrec_fill() argument
938 bzero(lsrec, g_recsize); in lsrec_fill()
939 lsrec->ls_count = 1; in lsrec_fill()
948 lsrec->ls_event = (uint32_t)*((uint64_t *)(data + rec->dtrd_offset)); in lsrec_fill()
956 lsrec->ls_lock = *((uintptr_t *)(data + rec->dtrd_offset)); in lsrec_fill()
959 lsrec->ls_lock = strdup((const char *)(data + rec->dtrd_offset)); in lsrec_fill()
967 lsrec->ls_caller = *((uintptr_t *)(data + rec->dtrd_offset)); in lsrec_fill()
979 lsrec->ls_stack[i - 1] = stack[i]; in lsrec_fill()
998 lsrec_t *lsrec = lsdata->lsd_next; in process_aggregate() local
1033 lsrec->ls_hist[j] = quantized[i]; in process_aggregate()
1038 lsrec_fill(lsrec, &aggdesc->dtagd_rec[1], in process_aggregate()
1048 lsrec->ls_count = (uint32_t)avg[0]; in process_aggregate()
1049 lsrec->ls_time = (uintptr_t)avg[1]; in process_aggregate()
1055 lsdata->lsd_next = (lsrec_t *)((uintptr_t)lsrec + g_recsize); in process_aggregate()
1065 lsrec_t *lsrec = lsdata->lsd_next; in process_trace() local
1072 lsrec_fill(lsrec, edesc->dtepd_rec, edesc->dtepd_nrecs, data); in process_trace()
1074 lsdata->lsd_next = (lsrec_t *)((uintptr_t)lsrec + g_recsize); in process_trace()