| /kernel/linux/linux-4.19/arch/arm/kernel/ |
| D | atags_compat.c | 16 * to convert to the new struct tag way. 84 static struct tag * __init memtag(struct tag *tag, unsigned long start, unsigned long size) in memtag() argument 86 tag = tag_next(tag); in memtag() 87 tag->hdr.tag = ATAG_MEM; in memtag() 88 tag->hdr.size = tag_size(tag_mem32); in memtag() 89 tag->u.mem.size = size; in memtag() 90 tag->u.mem.start = start; in memtag() 92 return tag; in memtag() 97 struct tag *tag = taglist; in build_tag_list() local 122 tag->hdr.tag = ATAG_CORE; in build_tag_list() [all …]
|
| D | atags_parse.c | 2 * Tag parsing. 14 * of variable-sized tags to the kernel. The first tag must be a ATAG_CORE 15 * tag for the list to be recognised (to distinguish the tagged list from 16 * a param_struct). The list is terminated with a zero-length tag (this tag 55 static int __init parse_tag_core(const struct tag *tag) in parse_tag_core() argument 57 if (tag->hdr.size > 2) { in parse_tag_core() 58 if ((tag->u.core.flags & 1) == 0) in parse_tag_core() 60 ROOT_DEV = old_decode_dev(tag->u.core.rootdev); in parse_tag_core() 67 static int __init parse_tag_mem32(const struct tag *tag) in parse_tag_mem32() argument 69 return arm_add_memory(tag->u.mem.start, tag->u.mem.size); in parse_tag_mem32() [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-4.19/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 …]
|
| /kernel/linux/linux-4.19/block/ |
| D | blk-tag.c | 14 * blk_queue_find_tag - find a request by its tag and queue 16 * @tag: The tag of the request 19 * Should be used when a device returns a tag and you want to match 24 struct request *blk_queue_find_tag(struct request_queue *q, int tag) in blk_queue_find_tag() argument 26 return blk_map_queue_find_tag(q->queue_tags, tag); in blk_queue_find_tag() 31 * blk_free_tags - release a given set of tag maintenance info 32 * @bqt: the tag map to free 55 * __blk_queue_free_tags - release tag maintenance info 76 * blk_queue_free_tags - release tag maintenance info 144 * blk_init_tags - initialize the tag info for an external tag map [all …]
|
| /kernel/linux/linux-5.10/fs/fscache/ |
| D | cache.c | 21 * look up a cache tag 25 struct fscache_cache_tag *tag, *xtag; in __fscache_lookup_cache_tag() local 27 /* firstly check for the existence of the tag under read lock */ in __fscache_lookup_cache_tag() 30 list_for_each_entry(tag, &fscache_cache_tag_list, link) { in __fscache_lookup_cache_tag() 31 if (strcmp(tag->name, name) == 0) { in __fscache_lookup_cache_tag() 32 atomic_inc(&tag->usage); in __fscache_lookup_cache_tag() 34 return tag; in __fscache_lookup_cache_tag() 40 /* the tag does not exist - create a candidate */ in __fscache_lookup_cache_tag() 43 /* return a dummy tag if out of memory */ in __fscache_lookup_cache_tag() 52 list_for_each_entry(tag, &fscache_cache_tag_list, link) { in __fscache_lookup_cache_tag() [all …]
|
| /kernel/linux/linux-4.19/fs/fscache/ |
| D | cache.c | 25 * look up a cache tag 29 struct fscache_cache_tag *tag, *xtag; in __fscache_lookup_cache_tag() local 31 /* firstly check for the existence of the tag under read lock */ in __fscache_lookup_cache_tag() 34 list_for_each_entry(tag, &fscache_cache_tag_list, link) { in __fscache_lookup_cache_tag() 35 if (strcmp(tag->name, name) == 0) { in __fscache_lookup_cache_tag() 36 atomic_inc(&tag->usage); in __fscache_lookup_cache_tag() 38 return tag; in __fscache_lookup_cache_tag() 44 /* the tag does not exist - create a candidate */ in __fscache_lookup_cache_tag() 47 /* return a dummy tag if out of memory */ in __fscache_lookup_cache_tag() 56 list_for_each_entry(tag, &fscache_cache_tag_list, link) { in __fscache_lookup_cache_tag() [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/arm64/mte/ |
| D | mte_helper.S | 17 * mte_insert_random_tag: Insert random tag and might be same as the source tag if 20 * x0 - source pointer with a tag/no-tag 22 * x0 - pointer with random tag 30 * mte_insert_new_tag: Insert new tag and different from the source tag if 33 * x0 - source pointer with a tag/no-tag 35 * x0 - pointer with random tag 44 * mte_get_tag_address: Get the tag from given address. 48 * x0 - pointer with appended tag 56 * mte_set_tag_address_range: Set the tag range from the given address 58 * x0 - source pointer with tag data [all …]
|
| D | check_tags_inclusion.c | 46 int tag, run, result = KSFT_PASS; in check_single_included_tags() local 53 for (tag = 0; (tag < MT_TAG_COUNT) && (result == KSFT_PASS); tag++) { in check_single_included_tags() 54 mte_switch_mode(mode, MT_INCLUDE_VALID_TAG(tag)); in check_single_included_tags() 55 /* Try to catch a excluded tag by a number of tries. */ in check_single_included_tags() 58 /* Check tag value */ in check_single_included_tags() 59 if (MT_FETCH_TAG((uintptr_t)ptr) == tag) { in check_single_included_tags() 60 ksft_print_msg("FAIL: wrong tag = 0x%x with include mask=0x%x\n", in check_single_included_tags() 62 MT_INCLUDE_VALID_TAG(tag)); in check_single_included_tags() 76 int tag, run, result = KSFT_PASS; in check_multiple_included_tags() local 84 for (tag = 0; (tag < MT_TAG_COUNT - 1) && (result == KSFT_PASS); tag++) { in check_multiple_included_tags() [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-4.19/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
| D | dr_ste.c | 22 #define DR_STE_SET_VAL(lookup_type, tag, t_fname, spec, s_fname, value) do { \ argument 24 MLX5_SET(ste_##lookup_type, tag, t_fname, value); \ 29 /* Set to STE spec->s_fname to tag->t_fname */ 30 #define DR_STE_SET_TAG(lookup_type, tag, t_fname, spec, s_fname) \ argument 31 DR_STE_SET_VAL(lookup_type, tag, t_fname, spec, s_fname, spec->s_fname) 41 #define DR_STE_SET_TCP_FLAGS(lookup_type, tag, spec) do { \ argument 42 MLX5_SET(ste_##lookup_type, tag, tcp_ns, !!((spec)->tcp_flags & (1 << 8))); \ 43 MLX5_SET(ste_##lookup_type, tag, tcp_cwr, !!((spec)->tcp_flags & (1 << 7))); \ 44 MLX5_SET(ste_##lookup_type, tag, tcp_ece, !!((spec)->tcp_flags & (1 << 6))); \ 45 MLX5_SET(ste_##lookup_type, tag, tcp_urg, !!((spec)->tcp_flags & (1 << 5))); \ [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/net/dsa/ |
| D | Kconfig | 34 tristate "Tag driver for Atheros AR9331 SoC with built-in switch" 44 tristate "Tag driver for Broadcom switches using in-frame headers" 48 Broadcom switches which place the tag after the MAC source address. 52 tristate "Tag driver for Broadcom switches using prepended headers" 56 Broadcom switches which places the tag before the Ethernet header 60 tristate "Tag driver for Lantiq / Intel GSWIP switches" 66 tristate "Tag driver for Marvell switches using DSA headers" 72 tristate "Tag driver for Marvell switches using EtherType DSA headers" 78 tristate "Tag driver for Mediatek switches" 84 tristate "Tag driver for Microchip 8795/9477/9893 families of switches" [all …]
|
| /kernel/linux/linux-5.10/drivers/ata/ |
| D | sata_dwc_460ex.c | 68 u32 fptagr; /* 1st party DMA tag */ 184 static void sata_dwc_bmdma_start_by_tag(struct ata_queued_cmd *qc, u8 tag); 189 static void sata_dwc_clear_dmacr(struct sata_dwc_device_port *hsdevp, u8 tag); 336 u8 tag = 0; in dma_dwc_xfer_done() local 342 tag = ap->link.active_tag; in dma_dwc_xfer_done() 350 sata_dwc_clear_dmacr(hsdevp, tag); in dma_dwc_xfer_done() 352 if (hsdevp->dma_pending[tag] == SATA_DWC_DMA_PENDING_NONE) { in dma_dwc_xfer_done() 353 dev_err(ap->dev, "DMA not pending tag=0x%02x pending=%d\n", in dma_dwc_xfer_done() 354 tag, hsdevp->dma_pending[tag]); in dma_dwc_xfer_done() 446 static u32 qcmd_tag_to_mask(u8 tag) in qcmd_tag_to_mask() argument [all …]
|
| /kernel/linux/linux-4.19/drivers/ata/ |
| D | sata_dwc_460ex.c | 72 u32 fptagr; /* 1st party DMA tag */ 188 static void sata_dwc_bmdma_start_by_tag(struct ata_queued_cmd *qc, u8 tag); 193 static void sata_dwc_clear_dmacr(struct sata_dwc_device_port *hsdevp, u8 tag); 340 u8 tag = 0; in dma_dwc_xfer_done() local 346 tag = ap->link.active_tag; in dma_dwc_xfer_done() 354 sata_dwc_clear_dmacr(hsdevp, tag); in dma_dwc_xfer_done() 356 if (hsdevp->dma_pending[tag] == SATA_DWC_DMA_PENDING_NONE) { in dma_dwc_xfer_done() 357 dev_err(ap->dev, "DMA not pending tag=0x%02x pending=%d\n", in dma_dwc_xfer_done() 358 tag, hsdevp->dma_pending[tag]); in dma_dwc_xfer_done() 450 static u32 qcmd_tag_to_mask(u8 tag) in qcmd_tag_to_mask() argument [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-4.19/lib/ |
| D | radix-tree.c | 152 static inline void tag_set(struct radix_tree_node *node, unsigned int tag, in tag_set() argument 155 __set_bit(offset, node->tags[tag]); in tag_set() 158 static inline void tag_clear(struct radix_tree_node *node, unsigned int tag, in tag_clear() argument 161 __clear_bit(offset, node->tags[tag]); in tag_clear() 164 static inline int tag_get(const struct radix_tree_node *node, unsigned int tag, in tag_get() argument 167 return test_bit(offset, node->tags[tag]); in tag_get() 170 static inline void root_tag_set(struct radix_tree_root *root, unsigned tag) in root_tag_set() argument 172 root->gfp_mask |= (__force gfp_t)(1 << (tag + ROOT_TAG_SHIFT)); in root_tag_set() 175 static inline void root_tag_clear(struct radix_tree_root *root, unsigned tag) in root_tag_clear() argument 177 root->gfp_mask &= (__force gfp_t)~(1 << (tag + ROOT_TAG_SHIFT)); in root_tag_clear() [all …]
|
| /kernel/linux/linux-5.10/include/trace/events/ |
| D | 9p.h | 101 TP_PROTO(struct p9_client *clnt, int8_t type, int tag), 103 TP_ARGS(clnt, type, tag), 108 __field( __u32, tag ) 114 __entry->tag = tag; 117 TP_printk("client %lu request %s tag %d", 119 __entry->tag) 123 TP_PROTO(struct p9_client *clnt, int8_t type, int tag, int err), 125 TP_ARGS(clnt, type, tag, err), 130 __field( __u32, tag ) 137 __entry->tag = tag; [all …]
|
| /kernel/linux/linux-4.19/include/trace/events/ |
| D | 9p.h | 101 TP_PROTO(struct p9_client *clnt, int8_t type, int tag), 103 TP_ARGS(clnt, type, tag), 108 __field( __u32, tag ) 114 __entry->tag = tag; 117 TP_printk("client %lu request %s tag %d", 119 __entry->tag) 123 TP_PROTO(struct p9_client *clnt, int8_t type, int tag, int err), 125 TP_ARGS(clnt, type, tag, err), 130 __field( __u32, tag ) 137 __entry->tag = tag; [all …]
|
| /kernel/linux/linux-4.19/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|