/Linux-v6.1/fs/ntfs/ |
D | usnjrnl.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * usnjrnl.h - Defines for NTFS kernel transaction log ($UsnJrnl) handling. 4 * Part of the Linux-NTFS project. 25 * created, that a file was truncated, etc. See below for all the reason 42 * The transaction log consists of two parts; the $DATA/$Max attribute as well 43 * as the $DATA/$J attribute. $Max is a header describing the transaction 50 * lowest_valid_usn field in the $DATA/$Max attribute to the usn to be used 52 * generating a new journal_id in $DATA/$Max. 55 * simply the 64-bit timestamp of when the journal was either created or last 74 * This is why we can safely mount read-write when we see a transaction log [all …]
|
/Linux-v6.1/drivers/misc/sgi-xp/ |
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-v6.1/rust/alloc/collections/ |
D | mod.rs | 1 // SPDX-License-Identifier: Apache-2.0 OR MIT 19 //! An ordered map based on a B-Tree. 27 //! An ordered set based on a B-Tree. 73 reason = "Uncertain how much info should be exposed", 76 pub fn kind(&self) -> TryReserveErrorKind { in kind() 85 reason = "Uncertain how much info should be exposed", 90 /// (usually `isize::MAX` bytes). 102 reason = "\ 105 https://github.com/rust-lang/wg-allocators/issues/23" 113 reason = "Uncertain how much info should be exposed", [all …]
|
/Linux-v6.1/include/uapi/scsi/fc/ |
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-v6.1/drivers/cpufreq/ |
D | powernv-cpufreq.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 10 #define pr_fmt(fmt) "powernv-cpufreq: " fmt 43 * On an idle system we want the global pstate to ramp-down from max value to 44 * min over a span of ~5 secs. Also we want it to initially ramp-down slowly and 45 * then ramp-down rapidly later on. 60 * struct global_pstate_info - Per policy data structure to maintain history of 140 int reason[OCC_MAX_REASON]; member 150 * max, min and nominal frequencies. It also stores number of 154 * non-turbo frequency. 158 unsigned int max; member [all …]
|
/Linux-v6.1/include/net/ |
D | dropreason.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 71 FNe(MAX) 74 * enum skb_drop_reason - the reasons of skb drops 76 * The reason of skb drop, which is used in kfree_skb_reason(). 80 * @SKB_NOT_DROPPED_YET: skb is not dropped yet (used for no-drop case) 83 /** @SKB_DROP_REASON_NOT_SPECIFIED: drop reason is not specified */ 111 * document for rp_filter in ip-sysctl.rst for more information 255 * e.g., the IFF_UP is not set, or driver specific tun->tfiles[txq] 302 * @SKB_DROP_REASON_MAX: the maximum of drop reason, which shouldn't be 303 * used as a real 'reason' [all …]
|
/Linux-v6.1/include/trace/events/ |
D | power.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 28 __entry->state = state; 29 __entry->cpu_id = cpu_id; 32 TP_printk("state=%lu cpu_id=%lu", (unsigned long)__entry->state, 33 (unsigned long)__entry->cpu_id) 56 __entry->cpu_id = cpu_id; 57 __entry->state = state; 58 __entry->below = below; 61 TP_printk("cpu_id=%lu state=%lu type=%s", (unsigned long)__entry->cpu_id, 62 (unsigned long)__entry->state, (__entry->below)?"below":"above") [all …]
|
/Linux-v6.1/drivers/net/wireless/ti/wlcore/ |
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-v6.1/tools/testing/selftests/damon/ |
D | sysfs.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # Kselftest frmework requirement - SKIP code is 4. 11 reason=$3 16 echo "expected success because $reason" 25 reason=$3 30 echo "expected failure because $reason" 39 if [ "$to_ensure" = "exist" ] && [ ! -d "$dir" ] 43 elif [ "$to_ensure" = "not_exist" ] && [ -d "$dir" ] 57 if [ ! -f "$file" ] 62 perm=$(stat -c "%a" "$file") [all …]
|
/Linux-v6.1/drivers/media/platform/samsung/s5p-mfc/ |
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 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-v6.1/drivers/scsi/ |
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-v6.1/Documentation/trace/ |
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-v6.1/Documentation/devicetree/bindings/reserved-memory/ |
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-v6.1/drivers/power/reset/ |
D | at91-reset.c | 6 * Copyright (C) 2011 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcosoft.com> 20 #include <linux/reset-controller.h> 25 #include <dt-bindings/reset/sama7g5-reset.h> 46 * enum reset_type - reset types 47 * @RESET_TYPE_GENERAL: first power-up reset 68 * struct at91_reset - AT91 reset specific data structure 96 * struct at91_reset_data - AT91 reset data 100 * @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-v6.1/drivers/dma/qcom/ |
D | hidma_mgmt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 2015-2017, The Linux Foundation. All rights reserved. 20 #include <linux/dma-mapping.h> 70 if (!is_power_of_2(mgmtdev->max_write_request) || in hidma_mgmt_setup() 71 (mgmtdev->max_write_request < 128) || in hidma_mgmt_setup() 72 (mgmtdev->max_write_request > 1024)) { in hidma_mgmt_setup() 73 dev_err(&mgmtdev->pdev->dev, "invalid write request %d\n", in hidma_mgmt_setup() 74 mgmtdev->max_write_request); in hidma_mgmt_setup() 75 return -EINVAL; in hidma_mgmt_setup() 78 if (!is_power_of_2(mgmtdev->max_read_request) || in hidma_mgmt_setup() [all …]
|
/Linux-v6.1/net/rxrpc/ |
D | protocol.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 13 typedef __be32 rxrpc_seq_net_t; /* on-the-wire Rx message sequence number */ 14 typedef __be32 rxrpc_serial_net_t; /* on-the-wire Rx message serial number */ 18 * on-the-wire Rx packet header 19 * - all multibyte fields should be in network byte order 23 #define RXRPC_RANDOM_EPOCH 0x80000000 /* Random if set, date-based if not */ 26 #define RXRPC_MAXCALLS 4 /* max active calls per conn */ 27 #define RXRPC_CHANNELMASK (RXRPC_MAXCALLS-1) /* mask for channel ID */ 32 __be32 callNumber; /* call ID (0 for connection-level packets) */ 42 #define RXRPC_PACKET_TYPE_CHALLENGE 6 /* connection security challenge (SRVR->CLNT) */ [all …]
|
/Linux-v6.1/drivers/char/ipmi/ |
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-v6.1/Documentation/tools/rtla/ |
D | rtla-osnoise-top.rst | 2 rtla-osnoise-top 4 ----------------------------------------------- 6 ----------------------------------------------- 20 displaying the results in a user-friendly format. 36 real-time priority *FIFO:1*, on CPUs *0-3*, for *900ms* at each period 37 (*1s* by default). The reason for reducing the runtime is to avoid starving 41 [root@f34 ~]# rtla osnoise top -P F:1 -c 0-3 -r 900000 -d 1M -q 44 …CPU Period Runtime Noise % CPU Aval Max Noise Max Single HW NM… 53 **rtla-osnoise**\(1), **rtla-osnoise-hist**\(1) 55 Osnoise tracer documentation: <https://www.kernel.org/doc/html/latest/trace/osnoise-tracer.html>
|
/Linux-v6.1/fs/pstore/ |
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-v6.1/Documentation/hwmon/ |
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-v6.1/drivers/net/fddi/skfp/h/ |
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-v6.1/net/sctp/ |
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-v6.1/Documentation/firmware-guide/acpi/dsd/ |
D | leds.rst | 1 .. SPDX-License-Identifier: GPL-2.0 14 Referring to LEDs in Device tree is documented in [video-interfaces], in 15 "flash-leds" property documentation. In short, LEDs are directly referred to by 19 ACPI references are limited to device nodes only [acpi]. For this reason using 20 the same mechanism on ACPI is not possible. A mechanism to refer to non-device 21 ACPI nodes is documented in [data-node-ref]. 44 ToUUID("dbb8e3e6-5886-4ba6-8795-1319f52a966b"), 51 ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), 54 Package () { "flash-max-microamp", 1000000 }, 55 Package () { "flash-timeout-us", 200000 }, [all …]
|
/Linux-v6.1/drivers/char/hw_random/ |
D | xiphera-trng.c | 1 // SPDX-License-Identifier: GPL-2.0 36 static int xiphera_trng_read(struct hwrng *rng, void *buf, size_t max, bool wait) in xiphera_trng_read() argument 41 while (max >= sizeof(u32)) { in xiphera_trng_read() 43 if (readl(trng->mem + STATUS_REG) == TRNG_NEW_RAND_AVAILABLE) { in xiphera_trng_read() 44 *(u32 *)buf = readl(trng->mem + RAND_REG); in xiphera_trng_read() 47 * and re-enable it to produce a new random number in xiphera_trng_read() 49 writel(HOST_TO_TRNG_READ, trng->mem + CONTROL_REG); in xiphera_trng_read() 50 writel(HOST_TO_TRNG_ENABLE, trng->mem + CONTROL_REG); in xiphera_trng_read() 53 max -= sizeof(u32); in xiphera_trng_read() 65 struct device *dev = &pdev->dev; in xiphera_trng_probe() [all …]
|
/Linux-v6.1/drivers/irqchip/ |
D | irq-gic-v3-its-pci-msi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2013-2015 ARM Limited, All Rights Reserved. 27 .name = "ITS-MSI", 37 msi = max(pci_msi_vec_count(pdev), 0); in its_pci_msi_vec_count() 38 msix = max(pci_msix_vec_count(pdev), 0); in its_pci_msi_vec_count() 39 *count += max(msi, msix); in its_pci_msi_vec_count() 61 return -EINVAL; in its_pci_msi_prepare() 63 msi_info = msi_get_domain_info(domain->parent); in its_pci_msi_prepare() 74 if (alias_dev->subordinate) in its_pci_msi_prepare() 75 pci_walk_bus(alias_dev->subordinate, in its_pci_msi_prepare() [all …]
|