/linux-6.12.1/net/sctp/ |
D | associola.c | 43 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 …]
|
D | sm_sideeffect.c | 44 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 …]
|
D | stream.c | 27 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 …]
|
D | sm_statefuns.c | 54 const struct sctp_association *asoc, 57 static int sctp_eat_data(const struct sctp_association *asoc, 62 const struct sctp_association *asoc, 66 const struct sctp_association *asoc, 73 const struct sctp_association *asoc, 80 const struct sctp_association *asoc, 87 const struct sctp_association *asoc, 94 const struct sctp_association *asoc, 104 const struct sctp_association *asoc, 110 const struct sctp_association *asoc, [all …]
|
D | stream_sched.c | 60 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 …]
|
D | socket.c | 75 static int sctp_wait_for_sndbuf(struct sctp_association *asoc, long *timeo_p, 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 …]
|
D | auth.c | 222 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 …]
|
D | chunk.c | 74 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 …]
|
D | sm_make_chunk.c | 49 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 …]
|
D | ulpevent.c | 32 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 …]
|
D | outqueue.c | 69 oute = SCTP_SO(&q->asoc->stream, stream)->ext; in sctp_outq_head_data() 90 oute = SCTP_SO(&q->asoc->stream, stream)->ext; in sctp_outq_tail_data() 191 void sctp_outq_init(struct sctp_association *asoc, struct sctp_outq *q) in sctp_outq_init() argument 195 q->asoc = asoc; in sctp_outq_init() 201 sctp_sched_set_sched(asoc, sctp_sk(asoc->base.sk)->default_ss); in sctp_outq_init() 213 list_for_each_entry(transport, &q->asoc->peer.transport_addr_list, in __sctp_outq_teardown() 270 sctp_outq_init(q->asoc, q); in sctp_outq_teardown() 283 struct net *net = q->asoc->base.net; in sctp_outq_tail() 300 if (chunk->asoc->peer.prsctp_capable && in sctp_outq_tail() 302 chunk->asoc->sent_cnt_removable++; in sctp_outq_tail() [all …]
|
D | diag.c | 25 /* define some functions to make asoc/ep fill look clean */ 28 struct sctp_association *asoc) in inet_diag_msg_sctpasoc_fill() argument 32 struct timer_list *t3_rtx = &asoc->peer.primary_path->T3_rtx_timer; in inet_diag_msg_sctpasoc_fill() 34 laddr = list_entry(asoc->base.bind_addr.address_list.next, in inet_diag_msg_sctpasoc_fill() 36 paddr = asoc->peer.primary_path->ipaddr; in inet_diag_msg_sctpasoc_fill() 37 dst = asoc->peer.primary_path->dst; in inet_diag_msg_sctpasoc_fill() 40 r->id.idiag_sport = htons(asoc->base.bind_addr.port); in inet_diag_msg_sctpasoc_fill() 41 r->id.idiag_dport = htons(asoc->peer.port); in inet_diag_msg_sctpasoc_fill() 59 r->idiag_state = asoc->state; in inet_diag_msg_sctpasoc_fill() 62 r->idiag_retrans = asoc->rtx_data_chunks; in inet_diag_msg_sctpasoc_fill() [all …]
|
D | output.c | 77 struct sctp_association *asoc = tp->asoc; in sctp_packet_config() local 91 if (asoc) { in sctp_packet_config() 92 sk = asoc->base.sk; in sctp_packet_config() 98 if (!asoc) in sctp_packet_config() 104 if (asoc->param_flags & SPP_PMTUD_ENABLE) in sctp_packet_config() 105 sctp_assoc_sync_pmtu(asoc); in sctp_packet_config() 107 asoc->param_flags & SPP_PMTUD_ENABLE) { in sctp_packet_config() 109 sctp_assoc_sync_pmtu(asoc); in sctp_packet_config() 112 if (asoc->pmtu_pending) { in sctp_packet_config() 113 if (asoc->param_flags & SPP_PMTUD_ENABLE) in sctp_packet_config() [all …]
|
D | transport.c | 168 if (transport->asoc) in sctp_transport_destroy() 169 sctp_association_put(transport->asoc); in sctp_transport_destroy() 231 struct sctp_association *asoc) in sctp_transport_set_owner() argument 233 transport->asoc = asoc; in sctp_transport_set_owner() 234 sctp_association_hold(asoc); in sctp_transport_set_owner() 248 struct sctp_association *asoc = transport->asoc; in sctp_transport_pmtu() local 250 if (!transport->pathmtu && asoc && asoc->pathmtu) in sctp_transport_pmtu() 251 transport->pathmtu = asoc->pathmtu; in sctp_transport_pmtu() 276 sctp_assoc_sync_pmtu(t->asoc); in sctp_transport_pl_send() 286 sctp_assoc_sync_pmtu(t->asoc); in sctp_transport_pl_send() [all …]
|
D | input.c | 91 struct sctp_association *asoc; in sctp_rcv() local 165 asoc = __sctp_rcv_lookup(net, skb, &src, &dest, &transport, dif, sdif); in sctp_rcv() 167 if (!asoc) in sctp_rcv() 171 rcvr = asoc ? &asoc->base : &ep->base; in sctp_rcv() 182 if (!asoc) { in sctp_rcv() 197 chunk = sctp_chunkify(skb, asoc, sk, GFP_ATOMIC); in sctp_rcv() 248 /* Release the asoc/ep ref we took in the lookup calls. */ in sctp_rcv() 262 /* Release the asoc/ep ref we took in the lookup calls. */ in sctp_rcv() 372 void sctp_icmp_frag_needed(struct sock *sk, struct sctp_association *asoc, in sctp_icmp_frag_needed() argument 382 asoc->pmtu_pending = 1; in sctp_icmp_frag_needed() [all …]
|
D | stream_interleave.c | 25 const struct sctp_association *asoc, in sctp_make_idatafrag_empty() argument 38 retval = sctp_make_idata(asoc, flags, sizeof(dp) + len, gfp); in sctp_make_idatafrag_empty() 59 stream = &chunk->asoc->stream; in sctp_chunk_assign_mid() 98 stream = &chunk->asoc->stream; in sctp_validate_data() 117 stream = &chunk->asoc->stream; in sctp_validate_idata() 192 sin = sctp_stream_in(&ulpq->asoc->stream, event->stream); in sctp_intl_retrieve_partial() 244 retval = sctp_make_reassembled_event(ulpq->asoc->base.net, &ulpq->reasm, in sctp_intl_retrieve_partial() 261 struct sctp_association *asoc = ulpq->asoc; in sctp_intl_retrieve_reassembled() local 272 sin = sctp_stream_in(&ulpq->asoc->stream, event->stream); in sctp_intl_retrieve_reassembled() 326 pd_point = sctp_sk(asoc->base.sk)->pd_point; in sctp_intl_retrieve_reassembled() [all …]
|
D | endpointola.c | 152 struct sctp_association *asoc) in sctp_endpoint_add_asoc() argument 160 if (asoc->temp) in sctp_endpoint_add_asoc() 164 list_add_tail(&asoc->asocs, &ep->asocs); in sctp_endpoint_add_asoc() 275 struct sctp_association *asoc = NULL; in sctp_endpoint_lookup_assoc() local 292 asoc = t->asoc; in sctp_endpoint_lookup_assoc() 295 return asoc; in sctp_endpoint_lookup_assoc() 330 struct sctp_association *asoc; in sctp_endpoint_bh_rcv() local 344 asoc = NULL; in sctp_endpoint_bh_rcv() 381 if (NULL == chunk->asoc) { in sctp_endpoint_bh_rcv() 382 asoc = sctp_endpoint_lookup_assoc(ep, in sctp_endpoint_bh_rcv() [all …]
|
/linux-6.12.1/sound/soc/mediatek/ |
D | Kconfig | 7 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 …]
|
/linux-6.12.1/include/net/sctp/ |
D | sm.h | 56 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 …]
|
D | auth.h | 73 int sctp_auth_asoc_init_active_key(struct sctp_association *asoc, gfp_t gfp); 75 const struct sctp_association *asoc, 78 struct sctp_association *asoc, 83 struct sctp_hmac *sctp_auth_asoc_get_hmac(const struct sctp_association *asoc); 84 void sctp_auth_asoc_set_default_hmac(struct sctp_association *asoc, 86 int sctp_auth_asoc_verify_hmac_id(const struct sctp_association *asoc, 89 const struct sctp_association *asoc); 91 const struct sctp_association *asoc); 92 void sctp_auth_calculate_hmac(const struct sctp_association *asoc, 102 int sctp_auth_set_key(struct sctp_endpoint *ep, struct sctp_association *asoc, [all …]
|
D | ulpevent.h | 39 struct sctp_association *asoc; member 74 const struct sctp_association *asoc, 87 const struct sctp_association *asoc, 92 const struct sctp_association *asoc, 99 const struct sctp_association *asoc, 106 const struct sctp_association *asoc, 111 const struct sctp_association *asoc, 116 const struct sctp_association *asoc, gfp_t gfp); 118 struct sctp_ulpevent *sctp_ulpevent_make_rcvmsg(struct sctp_association *asoc, 123 const struct sctp_association *asoc, __u16 key_id, [all …]
|
/linux-6.12.1/include/trace/events/ |
D | sctp.h | 14 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 …]
|
/linux-6.12.1/sound/soc/atmel/ |
D | Kconfig | 53 tristate "Atmel ASoC driver for boards using WM8904 codec" 59 Say Y if you want to add support for Atmel ASoC driver for boards using 73 tristate "Atmel ASoC driver for boards using CLASSD" 78 Say Y if you want to add support for Atmel ASoC driver for boards using 82 tristate "Atmel ASoC driver for boards using PDMIC" 87 Say Y if you want to add support for Atmel ASoC driver for boards using 91 tristate "ASoC driver for the Axentia TSE-850" 97 Say Y if you want to add support for the ASoC driver for the 101 tristate "Atmel ASoC driver for boards using I2S" 106 Say Y or M if you want to add support for Atmel ASoc driver for boards [all …]
|
/linux-6.12.1/sound/soc/intel/boards/ |
D | Kconfig | 6 Intel ASoC Machine Drivers. If you have a Intel machine that 12 the questions about Intel ASoC machine drivers. 72 This adds the ASoC machine driver for Intel Broadwell platforms with 116 This adds support for ASoC machine driver for Intel(R) Baytrail and Baytrail-CR 129 This adds support for ASoC machine driver for Intel(R) Baytrail and Baytrail-CR 142 This adds support for ASoC machine driver for Intel(R) Baytrail and Baytrail-CR 155 This adds support for ASoC machine driver for Intel(R) Cherrytrail & Braswell 167 This adds support for ASoC machine driver for Intel(R) Cherrytrail & Braswell 180 This adds support for ASoC machine driver for Intel(R) Cherrytrail & Braswell 192 This adds support for ASoC machine driver for Intel(R) Cherrytrail & Braswell [all …]
|
/linux-6.12.1/sound/soc/ |
D | soc-jack.c | 17 #include <trace/events/asoc.h> 82 * @jack: ASoC jack 106 * @jack: ASoC jack 126 * snd_soc_jack_add_pins - Associate DAPM pins with an ASoC jack 128 * @jack: ASoC jack created with snd_soc_card_jack_new_pins() 143 dev_err(jack->card->dev, "ASoC: No name for pin %d\n", in snd_soc_jack_add_pins() 148 dev_err(jack->card->dev, "ASoC: No mask for pin %d" in snd_soc_jack_add_pins() 171 * @jack: ASoC jack 190 * @jack: ASoC jack 301 * snd_soc_jack_add_gpios - Associate GPIO pins with an ASoC jack [all …]
|