Home
last modified time | relevance | path

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

/Linux-v4.19/net/sctp/
Dstream.c92 struct sctp_stream *new, __u16 outcnt) in sctp_stream_outq_migrate() argument
105 if (sid < outcnt) in sctp_stream_outq_migrate()
127 for (i = 0; i < outcnt; i++) { in sctp_stream_outq_migrate()
134 for (i = outcnt; i < stream->outcnt; i++) in sctp_stream_outq_migrate()
138 static int sctp_stream_alloc_out(struct sctp_stream *stream, __u16 outcnt, in sctp_stream_alloc_out() argument
144 out = fa_alloc(elem_size, outcnt, gfp); in sctp_stream_alloc_out()
149 fa_copy(out, stream->out, 0, min(outcnt, stream->outcnt)); in sctp_stream_alloc_out()
153 if (outcnt > stream->outcnt) in sctp_stream_alloc_out()
154 fa_zero(out, stream->outcnt, (outcnt - stream->outcnt)); in sctp_stream_alloc_out()
184 int sctp_stream_init(struct sctp_stream *stream, __u16 outcnt, __u16 incnt, in sctp_stream_init() argument
[all …]
Dstream_sched.c163 for (i = 0; i < asoc->stream.outcnt; i++) { in sctp_sched_set_sched()
177 for (i = 0; i < asoc->stream.outcnt; i++) { in sctp_sched_set_sched()
217 if (sid >= asoc->stream.outcnt) in sctp_sched_set_value()
234 if (sid >= asoc->stream.outcnt) in sctp_sched_get_value()
Dstream_sched_prio.c77 for (i = 0; i < stream->outcnt; i++) { in sctp_sched_prio_get_head()
188 for (i = 0; i < stream->outcnt; i++) { in sctp_sched_prio_set()
235 for (i = 0; i < stream->outcnt; i++) { in sctp_sched_prio_free()
Dproc.c286 assoc->stream.outcnt, assoc->max_retrans, in sctp_assocs_seq_show()
Dsocket.c1754 __u16 outcnt = init->sinit_num_ostreams; in sctp_sendmsg_new_asoc() local
1756 asoc->c.sinit_num_ostreams = outcnt; in sctp_sendmsg_new_asoc()
1758 err = sctp_stream_init(&asoc->stream, outcnt, 0, in sctp_sendmsg_new_asoc()
1908 if (sinfo->sinfo_stream >= asoc->stream.outcnt) { in sctp_sendmsg_to_asoc()
4929 info->sctpi_outstrms = asoc->stream.outcnt; in sctp_get_sctp_info()
5165 status.sstat_outstrms = asoc->stream.outcnt; in sctp_getsockopt_sctp_status()
7167 if (!asoc || params.sprstat_sid >= asoc->stream.outcnt) in sctp_getsockopt_pr_streamstatus()
Doutqueue.c417 if (chk->sinfo.sinfo_stream < asoc->stream.outcnt) { in sctp_prsctp_prune_unsent()
/Linux-v4.19/arch/alpha/boot/
Dmisc.c50 static unsigned outcnt; /* bytes in output buffer */ variable
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()
/Linux-v4.19/arch/nios2/boot/compressed/
Dmisc.c53 static unsigned outcnt; /* bytes in output buffer */ variable
154 for (n = 0; n < outcnt; n++) { in flush_window()
159 bytes_out += (ulg)outcnt; in flush_window()
160 output_ptr += (ulg)outcnt; in flush_window()
161 outcnt = 0; in flush_window()
/Linux-v4.19/init/
Ddo_mounts_rd.c308 static long __init compr_flush(void *window, unsigned long outcnt) in compr_flush() argument
310 long written = ksys_write(crd_outfd, window, outcnt); in compr_flush()
311 if (written != outcnt) { in compr_flush()
315 written, outcnt); in compr_flush()
319 return outcnt; in compr_flush()
/Linux-v4.19/drivers/gpu/drm/virtio/
Dvirtgpu_vq.c270 int outcnt = 0, incnt = 0; in virtio_gpu_queue_ctrl_buffer_locked() local
277 sgs[outcnt + incnt] = &vcmd; in virtio_gpu_queue_ctrl_buffer_locked()
278 outcnt++; in virtio_gpu_queue_ctrl_buffer_locked()
282 sgs[outcnt + incnt] = &vout; in virtio_gpu_queue_ctrl_buffer_locked()
283 outcnt++; in virtio_gpu_queue_ctrl_buffer_locked()
288 sgs[outcnt + incnt] = &vresp; in virtio_gpu_queue_ctrl_buffer_locked()
293 ret = virtqueue_add_sgs(vq, sgs, outcnt, incnt, vbuf, GFP_ATOMIC); in virtio_gpu_queue_ctrl_buffer_locked()
296 wait_event(vgdev->ctrlq.ack_queue, vq->num_free >= outcnt + incnt); in virtio_gpu_queue_ctrl_buffer_locked()
357 int outcnt; in virtio_gpu_queue_cursor() local
364 outcnt = 1; in virtio_gpu_queue_cursor()
[all …]
/Linux-v4.19/drivers/sbus/char/
Ductrl.c266 int stat, incnt, outcnt, bytecnt, intr; in uctrl_do_txn() local
276 outcnt = txn->outbits; in uctrl_do_txn()
293 while (outcnt > 0) { in uctrl_do_txn()
297 outcnt--; in uctrl_do_txn()
/Linux-v4.19/drivers/crypto/cavium/cpt/
Dcptvf_reqmanager.c131 if (req->incnt > MAX_SG_IN_CNT || req->outcnt > MAX_SG_OUT_CNT) { in setup_sgio_list()
155 s_sz_bytes = ((req->outcnt + 3) / 4) * sizeof(struct sglist_component); in setup_sgio_list()
163 req->outcnt, in setup_sgio_list()
179 ((u16 *)info->in_buffer)[0] = req->outcnt; in setup_sgio_list()
294 for (i = 0; i < req->outcnt; i++) { in do_request_cleanup()
Drequest_manager.h63 u8 outcnt; /* Number of output buffers */ member
Dcptvf_algs.c194 req_info->outcnt = argcnt; in create_output_list()
/Linux-v4.19/include/uapi/linux/
Dxfrm.h349 __u32 outcnt; member
/Linux-v4.19/include/net/sctp/
Dstructs.h393 int sctp_stream_init(struct sctp_stream *stream, __u16 outcnt, __u16 incnt,
1446 __u16 outcnt; member
/Linux-v4.19/lib/
Dinflate.c170 #define wp outcnt
/Linux-v4.19/net/xfrm/
Dxfrm_user.c1103 spc.outcnt = si.outcnt; in build_spdinfo()
Dxfrm_policy.c537 si->outcnt = net->xfrm.policy_count[XFRM_POLICY_OUT]; in xfrm_spd_getinfo()
/Linux-v4.19/include/net/
Dxfrm.h1607 u32 outcnt; member