Lines Matching refs:seqnum
51 static void append_number(ManagedJournalFile *f, int n, uint64_t *seqnum) { in append_number() argument
69 assert_ret(journal_file_append_entry(f->file, &ts, NULL, iovec, 1, seqnum, NULL, NULL)); in append_number()
213 uint64_t seqnum = 0; in TEST() local
224 append_number(one, 1, &seqnum); in TEST()
225 printf("seqnum=%"PRIu64"\n", seqnum); in TEST()
226 assert_se(seqnum == 1); in TEST()
227 append_number(one, 2, &seqnum); in TEST()
228 printf("seqnum=%"PRIu64"\n", seqnum); in TEST()
229 assert_se(seqnum == 2); in TEST()
247 append_number(two, 3, &seqnum); in TEST()
248 printf("seqnum=%"PRIu64"\n", seqnum); in TEST()
249 assert_se(seqnum == 3); in TEST()
250 append_number(two, 4, &seqnum); in TEST()
251 printf("seqnum=%"PRIu64"\n", seqnum); in TEST()
252 assert_se(seqnum == 4); in TEST()
256 append_number(one, 5, &seqnum); in TEST()
257 printf("seqnum=%"PRIu64"\n", seqnum); in TEST()
258 assert_se(seqnum == 5); in TEST()
260 append_number(one, 6, &seqnum); in TEST()
261 printf("seqnum=%"PRIu64"\n", seqnum); in TEST()
262 assert_se(seqnum == 6); in TEST()
267 seqnum = 0; in TEST()
274 append_number(two, 7, &seqnum); in TEST()
275 printf("seqnum=%"PRIu64"\n", seqnum); in TEST()
276 assert_se(seqnum == 5); in TEST()