/linux/drivers/misc/sgi-xp/ |
H A D | xp.h | 7 * Copyright (C) 2004-2008 Silicon Graphics, Inc. All rights reserved. 45 * other partition that is currently up. Over these channels, kernel-level 56 * interface-shared info to fit in one 128-byte cacheline. 61 #define XPC_MAX_NCHANNELS 2 /* max #of channels allowed */ 74 #define XPC_MSG_PAYLOAD_MAX_SIZE (XPC_MSG_MAX_SIZE - XPC_MSG_HDR_MAX_SIZE) 147 xpOtherGoingDown, /* 44: other side going down, reason unknown */ 148 xpSystemGoingDown, /* 45: system is going down, reason unknown */ 174 xpUnknownReason /* 63: unknown reason - must be last in enum */ 184 * reason - reason code. 185 * partid - partition ID associated with condition. [all …]
|
/linux/Documentation/netlink/specs/ |
H A D | ovpn.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 5 # Copyright (c) 2024-2025, OpenVPN Inc. 7 --- 15 - 17 name: nonce-tail-size 19 - 21 name: cipher-alg 22 entries: [none, aes-gcm, chacha20-poly1305] 23 - 25 name: del-peer-reason [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | msm8916-longcheer-l8150.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-pm8916.dtsi" 6 #include "msm8916-modem-qdsp6.dtsi" 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/leds/common.h> 16 chassis-type = "handset"; 25 stdout-path = "serial0"; [all …]
|
/linux/include/uapi/scsi/fc/ |
H A D | fc_fs.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 5 * Maintained at www.Open-FCoE.org 15 * From T11 FC-FS-2 Rev 0.90 - 9 August 2005. 42 #define FC_MAX_PAYLOAD 2112U /* max payload length in bytes */ 43 #define FC_MIN_MAX_PAYLOAD 256U /* lower limit on max payload */ 49 * fh_r_ctl - Routing control definitions. 52 * FC-4 device_data. 72 FC_RCTL_ELS4_REQ = 0x32, /* FC-4 ELS request */ 73 FC_RCTL_ELS4_REP = 0x33, /* FC-4 ELS reply */ 78 FC_RCTL_IFRH = 0x51, /* inter-fabric routing header */ [all …]
|
/linux/drivers/cpufreq/ |
H A D | powernv-cpufreq.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 10 #define pr_fmt(fmt) "powernv-cpufreq: " fmt 33 #include "powernv-trace.h" 46 * On an idle system we want the global pstate to ramp-down from max value to 47 * min over a span of ~5 secs. Also we want it to initially ramp-down slowly and 48 * then ramp-down rapidly later on. 63 * struct global_pstate_info - Per policy data structure to maintain history of 143 int reason[OCC_MAX_REASON]; member 153 * max, min and nominal frequencies. It also stores number of 157 * non-turbo frequency. [all …]
|
/linux/net/ipv4/ |
H A D | ip_fragment.c | 1 // SPDX-License-Identifier: GPL-2.0 56 * as well. Or notify me, at least. --ANK 58 static const char ip_frag_cache_name[] = "ip4-frags"; 87 struct net *net = q->fqdir->net; in ip4_frag_init() 90 q->key.v4 = *key; in ip4_frag_init() 91 qp->ec in ip4_frag_init() 125 enum skb_drop_reason reason = SKB_DROP_REASON_FRAG_REASM_TIMEOUT; ip_expire() local 221 unsigned int max = qp->q.fqdir->max_dist; ip_frag_too_far() local [all...] |
/linux/include/net/ |
H A D | rstreason.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 #include <net/dropreason-core.h> 34 FNe(MAX) 37 * enum sk_rst_reason - the reasons of socket reset 47 /* Refer to include/net/dropreason-core.h 51 /** @SK_RST_REASON_NOT_SPECIFIED: reset reason i 195 sk_rst_convert_drop_reason(enum skb_drop_reason reason) sk_rst_convert_drop_reason() argument [all...] |
H A D | dropreason-core.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 132 FNe(MAX) 135 * enum skb_drop_reason - the reasons of skb drops 137 * The reason of skb drop, which is used in kfree_skb_reason(). 141 * @SKB_NOT_DROPPED_YET: skb is not dropped yet (used for no-drop case) 146 /** @SKB_DROP_REASON_NOT_SPECIFIED: drop reason i 628 SKB_DR_INIT(name,reason) global() argument 632 SKB_DR_SET(name,reason) global() argument 634 SKB_DR_OR(name,reason) global() argument [all...] |
/linux/drivers/net/wireless/ti/wlcore/ |
H A D | tx.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 1998-2009 Texas Instruments. All rights reserved. 98 (1u << (8 * sizeof(((struct wl128x_tx_mem *) 0)->extra_bytes)))) 111 * Max delay in TUs until transmission. The last device time the 115 /* Bitwise fields - see TX_ATTR... definitions above. */ 117 /* Packet identifier used also in the Tx-Result. */ 119 /* The packet TID value (as User-Priority) */ 128 * bit 0 -> 0 = udp, 1 = tcp 129 * bit 1:7 -> IP header offset 148 /* Packet Identifier - same value used in the Tx descriptor.*/ [all …]
|
/linux/drivers/media/platform/samsung/s5p-mfc/ |
H A D | s5p_mfc_opr_v5.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Samsung MFC (Multi Function Codec - FIMV) driver 22 #include <linux/dma-mapping.h> 30 #define OFFSETA(x) (((x) - dev->dma_base[BANK_L_CTX]) >> MFC_OFFSET_SHIFT) 31 #define OFFSETB(x) (((x) - dev->dma_base[BANK_R_CTX]) >> MFC_OFFSET_SHIFT) 36 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_alloc_dec_temp_buffers_v5() 37 const struct s5p_mfc_buf_size_v5 *buf_size = dev->variant->buf_size->priv; in s5p_mfc_alloc_dec_temp_buffers_v5() 40 ctx->dsc.size = buf_size->dsc; in s5p_mfc_alloc_dec_temp_buffers_v5() 41 ret = s5p_mfc_alloc_priv_buf(dev, BANK_L_CTX, &ctx->dsc); in s5p_mfc_alloc_dec_temp_buffers_v5() 47 BUG_ON(ctx->dsc.dma & ((1 << MFC_BANK1_ALIGN_ORDER) - 1)); in s5p_mfc_alloc_dec_temp_buffers_v5() [all …]
|
/linux/drivers/scsi/ |
H A D | libiscsi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (C) 2004 - 2006 Mike Christie 7 * Copyright (C) 2004 - 2005 Dmitry Yusupov 8 * Copyright (C) 2004 - 2005 Alex Aizman 9 * maintained by open-iscsi@googlegroups.com 60 &(_conn)->cls_conn->dev, \ 71 &(_session)->cls_session->dev, \ 82 &(_session)->cls_session->dev, \ 90 struct Scsi_Host *shost = conn->session->host; in iscsi_conn_queue_xmit() 93 if (ihost->workq) in iscsi_conn_queue_xmit() [all …]
|
/linux/rust/kernel/ |
H A D | maple_tree.rs | 1 // SPDX-License-Identifier: GPL-2.0 7 //! Reference: <https://docs.kernel.org/core-api/maple_tree.html> 22 /// A maple tree optimized for storing non-overlapping ranges. 50 fn deref(&self) -> &MapleTree<T> { in deref() 56 fn to_maple_range(range: impl RangeBounds<usize>) -> Option<(usize, usize)> { in to_maple_range() 66 Bound::Unbounded => usize::MAX, in to_maple_range() 82 pub fn new() -> impl PinInit<Self> { in new() 86 tree <- Opaque::ffi_init(|slot| unsafe { bindings::mt_init_flags(slot, 0) }), in new() 121 pub fn insert(&self, index: usize, value: T, gfp: Flags) -> Result<(), InsertError<T>> { in insert() 162 /// // non-empty. [all …]
|
/linux/Documentation/devicetree/bindings/reserved-memory/ |
H A D | ramoops.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/reserved-memory/ramoops.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 recovered after a reboot. This is a child-node of "/reserved-memory", and 16 as kernel log messages, or for optional ECC error-correction data. The total 23 At least one of "record-size", "console-size", "ftrace-size", or "pmsg-size" 24 must be set non-zero, but are otherwise optional as listed below. 27 - Kees Cook <keescook@chromium.org> 30 - $ref: reserved-memory.yaml [all …]
|
/linux/drivers/power/reset/ |
H A D | at91-reset.c | 6 * Copyright (C) 2011 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcosoft.com> 20 #include <linux/reset-controller.h> 26 #include <dt-bindings/reset/sama7g5-reset.h> 47 * enum reset_type - reset types 48 * @RESET_TYPE_GENERAL: first power-up reset 69 * struct at91_reset - AT91 reset specific data structure 97 * struct at91_reset_data - AT91 reset data 101 * @device_reset_max_id: max id for device reset 140 : "r" (reset->ramc_base[0]), in at91_reset() 141 "r" (reset->ramc_base[1]), in at91_reset() [all …]
|
/linux/tools/testing/selftests/damon/ |
H A D | sysfs.sh | 2 # SPDX-License-Identifier: GPL-2.0 6 # Kselftest frmework requirement - SKIP code is 4. 13 reason=$3 18 echo "expected success because $reason" 27 reason=$3 32 echo "expected failure because $reason" 41 if [ "$to_ensure" = "exist" ] && [ ! -d "$dir" ] 45 elif [ "$to_ensure" = "not_exist" ] && [ - [all...] |
/linux/drivers/char/ipmi/ |
H A D | ipmi_bt_sm.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * The state machine for an Open IPMI BT sub-driver under ipmi_si.c, part 35 * Typical "Get BT Capabilities" values are 2-3 retries, 5-10 seconds, 37 * buffer (with a documented message of 160 bytes) so go for the max. 38 * Since the Open IPMI architecture is single-message oriented at this 64 BT_STATE_LONG_BUSY /* BT doesn't get hosed :-) */ 72 #define BT_STATE_CHANGE(X, Y) { bt->state = X; return Y; } 110 #define BT_STATUS bt->io->inputb(bt->io, 0) 111 #define BT_CONTROL(x) bt->io->outputb(bt->io, 0, x) 113 #define BMC2HOST bt->io->inputb(bt->io, 1) [all …]
|
/linux/Documentation/trace/ |
H A D | osnoise-tracer.rst | 5 In the context of high-performance computing (HPC), the Operating System 9 system. Moreover, hardware-related jobs can also cause noise, for example, 22 interrupts and reports the max observed gap between the reads. It also 32 source of interferences, increasing a per-cpu interference counter. The 38 hardware-related noise. In this way, osnoise can account for any 40 prints the sum of all noise, the max single noise, the percentage of CPU 44 ----- 59 # _-----=> irqs-off 60 # / _----=> need-resched 61 # | / _---=> hardirq/softirq [all …]
|
/linux/fs/pstore/ |
H A D | zone.c | 1 // SPDX-License-Identifier: GPL-2.0 26 * struct psz_buffer - header of zone to flush to storage 28 * @sig: signature to indicate header (PSZ_SIG xor PSZONE-type value) 42 * struct psz_kmsg_header - kmsg dump-specific header to flush to storage 48 * @reason: the kmsg dump reason (e.g. oops, panic, etc) 51 * This is a sub-header for a kmsg dump, trailing after &psz_buffer. 59 enum kmsg_dump_reason reason; member 64 * struct pstore_zone - single stored buffer 67 * @type: front-end type for this zone 68 * @name: front-end name for this zone [all …]
|
/linux/Documentation/hwmon/ |
H A D | sysfs-interface.rst | 5 through the sysfs interface. Since lm-sensors 3.0.0, libsensors is 6 completely chip-independent. It assumes that all the kernel drivers 10 This is a major improvement compared to lm-sensors 2. 22 For this reason, even if we aim at a chip-independent libsensors, it will 31 this reason, it is still not recommended to bypass the library. 37 Up to lm-sensors 3.0.0, libsensors looks for hardware monitoring attributes 38 in the "physical" device directory. Since lm-sensors 3.0.1, attributes found 49 "fan" (fan). Usual items are "input" (measured value), "max" (high 61 to cause an alarm) is chip-dependent. 69 ---------------- [all …]
|
/linux/drivers/net/fddi/skfp/h/ |
H A D | smt.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 89 #define SMT_MAX_ECHO_LEN 4458 /* max length of SMT Echo */ 96 #define SMT_MAX_INFO_LEN (4352-20) /* max length for SMT info */ 110 #define SMTSETPARA(p,t) (p)->para.p_type = (t),\ 111 (p)->para.p_len = sizeof(*(p)) - PARA_LEN 156 #define SMT_ST_TWISTED_A (1<<2) /* A-A connection, twisted ring */ 157 #define SMT_ST_TWISTED_B (1<<3) /* B-B connection, twisted ring */ 294 * units of lem_cutoff,lem_alarm,lem_estimate : 10**-x 394 u_char ec_data[SMT_MAX_ECHO_LEN-4] ; /* echo data */ 398 * P12 : reason code [all …]
|
/linux/net/sctp/ |
H A D | transport.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (c) 1999-2000 Cisco, Inc. 4 * Copyright (c) 1999-2001 Motorola, Inc. 5 * Copyright (c) 2001-2003 International Business Machines Corp. 17 * lksctp developers <linux-sctp@vger.kernel.org> 46 peer->af_specific = sctp_get_af_specific(addr->sa.sa_family); in sctp_transport_init() 47 memcpy(&peer->ipaddr, addr, peer->af_specific->sockaddr_len); in sctp_transport_init() 48 memset(&peer->saddr, 0, sizeof(union sctp_addr)); in sctp_transport_init() 50 peer->sack_generation = 0; in sctp_transport_init() 58 peer->rto = msecs_to_jiffies(net->sctp.rto_initial); in sctp_transport_init() [all …]
|
/linux/Documentation/tools/rtla/ |
H A D | rtla-osnoise-top.rst | 4 rtla-osnoise-top 6 ----------------------------------------------- 8 ----------------------------------------------- 22 displaying the results in a user-friendly format. 38 real-time priority *FIFO:1*, on CPUs *0-3*, for *900ms* at each period 39 (*1s* by default). The reason for reducing the runtime is to avoid starving 43 [root@f34 ~]# rtla osnoise top -P F:1 -c 0-3 -r 900000 -d 1M -q 46 …CPU Period Runtime Noise % CPU Aval Max Noise Max Single HW NM… 55 **rtla-osnoise**\(1), **rtla-osnoise-hist**\(1) 57 Osnoise tracer documentation: <https://www.kernel.org/doc/html/latest/trace/osnoise-tracer.html>
|
/linux/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | debug.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2005-2014, 2018-2025 Intel Corporation 4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 5 * Copyright (C) 2016-2017 Intel Deutschland GmbH 9 #include "dbg-tlv.h" 12 * enum iwl_debug_cmds - debug commands 41 * 0 - resume DBGC recording 42 * 1 - suspend DBGC recording 91 /** enum iwl_dbg_suspend_resume_cmds - dbgc suspend resume operations 102 * struct iwl_error_resp - FW error indication [all …]
|
/linux/include/linux/ |
H A D | f2fs_fs.h | 1 // SPDX-License-Identifier: GPL-2.0 14 #define F2FS_SUPER_OFFSET 1024 /* byte-size offset */ 16 #define F2FS_MAX_LOG_SECTOR_SIZE PAGE_SHIFT /* Max is Block Size */ 17 #define F2FS_LOG_SECTORS_PER_BLOCK (PAGE_SHIFT - 9) /* log number for sector/blk */ 21 #define F2FS_EXTENSION_LEN 8 /* max size of extension */ 24 #define NEW_ADDR ((block_t)-1) /* used as block_t addresses */ 25 #define COMPRESS_ADDR ((block_t)-2) /* used as compressed data flag */ 27 #define F2FS_BLKSIZE_MASK (F2FS_BLKSIZE - 1) 30 #define F2FS_BLK_END_BYTES(blk) (F2FS_BLK_TO_BYTES(blk + 1) - 1) 31 #define F2FS_BLK_ALIGN(x) (F2FS_BYTES_TO_BLK((x) + F2FS_BLKSIZE - 1)) [all …]
|
/linux/drivers/infiniband/ulp/srp/ |
H A D | ib_srp.c | 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 78 "Default number of gather/scatter entries in the SRP command (default is 12, max 255)"); 82 …"Default max number of gather/scatter entries (default is 12, max is " __stringify(SG_MAX_SEGMENTS… 164 int tmo = *(int *)kp->arg; in srp_tmo_get() 180 if (kp->arg == &srp_reconnect_delay) in srp_tmo_set() 183 else if (kp->arg == &srp_fast_io_fail_tmo) in srp_tmo_set() 190 *(int *)kp->arg = tmo; in srp_tmo_set() 203 return (struct srp_target_port *) host->hostdata; in host_to_target() 208 return host_to_target(host)->target_name; in srp_target_info() [all …]
|