/linux/arch/arm64/boot/dts/apple/ |
H A D | t600x-nvme.dtsi | 1 // 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 D | ib_recv.c | 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 24 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 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 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 D | ib_cm.c | 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 24 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 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() [all …]
|
/linux/drivers/isdn/mISDN/ |
H A D | stack.c | 1 // 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 D | dsp_core.c | 12 * 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/net/fddi/skfp/h/ |
H A D | targethw.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 37 #define OI_STAT_PRESENT 1 /* entry present but not empty */ 38 #define OI_STAT_VALID 2 /* holds valid ID, but is not active */ 109 * GENERIC ; do not modify beyond this line 123 struct mac_counter mac_ct ; /* recv., lost, error */
|
/linux/arch/mips/include/asm/sn/ |
H A D | ioc3.h | 1 /* 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 D | so_txtime.c | 1 // 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/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_connect.c | 1 // 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/Documentation/networking/ |
H A D | ipvs-sysctl.rst | 1 .. 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/tools/testing/selftests/bpf/ |
H A D | test_maps.c | 1 // 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() 70 /* Check that key=2 is not found. */ in test_hashmap() 75 /* key=2 is not there. */ in test_hashmap() 120 /* Check that map is empty. */ in test_hashmap() 178 /* Insert key=1 element which should not exist. */ in test_hashmap_percpu() 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() 199 /* Check that key=2 is not found. */ in test_hashmap_percpu() [all …]
|
/linux/tools/testing/selftests/mqueue/ |
H A D | mq_perf_tests.c | 47 " %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" 67 " CPUs locked away from the test workload, but not doing\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 [all …]
|
/linux/drivers/net/ethernet/altera/ |
H A D | altera_sgdma.c | 1 // 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/drivers/watchdog/ |
H A D | mei_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0 40 * enum mei_wdt_state - internal watchdog state 43 * @MEI_WDT_IDLE: wd is idle and not opened 47 * @MEI_WDT_NOT_REQUIRED: wd device is not required 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 [all …]
|
/linux/kernel/bpf/ |
H A D | cpumap.c | 1 // 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/tools/net/ynl/pyynl/lib/ |
H A D | ynl.py | 1 # 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/net/wireless/ath/ath6kl/ |
H A D | hif.c | 2 * 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/chelsio/cxgb3/ |
H A D | adapter.h | 2 * 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 24 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 33 /* This file should not be included directly. Include common.h instead. */ 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 */ [all …]
|
/linux/Documentation/admin-guide/ |
H A D | dynamic-debug-howto.rst | 9 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 …]
|
/linux/drivers/misc/ |
H A D | hpilo.c | 1 // 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/drivers/atm/ |
H A D | eni.c | 1 // 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/ipc/ |
H A D | mqueue.c | 56 #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/testing/selftests/bpf/prog_tests/ |
H A D | select_reuseport.c | 1 // 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/crypto/hisilicon/sec/ |
H A D | sec_drv.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright (c) 2016-2017 HiSilicon Limited. */ 71 /* Multi purpose field - gran size bits for send, flag for recv */ 173 * struct sec_queue_ring_cmd - store information about a SEC HW cmd ring 174 * @used: Local counter used to cheaply establish if the ring is empty. 231 * struct sec_alg_tfm_ctx - hardware specific tranformation context 254 * struct sec_request - data associate with a single crypto request 261 * @dma_iv: initialization vector - phsyical address 289 * struct sec_request_el - A subpart of a request. 292 * @in: hardware sgl for input - virtual address [all …]
|
/linux/tools/accounting/ |
H A D | getdelays.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Utility to get per-pid and per-tgid delay accounting statistics 12 * gcc -I/usr/src/linux/include getdelays.c -o getdelays 38 #define GENLMSG_PAYLOAD(glh) (NLMSG_PAYLOAD(glh, 0) - GENL_HDRLEN) 40 #define NLA_PAYLOAD(len) (len - NLA_HDRLEN) 76 fprintf(stderr, "getdelays [-dilv] [-w logfile] [-r bufsize] " in usage() 77 "[-m cpumask] [-t tgid] [-p pid]\n"); in usage() 78 fprintf(stderr, " -d: print delayacct stats\n"); in usage() 79 fprintf(stderr, " -i: print IO accounting (works only with -p)\n"); in usage() 80 fprintf(stderr, " -l: listen forever\n"); in usage() [all …]
|