Lines Matching defs:id
316 fifolog_write_record(struct fifolog_writer *f, uint32_t id, time_t now,
324 assert(!(id & (FIFOLOG_TIMESTAMP|FIFOLOG_LENGTH)));
333 id |= FIFOLOG_LENGTH;
342 id |= FIFOLOG_TIMESTAMP;
345 be32enc(buf, id);
348 if (id & FIFOLOG_TIMESTAMP) {
352 if (id & FIFOLOG_LENGTH)
364 if (id & FIFOLOG_TIMESTAMP)
376 fifolog_write_record_poll(struct fifolog_writer *f, uint32_t id, time_t now,
387 assert(!(id & (FIFOLOG_TIMESTAMP|FIFOLOG_LENGTH)));
391 if (!fifolog_write_record(f, id, now, ptr, len)) {
395 if (!fifolog_write_record(f, id, now, ptr, len))
403 while (!fifolog_write_record(f, id, now, p, l))