Home
last modified time | relevance | path

Searched full:asoc (Results 1 – 25 of 1220) sorted by relevance

12345678910>>...49

/kernel/linux/linux-6.6/net/sctp/
Dassociola.c43 static void sctp_select_active_and_retran_path(struct sctp_association *asoc);
45 static void sctp_assoc_free_asconf_acks(struct sctp_association *asoc);
46 static void sctp_assoc_free_asconf_queue(struct sctp_association *asoc);
52 struct sctp_association *asoc, in sctp_association_init() argument
65 asoc->ep = (struct sctp_endpoint *)ep; in sctp_association_init()
66 asoc->base.sk = (struct sock *)sk; in sctp_association_init()
67 asoc->base.net = sock_net(sk); in sctp_association_init()
69 sctp_endpoint_hold(asoc->ep); in sctp_association_init()
70 sock_hold(asoc->base.sk); in sctp_association_init()
73 asoc->base.type = SCTP_EP_TYPE_ASSOCIATION; in sctp_association_init()
[all …]
Dsm_sideeffect.c44 struct sctp_association *asoc,
53 struct sctp_association **asoc,
64 static void sctp_do_ecn_ce_work(struct sctp_association *asoc, in sctp_do_ecn_ce_work() argument
69 asoc->last_ecne_tsn = lowest_tsn; in sctp_do_ecn_ce_work()
70 asoc->need_ecne = 1; in sctp_do_ecn_ce_work()
85 static struct sctp_chunk *sctp_do_ecn_ecne_work(struct sctp_association *asoc, in sctp_do_ecn_ecne_work() argument
101 if (TSN_lt(asoc->last_cwr_tsn, lowest_tsn)) { in sctp_do_ecn_ecne_work()
107 transport = sctp_assoc_lookup_tsn(asoc, lowest_tsn); in sctp_do_ecn_ecne_work()
113 asoc->last_cwr_tsn = lowest_tsn; in sctp_do_ecn_ecne_work()
119 repl = sctp_make_cwr(asoc, asoc->last_cwr_tsn, chunk); in sctp_do_ecn_ecne_work()
[all …]
Dstream.c27 struct sctp_association *asoc; in sctp_stream_shrink_out() local
31 asoc = container_of(stream, struct sctp_association, stream); in sctp_stream_shrink_out()
32 outq = &asoc->outqueue; in sctp_stream_shrink_out()
47 if (asoc->peer.prsctp_capable && in sctp_stream_shrink_out()
49 asoc->sent_cnt_removable--; in sctp_stream_shrink_out()
229 static int sctp_send_reconf(struct sctp_association *asoc, in sctp_send_reconf() argument
234 retval = sctp_primitive_RECONF(asoc->base.net, asoc, chunk); in sctp_send_reconf()
244 struct sctp_association *asoc; in sctp_stream_outq_is_empty() local
247 asoc = container_of(stream, struct sctp_association, stream); in sctp_stream_outq_is_empty()
248 if (!asoc->outqueue.out_qlen) in sctp_stream_outq_is_empty()
[all …]
Dsm_statefuns.c53 const struct sctp_association *asoc,
56 static int sctp_eat_data(const struct sctp_association *asoc,
61 const struct sctp_association *asoc,
65 const struct sctp_association *asoc,
72 const struct sctp_association *asoc,
79 const struct sctp_association *asoc,
86 const struct sctp_association *asoc,
93 const struct sctp_association *asoc,
103 const struct sctp_association *asoc,
109 const struct sctp_association *asoc,
[all …]
Dstream_sched.c60 struct sctp_stream *stream = &q->asoc->stream; in sctp_sched_fcfs_dequeue()
148 int sctp_sched_set_sched(struct sctp_association *asoc, in sctp_sched_set_sched() argument
151 struct sctp_sched_ops *old = asoc->outqueue.sched; in sctp_sched_set_sched()
165 sctp_sched_free_sched(&asoc->stream); in sctp_sched_set_sched()
167 asoc->outqueue.sched = n; in sctp_sched_set_sched()
168 n->init(&asoc->stream); in sctp_sched_set_sched()
169 for (i = 0; i < asoc->stream.outcnt; i++) { in sctp_sched_set_sched()
170 if (!SCTP_SO(&asoc->stream, i)->ext) in sctp_sched_set_sched()
173 ret = n->init_sid(&asoc->stream, i, GFP_ATOMIC); in sctp_sched_set_sched()
179 list_for_each_entry(ch, &asoc->outqueue.out_chunk_list, list) { in sctp_sched_set_sched()
[all …]
Dsocket.c74 static int sctp_wait_for_sndbuf(struct sctp_association *asoc,
88 static int sctp_send_asconf(struct sctp_association *asoc,
108 static inline int sctp_wspace(struct sctp_association *asoc) in sctp_wspace() argument
110 struct sock *sk = asoc->base.sk; in sctp_wspace()
112 return asoc->ep->sndbuf_policy ? sk->sk_sndbuf - asoc->sndbuf_used in sctp_wspace()
127 struct sctp_association *asoc = chunk->asoc; in sctp_set_owner_w() local
128 struct sock *sk = asoc->base.sk; in sctp_set_owner_w()
131 sctp_association_hold(asoc); in sctp_set_owner_w()
143 asoc->sndbuf_used += chunk->skb->truesize + sizeof(struct sctp_chunk); in sctp_set_owner_w()
159 if ((clear && asoc->base.sk == c->skb->sk) || \
[all …]
Dchunk.c74 struct sctp_association *asoc = NULL; in sctp_datamsg_destroy() local
90 asoc = chunk->asoc; in sctp_datamsg_destroy()
91 error = msg->send_error ?: asoc->outqueue.error; in sctp_datamsg_destroy()
94 if (sctp_ulpevent_type_enabled(asoc->subscribe, in sctp_datamsg_destroy()
96 ev = sctp_ulpevent_make_send_failed(asoc, chunk, sent, in sctp_datamsg_destroy()
99 asoc->stream.si->enqueue_event(&asoc->ulpq, ev); in sctp_datamsg_destroy()
102 if (sctp_ulpevent_type_enabled(asoc->subscribe, in sctp_datamsg_destroy()
104 ev = sctp_ulpevent_make_send_failed_event(asoc, chunk, in sctp_datamsg_destroy()
108 asoc->stream.si->enqueue_event(&asoc->ulpq, ev); in sctp_datamsg_destroy()
146 struct sctp_datamsg *sctp_datamsg_from_user(struct sctp_association *asoc, in sctp_datamsg_from_user() argument
[all …]
Dauth.c222 const struct sctp_association *asoc, in sctp_auth_make_local_vector() argument
226 (struct sctp_random_param *)asoc->c.auth_random, in sctp_auth_make_local_vector()
227 (struct sctp_chunks_param *)asoc->c.auth_chunks, in sctp_auth_make_local_vector()
228 (struct sctp_hmac_algo_param *)asoc->c.auth_hmacs, gfp); in sctp_auth_make_local_vector()
233 const struct sctp_association *asoc, in sctp_auth_make_peer_vector() argument
236 return sctp_auth_make_key_vector(asoc->peer.peer_random, in sctp_auth_make_peer_vector()
237 asoc->peer.peer_chunks, in sctp_auth_make_peer_vector()
238 asoc->peer.peer_hmacs, in sctp_auth_make_peer_vector()
287 const struct sctp_association *asoc, in sctp_auth_asoc_create_secret() argument
311 local_key_vector = sctp_auth_make_local_vector(asoc, gfp); in sctp_auth_asoc_create_secret()
[all …]
Dsm_make_chunk.c49 static struct sctp_chunk *sctp_make_control(const struct sctp_association *asoc,
52 static struct sctp_chunk *sctp_make_data(const struct sctp_association *asoc,
54 static struct sctp_chunk *_sctp_make_chunk(const struct sctp_association *asoc,
59 const struct sctp_association *asoc,
63 static int sctp_process_param(struct sctp_association *asoc,
77 struct sctp_association *asoc = chunk->asoc; in sctp_control_release_owner() local
87 ev = sctp_ulpevent_make_authkey(asoc, shkey->key_id, in sctp_control_release_owner()
91 asoc->stream.si->enqueue_event(&asoc->ulpq, ev); in sctp_control_release_owner()
99 struct sctp_association *asoc = chunk->asoc; in sctp_control_set_owner_w() local
110 chunk->shkey = asoc->shkey; in sctp_control_set_owner_w()
[all …]
Dulpevent.c32 struct sctp_association *asoc);
77 const struct sctp_association *asoc) in sctp_ulpevent_set_owner() argument
85 sctp_association_hold((struct sctp_association *)asoc); in sctp_ulpevent_set_owner()
87 event->asoc = (struct sctp_association *)asoc; in sctp_ulpevent_set_owner()
88 atomic_add(event->rmem_len, &event->asoc->rmem_alloc); in sctp_ulpevent_set_owner()
89 sctp_skb_set_owner_r(skb, asoc->base.sk); in sctp_ulpevent_set_owner()
91 chunk->head_skb->sk = asoc->base.sk; in sctp_ulpevent_set_owner()
97 struct sctp_association *asoc = event->asoc; in sctp_ulpevent_release_owner() local
99 atomic_sub(event->rmem_len, &asoc->rmem_alloc); in sctp_ulpevent_release_owner()
100 sctp_association_put(asoc); in sctp_ulpevent_release_owner()
[all …]
/kernel/linux/linux-5.10/net/sctp/
Dassociola.c43 static void sctp_select_active_and_retran_path(struct sctp_association *asoc);
45 static void sctp_assoc_free_asconf_acks(struct sctp_association *asoc);
46 static void sctp_assoc_free_asconf_queue(struct sctp_association *asoc);
52 struct sctp_association *asoc, in sctp_association_init() argument
65 asoc->ep = (struct sctp_endpoint *)ep; in sctp_association_init()
66 asoc->base.sk = (struct sock *)sk; in sctp_association_init()
67 asoc->base.net = sock_net(sk); in sctp_association_init()
69 sctp_endpoint_hold(asoc->ep); in sctp_association_init()
70 sock_hold(asoc->base.sk); in sctp_association_init()
73 asoc->base.type = SCTP_EP_TYPE_ASSOCIATION; in sctp_association_init()
[all …]
Dsm_sideeffect.c44 struct sctp_association *asoc,
53 struct sctp_association **asoc,
64 static void sctp_do_ecn_ce_work(struct sctp_association *asoc, in sctp_do_ecn_ce_work() argument
69 asoc->last_ecne_tsn = lowest_tsn; in sctp_do_ecn_ce_work()
70 asoc->need_ecne = 1; in sctp_do_ecn_ce_work()
85 static struct sctp_chunk *sctp_do_ecn_ecne_work(struct sctp_association *asoc, in sctp_do_ecn_ecne_work() argument
101 if (TSN_lt(asoc->last_cwr_tsn, lowest_tsn)) { in sctp_do_ecn_ecne_work()
107 transport = sctp_assoc_lookup_tsn(asoc, lowest_tsn); in sctp_do_ecn_ecne_work()
113 asoc->last_cwr_tsn = lowest_tsn; in sctp_do_ecn_ecne_work()
119 repl = sctp_make_cwr(asoc, asoc->last_cwr_tsn, chunk); in sctp_do_ecn_ecne_work()
[all …]
Dstream.c27 struct sctp_association *asoc; in sctp_stream_shrink_out() local
31 asoc = container_of(stream, struct sctp_association, stream); in sctp_stream_shrink_out()
32 outq = &asoc->outqueue; in sctp_stream_shrink_out()
47 if (asoc->peer.prsctp_capable && in sctp_stream_shrink_out()
49 asoc->sent_cnt_removable--; in sctp_stream_shrink_out()
229 static int sctp_send_reconf(struct sctp_association *asoc, in sctp_send_reconf() argument
234 retval = sctp_primitive_RECONF(asoc->base.net, asoc, chunk); in sctp_send_reconf()
244 struct sctp_association *asoc; in sctp_stream_outq_is_empty() local
247 asoc = container_of(stream, struct sctp_association, stream); in sctp_stream_outq_is_empty()
248 if (!asoc->outqueue.out_qlen) in sctp_stream_outq_is_empty()
[all …]
Dstream_sched.c64 struct sctp_stream *stream = &q->asoc->stream; in sctp_sched_fcfs_dequeue()
134 int sctp_sched_set_sched(struct sctp_association *asoc, in sctp_sched_set_sched() argument
138 struct sctp_sched_ops *old = asoc->outqueue.sched; in sctp_sched_set_sched()
150 old->free(&asoc->stream); in sctp_sched_set_sched()
153 for (i = 0; i < asoc->stream.outcnt; i++) { in sctp_sched_set_sched()
154 void *p = SCTP_SO(&asoc->stream, i)->ext; in sctp_sched_set_sched()
165 asoc->outqueue.sched = n; in sctp_sched_set_sched()
166 n->init(&asoc->stream); in sctp_sched_set_sched()
167 for (i = 0; i < asoc->stream.outcnt; i++) { in sctp_sched_set_sched()
168 if (!SCTP_SO(&asoc->stream, i)->ext) in sctp_sched_set_sched()
[all …]
Dsm_statefuns.c53 const struct sctp_association *asoc,
56 static int sctp_eat_data(const struct sctp_association *asoc,
61 const struct sctp_association *asoc,
65 const struct sctp_association *asoc,
72 const struct sctp_association *asoc,
79 const struct sctp_association *asoc,
86 const struct sctp_association *asoc,
96 const struct sctp_association *asoc,
102 const struct sctp_association *asoc,
111 const struct sctp_association *asoc,
[all …]
Dsocket.c73 static int sctp_wait_for_sndbuf(struct sctp_association *asoc, long *timeo_p,
86 static int sctp_send_asconf(struct sctp_association *asoc,
105 static inline int sctp_wspace(struct sctp_association *asoc) in sctp_wspace() argument
107 struct sock *sk = asoc->base.sk; in sctp_wspace()
109 return asoc->ep->sndbuf_policy ? sk->sk_sndbuf - asoc->sndbuf_used in sctp_wspace()
124 struct sctp_association *asoc = chunk->asoc; in sctp_set_owner_w() local
125 struct sock *sk = asoc->base.sk; in sctp_set_owner_w()
128 sctp_association_hold(asoc); in sctp_set_owner_w()
140 asoc->sndbuf_used += chunk->skb->truesize + sizeof(struct sctp_chunk); in sctp_set_owner_w()
156 if ((clear && asoc->base.sk == c->skb->sk) || \
[all …]
Dchunk.c74 struct sctp_association *asoc = NULL; in sctp_datamsg_destroy() local
90 asoc = chunk->asoc; in sctp_datamsg_destroy()
91 error = msg->send_error ?: asoc->outqueue.error; in sctp_datamsg_destroy()
94 if (sctp_ulpevent_type_enabled(asoc->subscribe, in sctp_datamsg_destroy()
96 ev = sctp_ulpevent_make_send_failed(asoc, chunk, sent, in sctp_datamsg_destroy()
99 asoc->stream.si->enqueue_event(&asoc->ulpq, ev); in sctp_datamsg_destroy()
102 if (sctp_ulpevent_type_enabled(asoc->subscribe, in sctp_datamsg_destroy()
104 ev = sctp_ulpevent_make_send_failed_event(asoc, chunk, in sctp_datamsg_destroy()
108 asoc->stream.si->enqueue_event(&asoc->ulpq, ev); in sctp_datamsg_destroy()
146 struct sctp_datamsg *sctp_datamsg_from_user(struct sctp_association *asoc, in sctp_datamsg_from_user() argument
[all …]
Dauth.c222 const struct sctp_association *asoc, in sctp_auth_make_local_vector() argument
226 (struct sctp_random_param *)asoc->c.auth_random, in sctp_auth_make_local_vector()
227 (struct sctp_chunks_param *)asoc->c.auth_chunks, in sctp_auth_make_local_vector()
228 (struct sctp_hmac_algo_param *)asoc->c.auth_hmacs, gfp); in sctp_auth_make_local_vector()
233 const struct sctp_association *asoc, in sctp_auth_make_peer_vector() argument
236 return sctp_auth_make_key_vector(asoc->peer.peer_random, in sctp_auth_make_peer_vector()
237 asoc->peer.peer_chunks, in sctp_auth_make_peer_vector()
238 asoc->peer.peer_hmacs, in sctp_auth_make_peer_vector()
287 const struct sctp_association *asoc, in sctp_auth_asoc_create_secret() argument
311 local_key_vector = sctp_auth_make_local_vector(asoc, gfp); in sctp_auth_asoc_create_secret()
[all …]
Dsm_make_chunk.c49 static struct sctp_chunk *sctp_make_control(const struct sctp_association *asoc,
52 static struct sctp_chunk *sctp_make_data(const struct sctp_association *asoc,
54 static struct sctp_chunk *_sctp_make_chunk(const struct sctp_association *asoc,
59 const struct sctp_association *asoc,
63 static int sctp_process_param(struct sctp_association *asoc,
77 struct sctp_association *asoc = chunk->asoc; in sctp_control_release_owner() local
87 ev = sctp_ulpevent_make_authkey(asoc, shkey->key_id, in sctp_control_release_owner()
91 asoc->stream.si->enqueue_event(&asoc->ulpq, ev); in sctp_control_release_owner()
99 struct sctp_association *asoc = chunk->asoc; in sctp_control_set_owner_w() local
110 chunk->shkey = asoc->shkey; in sctp_control_set_owner_w()
[all …]
/kernel/linux/linux-6.6/sound/soc/mediatek/
DKconfig7 tristate "ASoC support for Mediatek MT2701 chip"
11 This adds ASoC driver for Mediatek MT2701 boards
17 tristate "ASoc Audio driver for MT2701 with CS42448 codec"
22 This adds ASoC driver for Mediatek MT2701 boards
28 tristate "ASoc Audio driver for MT2701 with WM8960 codec"
32 This adds ASoC driver for Mediatek MT2701 boards
38 tristate "ASoC support for Mediatek MT6797 chip"
42 This adds ASoC driver for Mediatek MT6797 boards
48 tristate "ASoc Audio driver for MT6797 with MT6351 codec"
52 This adds ASoC driver for Mediatek MT6797 boards
[all …]
/kernel/linux/linux-5.10/sound/soc/mediatek/
DKconfig6 tristate "ASoC support for Mediatek MT2701 chip"
10 This adds ASoC driver for Mediatek MT2701 boards
16 tristate "ASoc Audio driver for MT2701 with CS42448 codec"
21 This adds ASoC driver for Mediatek MT2701 boards
27 tristate "ASoc Audio driver for MT2701 with WM8960 codec"
31 This adds ASoC driver for Mediatek MT2701 boards
37 tristate "ASoC support for Mediatek MT6797 chip"
41 This adds ASoC driver for Mediatek MT6797 boards
47 tristate "ASoc Audio driver for MT6797 with MT6351 codec"
51 This adds ASoC driver for Mediatek MT6797 boards
[all …]
/kernel/linux/linux-6.6/include/net/sctp/
Dsm.h56 const struct sctp_association *asoc,
170 struct sctp_chunk *sctp_make_init(const struct sctp_association *asoc,
173 struct sctp_chunk *sctp_make_init_ack(const struct sctp_association *asoc,
176 struct sctp_chunk *sctp_make_cookie_echo(const struct sctp_association *asoc,
178 struct sctp_chunk *sctp_make_cookie_ack(const struct sctp_association *asoc,
180 struct sctp_chunk *sctp_make_cwr(const struct sctp_association *asoc,
183 struct sctp_chunk *sctp_make_idata(const struct sctp_association *asoc,
185 struct sctp_chunk *sctp_make_ifwdtsn(const struct sctp_association *asoc,
188 struct sctp_chunk *sctp_make_datafrag_empty(const struct sctp_association *asoc,
191 struct sctp_chunk *sctp_make_ecne(const struct sctp_association *asoc,
[all …]
/kernel/linux/linux-5.10/include/net/sctp/
Dsm.h56 const struct sctp_association *asoc,
172 struct sctp_chunk *sctp_make_init(const struct sctp_association *asoc,
175 struct sctp_chunk *sctp_make_init_ack(const struct sctp_association *asoc,
178 struct sctp_chunk *sctp_make_cookie_echo(const struct sctp_association *asoc,
180 struct sctp_chunk *sctp_make_cookie_ack(const struct sctp_association *asoc,
182 struct sctp_chunk *sctp_make_cwr(const struct sctp_association *asoc,
185 struct sctp_chunk *sctp_make_idata(const struct sctp_association *asoc,
187 struct sctp_chunk *sctp_make_ifwdtsn(const struct sctp_association *asoc,
190 struct sctp_chunk *sctp_make_datafrag_empty(const struct sctp_association *asoc,
193 struct sctp_chunk *sctp_make_ecne(const struct sctp_association *asoc,
[all …]
/kernel/linux/linux-5.10/include/trace/events/
Dsctp.h14 const struct sctp_association *asoc),
16 TP_ARGS(sp, asoc),
19 __field(__u64, asoc)
31 __entry->asoc = (unsigned long)asoc;
32 __entry->primary = (sp == asoc->peer.primary_path);
42 TP_printk("asoc=%#llx%s ipaddr=%pISpc state=%u cwnd=%u ssthresh=%u "
44 __entry->asoc, __entry->primary ? "(*)" : "",
53 const struct sctp_association *asoc,
56 TP_ARGS(ep, asoc, chunk),
59 __field(__u64, asoc)
[all …]
/kernel/linux/linux-6.6/include/trace/events/
Dsctp.h14 const struct sctp_association *asoc),
16 TP_ARGS(sp, asoc),
19 __field(__u64, asoc)
31 __entry->asoc = (unsigned long)asoc;
32 __entry->primary = (sp == asoc->peer.primary_path);
42 TP_printk("asoc=%#llx%s ipaddr=%pISpc state=%u cwnd=%u ssthresh=%u "
44 __entry->asoc, __entry->primary ? "(*)" : "",
53 const struct sctp_association *asoc,
56 TP_ARGS(ep, asoc, chunk),
59 __field(__u64, asoc)
[all …]

12345678910>>...49