Lines Matching defs:s

41 static inline void __seqcount_init(seqcount_t *s, const char *name,  in __seqcount_init()
60 # define seqcount_init(s) \ argument
66 static inline void seqcount_lockdep_reader_access(const seqcount_t *s) in seqcount_lockdep_reader_access()
79 # define seqcount_init(s) __seqcount_init(s, NULL, NULL) argument
123 #define seqcount_LOCKNAME_init(s, _lock, lockname) \ argument
130 #define seqcount_raw_spinlock_init(s, lock) seqcount_LOCKNAME_init(s, lock, raw_spinlock) argument
131 #define seqcount_spinlock_init(s, lock) seqcount_LOCKNAME_init(s, lock, spinlock) argument
132 #define seqcount_rwlock_init(s, lock) seqcount_LOCKNAME_init(s, lock, rwlock) argument
133 #define seqcount_mutex_init(s, lock) seqcount_LOCKNAME_init(s, lock, mutex) argument
199 static inline seqcount_t *__seqprop_ptr(seqcount_t *s) in __seqprop_ptr()
204 static inline const seqcount_t *__seqprop_const_ptr(const seqcount_t *s) in __seqprop_const_ptr()
209 static inline unsigned __seqprop_sequence(const seqcount_t *s) in __seqprop_sequence()
214 static inline bool __seqprop_preemptible(const seqcount_t *s) in __seqprop_preemptible()
219 static inline void __seqprop_assert(const seqcount_t *s) in __seqprop_assert()
249 #define __seqprop_case(s, lockname, prop) \ argument
252 #define __seqprop(s, prop) _Generic(*(s), \ argument
259 #define seqprop_ptr(s) __seqprop(s, ptr)(s) argument
260 #define seqprop_const_ptr(s) __seqprop(s, const_ptr)(s) argument
261 #define seqprop_sequence(s) __seqprop(s, sequence)(s) argument
262 #define seqprop_preemptible(s) __seqprop(s, preemptible)(s) argument
263 #define seqprop_assert(s) __seqprop(s, assert)(s) argument
279 #define __read_seqcount_begin(s) \ argument
296 #define raw_read_seqcount_begin(s) \ argument
310 #define read_seqcount_begin(s) \ argument
327 #define raw_read_seqcount(s) \ argument
353 #define raw_seqcount_begin(s) \ argument
377 #define __read_seqcount_retry(s, start) \ argument
397 #define read_seqcount_retry(s, start) \ argument
400 static inline int do_read_seqcount_retry(const seqcount_t *s, unsigned start) in do_read_seqcount_retry()
412 #define raw_write_seqcount_begin(s) \ argument
420 static inline void do_raw_write_seqcount_begin(seqcount_t *s) in do_raw_write_seqcount_begin()
433 #define raw_write_seqcount_end(s) \ argument
441 static inline void do_raw_write_seqcount_end(seqcount_t *s) in do_raw_write_seqcount_end()
457 #define write_seqcount_begin_nested(s, subclass) \ argument
467 static inline void do_write_seqcount_begin_nested(seqcount_t *s, int subclass) in do_write_seqcount_begin_nested()
483 #define write_seqcount_begin(s) \ argument
493 static inline void do_write_seqcount_begin(seqcount_t *s) in do_write_seqcount_begin()
505 #define write_seqcount_end(s) \ argument
513 static inline void do_write_seqcount_end(seqcount_t *s) in do_write_seqcount_end()
560 #define raw_write_seqcount_barrier(s) \ argument
563 static inline void do_raw_write_seqcount_barrier(seqcount_t *s) in do_raw_write_seqcount_barrier()
580 #define write_seqcount_invalidate(s) \ argument
583 static inline void do_write_seqcount_invalidate(seqcount_t *s) in do_write_seqcount_invalidate()
617 #define seqcount_latch_init(s) seqcount_init(&(s)->seqcount) argument
630 static __always_inline unsigned raw_read_seqcount_latch(const seqcount_latch_t *s) in raw_read_seqcount_latch()
647 raw_read_seqcount_latch_retry(const seqcount_latch_t *s, unsigned start) in raw_read_seqcount_latch_retry()
734 static inline void raw_write_seqcount_latch(seqcount_latch_t *s) in raw_write_seqcount_latch()