| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/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 12 #include <linux/blk-mq.h> 15 #include "blk-mq.h" 16 #include "blk-mq-tag.h" 20 * We need to do this before try to allocate driver tag, then even if fail 21 * to get tag when first time, the other shared-tag users could reserve 26 if (blk_mq_is_sbitmap_shared(hctx->flags)) { in __blk_mq_tag_busy() [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/net/dsa/ |
| D | tag_brcm.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Broadcom tag support 14 /* This tag length is 4 bytes, older ones were 6 bytes, we do not 19 /* Tag is constructed and desconstructed using byte by byte access 20 * because the tag is placed after the MAC Source Address, which does 21 * not make it 4-bytes aligned, so this might cause unaligned accesses 25 /* Ingress and egress opcodes */ 30 /* 1st byte in the tag */ 33 /* 2nd byte in the tag */ 36 /* 3rd byte in the tag */ [all …]
|
| D | tag_rtl4_a.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * This "proprietary tag" header looks like so: 9 * ------------------------------------------------- 10 * | MAC DA | MAC SA | 0x8899 | 2 bytes tag | Type | 11 * ------------------------------------------------- 13 * The 2 bytes tag form a 16 bit big endian word. The exact 39 u8 *tag; in rtl4a_tag_xmit() local 46 netdev_dbg(dev, "add realtek tag to package to port %d\n", in rtl4a_tag_xmit() 47 dp->index); in rtl4a_tag_xmit() 50 memmove(skb->data, skb->data + RTL4_A_HDR_LEN, 2 * ETH_ALEN); in rtl4a_tag_xmit() [all …]
|
| D | tag_mtk.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Mediatek DSA Tag support 27 unsigned char *dest = eth_hdr(skb)->h_dest; in mtk_tag_xmit() 31 /* Build the special tag after the MAC Source Address. If VLAN header in mtk_tag_xmit() 32 * is present, it's required that VLAN header and special tag is in mtk_tag_xmit() 34 * the both special and VLAN tag at the same time and then look up VLAN in mtk_tag_xmit() 37 switch (skb->protocol) { in mtk_tag_xmit() 47 memmove(skb->data, skb->data + MTK_HDR_LEN, 2 * ETH_ALEN); in mtk_tag_xmit() 50 mtk_tag = skb->data + 2 * ETH_ALEN; in mtk_tag_xmit() 52 /* Mark tag attribute on special tag insertion to notify hardware in mtk_tag_xmit() [all …]
|
| D | tag_lan9303.c | 1 // SPDX-License-Identifier: GPL-2.0 12 /* To define the outgoing port and to discover the incoming port a regular 13 * VLAN tag is used by the LAN9303. But its VID meaning is 'special': 15 * Dest MAC Src MAC TAG Type 17 * |<------->| 18 * TAG: 19 * |<------------->| 26 * If VID bit 3 is zero, then bits 0 and 1 specify the destination port 42 * port using tag. ALR learning is performed only when using ALR lookup. 43 * If the two external ports are bridged and the frame is unicast, [all …]
|
| D | tag_edsa.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * net/dsa/tag_edsa.c - Ethertype DSA tagging 4 * Copyright (c) 2008-2009 Marvell Semiconductor 32 * Convert the outermost 802.1q tag to a DSA tag and prepend in edsa_xmit() 34 * a DSA ethertype plus DSA tag between the addresses and the in edsa_xmit() 37 if (skb->protocol == htons(ETH_P_8021Q)) { in edsa_xmit() 40 memmove(skb->data, skb->data + DSA_HLEN, 2 * ETH_ALEN); in edsa_xmit() 43 * Construct tagged FROM_CPU DSA tag from 802.1q tag. in edsa_xmit() 45 edsa_header = skb->data + 2 * ETH_ALEN; in edsa_xmit() 50 edsa_header[4] = 0x60 | dp->ds->index; in edsa_xmit() [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/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> 16 * DOC: Authenticated Encryption With Associated Data (AEAD) Cipher API 21 * The most prominent examples for this type of encryption is GCM and CCM. 33 * pointer to the associated data memory location before performing the 35 * data memory is filled during the encryption operation. For decryption, the 36 * associated data memory must contain data that is used to verify the integrity 37 * of the decrypted data. Another deviation from the asynchronous block cipher 38 * operation is that the caller should explicitly check for -EBADMSG of the [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/drivers/scsi/fnic/ |
| D | fcpio.h | 5 * This program is free software; you may redistribute it and/or modify 11 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 24 * This header file includes all of the data structures used for 29 * Exchange and sequence id space allocated to the host driver 90 FCPIO_INVALID_HEADER, /* header contains invalid data */ 105 FCPIO_DATA_CNT_MISMATCH, /* recv/sent more/less data than exp. */ 110 FCPIO_CMND_REJECTED, /* request was invalid and rejected */ 117 * The header command tag. All host requests will use the "tag" field 118 * to mark commands with a unique tag. When the firmware responds to 119 * a host request, it will copy the tag field into the response. [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/crypto/asymmetric_keys/ |
| D | x509_cert_parser.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 21 unsigned long data; /* Start of data */ member 23 const void *key; /* Key data */ 24 size_t key_size; /* Size of key data */ 49 public_key_free(cert->pub); in x509_free_certificate() 50 public_key_signature_free(cert->sig); in x509_free_certificate() 51 kfree(cert->issuer); in x509_free_certificate() 52 kfree(cert->subject); in x509_free_certificate() 53 kfree(cert->id); in x509_free_certificate() 54 kfree(cert->skid); in x509_free_certificate() [all …]
|
| 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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|