Home
last modified time | relevance | path

Searched refs:tag (Results 1 – 25 of 1089) sorted by relevance

12345678910>>...44

/linux/arch/arm/kernel/
H A Datags_compat.c13 * 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 Datags_parse.c11 * 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 Datags_proc.c28 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...]
/linux/tools/testing/selftests/ublk/
H A Dnull.c45 static void __setup_nop_io(int tag, const struct ublksrv_io_desc *iod, in __setup_nop_io() argument
51 sqe->buf_index = tag; in __setup_nop_io()
55 sqe->user_data = build_user_data(tag, ublk_op, 0, q_id, 1); in __setup_nop_io()
59 int tag) in null_queue_zc_io() argument
61 const struct ublksrv_io_desc *iod = ublk_get_iod(q, tag); in null_queue_zc_io()
66 io_uring_prep_buf_register(sqe[0], 0, tag, q->q_id, ublk_get_io(q, tag)->buf_index); in null_queue_zc_io()
67 sqe[0]->user_data = build_user_data(tag, in null_queue_zc_io()
71 __setup_nop_io(tag, iod, sqe[1], q->q_id); in null_queue_zc_io()
74 io_uring_prep_buf_unregister(sqe[2], 0, tag, in null_queue_zc_io()
82 null_queue_auto_zc_io(struct ublk_thread * t,struct ublk_queue * q,int tag) null_queue_auto_zc_io() argument
95 unsigned tag = user_data_to_tag(cqe->user_data); ublk_null_io_done() local
116 ublk_null_queue_io(struct ublk_thread * t,struct ublk_queue * q,int tag) ublk_null_queue_io() argument
139 ublk_null_buf_index(const struct ublk_queue * q,int tag) ublk_null_buf_index() argument
[all...]
H A Dfile_backed.c17 const struct ublksrv_io_desc *iod, int tag) in loop_queue_flush_io() argument
26 sqe[0]->user_data = build_user_data(tag, ublk_op, 0, q->q_id, 1); in loop_queue_flush_io()
31 const struct ublksrv_io_desc *iod, int tag) in loop_queue_tgt_rw_io() argument
50 sqe[0]->buf_index = tag; in loop_queue_tgt_rw_io()
53 sqe[0]->user_data = build_user_data(tag, ublk_op, 0, q->q_id, 1); in loop_queue_tgt_rw_io()
59 io_uring_prep_buf_register(sqe[0], 0, tag, q->q_id, ublk_get_io(q, tag)->buf_index); in loop_queue_tgt_rw_io()
61 sqe[0]->user_data = build_user_data(tag, in loop_queue_tgt_rw_io()
67 sqe[1]->buf_index = tag; in loop_queue_tgt_rw_io()
69 sqe[1]->user_data = build_user_data(tag, ublk_o in loop_queue_tgt_rw_io()
77 loop_queue_tgt_io(struct ublk_thread * t,struct ublk_queue * q,int tag) loop_queue_tgt_io() argument
106 ublk_loop_queue_io(struct ublk_thread * t,struct ublk_queue * q,int tag) ublk_loop_queue_io() argument
117 unsigned tag = user_data_to_tag(cqe->user_data); ublk_loop_io_done() local
[all...]
H A Dkublk.h118 int tag; member
132 int (*queue_io)(struct ublk_thread *, struct ublk_queue *, int tag);
145 unsigned short (*buf_index)(const struct ublk_queue *, int tag);
216 static inline __u64 build_user_data(unsigned tag, unsigned op, in build_user_data() argument
221 assert(!(tag >> 16) && !(op >> 8) && !(tgt_data >> 16) && !(q_id >> 7)); in build_user_data()
223 return tag | (op << 16) | (tgt_data << 24) | in build_user_data()
254 return container_of(io, struct ublk_queue, ios[io->tag]); in ublk_io_to_queue()
277 int dev_fd, int tag, int q_id, __u64 index) in io_uring_prep_buf_register() argument
286 cmd->tag = tag; in io_uring_prep_buf_register()
292 io_uring_prep_buf_unregister(struct io_uring_sqe * sqe,int dev_fd,int tag,int q_id,__u64 index) io_uring_prep_buf_unregister() argument
311 ublk_set_io_res(struct ublk_queue * q,int tag,int res) ublk_set_io_res() argument
316 ublk_get_io_res(const struct ublk_queue * q,unsigned tag) ublk_get_io_res() argument
327 ublk_get_iod(const struct ublk_queue * q,int tag) ublk_get_iod() argument
340 ublk_get_io(struct ublk_queue * q,unsigned tag) ublk_get_io() argument
346 ublk_complete_io(struct ublk_thread * t,struct ublk_queue * q,unsigned tag,int res) ublk_complete_io() argument
356 ublk_queued_tgt_io(struct ublk_thread * t,struct ublk_queue * q,unsigned tag,int queued) ublk_queued_tgt_io() argument
370 ublk_completed_tgt_io(struct ublk_thread * t,struct ublk_queue * q,unsigned tag) ublk_completed_tgt_io() argument
[all...]
/linux/drivers/iommu/intel/
H A Dcache.c22 /* Check if an existing cache tag can be reused for a new association. */
23 static bool cache_tage_match(struct cache_tag *tag, u16 domain_id, in cache_tage_match() argument
27 if (tag->type != type) in cache_tage_match()
30 if (tag->domain_id != domain_id || tag->pasid != pasid) in cache_tage_match()
34 return tag->iommu == iommu; in cache_tage_match()
37 return tag->dev == dev; in cache_tage_match()
42 /* Assign a cache tag with specified type to domain. */
48 struct cache_tag *tag, *temp; in cache_tag_assign() local
52 tag in cache_tag_assign()
99 struct cache_tag *tag; cache_tag_unassign() local
366 cache_tag_flush_iotlb(struct dmar_domain * domain,struct cache_tag * tag,unsigned long addr,unsigned long pages,unsigned long mask,int ih) cache_tag_flush_iotlb() argument
398 cache_tag_flush_devtlb_psi(struct dmar_domain * domain,struct cache_tag * tag,unsigned long addr,unsigned long mask) cache_tag_flush_devtlb_psi() argument
434 struct cache_tag *tag; cache_tag_flush_range() local
503 struct cache_tag *tag; cache_tag_flush_range_np() local
[all...]
H A Dtrace.h94 TP_PROTO(struct cache_tag *tag),
95 TP_ARGS(tag),
97 __string(iommu, tag->iommu->name)
98 __string(dev, dev_name(tag->dev))
107 __entry->type = tag->type;
108 __entry->domain_id = tag->domain_id;
109 __entry->pasid = tag->pasid;
110 __entry->users = tag->users;
124 TP_PROTO(struct cache_tag *tag),
125 TP_ARGS(tag)
[all...]
/linux/arch/sparc/include/asm/
H A Dspitfire.h97 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...]
/linux/drivers/net/ethernet/netronome/nfp/
H A Dccm.c38 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()
92 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...]
/linux/arch/x86/math-emu/
H A Dreg_divide.c11 | 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 Dfpu_tags.c39 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...]
H A Dfpu_trig.c40 int tag, st0_tag = TAG_Valid; in trig_arg() local
51 tag = FPU_u_div(st0_ptr, &CONST_PI2, &tmp, PR_64_BITS | RC_CHOP | 0x3f, in trig_arg()
54 FPU_round_to_int(&tmp, tag); /* Fortunately, this can't overflow in trig_arg()
154 int tag; in convert_l2reg() local
174 tag = FPU_normalize(dest); in convert_l2reg()
175 FPU_settagi(deststnr, tag); in convert_l2reg()
233 static void f2xm1(FPU_REG *st0_ptr, u_char tag) in f2xm1() argument
239 if (tag == TAG_Valid) { in f2xm1()
253 if (tag == TAG_Zero) in f2xm1()
256 if (tag in f2xm1()
455 u_char tag; fsqrt_() local
508 int flags, tag; frndint_() local
550 f_sin(FPU_REG * st0_ptr,u_char tag) f_sin() argument
611 fsin(FPU_REG * st0_ptr,u_char tag) fsin() argument
616 f_cos(FPU_REG * st0_ptr,u_char tag) f_cos() argument
695 u_char tag; fsincos() local
793 int tag; do_fprem() local
1031 int e, tag; fyl2x() local
1201 int tag; fpatan() local
[all...]
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
H A Ddr_ste_v0.c740 u8 *tag) in dr_ste_v0_build_eth_l2_src_dst_tag() argument
744 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()
745 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()
748 MLX5_SET(ste_eth_l2_src_dst, tag, smac_47_32, in dr_ste_v0_build_eth_l2_src_dst_tag()
750 MLX5_SET(ste_eth_l2_src_dst, tag, smac_31_0, in dr_ste_v0_build_eth_l2_src_dst_tag()
758 MLX5_SET(ste_eth_l2_src_dst, tag, l3_type, STE_IPV4); in dr_ste_v0_build_eth_l2_src_dst_tag()
761 MLX5_SET(ste_eth_l2_src_dst, tag, l3_type, STE_IPV6); in dr_ste_v0_build_eth_l2_src_dst_tag()
768 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()
769 DR_STE_SET_TAG(eth_l2_src_dst, tag, first_cfi, spec, first_cfi); in dr_ste_v0_build_eth_l2_src_dst_tag()
770 DR_STE_SET_TAG(eth_l2_src_dst, tag, first_priorit in dr_ste_v0_build_eth_l2_src_dst_tag()
796 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
822 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
848 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
935 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
1009 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
1045 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
1098 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
1154 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
1178 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
1220 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
1246 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
1277 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
1320 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
1362 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
1408 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
1474 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
1498 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
1527 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
1557 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
1586 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
1612 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
1649 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
1710 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
1728 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
1773 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
1805 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
1835 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
1862 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
1888 dr_ste_v0_build_tnl_header_0_1_tag(struct mlx5dr_match_param * value,struct mlx5dr_ste_build * sb,u8 * tag) dr_ste_v0_build_tnl_header_0_1_tag() argument
[all...]
H A Ddr_ste_v1.c223 u8 *tag = hw_ste_p + DR_STE_SIZE_CTRL; in dr_ste_v1_prepare_for_postsend() local
224 u8 *mask = tag + DR_STE_SIZE_TAG; in dr_ste_v1_prepare_for_postsend()
232 /* Backup tag */ in dr_ste_v1_prepare_for_postsend()
233 memcpy(tmp_tag, tag, DR_STE_SIZE_TAG); in dr_ste_v1_prepare_for_postsend()
235 /* Swap mask and tag both are the same size */ in dr_ste_v1_prepare_for_postsend()
236 memcpy(tag, mask, DR_STE_SIZE_MASK); in dr_ste_v1_prepare_for_postsend()
451 * which doesn't have mask, and shouldn't have mask/tag swapped. in dr_ste_v1_set_match_range_pkt_len()
457 * To allow mask/tag swapping, writing the min/max_2 to min/max_0. in dr_ste_v1_set_match_range_pkt_len()
992 u8 *tag) in dr_ste_v1_build_eth_l2_src_dst_tag() argument
996 DR_STE_SET_TAG(eth_l2_src_dst_v1, tag, dmac_47_1 in dr_ste_v1_build_eth_l2_src_dst_tag()
1038 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
1062 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
1086 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
1170 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
1240 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
1273 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
1323 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
1375 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
1397 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
1437 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
1461 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
1488 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
1533 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
1574 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
1615 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
1656 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
1678 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
1706 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
1736 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
1764 dr_ste_v1_build_tnl_header_0_1_tag(struct mlx5dr_match_param * value,struct mlx5dr_ste_build * sb,u8 * tag) dr_ste_v1_build_tnl_header_0_1_tag() argument
1785 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
1809 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
1843 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
1900 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
1918 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
1963 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
1996 dr_ste_v1_build_flex_parser_tnl_geneve_tlv_opt_exist_tag(struct mlx5dr_match_param * value,struct mlx5dr_ste_build * sb,u8 * tag) dr_ste_v1_build_flex_parser_tnl_geneve_tlv_opt_exist_tag() argument
2021 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
2045 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
2072 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...]
H A Ddr_ste.h25 #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_n
52 DR_STE_SET_MPLS(lookup_type,mask,in_out,tag) global() argument
65 DR_STE_SET_FLEX_PARSER_FIELD(tag,fname,caps,spec) global() argument
106 dr_ste_calc_flex_parser_offset(u8 * tag,u8 parser_id) dr_ste_calc_flex_parser_offset() argument
[all...]
/linux/include/linux/
H A Dalloc_tag.h137 static inline struct alloc_tag_counters alloc_tag_read(struct alloc_tag *tag) in alloc_tag_read() argument
144 counter = per_cpu_ptr(tag->counters, cpu); in alloc_tag_read()
153 static inline void alloc_tag_add_check(union codetag_ref *ref, struct alloc_tag *tag) in alloc_tag_add_check() argument
156 "alloc_tag was not cleared (got tag for %s:%u)\n", in alloc_tag_add_check()
159 WARN_ONCE(!tag, "current->alloc_tag not set\n"); in alloc_tag_add_check()
167 static inline void alloc_tag_add_check(union codetag_ref *ref, struct alloc_tag *tag) {} in alloc_tag_add_check() argument
171 /* Caller should verify both ref and tag to be valid */
172 static inline bool __alloc_tag_ref_set(union codetag_ref *ref, struct alloc_tag *tag) in __alloc_tag_ref_set() argument
174 alloc_tag_add_check(ref, tag); in __alloc_tag_ref_set()
175 if (!ref || !tag) in __alloc_tag_ref_set()
182 alloc_tag_ref_set(union codetag_ref * ref,struct alloc_tag * tag) alloc_tag_ref_set() argument
197 alloc_tag_add(union codetag_ref * ref,struct alloc_tag * tag,size_t bytes) alloc_tag_add() argument
205 struct alloc_tag *tag; alloc_tag_sub() local
230 alloc_tag_add(union codetag_ref * ref,struct alloc_tag * tag,size_t bytes) alloc_tag_add() argument
[all...]
/linux/drivers/ata/
H A Dsata_dwc_460ex.c55 u32 fptagr; /* 1st party DMA tag */
175 static void sata_dwc_bmdma_start_by_tag(struct ata_queued_cmd *qc, u8 tag);
178 static void sata_dwc_clear_dmacr(struct sata_dwc_device_port *hsdevp, u8 tag);
295 u8 tag = 0; in dma_dwc_xfer_done() local
301 tag = ap->link.active_tag; in dma_dwc_xfer_done()
309 sata_dwc_clear_dmacr(hsdevp, tag); in dma_dwc_xfer_done()
311 if (hsdevp->dma_pending[tag] == SATA_DWC_DMA_PENDING_NONE) { in dma_dwc_xfer_done()
312 dev_err(ap->dev, "DMA not pending tag=0x%02x pending=%d\n", in dma_dwc_xfer_done()
313 tag, hsdevp->dma_pending[tag]); in dma_dwc_xfer_done()
405 qcmd_tag_to_mask(u8 tag) qcmd_tag_to_mask() argument
419 u8 status, tag; sata_dwc_error_intr() local
469 u8 status, tag; sata_dwc_isr() local
686 sata_dwc_clear_dmacr(struct sata_dwc_device_port * hsdevp,u8 tag) sata_dwc_clear_dmacr() argument
715 u8 tag = 0; sata_dwc_dma_xfer_complete() local
744 u8 tag = qc->hw_tag; sata_dwc_qc_complete() local
924 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
940 sata_dwc_bmdma_setup_by_tag(struct ata_queued_cmd * qc,u8 tag) sata_dwc_bmdma_setup_by_tag() argument
948 u8 tag = qc->hw_tag; sata_dwc_bmdma_setup() local
956 sata_dwc_bmdma_start_by_tag(struct ata_queued_cmd * qc,u8 tag) sata_dwc_bmdma_start_by_tag() argument
1001 u8 tag = qc->hw_tag; sata_dwc_bmdma_start() local
1012 u8 tag = qc->hw_tag; sata_dwc_qc_issue() local
[all...]
/linux/arch/xtensa/kernel/
H A Dsetup.c76 * the kernel. The first tag must be a BP_TAG_FIRST tag for the list
78 * BP_TAG_LAST tag.
82 u32 tag; member
86 #define __tagtable(tag, fn) static tagtable_t __tagtable_##fn \ argument
87 __section(".taglist") __attribute__((used)) = { tag, fn }
89 /* parse current tag */
91 static int __init parse_tag_mem(const bp_tag_t *tag) in parse_tag_mem() argument
93 struct bp_meminfo *mi = (struct bp_meminfo *)(tag->data); in parse_tag_mem()
105 static int __init parse_tag_initrd(const bp_tag_t* tag) in parse_tag_initrd() argument
121 parse_tag_fdt(const bp_tag_t * tag) parse_tag_fdt() argument
131 parse_tag_cmdline(const bp_tag_t * tag) parse_tag_cmdline() argument
139 parse_bootparam(const bp_tag_t * tag) parse_bootparam() argument
170 parse_bootparam(const bp_tag_t * tag) parse_bootparam() argument
[all...]
/linux/arch/mips/cavium-octeon/executive/
H A Dcvmx-l2c.c319 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...]
/linux/lib/
H A Dradix-tree.c100 static inline void tag_set(struct radix_tree_node *node, unsigned int tag, in tag_set() argument
103 __set_bit(offset, node->tags[tag]); in tag_set()
106 static inline void tag_clear(struct radix_tree_node *node, unsigned int tag, in tag_clear() argument
109 __clear_bit(offset, node->tags[tag]); in tag_clear()
112 static inline int tag_get(const struct radix_tree_node *node, unsigned int tag, in tag_get() argument
115 return test_bit(offset, node->tags[tag]); in tag_get()
118 static inline void root_tag_set(struct radix_tree_root *root, unsigned tag) in root_tag_set() argument
120 root->xa_flags |= (__force gfp_t)(1 << (tag + ROOT_TAG_SHIFT)); in root_tag_set()
123 static inline void root_tag_clear(struct radix_tree_root *root, unsigned tag) in root_tag_clear() argument
125 root->xa_flags &= (__force gfp_t)~(1 << (tag in root_tag_clear()
133 root_tag_get(const struct radix_tree_root * root,unsigned tag) root_tag_get() argument
153 any_tag_set(const struct radix_tree_node * node,unsigned int tag) any_tag_set() argument
163 all_tag_set(struct radix_tree_node * node,unsigned int tag) all_tag_set() argument
180 radix_tree_find_next_bit(struct radix_tree_node * node,unsigned int tag,unsigned long offset) radix_tree_find_next_bit() argument
413 int tag; radix_tree_extend() local
836 node_tag_get(const struct radix_tree_root * root,const struct radix_tree_node * node,unsigned int tag,unsigned int offset) node_tag_get() argument
940 node_tag_set(struct radix_tree_root * root,struct radix_tree_node * node,unsigned int tag,unsigned int offset) node_tag_set() argument
968 radix_tree_tag_set(struct radix_tree_root * root,unsigned long index,unsigned int tag) radix_tree_tag_set() argument
997 node_tag_clear(struct radix_tree_root * root,struct radix_tree_node * node,unsigned int tag,unsigned int offset) node_tag_clear() argument
1030 radix_tree_tag_clear(struct radix_tree_root * root,unsigned long index,unsigned int tag) radix_tree_tag_clear() argument
1061 radix_tree_iter_tag_clear(struct radix_tree_root * root,const struct radix_tree_iter * iter,unsigned int tag) radix_tree_iter_tag_clear() argument
1082 radix_tree_tag_get(const struct radix_tree_root * root,unsigned long index,unsigned int tag) radix_tree_tag_get() argument
1113 set_iter_tags(struct radix_tree_iter * iter,struct radix_tree_node * node,unsigned offset,unsigned tag) set_iter_tags() argument
1157 unsigned tag = flags & RADIX_TREE_ITER_TAG_MASK; radix_tree_next_chunk() local
1304 radix_tree_gang_lookup_tag(const struct radix_tree_root * root,void ** results,unsigned long first_index,unsigned int max_items,unsigned int tag) radix_tree_gang_lookup_tag() argument
1345 radix_tree_gang_lookup_tag_slot(const struct radix_tree_root * root,void __rcu *** results,unsigned long first_index,unsigned int max_items,unsigned int tag) radix_tree_gang_lookup_tag_slot() argument
1370 int tag; __radix_tree_delete() local
1456 radix_tree_tagged(const struct radix_tree_root * root,unsigned int tag) radix_tree_tagged() argument
[all...]
/linux/drivers/staging/media/atomisp/pci/hive_isp_css_shared/host/
H A Dtag.c7 #include "tag.h"
13 * @brief Creates the tag description from the given parameters.
35 * @brief Encodes the members of tag description into a 32-bit value.
36 * @param[in] tag Pointer to the tag description
37 * @return (unsigned int) Encoded 32-bit tag-info
40 sh_css_encode_tag_descr(struct sh_css_tag_descr *tag) in sh_css_encode_tag_descr() argument
50 assert(tag); in sh_css_encode_tag_descr()
52 if (tag->num_captures < 0) { in sh_css_encode_tag_descr()
53 num_captures = -tag in sh_css_encode_tag_descr()
[all...]
/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmcu.h69 __le16 tag; member
125 __le16 tag; member
153 __le16 tag; member
172 __le16 tag; member
201 __le16 tag; member
231 __le16 tag; member
236 __le16 tag; member
248 __le16 tag; member
266 __le16 tag; member
285 __le16 tag; member
337 __le16 tag; global() member
355 __le16 tag; global() member
366 __le16 tag; global() member
380 __le16 tag; global() member
395 __le16 tag; global() member
403 __le16 tag; global() member
414 __le16 tag; global() member
425 __le16 tag; global() member
432 __le16 tag; global() member
440 __le16 tag; global() member
447 __le16 tag; global() member
455 __le16 tag; global() member
471 __le16 tag; global() member
478 __le16 tag; global() member
488 __le16 tag; global() member
497 __le16 tag; global() member
510 __le16 tag; global() member
536 __le16 tag; global() member
559 __le16 tag; global() member
595 __le16 tag; global() member
613 __le16 tag; global() member
620 __le16 tag; global() member
629 __le16 tag; global() member
642 __le16 tag; global() member
658 __le16 tag; global() member
667 __le16 tag; global() member
676 __le16 tag; global() member
688 __le16 tag; global() member
697 __le16 tag; global() member
708 __le16 tag; global() member
717 __le16 tag; global() member
748 __le16 tag; global() member
964 __le16 tag; global() member
[all...]
/linux/fs/xfs/
H A Dxfs_error.h11 extern void xfs_error_report(const char *tag, int level, struct xfs_mount *mp,
14 extern void xfs_corruption_error(const char *tag, int level,
46 #define XFS_TEST_ERROR(expr, mp, tag) \ argument
47 ((expr) || xfs_errortag_test((mp), #expr, __FILE__, __LINE__, (tag)))
48 bool xfs_errortag_enabled(struct xfs_mount *mp, unsigned int tag);
49 #define XFS_ERRORTAG_DELAY(mp, tag) \ argument
52 if (!xfs_errortag_enabled((mp), (tag))) \
56 (mp)->m_errortag[(tag)], __FILE__, __LINE__, \
58 mdelay((mp)->m_errortag[(tag)]); \
69 #define XFS_TEST_ERROR(expr, mp, tag) (exp argument
70 XFS_ERRORTAG_DELAY(mp,tag) global() argument
71 xfs_errortag_set(mp,tag,val) global() argument
72 xfs_errortag_add(mp,tag) global() argument
[all...]
/linux/drivers/scsi/be2iscsi/
H A Dbe_mgmt.c40 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()
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
235 wrb = alloc_mcc_wrb(phba, &tag); in beiscsi_exec_nemb_cmd()
306 __beiscsi_eq_delay_compl(struct beiscsi_hba * phba,unsigned int tag) __beiscsi_eq_delay_compl() argument
394 unsigned int tag; beiscsi_if_get_handle() local
723 unsigned int tag; beiscsi_if_set_vlan() local
820 beiscsi_boot_process_compl(struct beiscsi_hba * phba,unsigned int tag) beiscsi_boot_process_compl() argument
930 unsigned int tag; beiscsi_boot_logout_sess() local
969 unsigned int tag; beiscsi_boot_reopen_sess() local
1012 unsigned int tag; beiscsi_boot_get_sinfo() local
1058 unsigned int tag; __beiscsi_boot_get_shandle() local
1098 unsigned int tag; beiscsi_boot_get_shandle() local
1440 unsigned int tag = 0; beiscsi_invalidate_cxn() local
1477 unsigned int tag; beiscsi_upload_cxn() local
1508 unsigned int i, tag; beiscsi_mgmt_invalidate_icds() local
[all...]

12345678910>>...44