Lines Matching defs:s
71 static inline void __seqcount_init(seqcount_t *s, const char *name, in __seqcount_init()
90 # define seqcount_init(s) \ argument
96 static inline void seqcount_lockdep_reader_access(const seqcount_t *s) in seqcount_lockdep_reader_access()
109 # define seqcount_init(s) __seqcount_init(s, NULL, NULL) argument
175 #define seqcount_LOCKNAME_init(s, _lock, lockname) \ argument
182 #define seqcount_raw_spinlock_init(s, lock) seqcount_LOCKNAME_init(s, lock, raw_spinlock) argument
183 #define seqcount_spinlock_init(s, lock) seqcount_LOCKNAME_init(s, lock, spinlock) argument
184 #define seqcount_rwlock_init(s, lock) seqcount_LOCKNAME_init(s, lock, rwlock) argument
185 #define seqcount_mutex_init(s, lock) seqcount_LOCKNAME_init(s, lock, mutex) argument
252 static inline seqcount_t *__seqprop_ptr(seqcount_t *s) in __seqprop_ptr()
257 static inline unsigned __seqprop_sequence(const seqcount_t *s) in __seqprop_sequence()
262 static inline bool __seqprop_preemptible(const seqcount_t *s) in __seqprop_preemptible()
267 static inline void __seqprop_assert(const seqcount_t *s) in __seqprop_assert()
296 #define __seqprop_case(s, lockname, prop) \ argument
299 #define __seqprop(s, prop) _Generic(*(s), \ argument
306 #define seqprop_ptr(s) __seqprop(s, ptr) argument
307 #define seqprop_sequence(s) __seqprop(s, sequence) argument
308 #define seqprop_preemptible(s) __seqprop(s, preemptible) argument
309 #define seqprop_assert(s) __seqprop(s, assert) argument
325 #define __read_seqcount_begin(s) \ argument
342 #define raw_read_seqcount_begin(s) \ argument
356 #define read_seqcount_begin(s) \ argument
373 #define raw_read_seqcount(s) \ argument
399 #define raw_seqcount_begin(s) \ argument
423 #define __read_seqcount_retry(s, start) \ argument
426 static inline int do___read_seqcount_retry(const seqcount_t *s, unsigned start) in do___read_seqcount_retry()
443 #define read_seqcount_retry(s, start) \ argument
446 static inline int do_read_seqcount_retry(const seqcount_t *s, unsigned start) in do_read_seqcount_retry()
458 #define raw_write_seqcount_begin(s) \ argument
466 static inline void do_raw_write_seqcount_begin(seqcount_t *s) in do_raw_write_seqcount_begin()
479 #define raw_write_seqcount_end(s) \ argument
487 static inline void do_raw_write_seqcount_end(seqcount_t *s) in do_raw_write_seqcount_end()
503 #define write_seqcount_begin_nested(s, subclass) \ argument
513 static inline void do_write_seqcount_begin_nested(seqcount_t *s, int subclass) in do_write_seqcount_begin_nested()
529 #define write_seqcount_begin(s) \ argument
539 static inline void do_write_seqcount_begin(seqcount_t *s) in do_write_seqcount_begin()
551 #define write_seqcount_end(s) \ argument
559 static inline void do_write_seqcount_end(seqcount_t *s) in do_write_seqcount_end()
606 #define raw_write_seqcount_barrier(s) \ argument
609 static inline void do_raw_write_seqcount_barrier(seqcount_t *s) in do_raw_write_seqcount_barrier()
626 #define write_seqcount_invalidate(s) \ argument
629 static inline void do_write_seqcount_invalidate(seqcount_t *s) in do_write_seqcount_invalidate()
663 #define seqcount_latch_init(s) seqcount_init(&(s)->seqcount) argument
676 static __always_inline unsigned raw_read_seqcount_latch(const seqcount_latch_t *s) in raw_read_seqcount_latch()
693 raw_read_seqcount_latch_retry(const seqcount_latch_t *s, unsigned start) in raw_read_seqcount_latch_retry()
780 static inline void raw_write_seqcount_latch(seqcount_latch_t *s) in raw_write_seqcount_latch()