Lines Matching defs:seqnum
63 static void append_number(JournalFile *f, int n, uint64_t *seqnum) {
82 assert_ret(journal_file_append_entry(f, &ts, iovec, 1, seqnum, NULL, NULL));
213 uint64_t seqnum = 0;
222 append_number(one, 1, &seqnum);
223 printf("seqnum=%"PRIu64"\n", seqnum);
224 assert_se(seqnum == 1);
225 append_number(one, 2, &seqnum);
226 printf("seqnum=%"PRIu64"\n", seqnum);
227 assert_se(seqnum == 2);
245 append_number(two, 3, &seqnum);
246 printf("seqnum=%"PRIu64"\n", seqnum);
247 assert_se(seqnum == 3);
248 append_number(two, 4, &seqnum);
249 printf("seqnum=%"PRIu64"\n", seqnum);
250 assert_se(seqnum == 4);
254 append_number(one, 5, &seqnum);
255 printf("seqnum=%"PRIu64"\n", seqnum);
256 assert_se(seqnum == 5);
258 append_number(one, 6, &seqnum);
259 printf("seqnum=%"PRIu64"\n", seqnum);
260 assert_se(seqnum == 6);
265 seqnum = 0;
272 append_number(two, 7, &seqnum);
273 printf("seqnum=%"PRIu64"\n", seqnum);
274 assert_se(seqnum == 5);
276 /* So..., here we have the same seqnum in two files with the