/Linux-v6.1/arch/arm/kernel/ |
D | atags_compat.c | 13 * to convert to the new struct tag way. 81 static struct tag * __init memtag(struct tag *tag, unsigned long start, unsigned long size) in memtag() argument 83 tag = tag_next(tag); in memtag() 84 tag->hdr.tag = ATAG_MEM; in memtag() 85 tag->hdr.size = tag_size(tag_mem32); in memtag() 86 tag->u.mem.size = size; in memtag() 87 tag->u.mem.start = start; in memtag() 89 return tag; in memtag() 94 struct tag *tag = taglist; in build_tag_list() local 119 tag->hdr.tag = ATAG_CORE; in build_tag_list() [all …]
|
D | atags_parse.c | 3 * Tag parsing. 11 * of variable-sized tags to the kernel. The first tag must be a ATAG_CORE 12 * tag for the list to be recognised (to distinguish the tagged list from 13 * a param_struct). The list is terminated with a zero-length tag (this tag 53 static int __init parse_tag_core(const struct tag *tag) in parse_tag_core() argument 55 if (tag->hdr.size > 2) { in parse_tag_core() 56 if ((tag->u.core.flags & 1) == 0) in parse_tag_core() 58 ROOT_DEV = old_decode_dev(tag->u.core.rootdev); in parse_tag_core() 65 static int __init parse_tag_mem32(const struct tag *tag) in parse_tag_mem32() argument 67 return arm_add_memory(tag->u.mem.start, tag->u.mem.size); in parse_tag_mem32() [all …]
|
D | atags_proc.c | 28 void __init save_atags(const struct tag *tags) in save_atags() 40 struct tag *tag = (struct tag *)atags_copy; in init_atags_procfs() local 44 if (tag->hdr.tag != ATAG_CORE) { 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() 55 WARN_ON(tag->hdr.tag != ATAG_NONE); in init_atags_procfs()
|
/Linux-v6.1/arch/mips/include/asm/octeon/ |
D | cvmx-pow.h | 38 * - Requesting a POW operation with an active tag switch in 40 * - Waiting for a tag switch to complete for an excessively 43 * - Illegal tag switches from NULL_NULL. 44 * - Illegal tag switches from NULL. 65 /* Tag ordering is maintained */ 67 /* Tag ordering is maintained, and at most one PP has the tag */ 70 * The work queue entry from the order - NEVER tag switch from 74 /* A tag switch to NULL, and there is no space reserved in POW 75 * - NEVER tag switch to NULL_NULL 76 * - NEVER tag switch from NULL_NULL [all …]
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_ste_v1.c | 342 u8 *tag = hw_ste_p + DR_STE_SIZE_CTRL; in dr_ste_v1_prepare_for_postsend() local 343 u8 *mask = tag + DR_STE_SIZE_TAG; in dr_ste_v1_prepare_for_postsend() 351 /* Backup tag */ in dr_ste_v1_prepare_for_postsend() 352 memcpy(tmp_tag, tag, DR_STE_SIZE_TAG); in dr_ste_v1_prepare_for_postsend() 354 /* Swap mask and tag both are the same size */ in dr_ste_v1_prepare_for_postsend() 355 memcpy(tag, mask, DR_STE_SIZE_MASK); in dr_ste_v1_prepare_for_postsend() 1008 u8 *tag) in dr_ste_v1_build_eth_l2_src_dst_tag() argument 1012 DR_STE_SET_TAG(eth_l2_src_dst_v1, tag, dmac_47_16, spec, dmac_47_16); in dr_ste_v1_build_eth_l2_src_dst_tag() 1013 DR_STE_SET_TAG(eth_l2_src_dst_v1, tag, dmac_15_0, spec, dmac_15_0); in dr_ste_v1_build_eth_l2_src_dst_tag() 1015 DR_STE_SET_TAG(eth_l2_src_dst_v1, tag, smac_47_16, spec, smac_47_16); in dr_ste_v1_build_eth_l2_src_dst_tag() [all …]
|
D | dr_ste_v0.c | 738 u8 *tag) in dr_ste_v0_build_eth_l2_src_dst_tag() argument 742 DR_STE_SET_TAG(eth_l2_src_dst, tag, dmac_47_16, spec, dmac_47_16); in dr_ste_v0_build_eth_l2_src_dst_tag() 743 DR_STE_SET_TAG(eth_l2_src_dst, tag, dmac_15_0, spec, dmac_15_0); in dr_ste_v0_build_eth_l2_src_dst_tag() 746 MLX5_SET(ste_eth_l2_src_dst, tag, smac_47_32, in dr_ste_v0_build_eth_l2_src_dst_tag() 748 MLX5_SET(ste_eth_l2_src_dst, tag, smac_31_0, in dr_ste_v0_build_eth_l2_src_dst_tag() 756 MLX5_SET(ste_eth_l2_src_dst, tag, l3_type, STE_IPV4); in dr_ste_v0_build_eth_l2_src_dst_tag() 759 MLX5_SET(ste_eth_l2_src_dst, tag, l3_type, STE_IPV6); in dr_ste_v0_build_eth_l2_src_dst_tag() 766 DR_STE_SET_TAG(eth_l2_src_dst, tag, first_vlan_id, spec, first_vid); in dr_ste_v0_build_eth_l2_src_dst_tag() 767 DR_STE_SET_TAG(eth_l2_src_dst, tag, first_cfi, spec, first_cfi); in dr_ste_v0_build_eth_l2_src_dst_tag() 768 DR_STE_SET_TAG(eth_l2_src_dst, tag, first_priority, spec, first_prio); in dr_ste_v0_build_eth_l2_src_dst_tag() [all …]
|
D | dr_ste.h | 25 #define DR_STE_SET_VAL(lookup_type, tag, t_fname, spec, s_fname, value) do { \ argument 27 MLX5_SET(ste_##lookup_type, tag, t_fname, value); \ 32 /* Set to STE spec->s_fname to tag->t_fname set spec->s_fname as used */ 33 #define DR_STE_SET_TAG(lookup_type, tag, t_fname, spec, s_fname) \ argument 34 DR_STE_SET_VAL(lookup_type, tag, t_fname, spec, s_fname, spec->s_fname) 36 /* Set to STE -1 to tag->t_fname and set spec->s_fname as used */ 37 #define DR_STE_SET_ONES(lookup_type, tag, t_fname, spec, s_fname) \ argument 38 DR_STE_SET_VAL(lookup_type, tag, t_fname, spec, s_fname, -1) 40 #define DR_STE_SET_TCP_FLAGS(lookup_type, tag, spec) do { \ argument 41 MLX5_SET(ste_##lookup_type, tag, tcp_ns, !!((spec)->tcp_flags & (1 << 8))); \ [all …]
|
/Linux-v6.1/net/dsa/ |
D | Kconfig | 22 tristate "Tag driver for Atheros AR9331 SoC with built-in switch" 32 tristate "Tag driver for Broadcom switches using in-frame headers" 36 Broadcom switches which place the tag after the MAC source address. 39 tristate "Tag driver for Broadcom legacy switches using in-frame headers" 43 Broadcom legacy switches which place the tag after the MAC source 47 tristate "Tag driver for Broadcom switches using prepended headers" 51 Broadcom switches which places the tag before the Ethernet header 55 tristate "Tag driver for Hirschmann Hellcreek TSN switches" 61 tristate "Tag driver for Lantiq / Intel GSWIP switches" 70 tristate "Tag driver for Marvell switches using DSA headers" [all …]
|
D | tag_brcm.c | 3 * Broadcom tag support 15 /* Legacy Broadcom tag (6 bytes) */ 19 /* 1st byte in the tag */ 21 /* 2nd byte in the tag */ 24 /* Tag fields */ 25 /* 3rd byte in the tag */ 31 /* 6th byte in the tag */ 34 /* Newer Broadcom tag (4 bytes) */ 37 /* Tag is constructed and deconstructed using byte by byte access 38 * because the tag is placed after the MAC Source Address, which does [all …]
|
D | tag_ksz.c | 3 * net/dsa/tag_ksz.c - Microchip KSZ Switch tag format handling 12 /* Typically only one byte is used for tail tag. */ 35 * DA(6bytes)|SA(6bytes)|....|Data(nbytes)|tag(1byte)|FCS(4bytes) 37 * tag : each bit represents port (eg, 0x01=port1, 0x02=port2, 0x10=port5) 53 u8 *tag; in ksz8795_xmit() local 59 /* Tag encoding */ in ksz8795_xmit() 60 tag = skb_put(skb, KSZ_INGRESS_TAG_LEN); in ksz8795_xmit() 63 *tag = 1 << dp->index; in ksz8795_xmit() 65 *tag |= KSZ8795_TAIL_TAG_OVERRIDE; in ksz8795_xmit() 72 u8 *tag = skb_tail_pointer(skb) - KSZ_EGRESS_TAG_LEN; in ksz8795_rcv() local [all …]
|
/Linux-v6.1/tools/testing/selftests/arm64/mte/ |
D | mte_helper.S | 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. 50 * x0 - pointer with appended tag 58 * mte_set_tag_address_range: Set the tag range from the given address 60 * x0 - source pointer with tag data [all …]
|
D | check_tags_inclusion.c | 52 int tag, run, ret, result = KSFT_PASS; in check_single_included_tags() local 59 for (tag = 0; (tag < MT_TAG_COUNT) && (result == KSFT_PASS); tag++) { in check_single_included_tags() 60 ret = mte_switch_mode(mode, MT_INCLUDE_VALID_TAG(tag)); in check_single_included_tags() 63 /* Try to catch a excluded tag by a number of tries. */ in check_single_included_tags() 66 /* Check tag value */ in check_single_included_tags() 67 if (MT_FETCH_TAG((uintptr_t)ptr) == tag) { in check_single_included_tags() 68 ksft_print_msg("FAIL: wrong tag = 0x%x with include mask=0x%x\n", in check_single_included_tags() 70 MT_INCLUDE_VALID_TAG(tag)); in check_single_included_tags() 84 int tag, run, result = KSFT_PASS; in check_multiple_included_tags() local 92 for (tag = 0; (tag < MT_TAG_COUNT - 1) && (result == KSFT_PASS); tag++) { in check_multiple_included_tags() [all …]
|
/Linux-v6.1/drivers/net/ethernet/netronome/nfp/ |
D | ccm.c | 38 static void nfp_ccm_free_tag(struct nfp_ccm *ccm, u16 tag) in nfp_ccm_free_tag() argument 40 WARN_ON(!__test_and_clear_bit(tag, ccm->tag_allocator)); in nfp_ccm_free_tag() 47 static struct sk_buff *__nfp_ccm_reply(struct nfp_ccm *ccm, u16 tag) in __nfp_ccm_reply() argument 54 if (msg_tag == tag) { in __nfp_ccm_reply() 55 nfp_ccm_free_tag(ccm, tag); in __nfp_ccm_reply() 65 nfp_ccm_reply(struct nfp_ccm *ccm, struct nfp_app *app, u16 tag) in nfp_ccm_reply() argument 70 skb = __nfp_ccm_reply(ccm, tag); in nfp_ccm_reply() 77 nfp_ccm_reply_drop_tag(struct nfp_ccm *ccm, struct nfp_app *app, u16 tag) in nfp_ccm_reply_drop_tag() argument 82 skb = __nfp_ccm_reply(ccm, tag); in nfp_ccm_reply_drop_tag() 84 nfp_ccm_free_tag(ccm, tag); in nfp_ccm_reply_drop_tag() [all …]
|
/Linux-v6.1/Documentation/netlabel/ |
D | draft-ietf-cipso-ipsecurity-01.txt | 142 3.4 Tag Types 146 information relevant to the data in the IP packet. Each tag begins with 147 a tag type identifier followed by the length of the tag and ends with the 148 actual security information to be passed. All multi-octet fields in a tag 151 all tags, as well as fields within a tag, are not aligned on any particular 152 octet boundary. The tag types defined in this document contain alignment 156 CIPSO tag types 0 through 127 are reserved for defining standard tag 157 formats. Their definitions will be published in RFCs. Tag types whose 159 only be meaningful in certain Domains of Interpretation. For these tag 160 types, implementations will require the DOI identifier as well as the tag [all …]
|
/Linux-v6.1/Documentation/dev-tools/ |
D | kasan.rst | 13 2. Software Tag-Based KASAN 14 3. Hardware Tag-Based KASAN 20 Software Tag-Based KASAN or SW_TAGS KASAN, enabled with CONFIG_KASAN_SW_TAGS, 25 Hardware Tag-Based KASAN or HW_TAGS KASAN, enabled with CONFIG_KASAN_HW_TAGS, 34 The Generic and the Software Tag-Based modes are commonly referred to as the 35 software modes. The Software Tag-Based and the Hardware Tag-Based modes are 36 referred to as the tag-based modes. 45 xtensa, and the tag-based KASAN modes are supported only on arm64. 52 support for that. The Hardware Tag-Based mode relies on hardware to perform 59 Software Tag-Based KASAN requires GCC 11+ [all …]
|
/Linux-v6.1/drivers/staging/media/atomisp/pci/hive_isp_css_shared/host/ |
D | tag.c | 16 #include "tag.h" 22 * @brief Creates the tag description from the given parameters. 44 * @brief Encodes the members of tag description into a 32-bit value. 45 * @param[in] tag Pointer to the tag description 46 * @return (unsigned int) Encoded 32-bit tag-info 49 sh_css_encode_tag_descr(struct sh_css_tag_descr *tag) in sh_css_encode_tag_descr() argument 59 assert(tag); in sh_css_encode_tag_descr() 61 if (tag->num_captures < 0) { in sh_css_encode_tag_descr() 62 num_captures = -tag->num_captures; in sh_css_encode_tag_descr() 65 num_captures = tag->num_captures; in sh_css_encode_tag_descr() [all …]
|
/Linux-v6.1/lib/ |
D | radix-tree.c | 98 static inline void tag_set(struct radix_tree_node *node, unsigned int tag, in tag_set() argument 101 __set_bit(offset, node->tags[tag]); in tag_set() 104 static inline void tag_clear(struct radix_tree_node *node, unsigned int tag, in tag_clear() argument 107 __clear_bit(offset, node->tags[tag]); in tag_clear() 110 static inline int tag_get(const struct radix_tree_node *node, unsigned int tag, in tag_get() argument 113 return test_bit(offset, node->tags[tag]); in tag_get() 116 static inline void root_tag_set(struct radix_tree_root *root, unsigned tag) in root_tag_set() argument 118 root->xa_flags |= (__force gfp_t)(1 << (tag + ROOT_TAG_SHIFT)); in root_tag_set() 121 static inline void root_tag_clear(struct radix_tree_root *root, unsigned tag) in root_tag_clear() argument 123 root->xa_flags &= (__force gfp_t)~(1 << (tag + ROOT_TAG_SHIFT)); in root_tag_clear() [all …]
|
/Linux-v6.1/Documentation/arm64/ |
D | memory-tagging-extension.rst | 19 allocation tag for each 16-byte granule in the physical address space. 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 42 The allocation tag is set to 0 when such pages are first mapped in the 58 Tag Check Faults 66 tag check fault. 75 thread, asynchronously following one or multiple tag check faults, 87 - ``PR_MTE_TCF_NONE`` - *Ignore* tag check faults 89 - ``PR_MTE_TCF_SYNC`` - *Synchronous* tag check fault mode 90 - ``PR_MTE_TCF_ASYNC`` - *Asynchronous* tag check fault mode [all …]
|
/Linux-v6.1/drivers/ata/ |
D | sata_dwc_460ex.c | 60 u32 fptagr; /* 1st party DMA tag */ 180 static void sata_dwc_bmdma_start_by_tag(struct ata_queued_cmd *qc, u8 tag); 183 static void sata_dwc_clear_dmacr(struct sata_dwc_device_port *hsdevp, u8 tag); 300 u8 tag = 0; in dma_dwc_xfer_done() local 306 tag = ap->link.active_tag; in dma_dwc_xfer_done() 314 sata_dwc_clear_dmacr(hsdevp, tag); in dma_dwc_xfer_done() 316 if (hsdevp->dma_pending[tag] == SATA_DWC_DMA_PENDING_NONE) { in dma_dwc_xfer_done() 317 dev_err(ap->dev, "DMA not pending tag=0x%02x pending=%d\n", in dma_dwc_xfer_done() 318 tag, hsdevp->dma_pending[tag]); in dma_dwc_xfer_done() 410 static u32 qcmd_tag_to_mask(u8 tag) in qcmd_tag_to_mask() argument [all …]
|
/Linux-v6.1/arch/x86/math-emu/ |
D | reg_divide.c | 11 | Return value is the tag of the answer, or-ed with FPU_Exception if | 34 int tag, deststnr; in FPU_div() local 81 tag = FPU_u_div(&x, &y, dest, control_w, sign); in FPU_div() 83 if (tag < 0) in FPU_div() 84 return tag; in FPU_div() 86 FPU_settagi(deststnr, tag); in FPU_div() 87 return tag; in FPU_div() 103 tag = FPU_u_div(&x, &y, dest, control_w, sign); in FPU_div() 104 if (tag < 0) in FPU_div() 105 return tag; in FPU_div() [all …]
|
/Linux-v6.1/drivers/pnp/pnpbios/ |
D | rsparser.c | 45 * end tag -> 47 * end tag -> 49 * final end tag -> 84 unsigned int len, tag; in pnpbios_parse_allocated_resource_data() local 96 /* determine the type of tag */ in pnpbios_parse_allocated_resource_data() 97 if (p[0] & LARGE_TAG) { /* large tag */ in pnpbios_parse_allocated_resource_data() 99 tag = p[0]; in pnpbios_parse_allocated_resource_data() 100 } else { /* small tag */ in pnpbios_parse_allocated_resource_data() 102 tag = ((p[0] >> 3) & 0x0f); in pnpbios_parse_allocated_resource_data() 105 switch (tag) { in pnpbios_parse_allocated_resource_data() [all …]
|
/Linux-v6.1/drivers/scsi/be2iscsi/ |
D | be_mgmt.c | 40 unsigned int tag = 0; in mgmt_vendor_specific_fw_cmd() local 79 wrb = alloc_mcc_wrb(phba, &tag); in mgmt_vendor_specific_fw_cmd() 92 be_mcc_notify(phba, tag); in mgmt_vendor_specific_fw_cmd() 95 return tag; in mgmt_vendor_specific_fw_cmd() 106 * Success: Tag number of the MBX Command issued 125 unsigned int tag = 0; in mgmt_open_connection() local 149 wrb = alloc_mcc_wrb(phba, &tag); in mgmt_open_connection() 208 be_mcc_notify(phba, tag); in mgmt_open_connection() 210 return tag; in mgmt_open_connection() 231 unsigned int tag; in beiscsi_exec_nemb_cmd() local [all …]
|
/Linux-v6.1/include/trace/events/ |
D | 9p.h | 125 TP_PROTO(struct p9_client *clnt, int8_t type, int tag), 127 TP_ARGS(clnt, type, tag), 132 __field( __u32, tag ) 138 __entry->tag = tag; 141 TP_printk("client %lu request %s tag %d", 143 __entry->tag) 147 TP_PROTO(struct p9_client *clnt, int8_t type, int tag, int err), 149 TP_ARGS(clnt, type, tag, err), 154 __field( __u32, tag ) 161 __entry->tag = tag; [all …]
|
/Linux-v6.1/arch/sparc/kernel/ |
D | adi_64.c | 19 * prudent to allocate at least enough tag storage space to accommodate 20 * SWAPFILE_CLUSTER number of pages. Allocate enough tag storage to 109 pr_warn("WARNING: ADI tag size >4 on this platform. Disabling AADI support\n"); in mdesc_adi_init() 131 /* Check if this vma already has tag storage descriptor in find_tag_store() 171 /* Check if this vma already has tag storage descriptor in alloc_tag_store() 217 /* Check if we ran out of tag storage descriptors */ in alloc_tag_store() 223 /* Mark this tag descriptor slot in use and then initialize it */ in alloc_tag_store() 227 /* Tag storage has not been allocated for this vma and space in alloc_tag_store() 228 * is available in tag storage descriptor. Since this page is in alloc_tag_store() 232 * more than TAG_STORAGE_PAGES. Each byte in tag space holds in alloc_tag_store() [all …]
|
/Linux-v6.1/arch/mips/cavium-octeon/executive/ |
D | cvmx-l2c.c | 319 uint64_t tag = addr >> shift; in cvmx_l2c_lock_line() local 332 if (l2c_tadx_tag.s.valid && l2c_tadx_tag.s.tag == tag) in cvmx_l2c_lock_line() 465 union cvmx_l2c_tag tag; in cvmx_l2c_unlock_line() local 478 tag = cvmx_l2c_get_tag(assoc, index); in cvmx_l2c_unlock_line() 480 if (tag.s.V && (tag.s.addr == tag_addr)) { in cvmx_l2c_unlock_line() 482 return tag.s.L; in cvmx_l2c_unlock_line() 487 union cvmx_l2c_tag tag; in cvmx_l2c_unlock_line() local 492 /* Compute portion of address that is stored in tag */ in cvmx_l2c_unlock_line() 495 tag = cvmx_l2c_get_tag(assoc, index); in cvmx_l2c_unlock_line() 497 if (tag.s.V && (tag.s.addr == tag_addr)) { in cvmx_l2c_unlock_line() [all …]
|