Home
last modified time | relevance | path

Searched refs:outcnt (Results 1 - 25 of 49) sorted by relevance

12

/kernel/linux/linux-5.10/net/sctp/
H A Dstream.c25 static void sctp_stream_shrink_out(struct sctp_stream *stream, __u16 outcnt) in sctp_stream_shrink_out() argument
37 if (sid < outcnt) in sctp_stream_shrink_out()
73 struct sctp_stream *new, __u16 outcnt) in sctp_stream_outq_migrate()
77 if (stream->outcnt > outcnt) in sctp_stream_outq_migrate()
78 sctp_stream_shrink_out(stream, outcnt); in sctp_stream_outq_migrate()
85 for (i = 0; i < outcnt; i++) { in sctp_stream_outq_migrate()
92 for (i = outcnt; i < stream->outcnt; i++) in sctp_stream_outq_migrate()
96 static int sctp_stream_alloc_out(struct sctp_stream *stream, __u16 outcnt, in sctp_stream_alloc_out() argument
72 sctp_stream_outq_migrate(struct sctp_stream *stream, struct sctp_stream *new, __u16 outcnt) sctp_stream_outq_migrate() argument
130 sctp_stream_init(struct sctp_stream *stream, __u16 outcnt, __u16 incnt, gfp_t gfp) sctp_stream_init() argument
430 __u32 outcnt, incnt; sctp_send_add_streams() local
858 __u32 request_seq, outcnt; sctp_process_strreset_addstrm_in() local
[all...]
H A Dstream_sched.c153 for (i = 0; i < asoc->stream.outcnt; i++) { in sctp_sched_set_sched()
167 for (i = 0; i < asoc->stream.outcnt; i++) { in sctp_sched_set_sched()
207 if (sid >= asoc->stream.outcnt) in sctp_sched_set_value()
224 if (sid >= asoc->stream.outcnt) in sctp_sched_get_value()
H A Dstream_sched_prio.c75 for (i = 0; i < stream->outcnt; i++) { in sctp_sched_prio_get_head()
228 for (i = 0; i < stream->outcnt; i++) { in sctp_sched_prio_free()
/kernel/linux/linux-6.6/net/sctp/
H A Dstream.c25 static void sctp_stream_shrink_out(struct sctp_stream *stream, __u16 outcnt) in sctp_stream_shrink_out() argument
37 if (sid < outcnt) in sctp_stream_shrink_out()
73 struct sctp_stream *new, __u16 outcnt) in sctp_stream_outq_migrate()
77 if (stream->outcnt > outcnt) in sctp_stream_outq_migrate()
78 sctp_stream_shrink_out(stream, outcnt); in sctp_stream_outq_migrate()
85 for (i = 0; i < outcnt; i++) { in sctp_stream_outq_migrate()
92 for (i = outcnt; i < stream->outcnt; i++) in sctp_stream_outq_migrate()
96 static int sctp_stream_alloc_out(struct sctp_stream *stream, __u16 outcnt, in sctp_stream_alloc_out() argument
72 sctp_stream_outq_migrate(struct sctp_stream *stream, struct sctp_stream *new, __u16 outcnt) sctp_stream_outq_migrate() argument
130 sctp_stream_init(struct sctp_stream *stream, __u16 outcnt, __u16 incnt, gfp_t gfp) sctp_stream_init() argument
430 __u32 outcnt, incnt; sctp_send_add_streams() local
858 __u32 request_seq, outcnt; sctp_process_strreset_addstrm_in() local
[all...]
H A Dstream_sched.c138 for (i = 0; i < stream->outcnt; i++) { in sctp_sched_free_sched()
169 for (i = 0; i < asoc->stream.outcnt; i++) { in sctp_sched_set_sched()
209 if (sid >= asoc->stream.outcnt) in sctp_sched_set_value()
226 if (sid >= asoc->stream.outcnt) in sctp_sched_get_value()
H A Dstream_sched_fc.c143 for (i = 0; i < stream->outcnt; i++) { in sctp_sched_fc_dequeue_done()
/kernel/linux/linux-5.10/arch/alpha/boot/
H A Dmisc.c50 static unsigned outcnt; /* bytes in output buffer */ variable
120 * Write the output window window[0..outcnt-1] and update crc and bytes_out.
131 for (n = 0; n < outcnt; n++) { in flush_window()
136 bytes_out += (ulg)outcnt; in flush_window()
137 output_ptr += (ulg)outcnt; in flush_window()
138 outcnt = 0; in flush_window()
/kernel/linux/linux-5.10/arch/nios2/boot/compressed/
H A Dmisc.c40 static unsigned outcnt; /* bytes in output buffer */ variable
130 * Write the output window window[0..outcnt-1] and update crc and bytes_out.
141 for (n = 0; n < outcnt; n++) { in flush_window()
146 bytes_out += (ulg)outcnt; in flush_window()
147 output_ptr += (ulg)outcnt; in flush_window()
148 outcnt = 0; in flush_window()
/kernel/linux/linux-6.6/arch/alpha/boot/
H A Dmisc.c50 static unsigned outcnt; /* bytes in output buffer */ variable
118 * Write the output window window[0..outcnt-1] and update crc and bytes_out.
129 for (n = 0; n < outcnt; n++) { in flush_window()
134 bytes_out += (ulg)outcnt; in flush_window()
135 output_ptr += (ulg)outcnt; in flush_window()
136 outcnt = 0; in flush_window()
/kernel/linux/linux-6.6/arch/nios2/boot/compressed/
H A Dmisc.c40 static unsigned outcnt; /* bytes in output buffer */ variable
130 * Write the output window window[0..outcnt-1] and update crc and bytes_out.
141 for (n = 0; n < outcnt; n++) { in flush_window()
146 bytes_out += (ulg)outcnt; in flush_window()
147 output_ptr += (ulg)outcnt; in flush_window()
148 outcnt = 0; in flush_window()
/kernel/linux/linux-6.6/drivers/i2c/busses/
H A Di2c-virtio.c65 int outcnt = 0, incnt = 0; in virtio_i2c_prepare_reqs() local
82 sgs[outcnt++] = &out_hdr; in virtio_i2c_prepare_reqs()
92 sgs[outcnt + incnt++] = &msg_buf; in virtio_i2c_prepare_reqs()
94 sgs[outcnt++] = &msg_buf; in virtio_i2c_prepare_reqs()
98 sgs[outcnt + incnt++] = &in_hdr; in virtio_i2c_prepare_reqs()
100 if (virtqueue_add_sgs(vq, sgs, outcnt, incnt, &reqs[i], GFP_KERNEL)) { in virtio_i2c_prepare_reqs()
/kernel/linux/linux-5.10/init/
H A Ddo_mounts_rd.c299 static long __init compr_flush(void *window, unsigned long outcnt) in compr_flush() argument
301 long written = kernel_write(out_file, window, outcnt, &out_pos); in compr_flush()
302 if (written != outcnt) { in compr_flush()
306 written, outcnt); in compr_flush()
310 return outcnt; in compr_flush()
/kernel/linux/linux-6.6/init/
H A Ddo_mounts_rd.c299 static long __init compr_flush(void *window, unsigned long outcnt) in compr_flush() argument
301 long written = kernel_write(out_file, window, outcnt, &out_pos); in compr_flush()
302 if (written != outcnt) { in compr_flush()
306 written, outcnt); in compr_flush()
310 return outcnt; in compr_flush()
/kernel/linux/linux-5.10/drivers/gpu/drm/virtio/
H A Dvirtgpu_vq.c322 int outcnt, in virtio_gpu_queue_ctrl_sgs()
360 ret = virtqueue_add_sgs(vq, sgs, outcnt, incnt, vbuf, GFP_ATOMIC); in virtio_gpu_queue_ctrl_sgs()
379 int elemcnt = 0, outcnt = 0, incnt = 0, ret; in virtio_gpu_queue_fenced_ctrl_buffer() local
384 sgs[outcnt] = &vcmd; in virtio_gpu_queue_fenced_ctrl_buffer()
385 outcnt++; in virtio_gpu_queue_fenced_ctrl_buffer()
400 sgs[outcnt] = sgt->sgl; in virtio_gpu_queue_fenced_ctrl_buffer()
404 sgs[outcnt] = &vout; in virtio_gpu_queue_fenced_ctrl_buffer()
406 outcnt++; in virtio_gpu_queue_fenced_ctrl_buffer()
413 sgs[outcnt + incnt] = &vresp; in virtio_gpu_queue_fenced_ctrl_buffer()
417 ret = virtio_gpu_queue_ctrl_sgs(vgdev, vbuf, fence, elemcnt, sgs, outcnt, in virtio_gpu_queue_fenced_ctrl_buffer()
317 virtio_gpu_queue_ctrl_sgs(struct virtio_gpu_device *vgdev, struct virtio_gpu_vbuffer *vbuf, struct virtio_gpu_fence *fence, int elemcnt, struct scatterlist **sgs, int outcnt, int incnt) virtio_gpu_queue_ctrl_sgs() argument
454 int idx, ret, outcnt; virtio_gpu_queue_cursor() local
[all...]
/kernel/linux/linux-5.10/drivers/crypto/marvell/octeontx/
H A Dotx_cptvf_reqmgr.c46 pr_debug("Scatter list size %d\n", req->outcnt); in otx_cpt_dump_sg_list()
47 for (i = 0; i < req->outcnt; i++) { in otx_cpt_dump_sg_list()
180 req->outcnt > OTX_CPT_MAX_SG_OUT_CNT)) { in setup_sgio_list()
187 s_sz_bytes = ((req->outcnt + 3) / 4) * in setup_sgio_list()
205 ((__be16 *)info->in_buffer)[0] = cpu_to_be16(req->outcnt); in setup_sgio_list()
217 if (setup_sgio_components(pdev, req->out, req->outcnt, in setup_sgio_list()
H A Dotx_cptvf_reqmgr.h168 u8 outcnt; /* Number of output buffers */ member
202 for (i = 0; i < req->outcnt; i++) { in do_request_cleanup()
/kernel/linux/linux-6.6/drivers/crypto/marvell/octeontx/
H A Dotx_cptvf_reqmgr.c46 pr_debug("Scatter list size %d\n", req->outcnt); in otx_cpt_dump_sg_list()
47 for (i = 0; i < req->outcnt; i++) { in otx_cpt_dump_sg_list()
180 req->outcnt > OTX_CPT_MAX_SG_OUT_CNT)) { in setup_sgio_list()
187 s_sz_bytes = ((req->outcnt + 3) / 4) * in setup_sgio_list()
205 ((__be16 *)info->in_buffer)[0] = cpu_to_be16(req->outcnt); in setup_sgio_list()
217 if (setup_sgio_components(pdev, req->out, req->outcnt, in setup_sgio_list()
H A Dotx_cptvf_reqmgr.h168 u8 outcnt; /* Number of output buffers */ member
202 for (i = 0; i < req->outcnt; i++) { in do_request_cleanup()
/kernel/linux/linux-6.6/drivers/gpu/drm/virtio/
H A Dvirtgpu_vq.c319 int outcnt, in virtio_gpu_queue_ctrl_sgs()
357 ret = virtqueue_add_sgs(vq, sgs, outcnt, incnt, vbuf, GFP_ATOMIC); in virtio_gpu_queue_ctrl_sgs()
377 int elemcnt = 0, outcnt = 0, incnt = 0, ret; in virtio_gpu_queue_fenced_ctrl_buffer() local
382 sgs[outcnt] = &vcmd; in virtio_gpu_queue_fenced_ctrl_buffer()
383 outcnt++; in virtio_gpu_queue_fenced_ctrl_buffer()
398 sgs[outcnt] = sgt->sgl; in virtio_gpu_queue_fenced_ctrl_buffer()
402 sgs[outcnt] = &vout; in virtio_gpu_queue_fenced_ctrl_buffer()
404 outcnt++; in virtio_gpu_queue_fenced_ctrl_buffer()
411 sgs[outcnt + incnt] = &vresp; in virtio_gpu_queue_fenced_ctrl_buffer()
415 ret = virtio_gpu_queue_ctrl_sgs(vgdev, vbuf, fence, elemcnt, sgs, outcnt, in virtio_gpu_queue_fenced_ctrl_buffer()
314 virtio_gpu_queue_ctrl_sgs(struct virtio_gpu_device *vgdev, struct virtio_gpu_vbuffer *vbuf, struct virtio_gpu_fence *fence, int elemcnt, struct scatterlist **sgs, int outcnt, int incnt) virtio_gpu_queue_ctrl_sgs() argument
452 int idx, ret, outcnt; virtio_gpu_queue_cursor() local
[all...]
/kernel/linux/linux-5.10/drivers/crypto/cavium/cpt/
H A Dcptvf_reqmanager.c129 if (req->incnt > MAX_SG_IN_CNT || req->outcnt > MAX_SG_OUT_CNT) { in setup_sgio_list()
153 s_sz_bytes = ((req->outcnt + 3) / 4) * sizeof(struct sglist_component); in setup_sgio_list()
161 req->outcnt, in setup_sgio_list()
177 ((__be16 *)info->in_buffer)[0] = cpu_to_be16(req->outcnt); in setup_sgio_list()
291 for (i = 0; i < req->outcnt; i++) { in do_request_cleanup()
H A Drequest_manager.h60 u8 outcnt; /* Number of output buffers */ member
/kernel/linux/linux-6.6/drivers/crypto/cavium/cpt/
H A Dcptvf_reqmanager.c129 if (req->incnt > MAX_SG_IN_CNT || req->outcnt > MAX_SG_OUT_CNT) { in setup_sgio_list()
153 s_sz_bytes = ((req->outcnt + 3) / 4) * sizeof(struct sglist_component); in setup_sgio_list()
161 req->outcnt, in setup_sgio_list()
177 ((__be16 *)info->in_buffer)[0] = cpu_to_be16(req->outcnt); in setup_sgio_list()
287 for (i = 0; i < req->outcnt; i++) { in do_request_cleanup()
H A Drequest_manager.h60 u8 outcnt; /* Number of output buffers */ member
/kernel/linux/linux-5.10/drivers/sbus/char/
H A Ductrl.c264 int stat, incnt, outcnt, bytecnt, intr; in uctrl_do_txn() local
274 outcnt = txn->outbits; in uctrl_do_txn()
291 while (outcnt > 0) { in uctrl_do_txn()
295 outcnt--; in uctrl_do_txn()
/kernel/linux/linux-6.6/drivers/sbus/char/
H A Ductrl.c264 int stat, incnt, outcnt, bytecnt, intr; in uctrl_do_txn() local
274 outcnt = txn->outbits; in uctrl_do_txn()
291 while (outcnt > 0) { in uctrl_do_txn()
295 outcnt--; in uctrl_do_txn()

Completed in 15 milliseconds

12