Home
last modified time | relevance | path

Searched defs:s (Results 1 – 25 of 118) sorted by relevance

12345

/include/linux/
Dseqlock.h41 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()
[all …]
Dtrace_seq.h31 trace_seq_init(struct trace_seq *s) in trace_seq_init()
51 static inline int trace_seq_used(struct trace_seq *s) in trace_seq_used()
66 trace_seq_buffer_ptr(struct trace_seq *s) in trace_seq_buffer_ptr()
78 static inline bool trace_seq_has_overflowed(struct trace_seq *s) in trace_seq_has_overflowed()
113 void trace_seq_printf(struct trace_seq *s, const char *fmt, ...) in trace_seq_printf()
117 void trace_seq_bprintf(struct trace_seq *s, const char *fmt, const u32 *binary) in trace_seq_bprintf()
122 trace_seq_bitmask(struct trace_seq *s, const unsigned long *maskp, in trace_seq_bitmask()
127 static inline int trace_print_seq(struct seq_file *m, struct trace_seq *s) in trace_print_seq()
131 static inline int trace_seq_to_user(struct trace_seq *s, char __user *ubuf, in trace_seq_to_user()
136 static inline void trace_seq_puts(struct trace_seq *s, const char *str) in trace_seq_puts()
[all …]
Dseq_buf.h33 static inline void seq_buf_clear(struct seq_buf *s) in seq_buf_clear()
41 seq_buf_init(struct seq_buf *s, char *buf, unsigned int size) in seq_buf_init()
53 seq_buf_has_overflowed(struct seq_buf *s) in seq_buf_has_overflowed()
59 seq_buf_set_overflow(struct seq_buf *s) in seq_buf_set_overflow()
68 seq_buf_buffer_left(struct seq_buf *s) in seq_buf_buffer_left()
77 static inline unsigned int seq_buf_used(struct seq_buf *s) in seq_buf_used()
98 static inline const char *seq_buf_str(struct seq_buf *s) in seq_buf_str()
119 static inline size_t seq_buf_get_buf(struct seq_buf *s, char **bufp) in seq_buf_get_buf()
141 static inline void seq_buf_commit(struct seq_buf *s, int num) in seq_buf_commit()
Dkstrtox.h30 static inline int __must_check kstrtoul(const char *s, unsigned int base, unsigned long *res) in kstrtoul()
58 static inline int __must_check kstrtol(const char *s, unsigned int base, long *res) in kstrtol()
74 static inline int __must_check kstrtou64(const char *s, unsigned int base, u64 *res) in kstrtou64()
79 static inline int __must_check kstrtos64(const char *s, unsigned int base, s64 *res) in kstrtos64()
84 static inline int __must_check kstrtou32(const char *s, unsigned int base, u32 *res) in kstrtou32()
89 static inline int __must_check kstrtos32(const char *s, unsigned int base, s32 *res) in kstrtos32()
112 static inline int __must_check kstrtou64_from_user(const char __user *s, size_t count, unsigned int… in kstrtou64_from_user()
117 static inline int __must_check kstrtos64_from_user(const char __user *s, size_t count, unsigned int… in kstrtos64_from_user()
122 static inline int __must_check kstrtou32_from_user(const char __user *s, size_t count, unsigned int… in kstrtou32_from_user()
127 static inline int __must_check kstrtos32_from_user(const char __user *s, size_t count, unsigned int… in kstrtos32_from_user()
Dcompiler-gcc.h112 #define __diag_GCC(version, severity, s) \ argument
120 #define __diag_str1(s) #s argument
121 #define __diag_str(s) __diag_str1(s) argument
122 #define __diag(s) _Pragma(__diag_str(GCC diagnostic s)) argument
125 #define __diag_GCC_8(s) __diag(s) argument
127 #define __diag_GCC_8(s) argument
Dcompiler-clang.h124 #define __diag_clang(version, severity, s) \ argument
132 #define __diag_str1(s) #s argument
133 #define __diag_str(s) __diag_str1(s) argument
134 #define __diag(s) _Pragma(__diag_str(clang diagnostic s)) argument
136 #define __diag_clang_13(s) __diag(s) argument
Dandroid_vendor.h31 #define ANDROID_VENDOR_DATA_ARRAY(n, s) u64 android_vendor_data##n[s] argument
34 #define ANDROID_OEM_DATA_ARRAY(n, s) u64 android_oem_data##n[s] argument
42 #define ANDROID_VENDOR_DATA_ARRAY(n, s) argument
44 #define ANDROID_OEM_DATA_ARRAY(n, s) argument
Dvt_buffer.h29 static inline void scr_memsetw(u16 *s, u16 c, unsigned int count) in scr_memsetw()
42 static inline void scr_memcpyw(u16 *d, const u16 *s, unsigned int count) in scr_memcpyw()
55 static inline void scr_memmovew(u16 *d, const u16 *s, unsigned int count) in scr_memmovew()
Dlockdep.h336 # define lock_acquire(l, s, t, r, c, n, i) do { } while (0) argument
339 # define lock_set_class(l, n, key, s, i) do { (void)(key); } while (0) argument
341 # define lock_set_subclass(l, s, i) do { } while (0) argument
509 #define lock_acquire_exclusive(l, s, t, n, i) lock_acquire(l, s, t, 0, 1, n, i) argument
510 #define lock_acquire_shared(l, s, t, n, i) lock_acquire(l, s, t, 1, 1, n, i) argument
511 #define lock_acquire_shared_recursive(l, s, t, n, i) lock_acquire(l, s, t, 2, 1, n, i) argument
513 #define spin_acquire(l, s, t, i) lock_acquire_exclusive(l, s, t, NULL, i) argument
514 #define spin_acquire_nest(l, s, t, n, i) lock_acquire_exclusive(l, s, t, n, i) argument
517 #define rwlock_acquire(l, s, t, i) lock_acquire_exclusive(l, s, t, NULL, i) argument
518 #define rwlock_acquire_read(l, s, t, i) \ argument
[all …]
Dkfence.h118 static __always_inline void *kfence_alloc(struct kmem_cache *s, size_t size, gfp_t flags) in kfence_alloc()
231 static inline void kfence_shutdown_cache(struct kmem_cache *s) { } in kfence_shutdown_cache()
232 static inline void *kfence_alloc(struct kmem_cache *s, size_t size, gfp_t flags) { return NULL; } in kfence_alloc()
Dtorture.h33 #define TOROUT_STRING(s) \ argument
35 #define VERBOSE_TOROUT_STRING(s) \ argument
42 #define TOROUT_ERRSTRING(s) \ argument
Dkmsan.h266 static inline void *memset_no_sanitize_memory(void *s, int c, size_t n) in memset_no_sanitize_memory()
331 static inline void kmsan_slab_alloc(struct kmem_cache *s, void *object, in kmsan_slab_alloc()
336 static inline void kmsan_slab_free(struct kmem_cache *s, void *object) in kmsan_slab_free()
401 static inline void *memset_no_sanitize_memory(void *s, int c, size_t n) in memset_no_sanitize_memory()
Dregset.h25 static inline int membuf_zero(struct membuf *s, size_t size) in membuf_zero()
37 static inline int membuf_write(struct membuf *s, const void *v, size_t size) in membuf_write()
49 static inline struct membuf membuf_at(const struct membuf *s, size_t offs) in membuf_at()
62 #define membuf_store(s, v) \ argument
Dkasan.h194 static __always_inline bool kasan_slab_pre_free(struct kmem_cache *s, in kasan_slab_pre_free()
228 static __always_inline bool kasan_slab_free(struct kmem_cache *s, in kasan_slab_free()
247 struct kmem_cache *s, void *object, gfp_t flags, bool init) in kasan_slab_alloc()
256 static __always_inline void * __must_check kasan_kmalloc(struct kmem_cache *s, in kasan_kmalloc()
424 static inline bool kasan_slab_pre_free(struct kmem_cache *s, void *object) in kasan_slab_pre_free()
429 static inline bool kasan_slab_free(struct kmem_cache *s, void *object, in kasan_slab_free()
435 static inline void *kasan_slab_alloc(struct kmem_cache *s, void *object, in kasan_slab_alloc()
440 static inline void *kasan_kmalloc(struct kmem_cache *s, const void *object, in kasan_kmalloc()
Dseccomp.h40 static inline int seccomp_mode(struct seccomp *s) in seccomp_mode()
68 static inline int seccomp_mode(struct seccomp *s) in seccomp_mode()
Dhdlcdrv.h221 static inline void hdlcdrv_putbits(struct hdlcdrv_state *s, unsigned int bits) in hdlcdrv_putbits()
226 static inline unsigned int hdlcdrv_getbits(struct hdlcdrv_state *s) in hdlcdrv_getbits()
244 static inline void hdlcdrv_channelbit(struct hdlcdrv_state *s, unsigned int bit) in hdlcdrv_channelbit()
251 static inline void hdlcdrv_setdcd(struct hdlcdrv_state *s, int dcd) in hdlcdrv_setdcd()
256 static inline int hdlcdrv_ptt(struct hdlcdrv_state *s) in hdlcdrv_ptt()
Dscs.h43 static inline unsigned long *__scs_magic(void *s) in __scs_magic()
75 static inline void scs_free(void *s) {} in scs_free()
/include/linux/mtd/
Dcfi_endian.h22 #define cfi_default(s) ((s)?:CFI_DEFAULT_ENDIAN) argument
23 #define cfi_be(s) (cfi_default(s) == CFI_BIG_ENDIAN) argument
24 #define cfi_le(s) (cfi_default(s) == CFI_LITTLE_ENDIAN) argument
25 #define cfi_host(s) (cfi_default(s) == CFI_HOST_ENDIAN) argument
36 #define _cpu_to_cfi(w, s, x) (cfi_host(s)?(x):_swap_to_cfi(w, s, x)) argument
37 #define _cfi_to_cpu(w, s, x) (cfi_host(s)?(x):_swap_to_cpu(w, s, x)) argument
38 #define _swap_to_cfi(w, s, x) (cfi_be(s)?cpu_to_be##w(x):cpu_to_le##w(x)) argument
39 #define _swap_to_cpu(w, s, x) (cfi_be(s)?be##w##_to_cpu(x):le##w##_to_cpu(x)) argument
/include/linux/comedi/
Dcomedidev.h654 static inline bool comedi_range_is_bipolar(struct comedi_subdevice *s, in comedi_range_is_bipolar()
675 static inline bool comedi_range_is_unipolar(struct comedi_subdevice *s, in comedi_range_is_unipolar()
696 static inline bool comedi_range_is_external(struct comedi_subdevice *s, in comedi_range_is_external()
718 static inline bool comedi_chan_range_is_bipolar(struct comedi_subdevice *s, in comedi_chan_range_is_bipolar()
741 static inline bool comedi_chan_range_is_unipolar(struct comedi_subdevice *s, in comedi_chan_range_is_unipolar()
764 static inline bool comedi_chan_range_is_external(struct comedi_subdevice *s, in comedi_chan_range_is_external()
781 static inline unsigned int comedi_offset_munge(struct comedi_subdevice *s, in comedi_offset_munge()
796 static inline unsigned int comedi_bytes_per_sample(struct comedi_subdevice *s) in comedi_bytes_per_sample()
812 static inline unsigned int comedi_sample_shift(struct comedi_subdevice *s) in comedi_sample_shift()
824 static inline unsigned int comedi_bytes_to_samples(struct comedi_subdevice *s, in comedi_bytes_to_samples()
[all …]
/include/net/caif/
Dcfsrvl.h47 struct cfsrvl *s = container_of(layr, struct cfsrvl, layer); in cfsrvl_get() local
56 struct cfsrvl *s = container_of(layr, struct cfsrvl, layer); in cfsrvl_put() local
/include/linux/pinctrl/
Dconsumer.h122 struct pinctrl_state *s) in pinctrl_select_state()
162 struct pinctrl_state *s; in pinctrl_get_select() local
193 struct pinctrl_state *s; in devm_pinctrl_get_select() local
/include/keys/
Dtrusted_tpm.h63 static inline void dump_sess(struct osapsess *s) in dump_sess()
88 static inline void dump_sess(struct osapsess *s) in dump_sess()
/include/trace/events/
Dlibata.h161 #define __parse_status(s) libata_trace_parse_status(p, s) argument
164 #define __parse_host_stat(s) libata_trace_parse_host_stat(p, s) argument
/include/linux/netfilter/ipset/
Dip_set.h65 #define SET_WITH_TIMEOUT(s) ((s)->extensions & IPSET_EXT_TIMEOUT) argument
66 #define SET_WITH_COUNTER(s) ((s)->extensions & IPSET_EXT_COUNTER) argument
67 #define SET_WITH_COMMENT(s) ((s)->extensions & IPSET_EXT_COMMENT) argument
68 #define SET_WITH_SKBINFO(s) ((s)->extensions & IPSET_EXT_SKBINFO) argument
69 #define SET_WITH_FORCEADD(s) ((s)->flags & IPSET_CREATE_FLAG_FORCEADD) argument
128 #define ext_timeout(e, s) \ argument
130 #define ext_counter(e, s) \ argument
132 #define ext_comment(e, s) \ argument
134 #define ext_skbinfo(e, s) \ argument
/include/uapi/linux/
Dvboxguest.h102 #define VBG_IOCTL_VMMDEV_REQUEST(s) _IOC(_IOC_READ | _IOC_WRITE, 'V', 2, s) argument
176 #define VBG_IOCTL_HGCM_CALL_32(s) _IOC(_IOC_READ | _IOC_WRITE, 'V', 6, s) argument
177 #define VBG_IOCTL_HGCM_CALL_64(s) _IOC(_IOC_READ | _IOC_WRITE, 'V', 7, s) argument
179 #define VBG_IOCTL_HGCM_CALL(s) VBG_IOCTL_HGCM_CALL_64(s) argument
181 #define VBG_IOCTL_HGCM_CALL(s) VBG_IOCTL_HGCM_CALL_32(s) argument
201 #define VBG_IOCTL_LOG(s) _IO('V', 9) argument

12345