Searched refs:seqcount (Results 1 – 3 of 3) sorted by relevance
41 struct seqcount { struct45 typedef struct seqcount seqcount_t; argument48 seqcount_init(struct seqcount *seqcount) in seqcount_init() argument51 seqcount->sqc_gen = 0; in seqcount_init()55 seqcount_destroy(struct seqcount *seqcount) in seqcount_destroy() argument58 KASSERT((seqcount->sqc_gen & 1) == 0); in seqcount_destroy()59 seqcount->sqc_gen = -1; in seqcount_destroy()63 write_seqcount_begin(struct seqcount *seqcount) in write_seqcount_begin() argument66 KASSERT((seqcount->sqc_gen & 1) == 0); in write_seqcount_begin()67 seqcount->sqc_gen |= 1; in write_seqcount_begin()[all …]
42 struct seqcount seq;
413 int seqcount; in ncl_bioread() local447 seqcount = (int)((off_t)(ioflag >> IO_SEQSHIFT) * biosize / BKVASIZE); in ncl_bioread()470 for (nra = 0; nra < nmp->nm_readahead && nra < seqcount && in ncl_bioread()