/linux-6.12.1/arch/sparc/include/asm/ |
D | spitfire.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 15 * and ASI_IMMU, that is there is a distinct and unique copy of 24 #define TSB_EXTENSION_P 0x0000000000000048 /* Ultra-III and later */ 25 #define TSB_EXTENSION_S 0x0000000000000050 /* Ultra-III and later, D-TLB only */ 26 #define TSB_EXTENSION_N 0x0000000000000058 /* Ultra-III and later */ 27 #define TLB_TAG_ACCESS_EXT 0x0000000000000060 /* Ultra-III+ and later */ 29 /* These registers only exist as one entity, and are accessed 38 #define SPITFIRE_HIGHEST_LOCKED_TLBENT (64 - 1) 39 #define CHEETAH_HIGHEST_LOCKED_TLBENT (16 - 1) 94 /* The data cache is write through, so this just invalidates the [all …]
|
/linux-6.12.1/block/ |
D | blk-mq-tag.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Tag allocation using scalable bitmaps. Uses active queue tracking to support 4 * fairer distribution of tags between multiple submitters when a shared tag map 7 * Copyright (C) 2013-2014 Jens Axboe 14 #include "blk-mq.h" 15 #include "blk-mq-sched.h" 18 * Recalculate wakeup batch when tag is shared by hctx. 26 sbitmap_queue_recalculate_wake_batch(&tags->bitmap_tags, in blk_mq_update_wake_batch() 28 sbitmap_queue_recalculate_wake_batch(&tags->breserved_tags, in blk_mq_update_wake_batch() 34 * We need to do this before try to allocate driver tag, then even if fail [all …]
|
/linux-6.12.1/lib/ |
D | asn1_encoder.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 * asn1_encode_integer() - encode positive integer to ASN.1 15 * @data: pointer to the pointer to the data 16 * @end_data: end of data pointer, points one beyond last usable byte in @data 24 asn1_encode_integer(unsigned char *data, const unsigned char *end_data, in asn1_encode_integer() argument 27 int data_len = end_data - data; in asn1_encode_integer() 28 unsigned char *d = &data[2]; in asn1_encode_integer() 34 return ERR_PTR(-EINVAL); in asn1_encode_integer() 36 if (IS_ERR(data)) in asn1_encode_integer() 37 return data; in asn1_encode_integer() [all …]
|
/linux-6.12.1/include/crypto/ |
D | aead.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * AEAD: Authenticated Encryption with Associated Data 5 * Copyright (c) 2007-2015 Herbert Xu <herbert@gondor.apana.org.au> 18 * DOC: Authenticated Encryption With Associated Data (AEAD) Cipher API 23 * The most prominent examples for this type of encryption is GCM and CCM. 35 * associated data memory location before performing the encryption or 37 * operation is that the caller should explicitly check for -EBADMSG of the 39 * a breach in the integrity of the message. In essence, that -EBADMSG error 46 * associated data || plaintext or ciphertext. 49 * (resp. ciphertext) will grow (resp. shrink) by the authentication tag size [all …]
|
/linux-6.12.1/net/dsa/ |
D | tag_brcm.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Broadcom tag support 14 #include "tag.h" 17 #define BRCM_LEGACY_NAME "brcm-legacy" 18 #define BRCM_PREPEND_NAME "brcm-prepend" 20 /* Legacy Broadcom tag (6 bytes) */ 24 /* 1st byte in the tag */ 26 /* 2nd byte in the tag */ 29 /* Tag fields */ 30 /* 3rd byte in the tag */ [all …]
|
/linux-6.12.1/Documentation/admin-guide/device-mapper/ |
D | dm-integrity.rst | 2 dm-integrity 5 The dm-integrity target emulates a block device that has additional 6 per-sector tags that can be used for storing integrity information. 9 writing the sector and the integrity tag must be atomic - i.e. in case of 10 crash, either both sector and integrity tag or none of them is written. 12 To guarantee write atomicity, the dm-integrity target uses journal, it 13 writes sector data and integrity tags into a journal, commits the journal 14 and then copies the data and integrity tags to their respective location. 16 The dm-integrity target can be used with the dm-crypt target - in this 17 situation the dm-crypt target creates the integrity data and passes them [all …]
|
/linux-6.12.1/arch/arm/boot/bootp/ |
D | init.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2000-2003 Russell King. 11 * zImage, and boot the kernel without copying it around. This 14 * a binary blob, and concatenate the zImage using the cat command. 20 _start: add lr, pc, #-0x8 @ lr = current load addr 21 adr r13, data 22 ldmia r13!, {r4-r6} @ r5 = dest, r6 = length 30 ldmia r13, {r5-r9} @ get size and addr of initrd 37 ldr r10, [r9, #4] @ get first tag 40 * If we didn't find a valid tag list, create a dummy ATAG_CORE entry. [all …]
|
/linux-6.12.1/drivers/scsi/fnic/ |
D | fcpio.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 12 * This header file includes all of the data structures used for 17 * Exchange and sequence id space allocated to the host driver 78 FCPIO_INVALID_HEADER, /* header contains invalid data */ 93 FCPIO_DATA_CNT_MISMATCH, /* recv/sent more/less data than exp. */ 98 FCPIO_CMND_REJECTED, /* request was invalid and rejected */ 105 * The header command tag. All host requests will use the "tag" field 106 * to mark commands with a unique tag. When the firmware responds to 107 * a host request, it will copy the tag field into the response. 110 * of the tag field will be the target command and target task management [all …]
|
/linux-6.12.1/drivers/char/tpm/ |
D | tpm-buf.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Handling of TPM command and other buffers. 11 * tpm_buf_init() - Allocate and initialize a TPM command 13 * @tag: TPM_TAG_RQU_COMMAND, TPM2_ST_NO_SESSIONS or TPM2_ST_SESSIONS 16 * Return: 0 or -ENOMEM 18 int tpm_buf_init(struct tpm_buf *buf, u16 tag, u32 ordinal) in tpm_buf_init() argument 20 buf->data = (u8 *)__get_free_page(GFP_KERNEL); in tpm_buf_init() 21 if (!buf->data) in tpm_buf_init() 22 return -ENOMEM; in tpm_buf_init() 24 tpm_buf_reset(buf, tag, ordinal); in tpm_buf_init() [all …]
|
/linux-6.12.1/crypto/asymmetric_keys/ |
D | pkcs7_parser.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 29 unsigned long data; /* Start of data */ member 48 public_key_signature_free(sinfo->sig); in pkcs7_free_signed_info() 54 * pkcs7_free_message - Free a PKCS#7 message 63 while (pkcs7->certs) { in pkcs7_free_message() 64 cert = pkcs7->certs; in pkcs7_free_message() 65 pkcs7->certs = cert->next; in pkcs7_free_message() 68 while (pkcs7->crl) { in pkcs7_free_message() 69 cert = pkcs7->crl; in pkcs7_free_message() 70 pkcs7->crl = cert->next; in pkcs7_free_message() [all …]
|
D | x509_cert_parser.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 21 unsigned long data; /* Start of data */ member 22 const void *key; /* Key data */ 23 size_t key_size; /* Size of key data */ 47 public_key_free(cert->pub); in x509_free_certificate() 48 public_key_signature_free(cert->sig); in x509_free_certificate() 49 kfree(cert->issuer); in x509_free_certificate() 50 kfree(cert->subject); in x509_free_certificate() 51 kfree(cert->id); in x509_free_certificate() 52 kfree(cert->skid); in x509_free_certificate() [all …]
|
/linux-6.12.1/drivers/net/ethernet/cavium/liquidio/ |
D | octeon_nic.h | 7 * Copyright (c) 2003-2016 Cavium, Inc. 9 * This file is free software; you can redistribute it and/or modify 14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 21 * \brief Host NIC Driver: Routine to send network data & 28 /* Maximum number of 8-byte words can be sent in a NIC control message. 42 void *data; member 49 /** Additional data that may be needed by some commands. */ 64 #define MAX_UDD_SIZE(nctrl) (sizeof((nctrl)->udd)) 66 /** Structure of data information passed by the NIC module to the OSI 67 * layer when forwarding data to Octeon device software. [all …]
|
/linux-6.12.1/Documentation/infiniband/ |
D | tag_matching.rst | 2 Tag matching logic 5 The MPI standard defines a set of rules, known as tag-matching, for matching 7 match the following source and destination parameters: 10 * User tag - wild card may be specified by the receiver 14 The ordering rules require that when more than one pair of send and receive 15 message envelopes may match, the pair that includes the earliest posted-send 16 and the earliest posted-receive is the pair that must be used to satisfy the 18 the order they are created, e.g., a later generated tag may be consumed, if 31 1. The Eager protocol- the complete message is sent when the send is 35 2. The Rendezvous Protocol - the sender sends the tag-matching header, [all …]
|
/linux-6.12.1/tools/perf/util/ |
D | dwarf-aux.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * dwarf-aux.c : libdw auxiliary interfaces 11 #include "dwarf-aux.h" 12 #include "dwarf-regs.h" 17 * cu_find_realpath - Find the realpath of the target file 48 * cu_get_comp_dir - Get the path of compilation directory 77 l = 0; u = nlines - 1; in cu_getsrc_die() 79 n = u - (u - l) / 2; in cu_getsrc_die() 84 u = n - 1; in cu_getsrc_die() 90 line = dwarf_onesrcline(lines, --l); in cu_getsrc_die() [all …]
|
/linux-6.12.1/drivers/scsi/pm8001/ |
D | pm8001_hwi.h | 2 * PMC-Sierra SPC 8001 SAS/SATA based host adapters driver 4 * Copyright (c) 2008-2009 USI Co., Ltd. 7 * Redistribution and use in source and binary forms, with or without 11 * notice, this list of conditions, and the following disclaimer, 15 * ("Disclaimer") and any redistribution must be conditioned upon 18 * 3. Neither the names of the above-listed copyright holders nor the names 27 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 28 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 29 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR 33 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) [all …]
|
D | pm80xx_hwi.h | 2 * PMC-Sierra SPCv/ve 8088/8089 SAS/SATA based host adapters driver 4 * Copyright (c) 2008-2009 USI Co., Ltd. 7 * Redistribution and use in source and binary forms, with or without 11 * notice, this list of conditions, and the following disclaimer, 15 * ("Disclaimer") and any redistribution must be conditioned upon 18 * 3. Neither the names of the above-listed copyright holders nor the names 27 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 28 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 29 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR 33 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) [all …]
|
/linux-6.12.1/drivers/mmc/host/ |
D | cqhci-core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <linux/dma-mapping.h> 21 #include "cqhci-crypto.h" 41 static inline u8 *get_desc(struct cqhci_host *cq_host, u8 tag) in get_desc() argument 43 return cq_host->desc_base + (tag * cq_host->slot_sz); in get_desc() 46 static inline u8 *get_link_desc(struct cqhci_host *cq_host, u8 tag) in get_link_desc() argument 48 u8 *desc = get_desc(cq_host, tag); in get_link_desc() 50 return desc + cq_host->task_desc_len; in get_link_desc() 53 static inline size_t get_trans_desc_offset(struct cqhci_host *cq_host, u8 tag) in get_trans_desc_offset() argument 55 return cq_host->trans_desc_len * cq_host->mmc->max_segs * tag; in get_trans_desc_offset() [all …]
|
/linux-6.12.1/tools/testing/selftests/arm64/mte/ |
D | mte_helper.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 .arch armv8.5-a+memtag 15 .size name, .-name ; 19 * mte_insert_random_tag: Insert random tag and might be same as the source tag if 22 * x0 - source pointer with a tag/no-tag 24 * x0 - pointer with random tag 32 * mte_insert_new_tag: Insert new tag and different from the source tag if 35 * x0 - source pointer with a tag/no-tag 37 * x0 - pointer with random tag 46 * mte_get_tag_address: Get the tag from given address. [all …]
|
/linux-6.12.1/arch/arm/kernel/ |
D | atags_proc.c | 1 // SPDX-License-Identifier: GPL-2.0 10 char data[] __counted_by(size); 17 return simple_read_from_buffer(buf, count, ppos, b->data, b->size); in atags_read() 28 void __init save_atags(const struct tag *tags) in save_atags() 36 * This cannot go into save_atags() because kmalloc and proc don't work in init_atags_procfs() 40 struct tag *tag = (struct tag *)atags_copy; in init_atags_procfs() local 44 if (tag->hdr.tag != ATAG_CORE) { in init_atags_procfs() 46 return -EINVAL; in init_atags_procfs() 49 for (; tag->hdr.size; tag = tag_next(tag)) in init_atags_procfs() 53 size = (char *)tag - atags_copy + sizeof(struct tag_header); in init_atags_procfs() [all …]
|
/linux-6.12.1/Documentation/arch/sparc/ |
D | adi.rst | 2 Application Data Integrity (ADI) 5 SPARC M7 processor adds the Application Data Integrity (ADI) feature. 7 space. Once ADI is enabled and version tags are set for ranges of 8 address space of a task, the processor will compare the tag in pointers 10 previously. Access to memory is granted only if the tag in given pointer 11 matches the tag set by the application. In case of mismatch, processor 20 addresses ADI is being enabled on. MMU checks the version tag only 23 3. Set the version tag for virtual addresses using stxa instruction 24 and one of the MCD specific ASIs. Each stxa instruction sets the 25 given tag for one ADI block size number of bytes. This step must [all …]
|
/linux-6.12.1/arch/xtensa/kernel/ |
D | setup.c | 4 * This file is subject to the terms and conditions of the GNU General Public 9 * Copyright (C) 2001 - 2005 Tensilica Inc. 10 * Copyright (C) 2014 - 2016 Cadence Design Systems Inc. 75 * The Xtensa port uses a list of variable-sized tags to pass data to 76 * the kernel. The first tag must be a BP_TAG_FIRST tag for the list 77 * to be recognised. The list is terminated with a zero-sized 78 * BP_TAG_LAST tag. 82 u32 tag; member 86 #define __tagtable(tag, fn) static tagtable_t __tagtable_##fn \ argument 87 __section(".taglist") __attribute__((used)) = { tag, fn } [all …]
|
/linux-6.12.1/Documentation/filesystems/ext4/ |
D | journal.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 -------------- 10 “important” data writes on-disk as quickly as possible. Once the important 11 data transaction is fully written to the disk and flushed from the disk write 12 cache, a record of the data being committed is also written to the journal. At 15 read-write-erases) before erasing the commit record. Should the system 23 through the journal. This means that file data blocks are /not/ 25 guarantee level (``data=ordered``) is not satisfactory, there is a mount 26 option to control journal behavior. If ``data=journal``, all data and 28 safest. If ``data=writeback``, dirty data blocks are not flushed to the [all …]
|
/linux-6.12.1/include/scsi/ |
D | srp.h | 10 * Redistribution and use in source and binary forms, with or 14 * - Redistributions of source code must retain the above 15 * copyright notice, this list of conditions and the following 18 * - Redistributions in binary form must reproduce the above 19 * copyright notice, this list of conditions and the following 20 * disclaimer in the documentation and/or other materials 25 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 39 * Structures and constants for the SCSI RDMA Protocol (SRP) as 107 * having the 20-byte structure padded to 24 bytes on 64-bit architectures. 115 /* Immediate data buffer descriptor as defined in SRP2. */ [all …]
|
/linux-6.12.1/drivers/scsi/bfa/ |
D | bfi_ms.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2005-2014 Brocade Communications Systems, Inc. 4 * Copyright (c) 2014- QLogic Corporation. 8 * Linux driver for QLogic BR-series Fibre Channel Host Bus Adapter. 48 * Request and response circular queue base addresses, size and 58 union bfi_addr_u stats_addr; /* DMA-able address for stats */ 345 __be16 fcxp_tag; /* driver request tag */ 347 __be16 vf_id; /* vsan tag if applicable */ 350 u8 rsp_timeout; /* timeout in secs, 0-no response */ 352 u8 lp_fwtag; /* lport tag */ [all …]
|
/linux-6.12.1/Documentation/arch/arm64/ |
D | memory-tagging-extension.rst | 8 Date: 2020-02-25 18 (Top Byte Ignore) feature and allows software to access a 4-bit 19 allocation tag for each 16-byte granule in the physical address space. 20 Such memory range must be mapped with the Normal-Tagged memory 21 attribute. A logical tag is derived from bits 59-56 of the virtual 23 the logical tag against the allocation tag and potentially raise an 29 When ``CONFIG_ARM64_MTE`` is selected and Memory Tagging Extension is 34 -------- 38 ``mmap()`` and ``mprotect()``: 40 ``PROT_MTE`` - Pages allow access to the MTE allocation tags. [all …]
|