Home
last modified time | relevance | path

Searched refs:outcnt (Results 1 – 24 of 24) sorted by relevance

/linux-6.12.1/net/sctp/
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() argument
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
101 if (outcnt <= stream->outcnt) in sctp_stream_alloc_out()
104 ret = genradix_prealloc(&stream->out, outcnt, gfp); in sctp_stream_alloc_out()
[all …]
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()
Dstream_sched_fc.c143 for (i = 0; i < stream->outcnt; i++) { in sctp_sched_fc_dequeue_done()
Dstream_sched_prio.c75 for (i = 0; i < stream->outcnt; i++) { in sctp_sched_prio_get_head()
Dproc.c281 assoc->stream.outcnt, assoc->max_retrans, in sctp_assocs_seq_show()
Dsocket.c1109 __u16 outcnt = init->sinit_num_ostreams; in sctp_connect_new_asoc() local
1111 asoc->c.sinit_num_ostreams = outcnt; in sctp_connect_new_asoc()
1113 err = sctp_stream_init(&asoc->stream, outcnt, 0, GFP_KERNEL); in sctp_connect_new_asoc()
1804 if (sinfo->sinfo_stream >= asoc->stream.outcnt) { in sctp_sendmsg_to_asoc()
1834 if (unlikely(sinfo->sinfo_stream >= asoc->stream.outcnt)) { in sctp_sendmsg_to_asoc()
5198 info->sctpi_outstrms = asoc->stream.outcnt; in sctp_get_sctp_info()
5450 status.sstat_outstrms = asoc->stream.outcnt; in sctp_getsockopt_sctp_status()
7497 if (!asoc || params.sprstat_sid >= asoc->stream.outcnt) in sctp_getsockopt_pr_streamstatus()
/linux-6.12.1/arch/alpha/boot/
Dmisc.c50 static unsigned outcnt; /* bytes in output buffer */ variable
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()
/linux-6.12.1/arch/nios2/boot/compressed/
Dmisc.c40 static unsigned outcnt; /* bytes in output buffer */ variable
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()
/linux-6.12.1/drivers/i2c/busses/
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()
/linux-6.12.1/init/
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()
/linux-6.12.1/drivers/sbus/char/
Ductrl.c263 int stat, incnt, outcnt, bytecnt, intr; in uctrl_do_txn() local
273 outcnt = txn->outbits; in uctrl_do_txn()
290 while (outcnt > 0) { in uctrl_do_txn()
294 outcnt--; in uctrl_do_txn()
/linux-6.12.1/drivers/gpu/drm/virtio/
Dvirtgpu_vq.c319 int outcnt, in virtio_gpu_queue_ctrl_sgs() argument
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()
[all …]
/linux-6.12.1/drivers/crypto/marvell/octeontx/
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()
Dotx_cptvf_reqmgr.h168 u8 outcnt; /* Number of output buffers */ member
202 for (i = 0; i < req->outcnt; i++) { in do_request_cleanup()
Dotx_cptvf_algs.c338 req_info->outcnt = argcnt; in create_output_list()
1026 req_info->outcnt = argcnt; in create_aead_output_list()
1129 req_info->outcnt = argcnt; in create_aead_null_output_list()
/linux-6.12.1/drivers/crypto/cavium/cpt/
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()
Drequest_manager.h60 u8 outcnt; /* Number of output buffers */ member
Dcptvf_algs.c190 req_info->outcnt = argcnt; in create_output_list()
/linux-6.12.1/include/uapi/linux/
Dxfrm.h363 __u32 outcnt; member
/linux-6.12.1/include/net/sctp/
Dstructs.h389 int sctp_stream_init(struct sctp_stream *stream, __u16 outcnt, __u16 incnt,
1461 __u16 outcnt; member
/linux-6.12.1/lib/
Dinflate.c170 #define wp outcnt
/linux-6.12.1/include/net/
Dxfrm.h1678 u32 outcnt; member
/linux-6.12.1/net/xfrm/
Dxfrm_user.c1496 spc.outcnt = si.outcnt; in build_spdinfo()
Dxfrm_policy.c704 si->outcnt = net->xfrm.policy_count[XFRM_POLICY_OUT]; in xfrm_spd_getinfo()