/openbmc/openbmc/poky/bitbake/lib/bs4/builder/ |
H A D | _htmlparser.py | 1 # encoding: utf-8 38 listens for HTMLParser events and translates them into calls 50 tag includes the same attribute more than once. Accepted 55 the name of the duplicate attribute, and the most recent value 63 # Keep a list of empty-element tags that were encountered 64 # without an explicit closing tag. If we encounter a closing tag 68 # order. It's a list of closing tags we've already handled and 87 # catch this error and wrap it in a ParserRejectedMarkup.) 91 """Handle an incoming empty-element tag. 93 This is only called when the markup looks like <tag/>. [all …]
|
/openbmc/linux/arch/sparc/include/asm/ |
H A 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 …]
|
/openbmc/linux/lib/ |
H A 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 …]
|
/openbmc/openbmc/poky/bitbake/lib/bs4/ |
H A D | __init__.py | 1 """Beautiful Soup Elixir and Tonic - "The Screen-Scraper's Friend". 7 provides methods and Pythonic idioms that make it easy to navigate, 8 search, and modify the parse tree. 10 Beautiful Soup works with Python 3.6 and up. It works better if lxml 11 and/or html5lib is installed. 19 __copyright__ = "Copyright (c) 2004-2024 Leonard Richardson" 35 …raise ImportError('You are trying to use a Python 3-specific version of Beautiful Soup under Pytho… 59 Tag, 66 use -- probably because no parser was specified in the constructor. 71 actually looks like a resource locator -- a URL or a path to a file [all …]
|
H A D | CHANGELOG | 7 * Fixed a regression such that if you set .hidden on a tag, the tag 28 and methods that call it. [bug=2015545] 36 Inclusion of unit tests and test data in the wheel file. 37 Two scripts: demonstrate_parser_differences.py and test-all-versions. 41 * This version of Beautiful Soup replaces setup.py and setup.cfg 43 and hatch to do builds. 53 2. Making copies of trees (copy.copy() and 56 3. Pickling a BeautifulSoup object. (Note that pickling a Tag 65 * Tag.prettify() will now consistently end prettified markup with 79 script and it's not serving its purpose. [all …]
|
/openbmc/linux/block/ |
H A 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 …]
|
/openbmc/qemu/crypto/ |
H A D | der.c | 7 * This library is free software; you can redistribute it and/or 26 uint8_t tag; member 29 /* for constructed type, data is null */ 30 const uint8_t *data; member 78 * @src_len: the length of source data 107 for (; length_bytes > 0; length_bytes--) { in qcrypto_der_encode_length() 108 *dst++ = ((src_len >> (length_bytes - 1) * 8) & 0xFF); in qcrypto_der_encode_length() 112 static uint8_t qcrypto_der_peek_byte(const uint8_t **data, size_t *dlen) in qcrypto_der_peek_byte() argument 114 return **data; in qcrypto_der_peek_byte() 117 static void qcrypto_der_cut_nbytes(const uint8_t **data, in qcrypto_der_cut_nbytes() argument [all …]
|
/openbmc/linux/include/crypto/ |
H A 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 …]
|
/openbmc/docs/designs/mctp/ |
H A D | mctp-kernel.md | 1 # OpenBMC in-kernel MCTP 6 description, background and requirements. 8 This document describes a kernel-based implementation of MCTP infrastructure, 9 providing a sockets-based API for MCTP communication within an OpenBMC-based 14 - The MCTP messaging API should be an obvious application of the existing POSIX 17 - Configuration should be simple for a straightforward MCTP endpoint: a single 20 - Infrastructure should be flexible enough to allow for more complex MCTP 23 - each MCTP network (as defined by section 3.2.31 of DSP0236) may consist of 24 multiple local physical interfaces, and/or multiple EIDs; 26 - multiple distinct (ie., non-bridged) networks, possibly containing [all …]
|
/openbmc/linux/net/dsa/ |
H A 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 …]
|
/openbmc/linux/Documentation/admin-guide/device-mapper/ |
H A 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 …]
|
/openbmc/openbmc/poky/scripts/lib/build_perf/ |
H A D | report.py | 4 # SPDX-License-Identifier: GPL-2.0-only 20 dt = datetime.strptime(string, '%Y-%m-%dT%H:%M:%S.%f') 22 dt = datetime.strptime(string, '%Y-%m-%dT%H:%M:%S') 28 assert elem.tag == 'metadata', "Invalid metadata file format" 34 key = child.attrib.get('name', child.tag) 53 data = OrderedDict() 54 data['type'] = elem.tag 55 data['name'] = elem.attrib['name'] 56 data['legend'] = elem.attrib['legend'] 60 if elem.tag == 'sysres': [all …]
|
/openbmc/linux/arch/arm/boot/bootp/ |
H A 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 …]
|
/openbmc/linux/drivers/scsi/fnic/ |
H A 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 …]
|
/openbmc/linux/crypto/asymmetric_keys/ |
H A 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 …]
|
H A 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 …]
|
/openbmc/linux/drivers/net/ethernet/cavium/liquidio/ |
H A 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 …]
|
/openbmc/linux/Documentation/infiniband/ |
H A 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 …]
|
/openbmc/u-boot/include/ |
H A D | bloblist.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 4 * (TPL -> SPL -> U-Boot proper.) 6 * A list of blobs of data, tagged with their owner. The list resides in memory 7 * and can be updated by SPL, U-Boot, etc. 25 /* Vendor-specific tags are permitted here */ 26 BLOBLISTT_EC_HOSTEVENT, /* Chromium OS EC host-event mask */ 27 BLOBLISTT_SPL_HANDOFF, /* Hand-off info from SPL */ 33 * struct bloblist_hdr - header for the bloblist 35 * This is stored at the start of the bloblist which is always on a 16-byte 37 * same place in memory as SPL and U-Boot execute, but it can be safely moved [all …]
|
/openbmc/linux/drivers/scsi/pm8001/ |
H A 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 …]
|
/openbmc/linux/drivers/mmc/host/ |
H A D | cqhci-core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <linux/dma-mapping.h> 21 #include "cqhci-crypto.h" 36 static inline u8 *get_desc(struct cqhci_host *cq_host, u8 tag) in get_desc() argument 38 return cq_host->desc_base + (tag * cq_host->slot_sz); in get_desc() 41 static inline u8 *get_link_desc(struct cqhci_host *cq_host, u8 tag) in get_link_desc() argument 43 u8 *desc = get_desc(cq_host, tag); in get_link_desc() 45 return desc + cq_host->task_desc_len; in get_link_desc() 48 static inline size_t get_trans_desc_offset(struct cqhci_host *cq_host, u8 tag) in get_trans_desc_offset() argument 50 return cq_host->trans_desc_len * cq_host->mmc->max_segs * tag; in get_trans_desc_offset() [all …]
|
/openbmc/linux/tools/testing/selftests/arm64/mte/ |
H A 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 …]
|
/openbmc/linux/drivers/staging/rtl8192e/ |
H A D | rtllib_softmac.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Mostly extracted from the rtl8180-sa2400 driver for the 6 * in-kernel generic ieee802.11 stack. 27 return (net->rates_ex_len > 0) || (net->rates_len > 4); in rtllib_is_54g() 31 * tag and the EXTENDED RATE MFIE tag if needed. 32 * It encludes two bytes per tag for the tag itself and its len 44 /* place the MFIE rate, tag to the memory (double) pointed. 46 * it points after the new MFIE tag added. 50 u8 *tag = *tag_p; in rtllib_MFIE_Brate() local 52 *tag++ = MFIE_TYPE_RATES; in rtllib_MFIE_Brate() [all …]
|
/openbmc/linux/Documentation/filesystems/ext4/ |
H A 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 …]
|
/openbmc/linux/Documentation/arch/sparc/ |
H A 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 …]
|