Home
last modified time | relevance | path

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

12345678910>>...35

/Linux-v4.19/arch/arm/kernel/
Datags_compat.c84 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()
123 tag->hdr.size = tag_size(tag_core); in build_tag_list()
[all …]
Datags_parse.c55 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()
75 static int __init parse_tag_videotext(const struct tag *tag) in parse_tag_videotext() argument
77 screen_info.orig_x = tag->u.videotext.x; in parse_tag_videotext()
78 screen_info.orig_y = tag->u.videotext.y; in parse_tag_videotext()
79 screen_info.orig_video_page = tag->u.videotext.video_page; in parse_tag_videotext()
[all …]
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 - atags_copy + sizeof(struct tag_header); in init_atags_procfs()
55 WARN_ON(tag->hdr.tag != ATAG_NONE); in init_atags_procfs()
/Linux-v4.19/fs/fscache/
Dcache.c29 struct fscache_cache_tag *tag, *xtag; in __fscache_lookup_cache_tag() local
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()
56 list_for_each_entry(tag, &fscache_cache_tag_list, link) { in __fscache_lookup_cache_tag()
57 if (strcmp(tag->name, name) == 0) { in __fscache_lookup_cache_tag()
58 atomic_inc(&tag->usage); in __fscache_lookup_cache_tag()
61 return tag; in __fscache_lookup_cache_tag()
73 void __fscache_release_cache_tag(struct fscache_cache_tag *tag) in __fscache_release_cache_tag() argument
[all …]
/Linux-v4.19/arch/sparc/include/asm/
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()
[all …]
/Linux-v4.19/arch/x86/math-emu/
Dreg_divide.c34 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()
107 FPU_settagi(deststnr, tag); in FPU_div()
[all …]
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()
[all …]
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 == TAG_Special) in f2xm1()
[all …]
Dreg_mul.c37 int tag; in FPU_mul() local
42 tag = in FPU_mul()
45 if (tag < 0) { in FPU_mul()
47 return tag; in FPU_mul()
49 FPU_settagi(deststnr, tag); in FPU_mul()
50 return tag; in FPU_mul()
67 tag = FPU_u_mul(&x, &y, dest, control_w, sign, in FPU_mul()
69 if (tag < 0) { in FPU_mul()
71 return tag; in FPU_mul()
73 FPU_settagi(deststnr, tag); in FPU_mul()
[all …]
/Linux-v4.19/fs/cifs/
Dasn1.c151 asn1_tag_decode(struct asn1_ctx *ctx, unsigned int *tag) in asn1_tag_decode() argument
155 *tag = 0; in asn1_tag_decode()
160 *tag <<= 7; in asn1_tag_decode()
161 *tag |= ch & 0x7F; in asn1_tag_decode()
168 unsigned int *cls, unsigned int *con, unsigned int *tag) in asn1_id_decode() argument
177 *tag = (ch & 0x1F); in asn1_id_decode()
179 if (*tag == 0x1F) { in asn1_id_decode()
180 if (!asn1_tag_decode(ctx, tag)) in asn1_id_decode()
225 unsigned int *cls, unsigned int *con, unsigned int *tag) in asn1_header_decode() argument
230 if (!asn1_id_decode(ctx, cls, con, tag)) in asn1_header_decode()
[all …]
/Linux-v4.19/block/
Dblk-tag.c24 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()
265 unsigned tag = rq->tag; /* negative tags invalid */ in blk_queue_end_tag() local
269 BUG_ON(tag >= bqt->real_max_depth); in blk_queue_end_tag()
273 rq->tag = -1; in blk_queue_end_tag()
276 if (unlikely(bqt->tag_index[tag] == NULL)) in blk_queue_end_tag()
278 __func__, tag); in blk_queue_end_tag()
280 bqt->tag_index[tag] = NULL; in blk_queue_end_tag()
282 if (unlikely(!test_bit(tag, bqt->tag_map))) { in blk_queue_end_tag()
284 __func__, tag); in blk_queue_end_tag()
[all …]
/Linux-v4.19/lib/
Dradix-tree.c152 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 …]
/Linux-v4.19/arch/xtensa/kernel/
Dsetup.c93 u32 tag; member
97 #define __tagtable(tag, fn) static tagtable_t __tagtable_##fn \ argument
98 __attribute__((used, section(".taglist"))) = { tag, fn }
102 static int __init parse_tag_mem(const bp_tag_t *tag) in parse_tag_mem() argument
104 struct bp_meminfo *mi = (struct bp_meminfo *)(tag->data); in parse_tag_mem()
116 static int __init parse_tag_initrd(const bp_tag_t* tag) in parse_tag_initrd() argument
118 struct bp_meminfo *mi = (struct bp_meminfo *)(tag->data); in parse_tag_initrd()
132 static int __init parse_tag_fdt(const bp_tag_t *tag) in parse_tag_fdt() argument
134 dtb_start = __va(tag->data[0]); in parse_tag_fdt()
142 static int __init parse_tag_cmdline(const bp_tag_t* tag) in parse_tag_cmdline() argument
[all …]
/Linux-v4.19/drivers/ata/
Dsata_dwc_460ex.c188 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()
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
452 return 0x00000001 << (tag & 0x1f); in qcmd_tag_to_mask()
464 u8 status, tag; in sata_dwc_error_intr() local
[all …]
/Linux-v4.19/arch/mips/cavium-octeon/executive/
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
495 tag = cvmx_l2c_get_tag(assoc, index); in cvmx_l2c_unlock_line()
497 if (tag.s.V && (tag.s.addr == tag_addr)) { in cvmx_l2c_unlock_line()
499 return tag.s.L; in cvmx_l2c_unlock_line()
[all …]
/Linux-v4.19/include/trace/events/
D9p.h101 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;
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;
143 __entry->tag, __entry->err)
[all …]
/Linux-v4.19/drivers/scsi/be2iscsi/
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()
124 unsigned int tag = 0; in mgmt_open_connection() local
148 wrb = alloc_mcc_wrb(phba, &tag); in mgmt_open_connection()
207 be_mcc_notify(phba, tag); in mgmt_open_connection()
209 return tag; in mgmt_open_connection()
230 unsigned int tag; in beiscsi_exec_nemb_cmd() local
234 wrb = alloc_mcc_wrb(phba, &tag); in beiscsi_exec_nemb_cmd()
[all …]
/Linux-v4.19/arch/sparc/kernel/
Dds.c70 struct ds_msg_tag tag; member
75 struct ds_msg_tag tag; member
80 struct ds_msg_tag tag; member
85 struct ds_msg_tag tag; member
93 struct ds_msg_tag tag; member
99 struct ds_msg_tag tag; member
105 struct ds_msg_tag tag; member
110 struct ds_msg_tag tag; member
115 struct ds_msg_tag tag; member
120 struct ds_msg_tag tag; member
[all …]
/Linux-v4.19/drivers/scsi/pm8001/
Dpm8001_hwi.h158 __le32 tag; member
170 __le32 tag; member
221 __le32 tag; member
247 __le32 tag; member
264 __le32 tag; member
276 __le32 tag; member
288 __le32 tag; member
299 __le32 tag; member
315 __le32 tag; member
329 __le32 tag; member
[all …]
Dpm80xx_hwi.h345 __le32 tag; member
357 __le32 tag; member
407 __le32 tag; member
442 __le32 tag; member
458 __le32 tag; member
468 __le32 tag; member
479 __le32 tag; member
489 __le32 tag; member
504 __le32 tag; member
516 __le32 tag; member
[all …]
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/bpf/
Dcmsg.c72 static void nfp_bpf_free_tag(struct nfp_app_bpf *bpf, u16 tag) in nfp_bpf_free_tag() argument
74 WARN_ON(!__test_and_clear_bit(tag, bpf->tag_allocator)); in nfp_bpf_free_tag()
118 return be16_to_cpu(hdr->tag); in nfp_bpf_cmsg_get_tag()
121 static struct sk_buff *__nfp_bpf_reply(struct nfp_app_bpf *bpf, u16 tag) in __nfp_bpf_reply() argument
128 if (msg_tag == tag) { in __nfp_bpf_reply()
129 nfp_bpf_free_tag(bpf, tag); in __nfp_bpf_reply()
138 static struct sk_buff *nfp_bpf_reply(struct nfp_app_bpf *bpf, u16 tag) in nfp_bpf_reply() argument
143 skb = __nfp_bpf_reply(bpf, tag); in nfp_bpf_reply()
149 static struct sk_buff *nfp_bpf_reply_drop_tag(struct nfp_app_bpf *bpf, u16 tag) in nfp_bpf_reply_drop_tag() argument
154 skb = __nfp_bpf_reply(bpf, tag); in nfp_bpf_reply_drop_tag()
[all …]
/Linux-v4.19/include/scsi/
Dsrp.h122 u64 tag; member
140 u64 tag; member
158 u64 tag; member
170 u64 tag; member
179 u64 tag; member
187 u64 tag; member
198 u64 tag; member
219 u64 tag; member
249 u64 tag; member
265 u64 tag; member
[all …]
/Linux-v4.19/arch/powerpc/xmon/
Dspu-dis.c99 enum spu_insns tag; in print_insn_spu() local
111 tag = (enum spu_insns)(index - spu_opcodes); in print_insn_spu()
113 if (tag == M_BI || tag == M_BISL || tag == M_IRET || tag == M_BISLED in print_insn_spu()
114 || tag == M_BIHNZ || tag == M_BIHZ || tag == M_BINZ || tag == M_BIZ in print_insn_spu()
115 || tag == M_SYNC || tag == M_HBR) in print_insn_spu()
119 printf(tag == M_SYNC ? "c" : "p"); in print_insn_spu()
/Linux-v4.19/tools/testing/radix-tree/
Dtag_check.c14 __simple_checks(struct radix_tree_root *tree, unsigned long index, int tag) in __simple_checks() argument
20 assert(item_tag_get(tree, index, tag) == 0); in __simple_checks()
23 assert(item_tag_get(tree, index, tag) == 0); in __simple_checks()
24 item_tag_set(tree, index, tag); in __simple_checks()
25 ret = item_tag_get(tree, index, tag); in __simple_checks()
27 ret = tag_tagged_items(tree, NULL, first, ~0UL, 10, tag, !tag); in __simple_checks()
29 ret = item_tag_get(tree, index, !tag); in __simple_checks()
34 ret = item_tag_get(tree, index, tag); in __simple_checks()
132 char *thrash_state, int tag) in gang_check() argument
140 index, BATCH, tag))) { in gang_check()
[all …]
/Linux-v4.19/drivers/staging/rtl8192e/
Drtl819x_BAProc.c80 u8 *tag = NULL; in rtllib_ADDBA() local
106 tag = skb_put(skb, 9); in rtllib_ADDBA()
107 *tag++ = ACT_CAT_BA; in rtllib_ADDBA()
108 *tag++ = type; in rtllib_ADDBA()
109 *tag++ = pBA->DialogToken; in rtllib_ADDBA()
114 put_unaligned_le16(StatusCode, tag); in rtllib_ADDBA()
115 tag += 2; in rtllib_ADDBA()
118 put_unaligned_le16(pBA->BaParamSet.shortData, tag); in rtllib_ADDBA()
119 tag += 2; in rtllib_ADDBA()
121 put_unaligned_le16(pBA->BaTimeoutValue, tag); in rtllib_ADDBA()
[all …]

12345678910>>...35