Home
last modified time | relevance | path

Searched refs:seqcount (Results 1 – 3 of 3) sorted by relevance

/netbsd-src/sys/external/bsd/drm2/include/linux/
H A Dseqlock.h41 struct seqcount { struct
45 typedef struct seqcount seqcount_t; argument
48 seqcount_init(struct seqcount *seqcount) in seqcount_init() argument
51 seqcount->sqc_gen = 0; in seqcount_init()
55 seqcount_destroy(struct seqcount *seqcount) in seqcount_destroy() argument
58 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() argument
66 KASSERT((seqcount->sqc_gen & 1) == 0); in write_seqcount_begin()
67 seqcount->sqc_gen |= 1; in write_seqcount_begin()
[all …]
H A Ddma-resv.h42 struct seqcount seq;
/netbsd-src/sys/fs/nfs/client/
H A Dnfs_clbio.c413 int seqcount; in ncl_bioread() local
447 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()