Home | History | Annotate | Download | only in linux

Lines Matching defs:sequence

22  * to increment the sequence variables because an interrupt routine could
33 unsigned sequence;
60 ++sl->sequence;
67 sl->sequence++;
76 ++sl->sequence;
85 unsigned ret = sl->sequence;
93 * If sequence value changed
101 return (iv & 1) | (sl->sequence ^ iv);
106 * Version using sequence counter only.
113 unsigned sequence;
119 /* Start of read using pointer to a sequence counter only. */
122 unsigned ret = s->sequence;
128 * Equivalent to: iv is odd or sequence number has changed.
135 return (iv & 1) | (s->sequence ^ iv);
140 * Sequence counter only version assumes that callers are using their
145 s->sequence++;
152 s->sequence++;