Home
last modified time | relevance | path

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

/freebsd/cddl/contrib/opensolaris/cmd/lockstat/
H A Dlockstat.c66 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()
[all …]