/kernel/linux/linux-5.10/arch/arm/kernel/ |
H A 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 in memtag() 94 struct tag *tag = taglist; build_tag_list() local [all...] |
H A D | atags_parse.c | 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 *ta argument 73 parse_tag_videotext(const struct tag *tag) parse_tag_videotext() argument 91 parse_tag_ramdisk(const struct tag *tag) parse_tag_ramdisk() argument 104 parse_tag_serialnr(const struct tag *tag) parse_tag_serialnr() argument 113 parse_tag_revision(const struct tag *tag) parse_tag_revision() argument 121 parse_tag_cmdline(const struct tag *tag) parse_tag_cmdline() argument 143 parse_tag(const struct tag *tag) parse_tag() argument 169 squash_mem_tags(struct tag *tag) squash_mem_tags() argument [all...] |
H A 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 in init_atags_procfs() [all...] |
/kernel/linux/linux-6.6/arch/arm/kernel/ |
H A 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 in memtag() 94 struct tag *tag = taglist; build_tag_list() local [all...] |
H A D | atags_parse.c | 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 *ta argument 73 parse_tag_videotext(const struct tag *tag) parse_tag_videotext() argument 91 parse_tag_ramdisk(const struct tag *tag) parse_tag_ramdisk() argument 104 parse_tag_serialnr(const struct tag *tag) parse_tag_serialnr() argument 113 parse_tag_revision(const struct tag *tag) parse_tag_revision() argument 121 parse_tag_cmdline(const struct tag *tag) parse_tag_cmdline() argument 143 parse_tag(const struct tag *tag) parse_tag() argument 169 squash_mem_tags(struct tag *tag) squash_mem_tags() argument [all...] |
H A 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 in init_atags_procfs() [all...] |
/kernel/linux/linux-5.10/fs/fscache/ |
H A 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, in __fscache_lookup_cache_tag() 69 __fscache_release_cache_tag(struct fscache_cache_tag *tag) __fscache_release_cache_tag() argument 93 struct fscache_cache_tag *tag; fscache_select_cache_for_object() local 217 struct fscache_cache_tag *tag; fscache_add_cache() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | dr_ste_v0.c | 738 u8 *tag) in dr_ste_v0_build_eth_l2_src_dst_tag() 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_priorit in dr_ste_v0_build_eth_l2_src_dst_tag() 736 dr_ste_v0_build_eth_l2_src_dst_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v0_build_eth_l2_src_dst_tag() argument 792 dr_ste_v0_build_eth_l3_ipv6_dst_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v0_build_eth_l3_ipv6_dst_tag() argument 818 dr_ste_v0_build_eth_l3_ipv6_src_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v0_build_eth_l3_ipv6_src_tag() argument 844 dr_ste_v0_build_eth_l3_ipv4_5_tuple_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v0_build_eth_l3_ipv4_5_tuple_tag() argument 932 dr_ste_v0_build_eth_l2_src_or_dst_tag(struct mlx5dr_match_param *value, bool inner, u8 *tag) dr_ste_v0_build_eth_l2_src_or_dst_tag() argument 1005 dr_ste_v0_build_eth_l2_src_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v0_build_eth_l2_src_tag() argument 1041 dr_ste_v0_build_eth_l2_dst_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v0_build_eth_l2_dst_tag() argument 1094 dr_ste_v0_build_eth_l2_tnl_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v0_build_eth_l2_tnl_tag() argument 1150 dr_ste_v0_build_eth_l3_ipv4_misc_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v0_build_eth_l3_ipv4_misc_tag() argument 1174 dr_ste_v0_build_eth_ipv6_l3_l4_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v0_build_eth_ipv6_l3_l4_tag() argument 1216 dr_ste_v0_build_mpls_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v0_build_mpls_tag() argument 1242 dr_ste_v0_build_tnl_gre_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v0_build_tnl_gre_tag() argument 1273 dr_ste_v0_build_tnl_mpls_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v0_build_tnl_mpls_tag() argument 1316 dr_ste_v0_build_tnl_mpls_over_udp_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v0_build_tnl_mpls_over_udp_tag() argument 1358 dr_ste_v0_build_tnl_mpls_over_gre_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v0_build_tnl_mpls_over_gre_tag() argument 1404 dr_ste_v0_build_icmp_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v0_build_icmp_tag() argument 1470 dr_ste_v0_build_general_purpose_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v0_build_general_purpose_tag() argument 1494 dr_ste_v0_build_eth_l4_misc_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v0_build_eth_l4_misc_tag() argument 1523 dr_ste_v0_build_flex_parser_tnl_vxlan_gpe_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v0_build_flex_parser_tnl_vxlan_gpe_tag() argument 1553 dr_ste_v0_build_flex_parser_tnl_geneve_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v0_build_flex_parser_tnl_geneve_tag() argument 1582 dr_ste_v0_build_register_0_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v0_build_register_0_tag() argument 1608 dr_ste_v0_build_register_1_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v0_build_register_1_tag() argument 1645 dr_ste_v0_build_src_gvmi_qpn_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v0_build_src_gvmi_qpn_tag() argument 1705 dr_ste_v0_set_flex_parser(u32 *misc4_field_id, u32 *misc4_field_value, bool *parser_is_used, u8 *tag) dr_ste_v0_set_flex_parser() argument 1724 dr_ste_v0_build_flex_parser_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v0_build_flex_parser_tag() argument 1769 dr_ste_v0_build_flex_parser_tnl_geneve_tlv_opt_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v0_build_flex_parser_tnl_geneve_tlv_opt_tag() argument 1801 dr_ste_v0_build_flex_parser_tnl_gtpu_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v0_build_flex_parser_tnl_gtpu_tag() argument 1831 dr_ste_v0_build_tnl_gtpu_flex_parser_0_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v0_build_tnl_gtpu_flex_parser_0_tag() argument 1858 dr_ste_v0_build_tnl_gtpu_flex_parser_1_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v0_build_tnl_gtpu_flex_parser_1_tag() argument 1884 dr_ste_v0_build_tnl_header_0_1_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, uint8_t *tag) dr_ste_v0_build_tnl_header_0_1_tag() argument [all...] |
H A D | dr_ste_v1.c | 353 u8 *tag = hw_ste_p + DR_STE_SIZE_CTRL; in dr_ste_v1_prepare_for_postsend() local 354 u8 *mask = tag + DR_STE_SIZE_TAG; in dr_ste_v1_prepare_for_postsend() 362 /* Backup tag */ in dr_ste_v1_prepare_for_postsend() 363 memcpy(tmp_tag, tag, DR_STE_SIZE_TAG); in dr_ste_v1_prepare_for_postsend() 365 /* Swap mask and tag both are the same size */ in dr_ste_v1_prepare_for_postsend() 366 memcpy(tag, mask, DR_STE_SIZE_MASK); in dr_ste_v1_prepare_for_postsend() 586 * which doesn't have mask, and shouldn't have mask/tag swapped. in dr_ste_v1_set_match_range_pkt_len() 592 * To allow mask/tag swapping, writing the min/max_2 to min/max_0. in dr_ste_v1_set_match_range_pkt_len() 1128 u8 *tag) in dr_ste_v1_build_eth_l2_src_dst_tag() 1132 DR_STE_SET_TAG(eth_l2_src_dst_v1, tag, dmac_47_1 in dr_ste_v1_build_eth_l2_src_dst_tag() 1126 dr_ste_v1_build_eth_l2_src_dst_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v1_build_eth_l2_src_dst_tag() argument 1172 dr_ste_v1_build_eth_l3_ipv6_dst_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v1_build_eth_l3_ipv6_dst_tag() argument 1196 dr_ste_v1_build_eth_l3_ipv6_src_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v1_build_eth_l3_ipv6_src_tag() argument 1220 dr_ste_v1_build_eth_l3_ipv4_5_tuple_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v1_build_eth_l3_ipv4_5_tuple_tag() argument 1305 dr_ste_v1_build_eth_l2_src_or_dst_tag(struct mlx5dr_match_param *value, bool inner, u8 *tag) dr_ste_v1_build_eth_l2_src_or_dst_tag() argument 1374 dr_ste_v1_build_eth_l2_src_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v1_build_eth_l2_src_tag() argument 1407 dr_ste_v1_build_eth_l2_dst_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v1_build_eth_l2_dst_tag() argument 1457 dr_ste_v1_build_eth_l2_tnl_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v1_build_eth_l2_tnl_tag() argument 1509 dr_ste_v1_build_eth_l3_ipv4_misc_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v1_build_eth_l3_ipv4_misc_tag() argument 1531 dr_ste_v1_build_eth_ipv6_l3_l4_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v1_build_eth_ipv6_l3_l4_tag() argument 1571 dr_ste_v1_build_mpls_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v1_build_mpls_tag() argument 1595 dr_ste_v1_build_tnl_gre_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v1_build_tnl_gre_tag() argument 1622 dr_ste_v1_build_tnl_mpls_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v1_build_tnl_mpls_tag() argument 1667 dr_ste_v1_build_tnl_mpls_over_udp_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v1_build_tnl_mpls_over_udp_tag() argument 1708 dr_ste_v1_build_tnl_mpls_over_gre_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v1_build_tnl_mpls_over_gre_tag() argument 1749 dr_ste_v1_build_icmp_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v1_build_icmp_tag() argument 1790 dr_ste_v1_build_general_purpose_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v1_build_general_purpose_tag() argument 1812 dr_ste_v1_build_eth_l4_misc_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v1_build_eth_l4_misc_tag() argument 1840 dr_ste_v1_build_flex_parser_tnl_vxlan_gpe_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v1_build_flex_parser_tnl_vxlan_gpe_tag() argument 1870 dr_ste_v1_build_flex_parser_tnl_geneve_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v1_build_flex_parser_tnl_geneve_tag() argument 1898 dr_ste_v1_build_tnl_header_0_1_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, uint8_t *tag) dr_ste_v1_build_tnl_header_0_1_tag() argument 1919 dr_ste_v1_build_register_0_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v1_build_register_0_tag() argument 1943 dr_ste_v1_build_register_1_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v1_build_register_1_tag() argument 1977 dr_ste_v1_build_src_gvmi_qpn_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v1_build_src_gvmi_qpn_tag() argument 2033 dr_ste_v1_set_flex_parser(u32 *misc4_field_id, u32 *misc4_field_value, bool *parser_is_used, u8 *tag) dr_ste_v1_set_flex_parser() argument 2052 dr_ste_v1_build_felx_parser_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v1_build_felx_parser_tag() argument 2097 dr_ste_v1_build_flex_parser_tnl_geneve_tlv_opt_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v1_build_flex_parser_tnl_geneve_tlv_opt_tag() argument 2130 dr_ste_v1_build_flex_parser_tnl_geneve_tlv_opt_exist_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, uint8_t *tag) dr_ste_v1_build_flex_parser_tnl_geneve_tlv_opt_exist_tag() argument 2155 dr_ste_v1_build_flex_parser_tnl_gtpu_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v1_build_flex_parser_tnl_gtpu_tag() argument 2179 dr_ste_v1_build_tnl_gtpu_flex_parser_0_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v1_build_tnl_gtpu_flex_parser_0_tag() argument 2206 dr_ste_v1_build_tnl_gtpu_flex_parser_1_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_v1_build_tnl_gtpu_flex_parser_1_tag() argument [all...] |
/kernel/linux/linux-5.10/arch/sparc/include/asm/ |
H A D | spitfire.h | 97 static inline void spitfire_put_dcache_tag(unsigned long addr, unsigned long tag) in spitfire_put_dcache_tag() argument 102 : "r" (tag), "r" (addr), "i" (ASI_DCACHE_TAG)); in spitfire_put_dcache_tag() 111 static inline void spitfire_put_icache_tag(unsigned long addr, unsigned long tag) in spitfire_put_icache_tag() argument 116 : "r" (tag), "r" (addr), "i" (ASI_IC_TAG)); in spitfire_put_icache_tag() 135 unsigned long tag; in spitfire_get_dtlb_tag() local 138 : "=r" (tag) in spitfire_get_dtlb_tag() 140 return tag; in spitfire_get_dtlb_tag() 168 unsigned long tag; in spitfire_get_itlb_tag() local 171 : "=r" (tag) in spitfire_get_itlb_tag() 173 return tag; in spitfire_get_itlb_tag() 260 unsigned long tag; cheetah_get_ldtlb_tag() local 272 unsigned long tag; cheetah_get_litlb_tag() local 316 unsigned long tag; cheetah_get_dtlb_tag() local 349 unsigned long tag; cheetah_get_itlb_tag() local [all...] |
/kernel/linux/linux-6.6/arch/sparc/include/asm/ |
H A D | spitfire.h | 97 static inline void spitfire_put_dcache_tag(unsigned long addr, unsigned long tag) in spitfire_put_dcache_tag() argument 102 : "r" (tag), "r" (addr), "i" (ASI_DCACHE_TAG)); in spitfire_put_dcache_tag() 111 static inline void spitfire_put_icache_tag(unsigned long addr, unsigned long tag) in spitfire_put_icache_tag() argument 116 : "r" (tag), "r" (addr), "i" (ASI_IC_TAG)); in spitfire_put_icache_tag() 135 unsigned long tag; in spitfire_get_dtlb_tag() local 138 : "=r" (tag) in spitfire_get_dtlb_tag() 140 return tag; in spitfire_get_dtlb_tag() 168 unsigned long tag; in spitfire_get_itlb_tag() local 171 : "=r" (tag) in spitfire_get_itlb_tag() 173 return tag; in spitfire_get_itlb_tag() 260 unsigned long tag; cheetah_get_ldtlb_tag() local 272 unsigned long tag; cheetah_get_litlb_tag() local 316 unsigned long tag; cheetah_get_dtlb_tag() local 349 unsigned long tag; cheetah_get_itlb_tag() local [all...] |
/kernel/linux/linux-5.10/arch/x86/math-emu/ |
H A 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() 137 int tag; FPU_div() local 144 int tag; FPU_div() local [all...] |
H A D | fpu_tags.c | 39 void FPU_settag0(int tag) in FPU_settag0() argument 44 fpu_tag_word |= (tag & 3) << (regnr * 2); in FPU_settag0() 47 void FPU_settagi(int stnr, int tag) in FPU_settagi() argument 52 fpu_tag_word |= (tag & 3) << (regnr * 2); in FPU_settagi() 55 void FPU_settag(int regnr, int tag) in FPU_settag() argument 59 fpu_tag_word |= (tag & 3) << (regnr * 2); in FPU_settag() 95 void FPU_copy_to_regi(FPU_REG const *r, u_char tag, int stnr) in FPU_copy_to_regi() argument 98 FPU_settagi(stnr, tag); in FPU_copy_to_regi() 101 void FPU_copy_to_reg1(FPU_REG const *r, u_char tag) in FPU_copy_to_reg1() argument 104 FPU_settagi(1, tag); in FPU_copy_to_reg1() 107 FPU_copy_to_reg0(FPU_REG const *r, u_char tag) FPU_copy_to_reg0() argument [all...] |
/kernel/linux/linux-6.6/arch/x86/math-emu/ |
H A 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() 137 int tag; FPU_div() local 144 int tag; FPU_div() local [all...] |
H A D | fpu_tags.c | 39 void FPU_settag0(int tag) in FPU_settag0() argument 44 fpu_tag_word |= (tag & 3) << (regnr * 2); in FPU_settag0() 47 void FPU_settagi(int stnr, int tag) in FPU_settagi() argument 52 fpu_tag_word |= (tag & 3) << (regnr * 2); in FPU_settagi() 55 void FPU_settag(int regnr, int tag) in FPU_settag() argument 59 fpu_tag_word |= (tag & 3) << (regnr * 2); in FPU_settag() 95 void FPU_copy_to_regi(FPU_REG const *r, u_char tag, int stnr) in FPU_copy_to_regi() argument 98 FPU_settagi(stnr, tag); in FPU_copy_to_regi() 101 void FPU_copy_to_reg1(FPU_REG const *r, u_char tag) in FPU_copy_to_reg1() argument 104 FPU_settagi(1, tag); in FPU_copy_to_reg1() 107 FPU_copy_to_reg0(FPU_REG const *r, u_char tag) FPU_copy_to_reg0() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/ |
H A 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() 91 nfp_ccm_wait_reply(struct nfp_ccm *ccm, struct nfp_app *app, enum nfp_ccm_type type, int tag) nfp_ccm_wait_reply() argument 133 int reply_type, tag; nfp_ccm_communicate() local 178 unsigned int tag; nfp_ccm_rx() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/ |
H A 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() 91 nfp_ccm_wait_reply(struct nfp_ccm *ccm, struct nfp_app *app, enum nfp_ccm_type type, int tag) nfp_ccm_wait_reply() argument 133 int reply_type, tag; nfp_ccm_communicate() local 178 unsigned int tag; nfp_ccm_rx() local [all...] |
/kernel/linux/linux-5.10/fs/cifs/ |
H A D | asn1.c | 140 asn1_tag_decode(struct asn1_ctx *ctx, unsigned int *tag) in asn1_tag_decode() argument 144 *tag = 0; in asn1_tag_decode() 149 *tag <<= 7; in asn1_tag_decode() 150 *tag |= ch & 0x7F; in asn1_tag_decode() 157 unsigned int *cls, unsigned int *con, unsigned int *tag) in asn1_id_decode() 166 *tag = (ch & 0x1F); in asn1_id_decode() 168 if (*tag == 0x1F) { in asn1_id_decode() 169 if (!asn1_tag_decode(ctx, tag)) in asn1_id_decode() 214 unsigned int *cls, unsigned int *con, unsigned int *tag) in asn1_header_decode() 219 if (!asn1_id_decode(ctx, cls, con, tag)) in asn1_header_decode() 156 asn1_id_decode(struct asn1_ctx *ctx, unsigned int *cls, unsigned int *con, unsigned int *tag) asn1_id_decode() argument 212 asn1_header_decode(struct asn1_ctx *ctx, unsigned char **eoc, unsigned int *cls, unsigned int *con, unsigned int *tag) asn1_header_decode() argument 490 unsigned int cls, con, tag, oidlen, rc; decode_negTokenInit() local [all...] |
/kernel/linux/linux-5.10/net/dsa/ |
H A D | tag_ksz.c | 3 * net/dsa/tag_ksz.c - Microchip KSZ Switch tag format handling 13 /* Typically only one byte is used for tail tag. */ 36 * DA(6bytes)|SA(6bytes)|....|Data(nbytes)|tag(1byte)|FCS(4bytes) 38 * tag : each bit represents port (eg, 0x01=port1, 0x02=port2, 0x10=port5) 54 u8 *tag; in ksz8795_xmit() local 58 tag = skb_put(skb, KSZ_INGRESS_TAG_LEN); in ksz8795_xmit() 61 *tag = 1 << dp->index; in ksz8795_xmit() 63 *tag |= KSZ8795_TAIL_TAG_OVERRIDE; in ksz8795_xmit() 71 u8 *tag = skb_tail_pointer(skb) - KSZ_EGRESS_TAG_LEN; in ksz8795_rcv() local 73 return ksz_common_rcv(skb, dev, tag[ in ksz8795_rcv() 115 __be16 *tag; ksz9477_xmit() local 137 u8 *tag = skb_tail_pointer(skb) - KSZ_EGRESS_TAG_LEN; ksz9477_rcv() local 168 u8 *tag; ksz9893_xmit() local [all...] |
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/executive/ |
H A 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() 652 union cvmx_l2c_tag tag; cvmx_l2c_get_tag() local [all...] |
/kernel/linux/linux-6.6/arch/mips/cavium-octeon/executive/ |
H A 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() 652 union cvmx_l2c_tag tag; cvmx_l2c_get_tag() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | dr_ste.c | 22 #define DR_STE_SET_VAL(lookup_type, tag, t_fname, spec, s_fname, value) do { \ 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) \ 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 { \ 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_ur 107 u8 tag[DR_STE_SIZE_TAG]; global() member 1049 dr_ste_build_eth_l2_src_des_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_build_eth_l2_src_des_tag() argument 1118 dr_ste_build_eth_l3_ipv6_dst_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_build_eth_l3_ipv6_dst_tag() argument 1156 dr_ste_build_eth_l3_ipv6_src_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_build_eth_l3_ipv6_src_tag() argument 1216 dr_ste_build_eth_l3_ipv4_5_tuple_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_build_eth_l3_ipv4_5_tuple_tag() argument 1305 dr_ste_build_eth_l2_src_or_dst_tag(struct mlx5dr_match_param *value, bool inner, u8 *tag) dr_ste_build_eth_l2_src_or_dst_tag() argument 1377 dr_ste_build_eth_l2_src_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_build_eth_l2_src_tag() argument 1412 dr_ste_build_eth_l2_dst_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_build_eth_l2_dst_tag() argument 1465 dr_ste_build_eth_l2_tnl_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_build_eth_l2_tnl_tag() argument 1529 dr_ste_build_eth_l3_ipv4_misc_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_build_eth_l3_ipv4_misc_tag() argument 1574 dr_ste_build_ipv6_l3_l4_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_build_ipv6_l3_l4_tag() argument 1611 dr_ste_build_empty_always_hit_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_build_empty_always_hit_tag() argument 1637 dr_ste_build_mpls_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_build_mpls_tag() argument 1678 dr_ste_build_gre_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_build_gre_tag() argument 1741 dr_ste_build_flex_parser_0_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_build_flex_parser_0_tag() argument 1861 dr_ste_build_flex_parser_1_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_build_flex_parser_1_tag() argument 1963 dr_ste_build_general_purpose_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_build_general_purpose_tag() argument 2006 dr_ste_build_eth_l4_misc_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_build_eth_l4_misc_tag() argument 2054 dr_ste_build_flex_parser_tnl_vxlan_gpe_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_build_flex_parser_tnl_vxlan_gpe_tag() argument 2108 dr_ste_build_flex_parser_tnl_geneve_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_build_flex_parser_tnl_geneve_tag() argument 2153 dr_ste_build_register_0_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_build_register_0_tag() argument 2195 dr_ste_build_register_1_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_build_register_1_tag() argument 2232 dr_ste_build_src_gvmi_qpn_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) dr_ste_build_src_gvmi_qpn_tag() argument [all...] |
/kernel/linux/linux-5.10/drivers/ata/ |
H A D | sata_dwc_460ex.c | 68 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 qcmd_tag_to_mask(u8 tag) qcmd_tag_to_mask() argument 464 u8 status, tag; sata_dwc_error_intr() local 514 u8 status, tag; sata_dwc_isr() local 722 sata_dwc_clear_dmacr(struct sata_dwc_device_port *hsdevp, u8 tag) sata_dwc_clear_dmacr() argument 751 u8 tag = 0; sata_dwc_dma_xfer_complete() local 792 u8 tag = qc->hw_tag; sata_dwc_qc_complete() local 971 sata_dwc_exec_command_by_tag(struct ata_port *ap, struct ata_taskfile *tf, u8 tag, u32 cmd_issued) sata_dwc_exec_command_by_tag() argument 992 sata_dwc_bmdma_setup_by_tag(struct ata_queued_cmd *qc, u8 tag) sata_dwc_bmdma_setup_by_tag() argument 1000 u8 tag = qc->hw_tag; sata_dwc_bmdma_setup() local 1011 sata_dwc_bmdma_start_by_tag(struct ata_queued_cmd *qc, u8 tag) sata_dwc_bmdma_start_by_tag() argument 1062 u8 tag = qc->hw_tag; sata_dwc_bmdma_start() local 1077 u8 tag = qc->hw_tag; sata_dwc_qc_issue() local [all...] |
/kernel/linux/linux-5.10/include/trace/events/ |
H A 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 ) [all...] |
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/hive_isp_css_shared/host/ |
H A 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 in sh_css_encode_tag_descr() [all...] |