Home
last modified time | relevance | path

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

/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.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()
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()
Dproc.c283 assoc->stream.outcnt, assoc->max_retrans, in sctp_assocs_seq_show()
Dsocket.c1111 __u16 outcnt = init->sinit_num_ostreams; in sctp_connect_new_asoc() local
1113 asoc->c.sinit_num_ostreams = outcnt; in sctp_connect_new_asoc()
1115 err = sctp_stream_init(&asoc->stream, outcnt, 0, GFP_KERNEL); in sctp_connect_new_asoc()
1806 if (sinfo->sinfo_stream >= asoc->stream.outcnt) { in sctp_sendmsg_to_asoc()
1839 if (unlikely(sinfo->sinfo_stream >= asoc->stream.outcnt)) { in sctp_sendmsg_to_asoc()
5082 info->sctpi_outstrms = asoc->stream.outcnt; in sctp_get_sctp_info()
5325 status.sstat_outstrms = asoc->stream.outcnt; in sctp_getsockopt_sctp_status()
7371 if (!asoc || params.sprstat_sid >= asoc->stream.outcnt) in sctp_getsockopt_pr_streamstatus()
/net/xfrm/
Dxfrm_user.c1157 spc.outcnt = si.outcnt; in build_spdinfo()
Dxfrm_policy.c667 si->outcnt = net->xfrm.policy_count[XFRM_POLICY_OUT]; in xfrm_spd_getinfo()