Lines Matching refs:rp
140 fmdump_date(char *buf, size_t len, const fmd_log_record_t *rp)
142 if (rp->rec_sec > LONG_MAX) {
144 (void) snprintf(buf, len, "0x%llx", rp->rec_sec);
146 time_t tod = (time_t)rp->rec_sec;
156 rp->rec_nsec / (NANOSEC / 10000));
164 fmdump_year(char *buf, size_t len, const fmd_log_record_t *rp)
167 if (rp->rec_sec > LONG_MAX) {
169 (void) snprintf(buf, len, "0x%llx", rp->rec_sec);
172 time_t tod = (time_t)rp->rec_sec;
384 xref_iter(fmd_log_t *lp, const fmd_log_record_t *rp, void *arg)
386 const fmd_log_record_t *xrp = rp->rec_xrefs;
390 for (i = 0; rv == 0 && i < rp->rec_nrefs; i++, xrp++) {
399 xoff_iter(fmd_log_t *lp, const fmd_log_record_t *rp, void *arg)
403 fmdump_printf(dyp->dy_fp, "%16llx ", (u_longlong_t)rp->rec_off);
404 return (dyp->dy_func(lp, rp, dyp->dy_arg));
460 log_filter_silent(fmd_log_t *lp, const fmd_log_record_t *rp, void *arg)
470 if (nvlist_lookup_string(rp->rec_nvl, FM_CLASS, &class) != 0 ||
476 return (nvlist_lookup_boolean_value(rp->rec_nvl,
827 pipeline_output(struct fmdump_pipeline *pl, const fmd_log_record_t *rp)
838 slot->ss_sec = rp->rec_sec;
839 slot->ss_nsec = rp->rec_nsec;
933 pipeline_cb(fmd_log_t *lp, const fmd_log_record_t *rp, void *arg)
942 if (!pipeline_output(pl, rp))
945 rc = func(lp, rp, pl->pl_arg.da_fp);