Home
last modified time | relevance | path

Searched +full:shutdown +full:- +full:ack (Results 1 – 25 of 222) sorted by relevance

123456789

/linux/net/sctp/
H A Dsm_statefuns.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright (c) 1999-2000 Cisco, Inc.
5 * Copyright (c) 1999-2001 Motorola, Inc.
6 * Copyright (c) 2001-2002 Intel Corp.
15 * lksctp developers <linux-sctp@vger.kernel.org>
176 __u16 chunk_length = ntohs(chunk->chunk_hdr->length); in sctp_chunk_length_valid()
179 if (unlikely(chunk->pdiscard)) in sctp_chunk_length_valid()
192 sctp_walk_errors(err, chunk->chunk_hdr); in sctp_err_chunk_valid()
194 return (void *)err == (void *)chunk->chunk_end; in sctp_err_chunk_valid()
202 * Process the final SHUTDOWN COMPLETE.
[all …]
H A Doutqueue.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright (c) 1999-2000 Cisco, Inc.
5 * Copyright (c) 1999-2001 Motorola, Inc.
6 * Copyright (c) 2001-2003 Intel Corp.
15 * lksctp developers <linux-sctp@vger.kernel.org>
65 list_add(&ch->list, &q->out_chunk_list); in sctp_outq_head_data()
66 q->out_qlen += ch->skb->len; in sctp_outq_head_data()
69 oute = SCTP_SO(&q->asoc->stream, stream)->ext; in sctp_outq_head_data()
70 list_add(&ch->stream_list, &oute->outq); in sctp_outq_head_data()
76 return q->sched->dequeue(q); in sctp_outq_dequeue_data()
[all …]
H A Dsm_sideeffect.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (c) 1999-2001 Motorola, Inc.
15 * lksctp developers <linux-sctp@vger.kernel.org>
69 asoc->last_ecne_tsn = lowest_tsn; in sctp_do_ecn_ce_work()
70 asoc->need_ecne = 1; in sctp_do_ecn_ce_work()
93 * and then ACK our peer that we we've done so by in sctp_do_ecn_ecne_work()
101 if (TSN_lt(asoc->last_cwr_tsn, 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()
131 /* Turn off ECNE getting auto-prepended to every outgoing in sctp_do_ecn_cwr_work()
[all …]
/linux/drivers/remoteproc/
H A Dqcom_sysmon.c1 // SPDX-License-Identifier: GPL-2.0
76 * sysmon_send_event() - send notification of other remote's SSR event
87 len = snprintf(req, sizeof(req), "ssr:%s:%s", event->subsys_name, in sysmon_send_event()
88 sysmon_state_string[event->ssr_event]); in sysmon_send_event()
92 mutex_lock(&sysmon->lock); in sysmon_send_event()
93 reinit_completion(&sysmon->comp); in sysmon_send_event()
94 sysmon->ssr_ack = false; in sysmon_send_event()
96 ret = rpmsg_send(sysmon->ept, req, len); in sysmon_send_event()
98 dev_err(sysmon->dev, "failed to send sysmon event\n"); in sysmon_send_event()
102 ret = wait_for_completion_timeout(&sysmon->comp, in sysmon_send_event()
[all …]
/linux/Documentation/devicetree/bindings/remoteproc/
H A Dqcom,sc7280-adsp-pil.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/remoteproc/qcom,sc7280-adsp-pil.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Srinivasa Rao Mandadapu <quic_srivasam@quicinc.com>
19 - qcom,sc7280-adsp-pil
23 - description: qdsp6ss register
24 - description: efuse q6ss register
28 - description: Phandle to apps_smmu node with sid mask
32 - description: Watchdog interrupt
[all …]
H A Dqcom,sc7180-mss-pil.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/remoteproc/qcom,sc7180-mss-pil.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sibi Sankar <quic_sibis@quicinc.com>
19 - qcom,sc7180-mss-pil
23 - description: MSS QDSP6 registers
24 - description: RMB registers
26 reg-names:
28 - const: qdsp6
[all …]
H A Dqcom,sc7280-mss-pil.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/remoteproc/qcom,sc7280-mss-pil.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sibi Sankar <quic_sibis@quicinc.com>
19 - qcom,sc7280-mss-pil
23 - description: MSS QDSP6 registers
24 - description: RMB registers
26 reg-names:
28 - const: qdsp6
[all …]
H A Dqcom,pas-common.yaml1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/remoteproc/qcom,pas-common.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
20 clock-names:
30 - description: Watchdog interrupt
31 - description: Fatal interrupt
32 - description: Ready interrupt
33 - description: Handover interrupt
[all …]
H A Dst,stm32-rproc.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/remoteproc/st,stm32-rproc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
14 - Fabien Dessenne <fabien.dessenne@foss.st.com>
15 - Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
19 const: st,stm32mp1-m4
31 reset-names:
33 - const: mcu_rst
34 - const: hold_boot
[all …]
H A Dqcom,sdx55-pas.yaml1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/remoteproc/qcom,sdx55-pas.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
19 - qcom,sdx55-mpss-pas
26 - description: XO clock
28 clock-names:
30 - const: xo
35 interrupt-names:
[all …]
H A Dqcom,sc8280xp-pas.yaml1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/remoteproc/qcom,sc8280xp-pas.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
19 - qcom,sc8280xp-adsp-pas
20 - qcom,sc8280xp-nsp0-pas
21 - qcom,sc8280xp-nsp1-pas
28 - description: XO clock
30 clock-names:
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dcgroup_tcp_skb.c1 // SPDX-License-Identifier: GPL-2.0
24 skel->bss->g_sock_state = 0; in install_filters()
25 skel->bss->g_unexpected = 0; in install_filters()
30 return -1; in install_filters()
35 return -1; in install_filters()
56 return -1; in create_client_sock_v6()
73 return -1; in talk_to_cgroup()
76 return -1; in talk_to_cgroup()
79 return -1; in talk_to_cgroup()
82 return -1; in talk_to_cgroup()
[all …]
H A Dmigrate_reuseport.c1 // SPDX-License-Identifier: GPL-2.0
10 * 5. call shutdown() for first 4 server sockets
14 * 7. call shutdown() for the last server
18 * 9. call shutdown() for the second server
41 #define MIGRATED_TO (NR_SERVERS - 1)
43 /* fastopenq->max_qlen and sk->sk_max_ack_backlog */
133 fds[i] = -1; in init_fds()
141 if (fds[i] != -1) { in close_fds()
143 fds[i] = -1; in close_fds()
153 if (!ASSERT_NEQ(fd, -1, "open")) in setup_fastopen()
[all …]
/linux/drivers/net/dsa/realtek/
H A Drealtek-smi.c1 // SPDX-License-Identifier: GPL-2.0+
5 * The SMI protocol piggy-backs the MDIO MDC and MDIO signals levels
7 * pecularity that need to bit-bang the lines in a special way to
12 * RTL8366 - The original version, apparently
13 * RTL8369 - Similar enough to have the same datsheet as RTL8366
14 * RTL8366RB - Probably reads out "RTL8366 revision B", has a quite
16 * RTL8366S - Is this "RTL8366 super"?
17 * RTL8367 - Has an OpenWRT driver as well
18 * RTL8368S - Seems to be an alternative name for RTL8366RB
19 * RTL8370 - Also uses SMI
[all …]
/linux/fs/dlm/
H A Dmidcomms.c1 // SPDX-License-Identifier: GPL-2.0-only
5 ** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
6 ** Copyright (C) 2004-2021 Red Hat, Inc. All rights reserved.
15 * This is the appallingly named "mid-level" comms layer. It takes care about
29 * Due the fact that dlm has pre-configured node addresses on every side
33 * compatibility these messages are not covered by the midcomms re-transmission
34 * layer. These messages have their own re-transmission handling in the dlm
43 * like TCP supports it with half-closed socket support. SCTP doesn't support
44 * half-closed socket, so we do it on DLM layer. Also socket shutdown() can be
61 * +---------+
[all …]
/linux/include/net/sctp/
H A Dcommand.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 * Copyright (C) 1999-2001 Cisco, Motorola
12 * lksctp developers <linux-sctp@vger.kernel.org>
34 SCTP_CMD_GEN_SACK, /* Send a Selective ACK (maybe). */
36 SCTP_CMD_GEN_INIT_ACK, /* Generate an INIT ACK chunk. */
55 SCTP_CMD_COOKIEECHO_RESTART, /* High level, do cookie-echo timer work. */
68 SCTP_CMD_PROCESS_CTSN, /* Sideeffect from shutdown. */
71 SCTP_CMD_GEN_SHUTDOWN, /* Generate a SHUTDOWN chunk. */
73 SCTP_CMD_SETUP_T2, /* Hi-level, setup T2-shutdown parms. */
79 SCTP_CMD_REPORT_FWDTSN, /* Report new cumulative TSN Ack. */
[all …]
H A Dstructs.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 * Copyright (c) 1999-2000 Cisco, Inc.
5 * Copyright (c) 1999-2001 Motorola, Inc.
12 * lksctp developers <linux-sctp@vger.kernel.org>
36 #include <linux/generic-radix-tree.h>
37 #include <linux/rhashtable-types.h>
260 /* This is our APPLICATION-SPECIFIC state cookie.
272 * Verification: in the INIT or INIT ACK chunk.
309 * Include the source port of the INIT-ACK
329 * the association TCB is re-constructed from the cookie.
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
H A Dg84.c32 struct nvkm_device *device = therm->subdev.device; in g84_temp_get()
34 if (nvkm_fuse_read(device->fuse, 0x1a8) == 1) in g84_temp_get()
37 return -ENODEV; in g84_temp_get()
43 struct nvkm_device *device = therm->subdev.device; in g84_sensor_setup()
46 if (nvkm_fuse_read(device->fuse, 0x1a8) == 1) { in g84_sensor_setup()
56 struct nvbios_therm_sensor *sensor = &therm->bios_sensor; in g84_therm_program_alarms()
57 struct nvkm_subdev *subdev = &therm->subdev; in g84_therm_program_alarms()
58 struct nvkm_device *device = subdev->device; in g84_therm_program_alarms()
61 spin_lock_irqsave(&therm->sensor.alarm_program_lock, flags); in g84_therm_program_alarms()
63 /* enable RISING and FALLING IRQs for shutdown, THRS 0, 1, 2 and 4 */ in g84_therm_program_alarms()
[all …]
/linux/include/linux/
H A Dkvm_irqfd.h1 /* SPDX-License-Identifier: GPL-2.0-only */
17 * trigger. On acknowledgment through the irq ack notifier, the
18 * interrupt is de-asserted and userspace is notified through the
19 * resamplefd. All resamplers on the same gsi are de-asserted
27 * RCU list modified under kvm->irqfds.resampler_lock
32 * Entry in list of kvm->irqfd.resampler_list. Use for sharing
34 * RCU list modified under kvm->irqfds.resampler_lock
40 /* Used for MSI fast-path */
46 /* Used for level IRQ fast-path */
49 /* The resampler used by this irqfd (resampler-only) */
[all …]
H A Dmailbox_controller.h1 /* SPDX-License-Identifier: GPL-2.0-only */
15 * struct mbox_chan_ops - methods to control mailbox channels
18 * data is accepted for transmission, -EBUSY while rejecting
21 * mbox_chan_txdone (if it has some TX ACK irq). It must not
32 * @shutdown: Called when a client relinquishes control of a chan.
40 * mode 'send_data' is expected to return -EBUSY.
50 void (*shutdown)(struct mbox_chan *chan); member
56 * struct mbox_controller - Controller of a class of communication channels
63 * Eg, if it has some TX ACK irq.
106 * struct mbox_chan - s/w representation of a communication chan
/linux/net/netfilter/
H A Dnf_conntrack_proto_sctp.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Copyright (c) 2004-2012 Patrick McHardy <kaber@trash.net>
72 point. Please note the subtleties. -Kiran
74 NONE - Nothing so far.
75 COOKIE WAIT - We have seen an INIT chunk in the original direction, or also
77 COOKIE ECHOED - We have seen a COOKIE_ECHO chunk in the original direction.
78 ESTABLISHED - W
[all...]
/linux/Documentation/driver-api/surface_aggregator/
H A Dinternal.rst1 .. SPDX-License-Identifier: GPL-2.0+
54 internal-api
63 Lower-level packet transport is implemented in the *packet transport layer
68 packet payloads to higher-level layers.
71 around command-type packet payloads, i.e. requests (sent from host to EC),
90 Refer to Documentation/driver-api/surface_aggregator/client.rst for
93 that chapter and the Documentation/driver-api/surface_aggregator/ssh.rst
104 -------
153 ------------
163 re-submitted to this queue due to timeouts or NAK packets sent by the EC.
[all …]
/linux/net/batman-adv/
H A Dtp_meter.c1 // SPDX-License-Identifier: GPL-2.0
45 #include "hard-interface.h"
52 * BATADV_TP_DEF_TEST_LENGTH - Default test length if not specified by the user
58 * BATADV_TP_AWND - Advertised window by the receiver (in bytes)
63 * BATADV_TP_RECV_TIMEOUT - Receiver activity timeout. If the receiver does not
69 * BATADV_TP_MAX_RTO - Maximum sender timeout. If the sender RTO gets beyond
76 * BATADV_TP_FIRST_SEQ - First seqno of each session. The number is rather high
79 #define BATADV_TP_FIRST_SEQ ((u32)-1 - 2000)
82 * BATADV_TP_PLEN - length of the payload (data after the batadv_unicast header)
85 #define BATADV_TP_PLEN (BATADV_TP_PACKET_LEN - ETH_HLEN - \
[all …]
/linux/Documentation/i2c/
H A Dgpio-fault-injection.rst12 'i2c-fault-injector' subdirectory in the Kernel debugfs filesystem, usually
15 injection. They will be described now along with their intended use-cases.
21 -----
31 -----
56 --------------------------
60 it will stop at the ACK phase after the address of the client has been
61 transmitted. Because the device will ACK its presence, this results in SDA
68 -----------------------
73 The injector will again stop at one ACK phase, so the device will keep SDA low
78 b) after the address byte, a 0x00 byte will be transferred. Then, stop at ACK.
[all …]
/linux/net/rds/
H A Dtcp_send.c14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
43 struct rds_tcp_connection *tc = cp->cp_transport_data; in rds_tcp_xmit_path_prepare()
45 tcp_sock_set_cork(tc->t_sock->sk, true); in rds_tcp_xmit_path_prepare()
50 struct rds_tcp_connection *tc = cp->cp_transport_data; in rds_tcp_xmit_path_complete()
52 tcp_sock_set_cork(tc->t_sock->sk, false); in rds_tcp_xmit_path_complete()
55 /* the core send_sem serializes this with other xmit and shutdown */
69 /* the core send_sem serializes this with other xmit and shutdown */
73 struct rds_conn_path *cp = rm->m_inc.i_conn_path; in rds_tcp_xmit()
74 struct rds_tcp_connection *tc = cp->cp_transport_data; in rds_tcp_xmit()
[all …]

123456789