Lines Matching defs:id
326 fifolog_write_record(struct fifolog_writer *f, uint32_t id, time_t now,
334 assert(!(id & (FIFOLOG_TIMESTAMP|FIFOLOG_LENGTH)));
343 id |= FIFOLOG_LENGTH;
352 id |= FIFOLOG_TIMESTAMP;
355 be32enc(buf, id);
358 if (id & FIFOLOG_TIMESTAMP) {
362 if (id & FIFOLOG_LENGTH)
374 if (id & FIFOLOG_TIMESTAMP)
386 fifolog_write_record_poll(struct fifolog_writer *f, uint32_t id, time_t now,
397 assert(!(id & (FIFOLOG_TIMESTAMP|FIFOLOG_LENGTH)));
401 if (!fifolog_write_record(f, id, now, ptr, len)) {
405 if (!fifolog_write_record(f, id, now, ptr, len))
413 while (!fifolog_write_record(f, id, now, p, l))