Home
last modified time | relevance | path

Searched +full:recv +full:- +full:empty (Results 1 – 25 of 86) sorted by relevance

1234

/linux/arch/arm64/boot/dts/apple/
H A Dt600x-nvme.dtsi1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
9 compatible = "apple,t6000-asc-mailbox", "apple,asc-mailbox-v4";
11 interrupt-parent = <&aic>;
16 interrupt-names = "send-empty", "send-not-empty",
17 "recv-empty", "recv-not-empty";
18 power-domains = <&DIE_NODE(ps_ans2)>;
19 #mbox-cells = <0>;
23 compatible = "apple,t6000-sart";
25 power-domains = <&DIE_NODE(ps_ans2)>;
29 compatible = "apple,t6000-nvme-ans2", "apple,nvme-ans2";
[all …]
/linux/net/rds/
H A Dib_recv.c14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
37 #include <linux/dma-mapping.h>
50 struct rds_ib_recv_work *recv; in rds_ib_recv_init_ring() local
53 for (i = 0, recv = ic->i_recvs; i < ic->i_recv_ring.w_nr; i++, recv++) { in rds_ib_recv_init_ring()
56 recv->r_ibin in rds_ib_recv_init_ring()
225 rds_ib_recv_clear_one(struct rds_ib_connection * ic,struct rds_ib_recv_work * recv) rds_ib_recv_clear_one() argument
309 rds_ib_recv_refill_one(struct rds_connection * conn,struct rds_ib_recv_work * recv,gfp_t gfp) rds_ib_recv_refill_one() argument
386 struct rds_ib_recv_work *recv; rds_ib_recv_refill() local
850 rds_ib_process_recv(struct rds_connection * conn,struct rds_ib_recv_work * recv,u32 data_len,struct rds_ib_ack_state * state) rds_ib_process_recv() argument
989 struct rds_ib_recv_work *recv; rds_ib_recv_cqe_handler() local
[all...]
H A Dib_cm.c14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
51 conn->c_version = version; in rds_ib_set_protocol()
59 struct rds_ib_connection *ic = conn->c_transport_data; in rds_ib_set_flow_control()
63 ic->i_flowctl = 1; in rds_ib_set_flow_control()
66 ic->i_flowctl = 0; in rds_ib_set_flow_control()
76 struct rds_ib_connection *ic = conn->c_transport_data; in rds_ib_cm_connect_complete()
84 dp = event->param.conn.private_data; in rds_ib_cm_connect_complete()
85 if (conn->c_isv6) { in rds_ib_cm_connect_complete()
86 if (event->param.conn.private_data_len >= in rds_ib_cm_connect_complete()
[all …]
/linux/drivers/isdn/mISDN/
H A Dstack.c1 // SPDX-License-Identifier: GPL-2.0-only
27 __func__, hh->prim, hh->id, skb); in _queue_message()
28 skb_queue_tail(&st->msgq, skb); in _queue_message()
29 if (likely(!test_bit(mISDN_STACK_STOPPED, &st->status))) { in _queue_message()
30 test_and_set_bit(mISDN_STACK_WORK, &st->status); in _queue_message()
31 wake_up_interruptible(&st->workq); in _queue_message()
38 _queue_message(ch->st, skb); in mISDN_queue_message()
47 mutex_lock(&st->lmutex); in get_channel4id()
48 list_for_each_entry(ch, &st->layer2, list) { in get_channel4id()
49 if (id == ch->nr) in get_channel4id()
[all …]
H A Ddsp_core.c12 * Real-time tone generation
14 * Real-time cross-connection and conferrence
23 * The dsp module provides layer 2 for b-channels (64kbit). It provides
26 * - (1) generation of tones
27 * - (2) detection of dtmf tones
28 * - (3) crossconnecting and conferences (clocking)
29 * - (4) echo generation for delay test
30 * - (5) volume control
31 * - (6) disable receive data
32 * - (7) pipeline
[all …]
/linux/drivers/infiniband/ulp/rtrs/
H A DREADME15 RTRS provides I/O fail-over and load-balancing capabilities by using
17 Documentation/ABI/testing/sysfs-class-rtrs-client).
26 --------
64 ------------------------
93 (i.e. steps 1-4 finished for all paths requested for a session)
95 6. Server and client exchange periodically heartbeat messages (empty rdma
105 RTRS_MSG_CON_REQ ------------------->
106 <------------------- RTRS_MSG_CON_RSP
109 RTRS_MSG_INFO_REQ ------------------->
110 <------------------- RTRS_MSG_INFO_RSP
[all …]
/linux/arch/mips/include/asm/sn/
H A Dioc3.h1 /* SPDX-License-Identifier: GPL-2.0 */
50 u8 fill0[0x151 - 0x142 - 1];
56 u8 fill1[0x159 - 0x153 - 1];
62 u8 fill2[0x16a - 0x15b - 1];
67 u8 fill3[0x170 - 0x16b - 1];
153 u32 pad1[(0x20000 - 0x00154) / 4];
157 u32 pad2[(0x40000 - 0x20180) / 4];
160 u32 ssram[(0x80000 - 0x40000) / 4];
163 0x80000 - Access to the generic devices selected with DEV0
165 0xA0000 - Access to the generic devices selected with DEV1
[all …]
/linux/tools/testing/selftests/net/
H A Dso_txtime.c1 // SPDX-License-Identifier: GPL-2.0
8 * mode using the '-r' option. Receiver will compare arrival timestamps to
10 * queue. The streams can differ due to out-of-order delivery and drops.
82 iov.iov_base = &ts->data; in do_send_one()
90 if (ts->delay_us >= 0) { in do_send_one()
95 tdeliver = glob_tstart + ts->delay_us * 1000; in do_send_one()
100 cm->cmsg_level = SOL_SOCKET; in do_send_one()
101 cm->cmsg_type = SCM_TXTIME; in do_send_one()
102 cm->cmsg_len = CMSG_LEN(sizeof(tdeliver)); in do_send_one()
107 if (ret == -1) in do_send_one()
[all …]
/linux/fs/smb/common/smbdirect/
H A Dsmbdirect_socket.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
114 * shortcuts for rdma.cm_id->{qp,device};
209 * The credit state for the recv side
217 * The list of arrived non-empty smbdirect_recv_io
330 init_waitqueue_head(&sc->status_wait); in smbdirect_socket_init()
332 INIT_WORK(&sc->disconnect_work, __smbdirect_socket_disabled_work); in smbdirect_socket_init()
333 disable_work_sync(&sc->disconnect_work); in smbdirect_socket_init()
335 INIT_WORK(&sc->idle.immediate_work, __smbdirect_socket_disabled_work); in smbdirect_socket_init()
336 disable_work_sync(&sc->idle.immediate_work); in smbdirect_socket_init()
337 INIT_DELAYED_WORK(&sc->idle.timer_work, __smbdirect_socket_disabled_work); in smbdirect_socket_init()
[all …]
/linux/drivers/net/fddi/skfp/h/
H A Dtargethw.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
37 #define OI_STAT_PRESENT 1 /* entry present but not empty */
123 struct mac_counter mac_ct ; /* recv., lost, error */
/linux/tools/testing/selftests/net/mptcp/
H A Dmptcp_connect.c1 // SPDX-License-Identifier: GPL-2.0
111 fprintf(stderr, "Usage: mptcp_connect [-6] [-c cmsg] [-f offset] [-i file] [-I num] [-j] [-l] " in die_usage()
112 "[-m mode] [-M mark] [-o option] [-p port] [-P mode] [-r num] [-R num] " in die_usage()
113 "[-s MPTCP|TCP] [-S num] [-t num] [-T num] [-w sec] connect_address\n"); in die_usage()
114 fprintf(stderr, "\t-6 use ipv6\n"); in die_usage()
115 fprintf(stderr, "\t-c cmsg -- test cmsg type <cmsg>\n"); in die_usage()
116 fprintf(stderr, "\t-f offset -- stop the I/O after receiving and sending the specified amount " in die_usage()
120 fprintf(stderr, "\t-i file -- read the data to send from the given file instead of stdin"); in die_usage()
121 fprintf(stderr, "\t-I num -- repeat the transfer 'num' times. In listen mode accepts num " in die_usage()
123 fprintf(stderr, "\t-j -- add additional sleep at connection start and tear down " in die_usage()
[all …]
/linux/tools/testing/selftests/bpf/
H A Dtest_maps.c1 // SPDX-License-Identifier: GPL-2.0-only
55 /* -1 is an invalid flag. */ in test_hashmap()
56 assert(bpf_map_update_elem(fd, &key, &value, -1) < 0 && in test_hashmap()
120 /* Check that map is empty. */ in test_hashmap()
187 /* -1 is an invalid flag. */ in test_hashmap_percpu()
188 assert(bpf_map_update_elem(fd, &key, value, -1) < 0 && in test_hashmap_percpu()
254 /* Check that map is empty. */ in test_hashmap_percpu()
317 assert(value[0] - 1 == key); in test_hashmap_walk()
443 bpf_percpu(values, nr_cpus - 1) == 0); in test_arraymap_percpu()
483 printf("Failed to create per-cpu arraymap '%s'!\n", in test_arraymap_percpu_many_keys()
[all …]
/linux/tools/testing/selftests/mqueue/
H A Dmq_perf_tests.c47 " %s [-c #[,#..] -f] path\n"
49 " -c # Skip most tests and go straight to a high queue depth test\n"
59 " -f Only usable with continuous mode. Pin ourself to the CPUs\n"
99 mqd_t queue = -1;
120 "re-run the tests using fake mode in order to check "
136 "the no-mqueue work and mqueue work tests",
192 if (queue != -1) in shutdown()
283 * open_queue - open the global queue for testing
284 * @attr - An attr struct specifying the desired queue traits
285 * @result - An attr struct that lists the actual traits the queue has
[all …]
/linux/Documentation/networking/
H A Dipvs-sysctl.rst1 .. SPDX-License-Identifier: GPL-2.0
4 IPvs-sysctl
10 am_droprate - INTEGER
16 amemthresh - INTEGER
25 backup_only - BOOLEAN
26 - 0 - disabled (default)
27 - not 0 - enabled
32 conn_reuse_mode - INTEGER
33 1 - default
52 conntrack - BOOLEAN
[all …]
/linux/drivers/net/wireless/ath/ath6kl/
H A Dhif.c2 * Copyright (c) 2007-2011 Atheros Communications Inc.
3 * Copyright (c) 2011-2012 Qualcomm Atheros, Inc.
23 #include "hif-ops.h"
37 buf = req->virt_dma_buf; in ath6kl_hif_cp_scat_dma_buf()
39 for (i = 0; i < req->scat_entries; i++) { in ath6kl_hif_cp_scat_dma_buf()
41 memcpy(req->scat_list[i].buf, buf, in ath6kl_hif_cp_scat_dma_buf()
42 req->scat_list[i].len); in ath6kl_hif_cp_scat_dma_buf()
44 memcpy(buf, req->scat_list[i].buf, in ath6kl_hif_cp_scat_dma_buf()
45 req->scat_list[i].len); in ath6kl_hif_cp_scat_dma_buf()
47 buf += req->scat_list[i].len; in ath6kl_hif_cp_scat_dma_buf()
[all …]
/linux/drivers/net/ethernet/altera/
H A Daltera_sgdma.c1 // SPDX-License-Identifier: GPL-2.0-only
56 priv->txctrlreg = SGDMA_CTRLREG_ILASTD | in sgdma_initialize()
59 priv->rxctrlreg = SGDMA_CTRLREG_IDESCRIP | in sgdma_initialize()
63 INIT_LIST_HEAD(&priv->txlisthd); in sgdma_initialize()
64 INIT_LIST_HEAD(&priv->rxlisthd); in sgdma_initialize()
66 priv->rxdescphys = (dma_addr_t) 0; in sgdma_initialize()
67 priv->txdescphys = (dma_addr_t) 0; in sgdma_initialize()
69 priv->rxdescphys = dma_map_single(priv->device, in sgdma_initialize()
70 (void __force *)priv->rx_dma_desc, in sgdma_initialize()
71 priv->rxdescmem, DMA_BIDIRECTIONAL); in sgdma_initialize()
[all …]
/linux/kernel/bpf/
H A Dcpumap.c1 // SPDX-License-Identifier: GPL-2.0-only
14 * CPU will do SKB-allocation and call the normal network stack.
20 * basically allows for 10G wirespeed pre-filtering via bpf.
40 * will maximum be stored/queued for one driver ->poll() call. It is
46 #define CPU_MAP_BULK_SIZE 8 /* 8 == one cacheline on 64-bit archs */
62 /* XDP can run multiple RX-ring queues, need __percpu enqueue store */
65 /* Queue with potential multi-producers, and single-consumer kthread */
85 u32 value_size = attr->value_size; in cpu_map_alloc()
89 if (attr->max_entries == 0 || attr->key_size != 4 || in cpu_map_alloc()
92 attr->map_flags & ~BPF_F_NUMA_NODE) in cpu_map_alloc()
[all …]
/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dadapter.h2 * Copyright (c) 2003-2008 Chelsio, Inc. All rights reserved.
14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
63 int (*recv)(struct port_info *pi, struct sk_buff *skb); member
102 struct sge_fl { /* SGE per free-buffer list state */
118 unsigned long empty; /* # of times queue ran out of buffers */ member
139 within current sop-eop */
150 unsigned long pure_rsps; /* # of pure (non-data) responses */
154 unsigned long empty; /* # of times queue ran out of credits */ member
166 unsigned int in_use; /* # of in-use Tx descriptors */
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dselect_reuseport.c1 // SPDX-License-Identifier: GPL-2.0
37 static int reuseport_array = -1, outer_map = -1;
60 return -1; \
141 sa->family = family; in sa46_init_loopback()
142 if (sa->family == AF_INET6) in sa46_init_loopback()
143 sa->v6.sin6_addr = in6addr_loopback; in sa46_init_loopback()
145 sa->v4.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in sa46_init_loopback()
151 sa->family = family; in sa46_init_inany()
152 if (sa->family == AF_INET6) in sa46_init_inany()
153 sa->v6.sin6_addr = in6addr_any; in sa46_init_inany()
[all …]
/linux/drivers/atm/
H A Deni.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* drivers/atm/eni.c - Efficient Networks ENI155P device driver */
4 /* Written 1995-2000 by Werner Almesberger, EPFL LRC/ICA */
41 * - OAM support
42 * - fix bugs listed below
48 * - may run into JK-JK bug and deadlock
49 * - should allocate UBR channel first
50 * - buffer space allocation algorithm is stupid
53 * - doesn't support OAM cells
54 * - eni_put_free may hang if not putting memory fragments that _complete_
[all …]
/linux/drivers/watchdog/
H A Dmei_wdt.c1 // SPDX-License-Identifier: GPL-2.0
40 * enum mei_wdt_state - internal watchdog state
79 * struct mei_wdt - mei watchdog driver
109 * struct mei_mc_hdr - Management Control Command Header
124 * struct mei_wdt_start_request - watchdog start/ping
137 * struct mei_wdt_start_response - watchdog start/ping response
150 * struct mei_wdt_stop_request - watchdog stop
159 * mei_wdt_ping - send wd start/ping command
174 req.hdr.bytecount = req_len - offsetof(struct mei_mc_hdr, subcommand); in mei_wdt_ping()
177 req.timeout = wdt->timeout; in mei_wdt_ping()
[all …]
/linux/ipc/
H A Dmqueue.c56 #define RECV 1 macro
70 * Accesses to a message queue are synchronized by acquiring info->lock.
73 * - The actual wakeup of a sleeping task is performed using the wake_q
74 * framework. info->lock is already released when wake_up_q is called.
75 * - The exit codepaths after sleeping check ext_wait_queue->state without
77 * acquiring info->lock.
94 * ->state = STATE_READY (reordered)
102 * the smp_store_release() that does ->state = STATE_READY.
116 * receiver->msg = message; (reordered)
120 * 3) There is intentionally no barrier when setting current->state
[all …]
/linux/tools/net/ynl/pyynl/lib/
H A Dynl.py1 # SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
98 'binary', 'string', 'nul-string',
99 'nested', 'nested-array',
105 self.error = -nl_msg.error
140 return format.big if byte_order == "big-endian" \
150 raise Exception(f"Auto-scala
[all...]
/linux/drivers/misc/
H A Dhpilo.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2008 Hewlett-Packard Development Company, L.P.
66 * If a queue has empty slots, an entry is added to the queue tail,
79 spin_lock_irqsave(&hw->fifo_lock, flags); in fifo_enqueue()
80 if (!(fifo_q->fifobar[(fifo_q->tail + 1) & fifo_q->imask] in fifo_enqueue()
82 fifo_q->fifobar[fifo_q->tail & fifo_q->imask] |= in fifo_enqueue()
83 (entry & ENTRY_MASK_NOSTATE) | fifo_q->merge; in fifo_enqueue()
84 fifo_q->tail += 1; in fifo_enqueue()
87 spin_unlock_irqrestore(&hw->fifo_lock, flags); in fifo_enqueue()
99 spin_lock_irqsave(&hw->fifo_lock, flags); in fifo_dequeue()
[all …]
/linux/Documentation/admin-guide/
H A Ddynamic-debug-howto.rst9 debug-print code to obtain additional kernel information.
22 - source filename
23 - function name
24 - line number (including ranges of line numbers)
25 - module name
26 - format string
27 - class name (as known/declared by each module)
29 NOTE: To actually get the debug-print output on the console, you may
32 Documentation/admin-guide/kernel-parameters.rst.
39 :#> head -n7 /proc/dynamic_debug/control
[all …]

1234