Home
last modified time | relevance | path

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

12345678910>>...101

/Linux-v4.19/tools/lib/traceevent/
Dtrace-seq.c20 #define TRACE_SEQ_CHECK(s) \ argument
27 #define TRACE_SEQ_CHECK_RET_N(s, n) \ argument
34 #define TRACE_SEQ_CHECK_RET(s) TRACE_SEQ_CHECK_RET_N(s, ) argument
35 #define TRACE_SEQ_CHECK_RET0(s) TRACE_SEQ_CHECK_RET_N(s, 0) argument
41 void trace_seq_init(struct trace_seq *s) in trace_seq_init()
57 void trace_seq_reset(struct trace_seq *s) in trace_seq_reset()
72 void trace_seq_destroy(struct trace_seq *s) in trace_seq_destroy()
81 static void expand_buffer(struct trace_seq *s) in expand_buffer()
110 trace_seq_printf(struct trace_seq *s, const char *fmt, ...) in trace_seq_printf()
147 trace_seq_vprintf(struct trace_seq *s, const char *fmt, va_list args) in trace_seq_vprintf()
[all …]
/Linux-v4.19/mm/
Dslub.c118 static inline int kmem_cache_debug(struct kmem_cache *s) in kmem_cache_debug()
127 void *fixup_red_left(struct kmem_cache *s, void *p) in fixup_red_left()
135 static inline bool kmem_cache_has_cpu_partial(struct kmem_cache *s) in kmem_cache_has_cpu_partial()
221 static inline int sysfs_slab_add(struct kmem_cache *s) { return 0; } in sysfs_slab_add()
222 static inline int sysfs_slab_alias(struct kmem_cache *s, const char *p) in sysfs_slab_alias()
224 static inline void memcg_propagate_slab_attrs(struct kmem_cache *s) { } in memcg_propagate_slab_attrs()
225 static inline void sysfs_slab_remove(struct kmem_cache *s) { } in sysfs_slab_remove()
228 static inline void stat(const struct kmem_cache *s, enum stat_item si) in stat()
248 static inline void *freelist_ptr(const struct kmem_cache *s, void *ptr, in freelist_ptr()
259 static inline void *freelist_dereference(const struct kmem_cache *s, in freelist_dereference()
[all …]
Dslab_common.c78 unsigned int kmem_cache_size(struct kmem_cache *s) in kmem_cache_size()
103 void __kmem_cache_free_bulk(struct kmem_cache *s, size_t nr, void **p) in __kmem_cache_free_bulk()
115 int __kmem_cache_alloc_bulk(struct kmem_cache *s, gfp_t flags, size_t nr, in __kmem_cache_alloc_bulk()
134 void slab_init_memcg_params(struct kmem_cache *s) in slab_init_memcg_params()
142 static int init_memcg_params(struct kmem_cache *s, in init_memcg_params()
170 static void destroy_memcg_params(struct kmem_cache *s) in destroy_memcg_params()
184 static int update_memcg_params(struct kmem_cache *s, int new_array_size) in update_memcg_params()
207 struct kmem_cache *s; in memcg_update_all_caches() local
224 void memcg_link_cache(struct kmem_cache *s) in memcg_link_cache()
236 static void memcg_unlink_cache(struct kmem_cache *s) in memcg_unlink_cache()
[all …]
/Linux-v4.19/include/linux/
Dtrace_seq.h21 trace_seq_init(struct trace_seq *s) in trace_seq_init()
40 static inline int trace_seq_used(struct trace_seq *s) in trace_seq_used()
55 trace_seq_buffer_ptr(struct trace_seq *s) in trace_seq_buffer_ptr()
67 static inline bool trace_seq_has_overflowed(struct trace_seq *s) in trace_seq_has_overflowed()
96 static inline void trace_seq_printf(struct trace_seq *s, const char *fmt, ...) in trace_seq_printf()
100 trace_seq_bprintf(struct trace_seq *s, const char *fmt, const u32 *binary) in trace_seq_bprintf()
105 trace_seq_bitmask(struct trace_seq *s, const unsigned long *maskp, in trace_seq_bitmask()
110 static inline int trace_print_seq(struct seq_file *m, struct trace_seq *s) in trace_print_seq()
114 static inline int trace_seq_to_user(struct trace_seq *s, char __user *ubuf, in trace_seq_to_user()
119 static inline void trace_seq_puts(struct trace_seq *s, const char *str) in trace_seq_puts()
[all …]
Dseqlock.h55 static inline void __seqcount_init(seqcount_t *s, const char *name, in __seqcount_init()
69 # define seqcount_init(s) \ argument
75 static inline void seqcount_lockdep_reader_access(const seqcount_t *s) in seqcount_lockdep_reader_access()
88 # define seqcount_init(s) __seqcount_init(s, NULL, NULL) argument
108 static inline unsigned __read_seqcount_begin(const seqcount_t *s) in __read_seqcount_begin()
130 static inline unsigned raw_read_seqcount(const seqcount_t *s) in raw_read_seqcount()
146 static inline unsigned raw_read_seqcount_begin(const seqcount_t *s) in raw_read_seqcount_begin()
162 static inline unsigned read_seqcount_begin(const seqcount_t *s) in read_seqcount_begin()
182 static inline unsigned raw_seqcount_begin(const seqcount_t *s) in raw_seqcount_begin()
203 static inline int __read_seqcount_retry(const seqcount_t *s, unsigned start) in __read_seqcount_retry()
[all …]
Dseq_buf.h26 static inline void seq_buf_clear(struct seq_buf *s) in seq_buf_clear()
33 seq_buf_init(struct seq_buf *s, unsigned char *buf, unsigned int size) in seq_buf_init()
45 seq_buf_has_overflowed(struct seq_buf *s) in seq_buf_has_overflowed()
51 seq_buf_set_overflow(struct seq_buf *s) in seq_buf_set_overflow()
60 seq_buf_buffer_left(struct seq_buf *s) in seq_buf_buffer_left()
69 static inline unsigned int seq_buf_used(struct seq_buf *s) in seq_buf_used()
82 static inline size_t seq_buf_get_buf(struct seq_buf *s, char **bufp) in seq_buf_get_buf()
104 static inline void seq_buf_commit(struct seq_buf *s, int num) in seq_buf_commit()
/Linux-v4.19/kernel/trace/
Dtrace_seq.c31 #define TRACE_SEQ_BUF_LEFT(s) seq_buf_buffer_left(&(s)->seq) argument
34 #define TRACE_SEQ_BUF_USED(s) seq_buf_used(&(s)->seq) argument
39 static inline void __trace_seq_init(struct trace_seq *s) in __trace_seq_init()
54 int trace_print_seq(struct seq_file *m, struct trace_seq *s) in trace_print_seq()
84 void trace_seq_printf(struct trace_seq *s, const char *fmt, ...) in trace_seq_printf()
114 void trace_seq_bitmask(struct trace_seq *s, const unsigned long *maskp, in trace_seq_bitmask()
144 void trace_seq_vprintf(struct trace_seq *s, const char *fmt, va_list args) in trace_seq_vprintf()
178 void trace_seq_bprintf(struct trace_seq *s, const char *fmt, const u32 *binary) in trace_seq_bprintf()
208 void trace_seq_puts(struct trace_seq *s, const char *str) in trace_seq_puts()
236 void trace_seq_putc(struct trace_seq *s, unsigned char c) in trace_seq_putc()
[all …]
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dramseq.h6 #define ram_init(s,p) hwsq_init(&(s)->base, (p)) argument
7 #define ram_exec(s,e) hwsq_exec(&(s)->base, (e)) argument
8 #define ram_have(s,r) ((s)->r_##r.addr != 0x000000) argument
9 #define ram_rd32(s,r) hwsq_rd32(&(s)->base, &(s)->r_##r) argument
10 #define ram_wr32(s,r,d) hwsq_wr32(&(s)->base, &(s)->r_##r, (d)) argument
11 #define ram_nuke(s,r) hwsq_nuke(&(s)->base, &(s)->r_##r) argument
12 #define ram_mask(s,r,m,d) hwsq_mask(&(s)->base, &(s)->r_##r, (m), (d)) argument
13 #define ram_setf(s,f,d) hwsq_setf(&(s)->base, (f), (d)) argument
14 #define ram_wait(s,f,d) hwsq_wait(&(s)->base, (f), (d)) argument
15 #define ram_wait_vblank(s) hwsq_wait_vblank(&(s)->base) argument
[all …]
/Linux-v4.19/tools/testing/selftests/kvm/lib/
Dsparsebit.c206 static struct node *node_first(struct sparsebit *s) in node_first()
220 static struct node *node_next(struct sparsebit *s, struct node *np) in node_next()
248 static struct node *node_prev(struct sparsebit *s, struct node *np) in node_prev()
311 static struct node *node_find(struct sparsebit *s, sparsebit_idx_t idx) in node_find()
334 static struct node *node_add(struct sparsebit *s, sparsebit_idx_t idx) in node_add()
397 bool sparsebit_all_set(struct sparsebit *s) in sparsebit_all_set()
410 static void node_rm(struct sparsebit *s, struct node *nodep) in node_rm()
499 static struct node *node_split(struct sparsebit *s, sparsebit_idx_t idx) in node_split()
600 static void node_reduce(struct sparsebit *s, struct node *nodep) in node_reduce()
780 bool sparsebit_is_set(struct sparsebit *s, sparsebit_idx_t idx) in sparsebit_is_set()
[all …]
/Linux-v4.19/drivers/media/pci/ivtv/
Divtv-irq.c43 struct ivtv_stream *s = &itv->streams[IVTV_ENC_STREAM_TYPE_PCM]; in ivtv_pcm_work_handler() local
72 struct ivtv_stream *s = &itv->streams[itv->cur_pio_stream]; in ivtv_pio_work_handler() local
123 static int stream_enc_dma_append(struct ivtv_stream *s, u32 data[CX2341X_MBOX_MAX_DATA]) in stream_enc_dma_append()
258 static void dma_post(struct ivtv_stream *s) in dma_post()
349 void ivtv_dma_stream_dec_prepare(struct ivtv_stream *s, u32 offset, int lock) in ivtv_dma_stream_dec_prepare()
426 static void ivtv_dma_enc_start_xfer(struct ivtv_stream *s) in ivtv_dma_enc_start_xfer()
442 static void ivtv_dma_dec_start_xfer(struct ivtv_stream *s) in ivtv_dma_dec_start_xfer()
459 static void ivtv_dma_enc_start(struct ivtv_stream *s) in ivtv_dma_enc_start()
520 static void ivtv_dma_dec_start(struct ivtv_stream *s) in ivtv_dma_dec_start()
541 struct ivtv_stream *s = NULL; in ivtv_irq_dma_read() local
[all …]
Divtv-queue.h30 static inline int ivtv_might_use_pio(struct ivtv_stream *s) in ivtv_might_use_pio()
35 static inline int ivtv_use_pio(struct ivtv_stream *s) in ivtv_use_pio()
43 static inline int ivtv_might_use_dma(struct ivtv_stream *s) in ivtv_might_use_dma()
48 static inline int ivtv_use_dma(struct ivtv_stream *s) in ivtv_use_dma()
53 static inline void ivtv_buf_sync_for_cpu(struct ivtv_stream *s, struct ivtv_buffer *buf) in ivtv_buf_sync_for_cpu()
60 static inline void ivtv_buf_sync_for_device(struct ivtv_stream *s, struct ivtv_buffer *buf) in ivtv_buf_sync_for_device()
82 static inline void ivtv_stream_sync_for_cpu(struct ivtv_stream *s) in ivtv_stream_sync_for_cpu()
89 static inline void ivtv_stream_sync_for_device(struct ivtv_stream *s) in ivtv_stream_sync_for_device()
/Linux-v4.19/drivers/staging/octeon-usb/
Docteon-hcd.h157 } s; member
227 } s; member
316 } s; member
546 } s; member
573 } s; member
626 } s; member
754 } s; member
778 } s; member
824 } s; member
913 } s; member
[all …]
/Linux-v4.19/arch/x86/kvm/
Di8259.c42 static void pic_lock(struct kvm_pic *s) in pic_lock()
48 static void pic_unlock(struct kvm_pic *s) in pic_unlock()
70 static void pic_clear_isr(struct kvm_kpic_state *s, int irq) in pic_clear_isr()
89 static inline int pic_set_irq1(struct kvm_kpic_state *s, int irq, int level) in pic_set_irq1()
119 static inline int get_priority(struct kvm_kpic_state *s, int mask) in get_priority()
133 static int pic_get_irq(struct kvm_kpic_state *s) in pic_get_irq()
163 static void pic_update_irq(struct kvm_pic *s) in pic_update_irq()
179 void kvm_pic_update_irq(struct kvm_pic *s) in kvm_pic_update_irq()
186 int kvm_pic_set_irq(struct kvm_pic *s, int irq, int irq_source_id, int level) in kvm_pic_set_irq()
204 void kvm_pic_clear_all(struct kvm_pic *s, int irq_source_id) in kvm_pic_clear_all()
[all …]
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dseq.h6 #define clk_init(s,p) hwsq_init(&(s)->base, (p)) argument
7 #define clk_exec(s,e) hwsq_exec(&(s)->base, (e)) argument
8 #define clk_have(s,r) ((s)->r_##r.addr != 0x000000) argument
9 #define clk_rd32(s,r) hwsq_rd32(&(s)->base, &(s)->r_##r) argument
10 #define clk_wr32(s,r,d) hwsq_wr32(&(s)->base, &(s)->r_##r, (d)) argument
11 #define clk_mask(s,r,m,d) hwsq_mask(&(s)->base, &(s)->r_##r, (m), (d)) argument
12 #define clk_setf(s,f,d) hwsq_setf(&(s)->base, (f), (d)) argument
13 #define clk_wait(s,f,d) hwsq_wait(&(s)->base, (f), (d)) argument
14 #define clk_nsec(s,n) hwsq_nsec(&(s)->base, (n)) argument
/Linux-v4.19/drivers/staging/comedi/
Dcomedi_buf.c53 struct comedi_subdevice *s) in __comedi_buf_free()
73 struct comedi_subdevice *s, in __comedi_buf_alloc()
181 comedi_buf_map_from_subdev_get(struct comedi_subdevice *s) in comedi_buf_map_from_subdev_get()
202 bool comedi_buf_is_mmapped(struct comedi_subdevice *s) in comedi_buf_is_mmapped()
209 int comedi_buf_alloc(struct comedi_device *dev, struct comedi_subdevice *s, in comedi_buf_alloc()
241 void comedi_buf_reset(struct comedi_subdevice *s) in comedi_buf_reset()
263 static unsigned int comedi_buf_write_n_unalloc(struct comedi_subdevice *s) in comedi_buf_write_n_unalloc()
271 unsigned int comedi_buf_write_n_available(struct comedi_subdevice *s) in comedi_buf_write_n_available()
290 unsigned int comedi_buf_write_alloc(struct comedi_subdevice *s, in comedi_buf_write_alloc()
315 static unsigned int comedi_buf_munge(struct comedi_subdevice *s, in comedi_buf_munge()
[all …]
/Linux-v4.19/arch/mips/include/asm/octeon/
Dcvmx-pciercx-defs.h82 } s; member
93 } s; member
104 } s; member
117 } s; member
124 } s; member
131 } s; member
157 } s; member
176 } s; member
203 } s; member
232 } s; member
[all …]
/Linux-v4.19/net/bluetooth/bnep/
Dcore.c50 struct bnep_session *s; in __bnep_get_session() local
61 static void __bnep_link_session(struct bnep_session *s) in __bnep_link_session()
66 static void __bnep_unlink_session(struct bnep_session *s) in __bnep_unlink_session()
71 static int bnep_send(struct bnep_session *s, void *data, size_t len) in bnep_send()
79 static int bnep_send_rsp(struct bnep_session *s, u8 ctrl, u16 resp) in bnep_send_rsp()
89 static inline void bnep_set_default_proto_filter(struct bnep_session *s) in bnep_set_default_proto_filter()
103 static int bnep_ctrl_set_netfilter(struct bnep_session *s, __be16 *data, int len) in bnep_ctrl_set_netfilter()
149 static int bnep_ctrl_set_mcfilter(struct bnep_session *s, u8 *data, int len) in bnep_ctrl_set_mcfilter()
209 static int bnep_rx_control(struct bnep_session *s, void *data, int len) in bnep_rx_control()
257 static int bnep_rx_extension(struct bnep_session *s, struct sk_buff *skb) in bnep_rx_extension()
[all …]
/Linux-v4.19/drivers/misc/genwqe/
Dcard_debugfs.c49 static void dbg_uidn_show(struct seq_file *s, struct genwqe_reg *regs, in dbg_uidn_show()
64 static int curr_dbg_uidn_show(struct seq_file *s, void *unused, int uid) in curr_dbg_uidn_show()
90 static int genwqe_curr_dbg_uid0_show(struct seq_file *s, void *unused) in genwqe_curr_dbg_uid0_show()
97 static int genwqe_curr_dbg_uid1_show(struct seq_file *s, void *unused) in genwqe_curr_dbg_uid1_show()
104 static int genwqe_curr_dbg_uid2_show(struct seq_file *s, void *unused) in genwqe_curr_dbg_uid2_show()
111 static int prev_dbg_uidn_show(struct seq_file *s, void *unused, int uid) in prev_dbg_uidn_show()
119 static int genwqe_prev_dbg_uid0_show(struct seq_file *s, void *unused) in genwqe_prev_dbg_uid0_show()
126 static int genwqe_prev_dbg_uid1_show(struct seq_file *s, void *unused) in genwqe_prev_dbg_uid1_show()
133 static int genwqe_prev_dbg_uid2_show(struct seq_file *s, void *unused) in genwqe_prev_dbg_uid2_show()
140 static int genwqe_curr_regs_show(struct seq_file *s, void *unused) in genwqe_curr_regs_show()
[all …]
/Linux-v4.19/lib/
Dkstrtox.c24 const char *_parse_integer_fixup_radix(const char *s, unsigned int *base) in _parse_integer_fixup_radix()
48 unsigned int _parse_integer(const char *s, unsigned int base, unsigned long long *p) in _parse_integer()
85 static int _kstrtoull(const char *s, unsigned int base, unsigned long long *res) in _kstrtoull()
121 int kstrtoull(const char *s, unsigned int base, unsigned long long *res) in kstrtoull()
145 int kstrtoll(const char *s, unsigned int base, long long *res) in kstrtoll()
170 int _kstrtoul(const char *s, unsigned int base, unsigned long *res) in _kstrtoul()
186 int _kstrtol(const char *s, unsigned int base, long *res) in _kstrtol()
217 int kstrtouint(const char *s, unsigned int base, unsigned int *res) in kstrtouint()
248 int kstrtoint(const char *s, unsigned int base, int *res) in kstrtoint()
263 int kstrtou16(const char *s, unsigned int base, u16 *res) in kstrtou16()
[all …]
/Linux-v4.19/drivers/media/pci/cx18/
Dcx18-streams.c105 struct cx18_stream *s, struct cx18_videobuf_buffer *buf) in cx18_dma_free()
113 struct cx18_stream *s, in cx18_prepare_buffer()
193 struct cx18_stream *s = q->priv_data; in buffer_setup() local
215 struct cx18_stream *s = q->priv_data; in buffer_prepare() local
227 struct cx18_stream *s = q->priv_data; in buffer_release() local
236 struct cx18_stream *s = q->priv_data; in buffer_queue() local
252 struct cx18_stream *s = &cx->streams[type]; in cx18_stream_init() local
307 struct cx18_stream *s = &cx->streams[type]; in cx18_prep_dev() local
406 struct cx18_stream *s = &cx->streams[type]; in cx18_reg_dev() local
545 static void cx18_vbi_setup(struct cx18_stream *s) in cx18_vbi_setup()
[all …]
/Linux-v4.19/lib/zlib_deflate/
Ddeflate.c142 #define UPDATE_HASH(s,h,c) (h = (((h)<<s->hash_shift) ^ (c)) & s->hash_mask) argument
153 #define INSERT_STRING(s, str, match_head) \ argument
162 #define CLEAR_HASH(s) \ argument
176 deflate_state *s; in zlib_deflateInit2() local
257 deflate_state *s; in zlib_deflateReset() local
289 deflate_state *s, in putShortMSB()
307 deflate_state *s = (deflate_state *) strm->state; in flush_pending() local
333 deflate_state *s; in zlib_deflate() local
470 deflate_state *s; in zlib_deflateEnd() local
520 deflate_state *s in lm_init()
[all …]
/Linux-v4.19/arch/xtensa/variants/de212/include/variant/
Dtie.h89 #define XCHAL_NCP_SA_LIST(s) \ argument
99 #define XCHAL_CP0_SA_LIST(s) /* empty */ argument
102 #define XCHAL_CP1_SA_LIST(s) /* empty */ argument
105 #define XCHAL_CP2_SA_LIST(s) /* empty */ argument
108 #define XCHAL_CP3_SA_LIST(s) /* empty */ argument
111 #define XCHAL_CP4_SA_LIST(s) /* empty */ argument
114 #define XCHAL_CP5_SA_LIST(s) /* empty */ argument
117 #define XCHAL_CP6_SA_LIST(s) /* empty */ argument
120 #define XCHAL_CP7_SA_LIST(s) /* empty */ argument
/Linux-v4.19/arch/alpha/lib/
Dmemcpy.c26 #define ALIGN_DEST_TO8_UP(d,s,n) \ argument
33 #define ALIGN_DEST_TO8_DN(d,s,n) \ argument
45 #define DO_REST_UP(d,s,n) \ argument
51 #define DO_REST_DN(d,s,n) \ argument
62 #define DO_REST_ALIGNED_UP(d,s,n) DO_REST_UP(d,s,n) argument
63 #define DO_REST_ALIGNED_DN(d,s,n) DO_REST_DN(d,s,n) argument
72 static inline void __memcpy_unaligned_up (unsigned long d, unsigned long s, in __memcpy_unaligned_up()
100 static inline void __memcpy_unaligned_dn (unsigned long d, unsigned long s, in __memcpy_unaligned_dn()
118 static inline void __memcpy_aligned_up (unsigned long d, unsigned long s, in __memcpy_aligned_up()
134 static inline void __memcpy_aligned_dn (unsigned long d, unsigned long s, in __memcpy_aligned_dn()
/Linux-v4.19/drivers/media/pci/cobalt/
Dcobalt-v4l2.c38 struct cobalt_stream *s = q->drv_priv; in cobalt_queue_setup() local
54 struct cobalt_stream *s = vb->vb2_queue->drv_priv; in cobalt_buf_init() local
90 struct cobalt_stream *s = vb->vb2_queue->drv_priv; in cobalt_buf_cleanup() local
99 struct cobalt_stream *s = vb->vb2_queue->drv_priv; in cobalt_buf_prepare() local
106 static void chain_all_buffers(struct cobalt_stream *s) in chain_all_buffers()
126 struct cobalt_stream *s = q->drv_priv; in cobalt_buf_queue() local
141 static void cobalt_enable_output(struct cobalt_stream *s) in cobalt_enable_output()
199 static void cobalt_enable_input(struct cobalt_stream *s) in cobalt_enable_input()
249 static void cobalt_dma_start_streaming(struct cobalt_stream *s) in cobalt_dma_start_streaming()
281 struct cobalt_stream *s = q->drv_priv; in cobalt_start_streaming() local
[all …]
/Linux-v4.19/drivers/tty/serial/
Dmax3100.c139 static int max3100_do_parity(struct max3100_port *s, u16 c) in max3100_do_parity()
157 static int max3100_check_parity(struct max3100_port *s, u16 c) in max3100_check_parity()
162 static void max3100_calc_parity(struct max3100_port *s, u16 *c) in max3100_calc_parity()
175 static void max3100_dowork(struct max3100_port *s) in max3100_dowork()
183 struct max3100_port *s = from_timer(s, t, timer); in max3100_timeout() local
191 static int max3100_sr(struct max3100_port *s, u16 tx, u16 *rx) in max3100_sr()
216 static int max3100_handlerx(struct max3100_port *s, u16 rx) in max3100_handlerx()
258 struct max3100_port *s = container_of(w, struct max3100_port, work); in max3100_work() local
326 struct max3100_port *s = dev_id; in max3100_irq() local
336 struct max3100_port *s = container_of(port, in max3100_enable_ms() local
[all …]

12345678910>>...101