| /linux-6.15/arch/arm/kernel/ |
| H A D | atags_compat.c | 83 tag = tag_next(tag); in memtag() 84 tag->hdr.tag = ATAG_MEM; in memtag() 125 tag = tag_next(tag); in build_tag_list() 133 tag = tag_next(tag); in build_tag_list() 139 tag = tag_next(tag); in build_tag_list() 145 tag = tag_next(tag); in build_tag_list() 162 tag = tag_next(tag); in build_tag_list() 171 tag = tag_next(tag); in build_tag_list() 187 tag = tag_next(tag); in build_tag_list() 196 tag = tag_next(tag); in build_tag_list() [all …]
|
| H A D | atags_parse.c | 53 static int __init parse_tag_core(const struct tag *tag) in parse_tag_core() argument 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() 91 static int __init parse_tag_ramdisk(const struct tag *tag) in parse_tag_ramdisk() argument 143 static int __init parse_tag(const struct tag *tag) in parse_tag() argument 149 if (tag->hdr.tag == t->tag) { in parse_tag() 169 static void __init squash_mem_tags(struct tag *tag) in squash_mem_tags() argument 171 for (; tag->hdr.size; tag = tag_next(tag)) in squash_mem_tags() 172 if (tag->hdr.tag == ATAG_MEM) in squash_mem_tags() 173 tag->hdr.tag = ATAG_NONE; in squash_mem_tags() [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 - atags_copy + sizeof(struct tag_header); in init_atags_procfs() 55 WARN_ON(tag->hdr.tag != ATAG_NONE); in init_atags_procfs()
|
| /linux-6.15/drivers/iommu/intel/ |
| H A D | cache.c | 30 if (tag->domain_id != domain_id || tag->pasid != pasid) in cache_tage_match() 53 tag = kzalloc(sizeof(*tag), GFP_KERNEL); in cache_tag_assign() 54 if (!tag) in cache_tag_assign() 57 tag->type = type; in cache_tag_assign() 58 tag->iommu = iommu; in cache_tag_assign() 60 tag->pasid = pasid; in cache_tag_assign() 61 tag->users = 1; in cache_tag_assign() 64 tag->dev = dev; in cache_tag_assign() 74 kfree(tag); in cache_tag_assign() 109 kfree(tag); in cache_tag_unassign() [all …]
|
| H A D | trace.h | 94 TP_PROTO(struct cache_tag *tag), 95 TP_ARGS(tag), 107 __entry->type = tag->type; 109 __entry->pasid = tag->pasid; 110 __entry->users = tag->users; 124 TP_PROTO(struct cache_tag *tag), 125 TP_ARGS(tag) 130 TP_ARGS(tag) 135 TP_ARGS(tag) 157 __entry->type = tag->type; [all …]
|
| /linux-6.15/tools/testing/selftests/ublk/ |
| H A D | file_backed.c | 53 io_uring_prep_buf_register(sqe[0], 0, tag, q->q_id, tag); in loop_queue_tgt_rw_io() 55 sqe[0]->user_data = build_user_data(tag, in loop_queue_tgt_rw_io() 61 sqe[1]->buf_index = tag; in loop_queue_tgt_rw_io() 65 io_uring_prep_buf_unregister(sqe[2], 0, tag, q->q_id, tag); in loop_queue_tgt_rw_io() 79 ret = loop_queue_flush_io(q, iod, tag); in loop_queue_tgt_io() 87 ret = loop_queue_tgt_rw_io(q, iod, tag); in loop_queue_tgt_io() 101 int queued = loop_queue_tgt_io(q, tag); in ublk_loop_queue_io() 103 ublk_queued_tgt_io(q, tag, queued); in ublk_loop_queue_io() 111 struct ublk_io *io = ublk_get_io(q, tag); in ublk_loop_io_done() 125 if (ublk_completed_tgt_io(q, tag)) in ublk_loop_io_done() [all …]
|
| H A D | null.c | 45 static int null_queue_zc_io(struct ublk_queue *q, int tag) in null_queue_zc_io() argument 53 io_uring_prep_buf_register(sqe[0], 0, tag, q->q_id, tag); in null_queue_zc_io() 54 sqe[0]->user_data = build_user_data(tag, in null_queue_zc_io() 59 sqe[1]->buf_index = tag; in null_queue_zc_io() 65 io_uring_prep_buf_unregister(sqe[2], 0, tag, q->q_id, tag); in null_queue_zc_io() 76 struct ublk_io *io = ublk_get_io(q, tag); in ublk_null_io_done() 90 if (ublk_completed_tgt_io(q, tag)) in ublk_null_io_done() 91 ublk_complete_io(q, tag, io->result); in ublk_null_io_done() 101 ublk_complete_io(q, tag, iod->nr_sectors << 9); in ublk_null_queue_io() 105 queued = null_queue_zc_io(q, tag); in ublk_null_queue_io() [all …]
|
| H A D | kublk.h | 135 int tag, const struct io_uring_cqe *); 296 cmd->tag = tag; in io_uring_prep_buf_register() 311 cmd->tag = tag; in io_uring_prep_buf_unregister() 323 q->ios[tag].result = res; in ublk_set_io_res() 328 return q->ios[tag].result; in ublk_get_io_res() 339 return &q->io_cmd_buf[tag]; in ublk_get_iod() 352 return &q->ios[tag]; in ublk_get_io() 357 struct ublk_io *io = &q->ios[tag]; in ublk_complete_io() 361 return ublk_queue_io_cmd(q, io, tag); in ublk_complete_io() 367 ublk_complete_io(q, tag, queued); in ublk_queued_tgt_io() [all …]
|
| /linux-6.15/arch/sparc/include/asm/ |
| H A D | spitfire.h | 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 173 return tag; in spitfire_get_itlb_tag() 260 unsigned long tag; in cheetah_get_ldtlb_tag() local 267 return tag; in cheetah_get_ldtlb_tag() 272 unsigned long tag; in cheetah_get_litlb_tag() local 279 return tag; in cheetah_get_litlb_tag() 321 return tag; in cheetah_get_dtlb_tag() [all …]
|
| /linux-6.15/drivers/net/ethernet/netronome/nfp/ |
| H A D | ccm.c | 54 if (msg_tag == tag) { in __nfp_ccm_reply() 55 nfp_ccm_free_tag(ccm, tag); in __nfp_ccm_reply() 84 nfp_ccm_free_tag(ccm, tag); in nfp_ccm_reply_drop_tag() 106 tag), in nfp_ccm_wait_reply() 133 int reply_type, tag; in nfp_ccm_communicate() local 137 if (tag < 0) { in nfp_ccm_communicate() 140 return ERR_PTR(tag); in nfp_ccm_communicate() 146 hdr->tag = cpu_to_be16(tag); in nfp_ccm_communicate() 178 unsigned int tag; in nfp_ccm_rx() local 187 tag = nfp_ccm_get_tag(skb); in nfp_ccm_rx() [all …]
|
| /linux-6.15/arch/x86/math-emu/ |
| H A D | reg_divide.c | 34 int tag, deststnr; in FPU_div() local 83 if (tag < 0) in FPU_div() 84 return tag; in FPU_div() 87 return tag; in FPU_div() 104 if (tag < 0) in FPU_div() 105 return tag; in FPU_div() 108 return tag; in FPU_div() 137 int tag; in FPU_div() local 138 tag = FPU_gettag0(); in FPU_div() 144 int tag; in 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() 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 void FPU_copy_to_reg0(FPU_REG const *r, u_char tag) in FPU_copy_to_reg0() argument [all …]
|
| H A D | fpu_trig.c | 154 int tag; in convert_l2reg() local 259 switch (tag) { in f2xm1() 455 u_char tag; in fsqrt_() local 695 u_char tag; in fsincos() local 793 int tag; in do_fprem() local 897 tag = in do_fprem() 951 tag = in do_fprem() 1031 int e, tag; in fyl2x() local 1062 tag = in fyl2x() 1201 int tag; in fpatan() local [all …]
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/ |
| H A D | dr_ste_v0.c | 740 u8 *tag) in dr_ste_v0_build_eth_l2_src_dst_tag() argument 796 u8 *tag) in dr_ste_v0_build_eth_l3_ipv6_dst_tag() argument 822 u8 *tag) in dr_ste_v0_build_eth_l3_ipv6_src_tag() argument 848 u8 *tag) in dr_ste_v0_build_eth_l3_ipv4_5_tuple_tag() argument 1178 u8 *tag) in dr_ste_v0_build_eth_ipv6_l3_l4_tag() argument 1220 u8 *tag) in dr_ste_v0_build_mpls_tag() argument 1246 u8 *tag) in dr_ste_v0_build_tnl_gre_tag() argument 1277 u8 *tag) in dr_ste_v0_build_tnl_mpls_tag() argument 1408 u8 *tag) in dr_ste_v0_build_icmp_tag() argument 1498 u8 *tag) in dr_ste_v0_build_eth_l4_misc_tag() argument [all …]
|
| H A D | dr_ste_v1.c | 1240 u8 *tag) in dr_ste_v1_build_eth_l2_src_tag() argument 1273 u8 *tag) in dr_ste_v1_build_eth_l2_dst_tag() argument 1323 u8 *tag) in dr_ste_v1_build_eth_l2_tnl_tag() argument 1375 u8 *tag) in dr_ste_v1_build_eth_l3_ipv4_misc_tag() argument 1437 u8 *tag) in dr_ste_v1_build_mpls_tag() argument 1488 u8 *tag) in dr_ste_v1_build_tnl_mpls_tag() argument 1533 u8 *tag) in dr_ste_v1_build_tnl_mpls_over_udp_tag() argument 1574 u8 *tag) in dr_ste_v1_build_tnl_mpls_over_gre_tag() argument 1615 u8 *tag) in dr_ste_v1_build_icmp_tag() argument 1785 u8 *tag) in dr_ste_v1_build_register_0_tag() argument [all …]
|
| H A D | dr_ste.h | 27 MLX5_SET(ste_##lookup_type, tag, t_fname, value); \ 33 #define DR_STE_SET_TAG(lookup_type, tag, t_fname, spec, s_fname) \ argument 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 52 #define DR_STE_SET_MPLS(lookup_type, mask, in_out, tag) do { \ argument 54 u8 *_tag = tag; \ 65 #define DR_STE_SET_FLEX_PARSER_FIELD(tag, fname, caps, spec) do { \ argument 67 u8 *parser_ptr = dr_ste_calc_flex_parser_offset(tag, parser_id); \ 106 dr_ste_calc_flex_parser_offset(u8 *tag, u8 parser_id) in dr_ste_calc_flex_parser_offset() argument [all …]
|
| /linux-6.15/include/linux/ |
| H A D | alloc_tag.h | 144 counter = per_cpu_ptr(tag->counters, cpu); in alloc_tag_read() 174 alloc_tag_add_check(ref, tag); in __alloc_tag_ref_set() 175 if (!ref || !tag) in __alloc_tag_ref_set() 178 ref->ct = &tag->ct; in __alloc_tag_ref_set() 193 this_cpu_inc(tag->counters->calls); in alloc_tag_ref_set() 199 if (likely(alloc_tag_ref_set(ref, tag))) in alloc_tag_add() 200 this_cpu_add(tag->counters->bytes, bytes); in alloc_tag_add() 205 struct alloc_tag *tag; in alloc_tag_sub() local 216 tag = ct_to_alloc_tag(ref->ct); in alloc_tag_sub() 218 this_cpu_sub(tag->counters->bytes, bytes); in alloc_tag_sub() [all …]
|
| /linux-6.15/drivers/ata/ |
| H A D | sata_dwc_460ex.c | 295 u8 tag = 0; in dma_dwc_xfer_done() local 313 tag, hsdevp->dma_pending[tag]); in dma_dwc_xfer_done() 431 hsdevp->dma_pending[tag], hsdevp->cmd_issued[tag]); in sata_dwc_error_intr() 528 tag = 0; in sata_dwc_isr() 615 tag = 0; in sata_dwc_isr() 618 tag++; in sata_dwc_isr() 704 __func__, tag, hsdevp->dma_pending[tag], dmacr); in sata_dwc_clear_dmacr() 951 tag = 0; in sata_dwc_bmdma_setup() 975 __func__, hsdevp->cmd_issued[tag], tag); in sata_dwc_bmdma_start_by_tag() 1004 tag = 0; in sata_dwc_bmdma_start() [all …]
|
| /linux-6.15/arch/xtensa/kernel/ |
| H A D | setup.c | 82 u32 tag; member 91 static int __init parse_tag_mem(const bp_tag_t *tag) in parse_tag_mem() argument 123 dtb_start = __va(tag->data[0]); in parse_tag_fdt() 146 if (tag->id != BP_TAG_FIRST) { in parse_bootparam() 151 tag = (bp_tag_t*)((unsigned long)tag + sizeof(bp_tag_t) + tag->size); in parse_bootparam() 155 while (tag != NULL && tag->id != BP_TAG_LAST) { in parse_bootparam() 157 if (tag->id == t->tag) { in parse_bootparam() 158 t->parse(tag); in parse_bootparam() 163 pr_warn("Ignoring tag 0x%08x\n", tag->id); in parse_bootparam() 164 tag = (bp_tag_t*)((unsigned long)(tag + 1) + tag->size); in parse_bootparam() [all …]
|
| /linux-6.15/arch/mips/cavium-octeon/executive/ |
| H A D | cvmx-l2c.c | 332 if (l2c_tadx_tag.s.valid && l2c_tadx_tag.s.tag == tag) in cvmx_l2c_lock_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() 497 if (tag.s.V && (tag.s.addr == tag_addr)) { in cvmx_l2c_unlock_line() 499 return tag.s.L; in cvmx_l2c_unlock_line() 652 union cvmx_l2c_tag tag; in cvmx_l2c_get_tag() local 654 tag.u64 = 0; in cvmx_l2c_get_tag() 657 return tag; in cvmx_l2c_get_tag() 662 return tag; in cvmx_l2c_get_tag() 683 tag.s.addr = l2c_tadx_tag.s.tag; in cvmx_l2c_get_tag() [all …]
|
| /linux-6.15/lib/ |
| H A D | radix-tree.c | 153 unsigned int tag) in any_tag_set() argument 157 if (node->tags[tag][idx]) in any_tag_set() 413 int tag; in radix_tree_extend() local 438 for (tag = 0; tag < RADIX_TREE_MAX_TAGS; tag++) { in radix_tree_extend() 440 tag_set(node, tag, 0); in radix_tree_extend() 951 root_tag_set(root, tag); in node_tag_set() 989 root_tag_set(root, tag); in radix_tree_tag_set() 1113 unsigned tag) in set_iter_tags() argument 1304 unsigned int tag) in radix_tree_gang_lookup_tag() argument 1370 int tag; in __radix_tree_delete() local [all …]
|
| /linux-6.15/drivers/staging/media/atomisp/pci/hive_isp_css_shared/host/ |
| H A D | tag.c | 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->num_captures; in sh_css_encode_tag_descr() 56 num_captures = tag->num_captures; in sh_css_encode_tag_descr() 59 skip = tag->skip; in sh_css_encode_tag_descr() 60 if (tag->offset < 0) { in sh_css_encode_tag_descr() 61 offset = -tag->offset; in sh_css_encode_tag_descr() 64 offset = tag->offset; in sh_css_encode_tag_descr() 67 exp_id = tag->exp_id; in sh_css_encode_tag_descr()
|
| /linux-6.15/drivers/net/wireless/mediatek/mt76/mt7996/ |
| H A D | mcu.h | 69 __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 [all …]
|
| /linux-6.15/fs/xfs/ |
| H A D | xfs_error.h | 14 extern void xfs_corruption_error(const char *tag, int level, 46 #define XFS_TEST_ERROR(expr, mp, tag) \ argument 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) (expr) argument 70 #define XFS_ERRORTAG_DELAY(mp, tag) ((void)0) argument 71 #define xfs_errortag_set(mp, tag, val) (ENOSYS) argument [all …]
|
| /linux-6.15/drivers/scsi/be2iscsi/ |
| H A D | be_mgmt.c | 95 return tag; in mgmt_vendor_specific_fw_cmd() 210 return tag; in mgmt_open_connection() 726 if (!tag) { in beiscsi_if_set_vlan() 836 if (phba->boot_struct.tag != tag) { in beiscsi_boot_process_compl() 839 __func__, tag, phba->boot_struct.tag); in beiscsi_boot_process_compl() 947 phba->boot_struct.tag = tag; in beiscsi_boot_logout_sess() 954 return tag; in beiscsi_boot_logout_sess() 986 phba->boot_struct.tag = tag; in beiscsi_boot_reopen_sess() 992 return tag; in beiscsi_boot_reopen_sess() 1044 phba->boot_struct.tag = tag; in beiscsi_boot_get_sinfo() [all …]
|