Lines Matching refs:ilf
50 inj_logfile_t *ilf = data; in inj_logfile_event() local
53 if (ilf->ilf_index == 1) in inj_logfile_event()
61 if (rec_sec < ilf->ilf_sec || in inj_logfile_event()
62 (rec_sec == ilf->ilf_sec && rec_nsec < ilf->ilf_nsec)) { in inj_logfile_event()
65 ilf->ilf_index, rp->rec_class, ilf->ilf_sec, ilf->ilf_nsec); in inj_logfile_event()
66 rec_sec = ilf->ilf_sec; in inj_logfile_event()
67 rec_nsec = ilf->ilf_nsec; in inj_logfile_event()
76 delta = (rec_sec - ilf->ilf_sec) * NANOSEC; in inj_logfile_event()
77 delta += (hrtime_t)rec_nsec - (hrtime_t)ilf->ilf_nsec; in inj_logfile_event()
80 die("record [%d] timestamp delta too large\n", ilf->ilf_index); in inj_logfile_event()
87 ev->defn_lineno = ilf->ilf_index++; in inj_logfile_event()
97 ilf->ilf_sec = rec_sec; in inj_logfile_event()
98 ilf->ilf_nsec = rec_nsec; in inj_logfile_event()
107 inj_logfile_t ilf; in inj_logfile_read() local
112 bzero(&ilf, sizeof (ilf)); in inj_logfile_read()
113 ilf.ilf_index = 1; in inj_logfile_read()
115 if (fmd_log_iter(lp, inj_logfile_event, &ilf) != 0) { in inj_logfile_read()