Home
last modified time | relevance | path

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

12345678910>>...105

/Linux-v5.4/tools/lib/traceevent/
Dtrace-seq.c22 #define TRACE_SEQ_CHECK(s) \ argument
29 #define TRACE_SEQ_CHECK_RET_N(s, n) \ argument
36 #define TRACE_SEQ_CHECK_RET(s) TRACE_SEQ_CHECK_RET_N(s, ) argument
37 #define TRACE_SEQ_CHECK_RET0(s) TRACE_SEQ_CHECK_RET_N(s, 0) argument
43 void trace_seq_init(struct trace_seq *s) in trace_seq_init()
59 void trace_seq_reset(struct trace_seq *s) in trace_seq_reset()
74 void trace_seq_destroy(struct trace_seq *s) in trace_seq_destroy()
83 static void expand_buffer(struct trace_seq *s) in expand_buffer()
113 trace_seq_printf(struct trace_seq *s, const char *fmt, ...) in trace_seq_printf()
155 trace_seq_vprintf(struct trace_seq *s, const char *fmt, va_list args) in trace_seq_vprintf()
[all …]
/Linux-v5.4/mm/
Dslub.c119 static inline int kmem_cache_debug(struct kmem_cache *s) in kmem_cache_debug()
128 void *fixup_red_left(struct kmem_cache *s, void *p) in fixup_red_left()
136 static inline bool kmem_cache_has_cpu_partial(struct kmem_cache *s) in kmem_cache_has_cpu_partial()
222 static inline int sysfs_slab_add(struct kmem_cache *s) { return 0; } in sysfs_slab_add()
223 static inline int sysfs_slab_alias(struct kmem_cache *s, const char *p) in sysfs_slab_alias()
225 static inline void memcg_propagate_slab_attrs(struct kmem_cache *s) { } in memcg_propagate_slab_attrs()
226 static inline void sysfs_slab_remove(struct kmem_cache *s) { } in sysfs_slab_remove()
229 static inline void stat(const struct kmem_cache *s, enum stat_item si) in stat()
249 static inline void *freelist_ptr(const struct kmem_cache *s, void *ptr, in freelist_ptr()
271 static inline void *freelist_dereference(const struct kmem_cache *s, in freelist_dereference()
[all …]
Dslab_common.c79 unsigned int kmem_cache_size(struct kmem_cache *s) in kmem_cache_size()
104 void __kmem_cache_free_bulk(struct kmem_cache *s, size_t nr, void **p) in __kmem_cache_free_bulk()
116 int __kmem_cache_alloc_bulk(struct kmem_cache *s, gfp_t flags, size_t nr, in __kmem_cache_alloc_bulk()
138 void slab_init_memcg_params(struct kmem_cache *s) in slab_init_memcg_params()
146 static int init_memcg_params(struct kmem_cache *s, in init_memcg_params()
179 static void destroy_memcg_params(struct kmem_cache *s) in destroy_memcg_params()
198 static int update_memcg_params(struct kmem_cache *s, int new_array_size) in update_memcg_params()
221 struct kmem_cache *s; in memcg_update_all_caches() local
238 void memcg_link_cache(struct kmem_cache *s, struct mem_cgroup *memcg) in memcg_link_cache()
252 static void memcg_unlink_cache(struct kmem_cache *s) in memcg_unlink_cache()
[all …]
/Linux-v5.4/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 …]
/Linux-v5.4/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-v5.4/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-v5.4/tools/testing/selftests/kvm/lib/
Dsparsebit.c205 static struct node *node_first(struct sparsebit *s) in node_first()
219 static struct node *node_next(struct sparsebit *s, struct node *np) in node_next()
247 static struct node *node_prev(struct sparsebit *s, struct node *np) in node_prev()
310 static struct node *node_find(struct sparsebit *s, sparsebit_idx_t idx) in node_find()
333 static struct node *node_add(struct sparsebit *s, sparsebit_idx_t idx) in node_add()
396 bool sparsebit_all_set(struct sparsebit *s) in sparsebit_all_set()
409 static void node_rm(struct sparsebit *s, struct node *nodep) in node_rm()
498 static struct node *node_split(struct sparsebit *s, sparsebit_idx_t idx) in node_split()
599 static void node_reduce(struct sparsebit *s, struct node *nodep) in node_reduce()
779 bool sparsebit_is_set(struct sparsebit *s, sparsebit_idx_t idx) in sparsebit_is_set()
[all …]
/Linux-v5.4/drivers/media/pci/ivtv/
Divtv-irq.c31 struct ivtv_stream *s = &itv->streams[IVTV_ENC_STREAM_TYPE_PCM]; in ivtv_pcm_work_handler() local
60 struct ivtv_stream *s = &itv->streams[itv->cur_pio_stream]; in ivtv_pio_work_handler() local
111 static int stream_enc_dma_append(struct ivtv_stream *s, u32 data[CX2341X_MBOX_MAX_DATA]) in stream_enc_dma_append()
246 static void dma_post(struct ivtv_stream *s) in dma_post()
337 void ivtv_dma_stream_dec_prepare(struct ivtv_stream *s, u32 offset, int lock) in ivtv_dma_stream_dec_prepare()
414 static void ivtv_dma_enc_start_xfer(struct ivtv_stream *s) in ivtv_dma_enc_start_xfer()
430 static void ivtv_dma_dec_start_xfer(struct ivtv_stream *s) in ivtv_dma_dec_start_xfer()
447 static void ivtv_dma_enc_start(struct ivtv_stream *s) in ivtv_dma_enc_start()
508 static void ivtv_dma_dec_start(struct ivtv_stream *s) in ivtv_dma_dec_start()
529 struct ivtv_stream *s = NULL; in ivtv_irq_dma_read() local
[all …]
Divtv-queue.h18 static inline int ivtv_might_use_pio(struct ivtv_stream *s) in ivtv_might_use_pio()
23 static inline int ivtv_use_pio(struct ivtv_stream *s) in ivtv_use_pio()
31 static inline int ivtv_might_use_dma(struct ivtv_stream *s) in ivtv_might_use_dma()
36 static inline int ivtv_use_dma(struct ivtv_stream *s) in ivtv_use_dma()
41 static inline void ivtv_buf_sync_for_cpu(struct ivtv_stream *s, struct ivtv_buffer *buf) in ivtv_buf_sync_for_cpu()
48 static inline void ivtv_buf_sync_for_device(struct ivtv_stream *s, struct ivtv_buffer *buf) in ivtv_buf_sync_for_device()
70 static inline void ivtv_stream_sync_for_cpu(struct ivtv_stream *s) in ivtv_stream_sync_for_cpu()
77 static inline void ivtv_stream_sync_for_device(struct ivtv_stream *s) in ivtv_stream_sync_for_device()
/Linux-v5.4/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-v5.4/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-v5.4/drivers/misc/genwqe/
Dcard_debugfs.c28 static void dbg_uidn_show(struct seq_file *s, struct genwqe_reg *regs, in dbg_uidn_show()
43 static int curr_dbg_uidn_show(struct seq_file *s, void *unused, int uid) in curr_dbg_uidn_show()
69 static int curr_dbg_uid0_show(struct seq_file *s, void *unused) in curr_dbg_uid0_show()
76 static int curr_dbg_uid1_show(struct seq_file *s, void *unused) in curr_dbg_uid1_show()
83 static int curr_dbg_uid2_show(struct seq_file *s, void *unused) in curr_dbg_uid2_show()
90 static int prev_dbg_uidn_show(struct seq_file *s, void *unused, int uid) in prev_dbg_uidn_show()
98 static int prev_dbg_uid0_show(struct seq_file *s, void *unused) in prev_dbg_uid0_show()
105 static int prev_dbg_uid1_show(struct seq_file *s, void *unused) in prev_dbg_uid1_show()
112 static int prev_dbg_uid2_show(struct seq_file *s, void *unused) in prev_dbg_uid2_show()
119 static int curr_regs_show(struct seq_file *s, void *unused) in curr_regs_show()
[all …]
/Linux-v5.4/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-v5.4/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-v5.4/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-v5.4/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-v5.4/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-v5.4/drivers/media/pci/cx18/
Dcx18-streams.c96 struct cx18_stream *s, struct cx18_videobuf_buffer *buf) in cx18_dma_free()
104 struct cx18_stream *s, in cx18_prepare_buffer()
184 struct cx18_stream *s = q->priv_data; in buffer_setup() local
206 struct cx18_stream *s = q->priv_data; in buffer_prepare() local
218 struct cx18_stream *s = q->priv_data; in buffer_release() local
227 struct cx18_stream *s = q->priv_data; in buffer_queue() local
243 struct cx18_stream *s = &cx->streams[type]; in cx18_stream_init() local
298 struct cx18_stream *s = &cx->streams[type]; in cx18_prep_dev() local
397 struct cx18_stream *s = &cx->streams[type]; in cx18_reg_dev() local
537 static void cx18_vbi_setup(struct cx18_stream *s) in cx18_vbi_setup()
[all …]
/Linux-v5.4/sound/firewire/
Damdtp-stream.c80 int amdtp_stream_init(struct amdtp_stream *s, struct fw_unit *unit, in amdtp_stream_init()
118 void amdtp_stream_destroy(struct amdtp_stream *s) in amdtp_stream_destroy()
155 struct snd_interval *s = hw_param_interval(params, rule->var); in apply_constraint_to_size() local
179 int amdtp_stream_add_pcm_hw_constraints(struct amdtp_stream *s, in amdtp_stream_add_pcm_hw_constraints()
255 int amdtp_stream_set_parameters(struct amdtp_stream *s, unsigned int rate, in amdtp_stream_set_parameters()
295 unsigned int amdtp_stream_get_max_payload(struct amdtp_stream *s) in amdtp_stream_get_max_payload()
316 void amdtp_stream_pcm_prepare(struct amdtp_stream *s) in amdtp_stream_pcm_prepare()
324 static unsigned int calculate_data_blocks(struct amdtp_stream *s, in calculate_data_blocks()
368 static unsigned int calculate_syt(struct amdtp_stream *s, in calculate_syt()
412 static void update_pcm_pointers(struct amdtp_stream *s, in update_pcm_pointers()
[all …]
/Linux-v5.4/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-v5.4/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-v5.4/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 …]
/Linux-v5.4/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-v5.4/net/bluetooth/rfcomm/
Dcore.c84 #define __session_dir(s) ((s)->initiator ? 0x00 : 0x01) argument
238 struct rfcomm_session *s = from_timer(s, t, timer); in rfcomm_session_timeout() local
246 static void rfcomm_session_set_timer(struct rfcomm_session *s, long timeout) in rfcomm_session_set_timer()
253 static void rfcomm_session_clear_timer(struct rfcomm_session *s) in rfcomm_session_clear_timer()
331 static void rfcomm_dlc_link(struct rfcomm_session *s, struct rfcomm_dlc *d) in rfcomm_dlc_link()
343 struct rfcomm_session *s = d->session; in rfcomm_dlc_unlink() local
355 static struct rfcomm_dlc *rfcomm_dlc_get(struct rfcomm_session *s, u8 dlci) in rfcomm_dlc_get()
373 struct rfcomm_session *s; in __rfcomm_dlc_open() local
439 struct rfcomm_session *s = d->session; in __rfcomm_dlc_disconn() local
453 struct rfcomm_session *s = d->session; in __rfcomm_dlc_close() local
[all …]

12345678910>>...105