Home
last modified time | relevance | path

Searched refs:tag (Results 1 – 200 of 689) sorted by relevance

1234

/linux-4.1.27/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.c54 static int __init parse_tag_core(const struct tag *tag) in parse_tag_core() argument
56 if (tag->hdr.size > 2) { in parse_tag_core()
57 if ((tag->u.core.flags & 1) == 0) in parse_tag_core()
59 ROOT_DEV = old_decode_dev(tag->u.core.rootdev); in parse_tag_core()
66 static int __init parse_tag_mem32(const struct tag *tag) in parse_tag_mem32() argument
68 return arm_add_memory(tag->u.mem.start, tag->u.mem.size); in parse_tag_mem32()
74 static int __init parse_tag_videotext(const struct tag *tag) in parse_tag_videotext() argument
76 screen_info.orig_x = tag->u.videotext.x; in parse_tag_videotext()
77 screen_info.orig_y = tag->u.videotext.y; in parse_tag_videotext()
78 screen_info.orig_video_page = tag->u.videotext.video_page; in parse_tag_videotext()
[all …]
Datags_proc.c27 void __init save_atags(const struct tag *tags) in save_atags()
39 struct tag *tag = (struct tag *)atags_copy; in init_atags_procfs() local
43 if (tag->hdr.tag != ATAG_CORE) { in init_atags_procfs()
48 for (; tag->hdr.size; tag = tag_next(tag)) in init_atags_procfs()
52 size = (char *)tag - atags_copy + sizeof(struct tag_header); in init_atags_procfs()
54 WARN_ON(tag->hdr.tag != ATAG_NONE); in init_atags_procfs()
Datags.h2 extern void save_atags(struct tag *tags);
4 static inline void save_atags(struct tag *tags) { } in save_atags()
7 void convert_to_tag_list(struct tag *tags);
/linux-4.1.27/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-4.1.27/arch/sparc/include/asm/
Dspitfire.h79 static inline void spitfire_put_dcache_tag(unsigned long addr, unsigned long tag) in spitfire_put_dcache_tag() argument
84 : "r" (tag), "r" (addr), "i" (ASI_DCACHE_TAG)); in spitfire_put_dcache_tag()
93 static inline void spitfire_put_icache_tag(unsigned long addr, unsigned long tag) in spitfire_put_icache_tag() argument
98 : "r" (tag), "r" (addr), "i" (ASI_IC_TAG)); in spitfire_put_icache_tag()
117 unsigned long tag; in spitfire_get_dtlb_tag() local
120 : "=r" (tag) in spitfire_get_dtlb_tag()
122 return tag; in spitfire_get_dtlb_tag()
150 unsigned long tag; in spitfire_get_itlb_tag() local
153 : "=r" (tag) in spitfire_get_itlb_tag()
155 return tag; in spitfire_get_itlb_tag()
[all …]
Dvio.h42 struct vio_msg_tag tag; member
47 struct vio_msg_tag tag; member
61 struct vio_msg_tag tag; member
75 struct vio_msg_tag tag; member
88 struct vio_msg_tag tag; member
119 struct vio_msg_tag tag; member
212 struct vio_msg_tag tag; member
236 struct vio_msg_tag tag; member
Dmmu_64.h66 unsigned long tag; member
70 void __tsb_insert(unsigned long ent, unsigned long tag, unsigned long pte);
71 void tsb_flush(unsigned long ent, unsigned long tag);
/linux-4.1.27/arch/x86/math-emu/
Dreg_divide.c33 int tag, deststnr; in FPU_div() local
80 tag = FPU_u_div(&x, &y, dest, control_w, sign); in FPU_div()
82 if (tag < 0) in FPU_div()
83 return tag; in FPU_div()
85 FPU_settagi(deststnr, tag); in FPU_div()
86 return tag; in FPU_div()
102 tag = FPU_u_div(&x, &y, dest, control_w, sign); in FPU_div()
103 if (tag < 0) in FPU_div()
104 return tag; in FPU_div()
106 FPU_settagi(deststnr, tag); in FPU_div()
[all …]
Dfpu_tags.c38 void FPU_settag0(int tag) in FPU_settag0() argument
43 fpu_tag_word |= (tag & 3) << (regnr * 2); in FPU_settag0()
46 void FPU_settagi(int stnr, int tag) in FPU_settagi() argument
51 fpu_tag_word |= (tag & 3) << (regnr * 2); in FPU_settagi()
54 void FPU_settag(int regnr, int tag) in FPU_settag() argument
58 fpu_tag_word |= (tag & 3) << (regnr * 2); in FPU_settag()
94 void FPU_copy_to_regi(FPU_REG const *r, u_char tag, int stnr) in FPU_copy_to_regi() argument
97 FPU_settagi(stnr, tag); in FPU_copy_to_regi()
100 void FPU_copy_to_reg1(FPU_REG const *r, u_char tag) in FPU_copy_to_reg1() argument
103 FPU_settagi(1, tag); in FPU_copy_to_reg1()
[all …]
Dreg_mul.c36 int tag; in FPU_mul() local
41 tag = in FPU_mul()
44 if (tag < 0) { in FPU_mul()
46 return tag; in FPU_mul()
48 FPU_settagi(deststnr, tag); in FPU_mul()
49 return tag; in FPU_mul()
66 tag = FPU_u_mul(&x, &y, dest, control_w, sign, in FPU_mul()
68 if (tag < 0) { in FPU_mul()
70 return tag; in FPU_mul()
72 FPU_settagi(deststnr, tag); in FPU_mul()
[all …]
Dfpu_trig.c39 int tag, st0_tag = TAG_Valid; in trig_arg() local
50 tag = FPU_u_div(st0_ptr, &CONST_PI2, &tmp, PR_64_BITS | RC_CHOP | 0x3f, in trig_arg()
53 FPU_round_to_int(&tmp, tag); /* Fortunately, this can't overflow in trig_arg()
153 int tag; in convert_l2reg() local
173 tag = FPU_normalize(dest); in convert_l2reg()
174 FPU_settagi(deststnr, tag); in convert_l2reg()
232 static void f2xm1(FPU_REG *st0_ptr, u_char tag) in f2xm1() argument
238 if (tag == TAG_Valid) { in f2xm1()
252 if (tag == TAG_Zero) in f2xm1()
255 if (tag == TAG_Special) in f2xm1()
[all …]
Dreg_add_sub.c44 int diff, tag, expa, expb; in FPU_add() local
54 tag = in FPU_add()
70 tag = in FPU_add()
74 tag = in FPU_add()
86 if (tag < 0) { in FPU_add()
88 return tag; in FPU_add()
90 FPU_settagi(deststnr, tag); in FPU_add()
91 return tag; in FPU_add()
133 int diff, tag = 0, expa, expb, deststnr; in FPU_sub() local
184 tag = in FPU_sub()
[all …]
Dpoly_l2.c32 int tag; in poly_l2() local
50 tag = FPU_normalize_nuo(&x); in poly_l2()
52 if (tag == TAG_Zero) { in poly_l2()
92 tag = FPU_round(st1_ptr, 1, 0, FULL_PRECISION, sign ^ st1_sign); in poly_l2()
93 FPU_settagi(1, tag); in poly_l2()
108 u_char tag; in poly_l2p1() local
128 tag = FPU_round(dest, 1, 0, FULL_PRECISION, sign0 ^ sign1); in poly_l2p1()
129 FPU_settagi(1, tag); in poly_l2p1()
131 if (tag == TAG_Valid) in poly_l2p1()
Dfpu_proto.h62 extern void FPU_settag0(int tag);
63 extern void FPU_settagi(int stnr, int tag);
64 extern void FPU_settag(int regnr, int tag);
70 extern void FPU_copy_to_regi(FPU_REG const *r, u_char tag, int stnr);
71 extern void FPU_copy_to_reg1(FPU_REG const *r, u_char tag);
72 extern void FPU_copy_to_reg0(FPU_REG const *r, u_char tag);
132 extern int FPU_round_to_int(FPU_REG *r, u_char tag);
Derrors.c513 int tag = TAG_Valid; in FPU_divide_by_zero() local
519 tag = TAG_Special; in FPU_divide_by_zero()
524 return (!(control_word & CW_ZeroDiv) ? FPU_Exception : 0) | tag; in FPU_divide_by_zero()
573 int tag = TAG_Valid; in arith_overflow() local
579 tag = TAG_Special; in arith_overflow()
592 return tag; in arith_overflow()
595 return tag; in arith_overflow()
601 int tag = TAG_Valid; in arith_underflow() local
608 tag = TAG_Zero; in arith_underflow()
621 return tag; in arith_underflow()
[all …]
Dreg_ld_str.c40 u_char tag; in normalize_no_excep() local
44 tag = FPU_normalize_nuo(r); in normalize_no_excep()
49 return tag; in normalize_no_excep()
96 int exp, tag, negative; in FPU_load_double() local
115 tag = TAG_Special; in FPU_load_double()
122 tag = TAG_Special; /* The calling function must look for NaNs */ in FPU_load_double()
130 tag = TAG_Zero; in FPU_load_double()
146 tag = TAG_Valid; in FPU_load_double()
151 return tag; in FPU_load_double()
158 int exp, tag, negative; in FPU_load_single() local
[all …]
Dpoly_2xm1.c57 u_char tag; in poly_2xm1() local
138 tag = FPU_round(result, 1, 0, FULL_PRECISION, sign); in poly_2xm1()
141 FPU_settag0(tag); in poly_2xm1()
Dfpu_aux.c105 u_char tag; in fld_i_() local
116 tag = FPU_gettagi(i); in fld_i_()
118 FPU_settag0(tag); in fld_i_()
Dpoly_atan.c58 u_char tag; in poly_atan() local
202 tag = FPU_round(st1_ptr, 1, 0, FULL_PRECISION, sign2); in poly_atan()
203 FPU_settagi(1, tag); in poly_atan()
Dreg_constant.c52 static void fld_const(FPU_REG const * c, int adj, u_char tag) in fld_const() argument
64 FPU_settag0(tag); in fld_const()
/linux-4.1.27/arch/ia64/kernel/
Dparavirt_patch.c55 paravirt_get_bundle(unsigned long tag) in paravirt_get_bundle() argument
57 return (bundle_t *)(tag & ~3UL); in paravirt_get_bundle()
61 paravirt_get_slot(unsigned long tag) in paravirt_get_slot() argument
63 return tag & 3UL; in paravirt_get_slot()
78 paravirt_get_next_tag(unsigned long tag) in paravirt_get_next_tag() argument
80 unsigned long slot = paravirt_get_slot(tag); in paravirt_get_next_tag()
85 return tag + 1; in paravirt_get_next_tag()
87 bundle_t *bundle = paravirt_get_bundle(tag); in paravirt_get_next_tag()
122 paravirt_read_inst(unsigned long tag) in paravirt_read_inst() argument
124 bundle_t *bundle = paravirt_get_bundle(tag); in paravirt_read_inst()
[all …]
/linux-4.1.27/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-4.1.27/drivers/ata/
Dsata_dwc_460ex.c211 static void sata_dwc_bmdma_start_by_tag(struct ata_queued_cmd *qc, u8 tag);
216 static void sata_dwc_clear_dmacr(struct sata_dwc_device_port *hsdevp, u8 tag);
276 u8 tag = 0; in dma_dwc_xfer_done() local
282 tag = ap->link.active_tag; in dma_dwc_xfer_done()
290 sata_dwc_clear_dmacr(hsdevp, tag); in dma_dwc_xfer_done()
292 if (hsdevp->dma_pending[tag] == SATA_DWC_DMA_PENDING_NONE) { in dma_dwc_xfer_done()
294 tag, hsdevp->dma_pending[tag]); in dma_dwc_xfer_done()
397 static u32 qcmd_tag_to_mask(u8 tag) in qcmd_tag_to_mask() argument
399 return 0x00000001 << (tag & 0x1f); in qcmd_tag_to_mask()
411 u8 status, tag; in sata_dwc_error_intr() local
[all …]
Dsata_fsl.c392 static inline unsigned int sata_fsl_tag(unsigned int tag, in sata_fsl_tag() argument
398 if (ata_tag_internal(tag)) { in sata_fsl_tag()
403 if (unlikely(tag >= SATA_FSL_QUEUE_DEPTH)) { in sata_fsl_tag()
404 DPRINTK("tag %d invalid : out of range\n", tag); in sata_fsl_tag()
408 if (unlikely((ioread32(hcr_base + CQ)) & (1 << tag))) { in sata_fsl_tag()
409 DPRINTK("tag %d invalid : in use!!\n", tag); in sata_fsl_tag()
413 return tag; in sata_fsl_tag()
417 unsigned int tag, u32 desc_info, in sata_fsl_setup_cmd_hdr_entry() argument
424 tag * SATA_FSL_CMD_DESC_SIZE; in sata_fsl_setup_cmd_hdr_entry()
428 pp->cmdslot[tag].cda = cpu_to_le32(cmd_descriptor_address); in sata_fsl_setup_cmd_hdr_entry()
[all …]
Dlibata-eh.c872 unsigned int tag; in ata_eh_nr_in_flight() local
876 for (tag = 0; tag < ATA_MAX_QUEUE - 1; tag++) in ata_eh_nr_in_flight()
877 if (ata_qc_from_tag(ap, tag)) in ata_eh_nr_in_flight()
898 unsigned int tag; in ata_eh_fastdrain_timerfn() local
903 for (tag = 0; tag < ATA_MAX_QUEUE - 1; tag++) { in ata_eh_fastdrain_timerfn()
904 struct ata_queued_cmd *qc = ata_qc_from_tag(ap, tag); in ata_eh_fastdrain_timerfn()
1050 int tag, nr_aborted = 0; in ata_do_link_abort() local
1057 for (tag = 0; tag < ATA_MAX_QUEUE; tag++) { in ata_do_link_abort()
1058 struct ata_queued_cmd *qc = ata_qc_from_tag(ap, tag); in ata_do_link_abort()
1299 WARN_ON(ata_tag_valid(qc->tag)); in __ata_eh_qc_complete()
[all …]
Dsata_nv.c232 u8 tag; /* 4 */ member
263 unsigned int tag[ATA_MAX_QUEUE]; member
1359 &pp->aprd[NV_ADMA_SGTBL_LEN * qc->tag + (si-5)]; in nv_adma_fill_sg()
1363 cpb->next_aprd = cpu_to_le64(((u64)(pp->aprd_dma + NV_ADMA_SGTBL_SZ * qc->tag))); in nv_adma_fill_sg()
1388 struct nv_adma_cpb *cpb = &pp->cpb[qc->tag]; in nv_adma_qc_prep()
1406 cpb->tag = qc->tag; in nv_adma_qc_prep()
1469 writew(qc->tag, mmio + NV_ADMA_APPEND); in nv_adma_qc_issue()
1471 DPRINTK("Issued tag %u\n", qc->tag); in nv_adma_qc_issue()
1733 dq->defer_bits |= (1 << qc->tag); in nv_swncq_qc_to_dq()
1734 dq->tag[dq->tail++ & (ATA_MAX_QUEUE - 1)] = qc->tag; in nv_swncq_qc_to_dq()
[all …]
Dsata_mv.c1682 int tag; in mv_port_free_dma_mem() local
1696 for (tag = 0; tag < MV_MAX_Q_DEPTH; ++tag) { in mv_port_free_dma_mem()
1697 if (pp->sg_tbl[tag]) { in mv_port_free_dma_mem()
1698 if (tag == 0 || !IS_GEN_I(hpriv)) in mv_port_free_dma_mem()
1700 pp->sg_tbl[tag], in mv_port_free_dma_mem()
1701 pp->sg_tbl_dma[tag]); in mv_port_free_dma_mem()
1702 pp->sg_tbl[tag] = NULL; in mv_port_free_dma_mem()
1723 int tag; in mv_port_start() local
1747 for (tag = 0; tag < MV_MAX_Q_DEPTH; ++tag) { in mv_port_start()
1748 if (tag == 0 || !IS_GEN_I(hpriv)) { in mv_port_start()
[all …]
/linux-4.1.27/block/
Dblk-tag.c23 struct request *blk_queue_find_tag(struct request_queue *q, int tag) in blk_queue_find_tag() argument
25 return blk_map_queue_find_tag(q->queue_tags, tag); in blk_queue_find_tag()
268 unsigned tag = rq->tag; /* negative tags invalid */ in blk_queue_end_tag() local
270 BUG_ON(tag >= bqt->real_max_depth); in blk_queue_end_tag()
274 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 …]
Dblk-mq-tag.c146 int tag, org_last_tag = last_tag; in __bt_get_word() local
149 tag = find_next_zero_bit(&bm->word, bm->depth, last_tag); in __bt_get_word()
150 if (unlikely(tag >= bm->depth)) { in __bt_get_word()
163 if (!test_and_set_bit(tag, &bm->word)) in __bt_get_word()
166 last_tag = tag + 1; in __bt_get_word()
171 return tag; in __bt_get_word()
191 int index, i, tag; in __bt_get() local
200 tag = __bt_get_word(&bt->map[index], TAG_TO_BIT(bt, last_tag), in __bt_get()
202 if (tag != -1) { in __bt_get()
203 tag += (index << bt->bits_per_word); in __bt_get()
[all …]
Dblk-mq-tag.h16 #define TAG_TO_INDEX(bt, tag) ((tag) >> (bt)->bits_per_word) argument
17 #define TAG_TO_BIT(bt, tag) ((tag) & ((1 << (bt)->bits_per_word) - 1)) argument
54 extern void blk_mq_put_tag(struct blk_mq_hw_ctx *hctx, unsigned int tag, unsigned int *last_tag);
DMakefile5 obj-$(CONFIG_BLOCK) := bio.o elevator.o blk-core.o blk-tag.o blk-sysfs.o \
8 blk-iopoll.o blk-lib.o blk-mq.o blk-mq-tag.o \
/linux-4.1.27/arch/mips/cavium-octeon/executive/
Dcvmx-l2c.c315 uint64_t tag = addr >> shift; in cvmx_l2c_lock_line() local
328 if (l2c_tadx_tag.s.valid && l2c_tadx_tag.s.tag == tag) in cvmx_l2c_lock_line()
458 union cvmx_l2c_tag tag; in cvmx_l2c_unlock_line() local
471 tag = cvmx_l2c_get_tag(assoc, index); in cvmx_l2c_unlock_line()
473 if (tag.s.V && (tag.s.addr == tag_addr)) { in cvmx_l2c_unlock_line()
475 return tag.s.L; in cvmx_l2c_unlock_line()
480 union cvmx_l2c_tag tag; in cvmx_l2c_unlock_line() local
488 tag = cvmx_l2c_get_tag(assoc, index); in cvmx_l2c_unlock_line()
490 if (tag.s.V && (tag.s.addr == tag_addr)) { in cvmx_l2c_unlock_line()
492 return tag.s.L; in cvmx_l2c_unlock_line()
[all …]
/linux-4.1.27/arch/avr32/kernel/
Dsetup.c305 static int __init parse_tag_core(struct tag *tag) in parse_tag_core() argument
307 if (tag->hdr.size > 2) { in parse_tag_core()
308 if ((tag->u.core.flags & 1) == 0) in parse_tag_core()
310 ROOT_DEV = new_decode_dev(tag->u.core.rootdev); in parse_tag_core()
316 static int __init parse_tag_mem(struct tag *tag) in parse_tag_mem() argument
325 if (tag->u.mem_range.size == 0) in parse_tag_mem()
328 start = tag->u.mem_range.addr; in parse_tag_mem()
329 end = tag->u.mem_range.addr + tag->u.mem_range.size - 1; in parse_tag_mem()
336 static int __init parse_tag_rdimg(struct tag *tag) in parse_tag_rdimg() argument
339 struct tag_mem_range *mem = &tag->u.mem_range; in parse_tag_rdimg()
[all …]
/linux-4.1.27/arch/avr32/include/asm/
Dsetup.h41 u32 tag; member
103 struct tag { struct
116 u32 tag; member
117 int (*parse)(struct tag *);
121 #define __tagtable(tag, fn) \ argument
122 static struct tagtable __tagtable_##fn __tag = { tag, fn }
124 #define tag_member_present(tag,member) \ argument
125 ((unsigned long)(&((struct tag *)0L)->member + 1) \
126 <= (tag)->hdr.size * 4)
128 #define tag_next(t) ((struct tag *)((u32 *)(t) + (t)->hdr.size))
[all …]
/linux-4.1.27/arch/tile/kernel/
Dsmp.c47 static void __send_IPI_many(HV_Recipient *recip, int nrecip, int tag) in __send_IPI_many() argument
52 (HV_VirtAddr)&tag, sizeof(tag)); in __send_IPI_many()
63 void send_IPI_single(int cpu, int tag) in send_IPI_single() argument
70 __send_IPI_many(&recip, 1, tag); in send_IPI_single()
73 void send_IPI_many(const struct cpumask *mask, int tag) in send_IPI_many() argument
87 __send_IPI_many(recip, nrecip, tag); in send_IPI_many()
90 void send_IPI_allbutself(int tag) in send_IPI_allbutself() argument
95 send_IPI_many(&mask, tag); in send_IPI_allbutself()
134 void evaluate_message(int tag) in evaluate_message() argument
136 switch (tag) { in evaluate_message()
[all …]
Dmessaging.c82 int tag; in hv_message_intr() local
87 tag = message[0]; in hv_message_intr()
91 panic("Received IPI message %d in UP mode", tag); in hv_message_intr()
/linux-4.1.27/arch/metag/kernel/
Dtcm.c18 unsigned int tag; member
26 static struct tcm_pool *find_pool(unsigned int tag) in find_pool() argument
33 if (pool->tag == tag) in find_pool()
49 unsigned long tcm_alloc(unsigned int tag, size_t len) in tcm_alloc() argument
54 pool = find_pool(tag); in tcm_alloc()
74 void tcm_free(unsigned int tag, unsigned long addr, size_t len) in tcm_free() argument
78 pool = find_pool(tag); in tcm_free()
101 return pool->tag; in tcm_lookup_tag()
123 pool->tag = reg->tag; in tcm_add_region()
/linux-4.1.27/include/trace/events/
D9p.h100 TP_PROTO(struct p9_client *clnt, int8_t type, int tag),
102 TP_ARGS(clnt, type, tag),
107 __field( __u32, tag )
113 __entry->tag = tag;
118 __entry->tag)
122 TP_PROTO(struct p9_client *clnt, int8_t type, int tag, int err),
124 TP_ARGS(clnt, type, tag, err),
129 __field( __u32, tag )
136 __entry->tag = tag;
142 __entry->tag, __entry->err)
[all …]
Dlibata.h151 __field( unsigned int, tag )
172 __entry->tag = qc->tag;
190 __entry->ata_port, __entry->ata_dev, __entry->tag,
209 __field( unsigned int, tag )
229 __entry->tag = qc->tag;
246 __entry->ata_port, __entry->ata_dev, __entry->tag,
303 __field( unsigned int, tag )
311 __entry->tag = qc->tag;
317 __entry->ata_port, __entry->ata_dev, __entry->tag,
/linux-4.1.27/arch/arm/mach-clps711x/
Dboard-p720t.c298 fixup_p720t(struct tag *tag, char **cmdline) in fixup_p720t() argument
303 if (tag->hdr.tag != ATAG_CORE) { in fixup_p720t()
304 tag->hdr.tag = ATAG_CORE; in fixup_p720t()
305 tag->hdr.size = tag_size(tag_core); in fixup_p720t()
306 tag->u.core.flags = 0; in fixup_p720t()
307 tag->u.core.pagesize = PAGE_SIZE; in fixup_p720t()
308 tag->u.core.rootdev = 0x0100; in fixup_p720t()
310 tag = tag_next(tag); in fixup_p720t()
311 tag->hdr.tag = ATAG_MEM; in fixup_p720t()
312 tag->hdr.size = tag_size(tag_mem32); in fixup_p720t()
[all …]
/linux-4.1.27/arch/xtensa/kernel/
Dsetup.c101 u32 tag; member
105 #define __tagtable(tag, fn) static tagtable_t __tagtable_##fn \ argument
106 __attribute__((used, section(".taglist"))) = { tag, fn }
110 static int __init parse_tag_mem(const bp_tag_t *tag) in parse_tag_mem() argument
112 struct bp_meminfo *mi = (struct bp_meminfo *)(tag->data); in parse_tag_mem()
124 static int __init parse_tag_initrd(const bp_tag_t* tag) in parse_tag_initrd() argument
126 struct bp_meminfo *mi = (struct bp_meminfo *)(tag->data); in parse_tag_initrd()
138 static int __init parse_tag_fdt(const bp_tag_t *tag) in parse_tag_fdt() argument
140 dtb_start = __va(tag->data[0]); in parse_tag_fdt()
150 static int __init parse_tag_cmdline(const bp_tag_t* tag) in parse_tag_cmdline() argument
[all …]
/linux-4.1.27/lib/
Dradix-tree.c87 static inline void tag_set(struct radix_tree_node *node, unsigned int tag, in tag_set() argument
90 __set_bit(offset, node->tags[tag]); in tag_set()
93 static inline void tag_clear(struct radix_tree_node *node, unsigned int tag, in tag_clear() argument
96 __clear_bit(offset, node->tags[tag]); in tag_clear()
99 static inline int tag_get(struct radix_tree_node *node, unsigned int tag, in tag_get() argument
102 return test_bit(offset, node->tags[tag]); in tag_get()
105 static inline void root_tag_set(struct radix_tree_root *root, unsigned int tag) in root_tag_set() argument
107 root->gfp_mask |= (__force gfp_t)(1 << (tag + __GFP_BITS_SHIFT)); in root_tag_set()
110 static inline void root_tag_clear(struct radix_tree_root *root, unsigned int tag) in root_tag_clear() argument
112 root->gfp_mask &= (__force gfp_t)~(1 << (tag + __GFP_BITS_SHIFT)); in root_tag_clear()
[all …]
Dasn1_decoder.c59 unsigned char tag, tmp; in asn1_find_indefinite_length() local
71 tag = data[dp++]; in asn1_find_indefinite_length()
72 if (tag == 0) { in asn1_find_indefinite_length()
84 if (unlikely((tag & 0x1f) == ASN1_LONG_TAG)) { in asn1_find_indefinite_length()
101 if (unlikely((tag & ASN1_CONS_BIT) == ASN1_PRIM << 5)) in asn1_find_indefinite_length()
172 unsigned char tag = 0, csp = 0, jsp = 0, optag = 0, hdr = 0; in asn1_ber_decoder() local
224 tag = data[dp++]; in asn1_ber_decoder()
225 if (unlikely((tag & 0x1f) == ASN1_LONG_TAG)) in asn1_ber_decoder()
229 pr_debug("- any %02x\n", tag); in asn1_ber_decoder()
240 tmp = optag ^ tag; in asn1_ber_decoder()
[all …]
Dpercpu_ida.c116 int tag = -ENOSPC; in alloc_local_tag() local
120 tag = tags->freelist[--tags->nr_free]; in alloc_local_tag()
123 return tag; in alloc_local_tag()
149 int tag; in percpu_ida_alloc() local
155 tag = alloc_local_tag(tags); in percpu_ida_alloc()
156 if (likely(tag >= 0)) { in percpu_ida_alloc()
158 return tag; in percpu_ida_alloc()
180 tag = tags->freelist[--tags->nr_free]; in percpu_ida_alloc()
189 if (tag >= 0 || state == TASK_RUNNING) in percpu_ida_alloc()
193 tag = -ERESTARTSYS; in percpu_ida_alloc()
[all …]
/linux-4.1.27/drivers/scsi/pm8001/
Dpm80xx_hwi.h248 __le32 tag; member
260 __le32 tag; member
310 __le32 tag; member
345 __le32 tag; member
361 __le32 tag; member
371 __le32 tag; member
382 __le32 tag; member
392 __le32 tag; member
407 __le32 tag; member
419 __le32 tag; member
[all …]
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 …]
Dpm8001_hwi.c1517 u32 tag; in pm8001_work_fn() local
1539 tag = ccb->ccb_tag; in pm8001_work_fn()
1540 if ((tag != 0xFFFFFFFF) && (ccb->task == t)) in pm8001_work_fn()
1564 pm8001_ccb_task_free(pm8001_ha, t, ccb, tag); in pm8001_work_fn()
1568 pm8001_ccb_task_free(pm8001_ha, t, ccb, tag); in pm8001_work_fn()
1577 u32 tag; in pm8001_work_fn() local
1620 tag = ccb->ccb_tag; in pm8001_work_fn()
1621 if ((tag != 0xFFFFFFFF) && (ccb->task == t)) in pm8001_work_fn()
1751 task_abort.tag = cpu_to_le32(ccb_tag); in pm8001_send_abort_all()
1821 sata_cmd.tag = cpu_to_le32(ccb_tag); in pm8001_send_read_log()
[all …]
Dpm8001_sas.c49 static int pm8001_find_tag(struct sas_task *task, u32 *tag) in pm8001_find_tag() argument
54 *tag = ccb->ccb_tag; in pm8001_find_tag()
65 void pm8001_tag_free(struct pm8001_hba_info *pm8001_ha, u32 tag) in pm8001_tag_free() argument
68 clear_bit(tag, bitmap); in pm8001_tag_free()
78 unsigned int tag; in pm8001_tag_alloc() local
83 tag = find_first_zero_bit(bitmap, pm8001_ha->tags_num); in pm8001_tag_alloc()
84 if (tag >= pm8001_ha->tags_num) { in pm8001_tag_alloc()
88 set_bit(tag, bitmap); in pm8001_tag_alloc()
90 *tag_out = tag; in pm8001_tag_alloc()
278 u32 pm8001_get_ncq_tag(struct sas_task *task, u32 *tag) in pm8001_get_ncq_tag() argument
[all …]
Dpm80xx_hwi.c844 u32 tag; in pm80xx_set_thermal_config() local
848 rc = pm8001_tag_alloc(pm8001_ha, &tag); in pm80xx_set_thermal_config()
853 payload.tag = cpu_to_le32(tag); in pm80xx_set_thermal_config()
860 pm8001_tag_free(pm8001_ha, tag); in pm80xx_set_thermal_config()
877 u32 tag; in pm80xx_set_sas_protocol_timer_config() local
883 rc = pm8001_tag_alloc(pm8001_ha, &tag); in pm80xx_set_sas_protocol_timer_config()
889 payload.tag = cpu_to_le32(tag); in pm80xx_set_sas_protocol_timer_config()
942 pm8001_tag_free(pm8001_ha, tag); in pm80xx_set_sas_protocol_timer_config()
1047 u32 tag; in pm80xx_encrypt_update() local
1051 rc = pm8001_tag_alloc(pm8001_ha, &tag); in pm80xx_encrypt_update()
[all …]
/linux-4.1.27/arch/sparc/kernel/
Dds.c69 struct ds_msg_tag tag; member
74 struct ds_msg_tag tag; member
79 struct ds_msg_tag tag; member
84 struct ds_msg_tag tag; member
92 struct ds_msg_tag tag; member
98 struct ds_msg_tag tag; member
104 struct ds_msg_tag tag; member
109 struct ds_msg_tag tag; member
114 struct ds_msg_tag tag; member
119 struct ds_msg_tag tag; member
[all …]
Dviohs.c33 struct vio_msg_tag *tag, int len) in send_ctrl() argument
35 tag->sid = vio_send_sid(vio); in send_ctrl()
36 return vio_ldc_send(vio, tag, len); in send_ctrl()
39 static void init_tag(struct vio_msg_tag *tag, u8 type, u8 stype, u16 stype_env) in init_tag() argument
41 tag->type = type; in init_tag()
42 tag->stype = stype; in init_tag()
43 tag->stype_env = stype_env; in init_tag()
53 init_tag(&pkt.tag, VIO_TYPE_CTRL, VIO_SUBTYPE_INFO, VIO_VER_INFO); in send_version()
61 return send_ctrl(vio, &pkt.tag, sizeof(pkt)); in send_version()
186 init_tag(&u.pkt.tag, VIO_TYPE_CTRL, VIO_SUBTYPE_INFO, VIO_DRING_REG); in send_dreg()
[all …]
/linux-4.1.27/net/ipv4/netfilter/
Dnf_nat_snmp_basic.c172 static unsigned char asn1_tag_decode(struct asn1_ctx *ctx, unsigned int *tag) in asn1_tag_decode() argument
176 *tag = 0; in asn1_tag_decode()
182 *tag <<= 7; in asn1_tag_decode()
183 *tag |= ch & 0x7F; in asn1_tag_decode()
191 unsigned int *tag) in asn1_id_decode() argument
200 *tag = (ch & 0x1F); in asn1_id_decode()
202 if (*tag == 0x1F) { in asn1_id_decode()
203 if (!asn1_tag_decode(ctx, tag)) in asn1_id_decode()
250 unsigned int *tag) in asn1_header_decode() argument
254 if (!asn1_id_decode(ctx, cls, con, tag)) in asn1_header_decode()
[all …]
/linux-4.1.27/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-4.1.27/drivers/scsi/be2iscsi/
Dbe_mgmt.c164 unsigned int tag = 0; in be_cmd_modify_eq_delay() local
168 tag = alloc_mcc_tag(phba); in be_cmd_modify_eq_delay()
169 if (!tag) { in be_cmd_modify_eq_delay()
171 return tag; in be_cmd_modify_eq_delay()
177 wrb->tag0 |= tag; in be_cmd_modify_eq_delay()
192 return tag; in be_cmd_modify_eq_delay()
212 unsigned int tag = 0; in mgmt_reopen_session() local
219 tag = alloc_mcc_tag(phba); in mgmt_reopen_session()
220 if (!tag) { in mgmt_reopen_session()
222 return tag; in mgmt_reopen_session()
[all …]
Dbe_cmds.c119 unsigned int tag = 0; in alloc_mcc_tag() local
122 tag = phba->ctrl.mcc_tag[phba->ctrl.mcc_alloc_index]; in alloc_mcc_tag()
124 phba->ctrl.mcc_numtag[tag] = 0; in alloc_mcc_tag()
126 if (tag) { in alloc_mcc_tag()
133 return tag; in alloc_mcc_tag()
150 uint32_t tag, struct be_mcc_wrb **wrb, in beiscsi_mccq_compl() argument
162 free_mcc_tag(&phba->ctrl, tag); in beiscsi_mccq_compl()
168 phba->ctrl.ptag_state[tag].tag_state = MCC_TAG_STATE_RUNNING; in beiscsi_mccq_compl()
173 phba->ctrl.mcc_wait[tag], in beiscsi_mccq_compl()
174 phba->ctrl.mcc_numtag[tag], in beiscsi_mccq_compl()
[all …]
Dbe_iscsi.c721 unsigned int tag; in beiscsi_get_initname() local
725 tag = be_cmd_get_initname(phba); in beiscsi_get_initname()
726 if (!tag) { in beiscsi_get_initname()
733 rc = beiscsi_mccq_compl(phba, tag, &wrb, NULL); in beiscsi_get_initname()
769 unsigned int tag; in beiscsi_get_port_speed() local
775 tag = be_cmd_get_port_speed(phba); in beiscsi_get_port_speed()
776 if (!tag) { in beiscsi_get_port_speed()
782 rc = beiscsi_mccq_compl(phba, tag, &wrb, NULL); in beiscsi_get_port_speed()
1109 unsigned int tag, req_memsize; in beiscsi_open_conn() local
1150 tag = mgmt_open_connection(phba, dst_addr, beiscsi_ep, &nonemb_cmd); in beiscsi_open_conn()
[all …]
/linux-4.1.27/drivers/staging/rtl8192e/
Drtl819x_BAProc.c83 u8 *tag = NULL; in rtllib_ADDBA() local
112 tag = (u8 *)skb_put(skb, 9); in rtllib_ADDBA()
113 *tag++ = ACT_CAT_BA; in rtllib_ADDBA()
114 *tag++ = type; in rtllib_ADDBA()
115 *tag++ = pBA->DialogToken; in rtllib_ADDBA()
120 put_unaligned_le16(StatusCode, tag); in rtllib_ADDBA()
121 tag += 2; in rtllib_ADDBA()
124 put_unaligned_le16(pBA->BaParamSet.shortData, tag); in rtllib_ADDBA()
125 tag += 2; in rtllib_ADDBA()
127 put_unaligned_le16(pBA->BaTimeoutValue, tag); in rtllib_ADDBA()
[all …]
Drtllib_softmac.c59 u8 *tag = *tag_p; in rtllib_MFIE_Brate() local
62 *tag++ = MFIE_TYPE_RATES; in rtllib_MFIE_Brate()
63 *tag++ = 4; in rtllib_MFIE_Brate()
64 *tag++ = RTLLIB_BASIC_RATE_MASK | RTLLIB_CCK_RATE_1MB; in rtllib_MFIE_Brate()
65 *tag++ = RTLLIB_BASIC_RATE_MASK | RTLLIB_CCK_RATE_2MB; in rtllib_MFIE_Brate()
66 *tag++ = RTLLIB_BASIC_RATE_MASK | RTLLIB_CCK_RATE_5MB; in rtllib_MFIE_Brate()
67 *tag++ = RTLLIB_BASIC_RATE_MASK | RTLLIB_CCK_RATE_11MB; in rtllib_MFIE_Brate()
73 *tag_p = tag; in rtllib_MFIE_Brate()
78 u8 *tag = *tag_p; in rtllib_MFIE_Grate() local
81 *tag++ = MFIE_TYPE_RATES_EX; in rtllib_MFIE_Grate()
[all …]
/linux-4.1.27/drivers/staging/rtl8192u/ieee80211/
Drtl819x_BAProc.c114 u8 *tag = NULL; in ieee80211_ADDBA() local
143 tag = (u8 *)skb_put(skb, 9); in ieee80211_ADDBA()
144 *tag ++= ACT_CAT_BA; in ieee80211_ADDBA()
145 *tag ++= type; in ieee80211_ADDBA()
147 *tag ++= pBA->DialogToken; in ieee80211_ADDBA()
154 put_unaligned_le16(StatusCode, tag); in ieee80211_ADDBA()
155 tag += 2; in ieee80211_ADDBA()
159 put_unaligned_le16(pBA->BaParamSet.shortData, tag); in ieee80211_ADDBA()
160 tag += 2; in ieee80211_ADDBA()
163 put_unaligned_le16(pBA->BaTimeoutValue, tag); in ieee80211_ADDBA()
[all …]
Dieee80211_softmac.c63 u8 *tag = *tag_p; in ieee80211_MFIE_Brate() local
66 *tag++ = MFIE_TYPE_RATES; in ieee80211_MFIE_Brate()
67 *tag++ = 4; in ieee80211_MFIE_Brate()
68 *tag++ = IEEE80211_BASIC_RATE_MASK | IEEE80211_CCK_RATE_1MB; in ieee80211_MFIE_Brate()
69 *tag++ = IEEE80211_BASIC_RATE_MASK | IEEE80211_CCK_RATE_2MB; in ieee80211_MFIE_Brate()
70 *tag++ = IEEE80211_BASIC_RATE_MASK | IEEE80211_CCK_RATE_5MB; in ieee80211_MFIE_Brate()
71 *tag++ = IEEE80211_BASIC_RATE_MASK | IEEE80211_CCK_RATE_11MB; in ieee80211_MFIE_Brate()
75 *tag_p = tag; in ieee80211_MFIE_Brate()
80 u8 *tag = *tag_p; in ieee80211_MFIE_Grate() local
84 *tag++ = MFIE_TYPE_RATES_EX; in ieee80211_MFIE_Grate()
[all …]
/linux-4.1.27/include/scsi/
Dscsi_tcq.h33 static inline struct scsi_cmnd *scsi_find_tag(struct scsi_device *sdev, int tag) in scsi_find_tag() argument
37 if (tag != SCSI_NO_TAG) { in scsi_find_tag()
39 return scsi_mq_find_tag(sdev->host, tag); in scsi_find_tag()
41 req = blk_queue_find_tag(sdev->request_queue, tag); in scsi_find_tag()
87 int tag) in scsi_host_find_tag() argument
91 if (tag != SCSI_NO_TAG) { in scsi_host_find_tag()
93 return scsi_mq_find_tag(shost, tag); in scsi_host_find_tag()
94 req = blk_map_queue_find_tag(shost->bqt, tag); in scsi_host_find_tag()
Dsrp.h121 u64 tag; member
140 u64 tag; member
152 u64 tag; member
161 u64 tag; member
169 u64 tag; member
180 u64 tag; member
201 u64 tag; member
231 u64 tag; member
247 u64 tag; member
253 u64 tag; member
[all …]
/linux-4.1.27/drivers/s390/scsi/
Dzfcp_dbf.c68 void zfcp_dbf_hba_fsf_res(char *tag, struct zfcp_fsf_req *req) in zfcp_dbf_hba_fsf_res() argument
79 memcpy(rec->tag, tag, ZFCP_DBF_TAG_LEN); in zfcp_dbf_hba_fsf_res()
109 void zfcp_dbf_hba_fsf_uss(char *tag, struct zfcp_fsf_req *req) in zfcp_dbf_hba_fsf_uss() argument
119 memcpy(rec->tag, tag, ZFCP_DBF_TAG_LEN); in zfcp_dbf_hba_fsf_uss()
152 void zfcp_dbf_hba_bit_err(char *tag, struct zfcp_fsf_req *req) in zfcp_dbf_hba_bit_err() argument
162 memcpy(rec->tag, tag, ZFCP_DBF_TAG_LEN); in zfcp_dbf_hba_bit_err()
214 void zfcp_dbf_hba_basic(char *tag, struct zfcp_adapter *adapter) in zfcp_dbf_hba_basic() argument
223 memcpy(rec->tag, tag, ZFCP_DBF_TAG_LEN); in zfcp_dbf_hba_basic()
258 void zfcp_dbf_rec_trig(char *tag, struct zfcp_adapter *adapter, in zfcp_dbf_rec_trig() argument
271 memcpy(rec->tag, tag, ZFCP_DBF_TAG_LEN); in zfcp_dbf_rec_trig()
[all …]
Dzfcp_dbf.h74 char tag[ZFCP_DBF_TAG_LEN]; member
108 char tag[ZFCP_DBF_TAG_LEN]; member
173 char tag[ZFCP_DBF_TAG_LEN]; member
212 char tag[ZFCP_DBF_TAG_LEN]; member
279 void zfcp_dbf_hba_fsf_resp(char *tag, int level, struct zfcp_fsf_req *req) in zfcp_dbf_hba_fsf_resp() argument
282 zfcp_dbf_hba_fsf_res(tag, req); in zfcp_dbf_hba_fsf_resp()
314 void _zfcp_dbf_scsi(char *tag, int level, struct scsi_cmnd *scmd, in _zfcp_dbf_scsi() argument
321 zfcp_dbf_scsi(tag, scmd, req); in _zfcp_dbf_scsi()
357 void zfcp_dbf_scsi_abort(char *tag, struct scsi_cmnd *scmd, in zfcp_dbf_scsi_abort() argument
360 _zfcp_dbf_scsi(tag, 1, scmd, fsf_req); in zfcp_dbf_scsi_abort()
[all …]
Dzfcp_ccw.c48 static int zfcp_ccw_activate(struct ccw_device *cdev, int clear, char *tag) in zfcp_ccw_activate() argument
58 tag); in zfcp_ccw_activate()
205 static int zfcp_ccw_offline_sync(struct ccw_device *cdev, int set, char *tag) in zfcp_ccw_offline_sync() argument
213 zfcp_erp_adapter_shutdown(adapter, 0, tag); in zfcp_ccw_offline_sync()
/linux-4.1.27/crypto/asymmetric_keys/
Dpkcs7_parser.c164 unsigned char tag, in pkcs7_note_OID() argument
183 unsigned char tag, in pkcs7_sig_note_digest_algo() argument
212 unsigned char tag, in pkcs7_sig_note_pkey_algo() argument
232 unsigned char tag, in pkcs7_extract_cert() argument
238 if (tag != ((ASN1_UNIV << 6) | ASN1_CONS_BIT | ASN1_SEQ)) { in pkcs7_extract_cert()
240 tag, (unsigned long)ctx - ctx->data); in pkcs7_extract_cert()
272 unsigned char tag, in pkcs7_note_certificate_list() argument
277 pr_devel("Got cert list (%02x)\n", tag); in pkcs7_note_certificate_list()
291 unsigned char tag, in pkcs7_note_data() argument
309 unsigned char tag, in pkcs7_sig_note_authenticated_attr() argument
[all …]
Dx509_cert_parser.c140 unsigned char tag, in x509_note_OID() argument
160 unsigned char tag, in x509_note_tbs_certificate() argument
166 hdrlen, tag, (unsigned long)value - ctx->data, vlen); in x509_note_tbs_certificate()
177 unsigned char tag, in x509_note_pkey_algo() argument
229 unsigned char tag, in x509_note_signature() argument
251 unsigned char tag, in x509_note_serial() argument
264 unsigned char tag, in x509_extract_name_segment() argument
293 unsigned char tag, in x509_fabricate_name() argument
368 unsigned char tag, in x509_note_issuer() argument
374 return x509_fabricate_name(ctx, hdrlen, tag, &ctx->cert->issuer, vlen); in x509_note_issuer()
[all …]
Dmscode_parser.c47 unsigned char tag, in mscode_note_content_type() argument
79 unsigned char tag, in mscode_note_digest_algo() argument
118 unsigned char tag, in mscode_note_digest() argument
/linux-4.1.27/arch/arm/include/uapi/asm/
Dsetup.h26 __u32 tag; member
146 struct tag { struct
172 __u32 tag; member
173 int (*parse)(const struct tag *);
176 #define tag_member_present(tag,member) \ argument
177 ((unsigned long)(&((struct tag *)0L)->member + 1) \
178 <= (tag)->hdr.size * 4)
180 #define tag_next(t) ((struct tag *)((__u32 *)(t) + (t)->hdr.size))
/linux-4.1.27/arch/mips/include/asm/octeon/
Dcvmx-pow.h220 uint64_t tag:32; member
222 uint64_t tag:32;
687 uint64_t tag:32; member
689 uint64_t tag:32;
742 uint64_t tag:32; member
744 uint64_t tag:32;
847 uint64_t tag:32; member
849 uint64_t tag:32;
1276 result.s.tag = load_resp.s_sstatus2.tag; in cvmx_pow_get_current_tag()
1534 static inline void cvmx_pow_tag_sw_nocheck(uint32_t tag, in cvmx_pow_tag_sw_nocheck() argument
[all …]
/linux-4.1.27/drivers/scsi/fnic/
Dfcpio.h137 fcpio_tag_id_enc(struct fcpio_tag *tag, u32 id) in fcpio_tag_id_enc() argument
139 tag->u.req_id = id; in fcpio_tag_id_enc()
143 fcpio_tag_id_dec(struct fcpio_tag *tag, u32 *id) in fcpio_tag_id_dec() argument
145 *id = tag->u.req_id; in fcpio_tag_id_dec()
149 fcpio_tag_exid_enc(struct fcpio_tag *tag, u16 ox_id, u16 rx_id) in fcpio_tag_exid_enc() argument
151 tag->u.ex_id.rx_id = rx_id; in fcpio_tag_exid_enc()
152 tag->u.ex_id.ox_id = ox_id; in fcpio_tag_exid_enc()
156 fcpio_tag_exid_dec(struct fcpio_tag *tag, u16 *ox_id, u16 *rx_id) in fcpio_tag_exid_dec() argument
158 *rx_id = tag->u.ex_id.rx_id; in fcpio_tag_exid_dec()
159 *ox_id = tag->u.ex_id.ox_id; in fcpio_tag_exid_dec()
[all …]
Dfnic_scsi.c109 u32 hash = sc->request->tag & (FNIC_IO_LOCKS - 1); in fnic_io_lock_hash()
115 int tag) in fnic_io_lock_tag() argument
117 return &fnic->io_req_lock[tag & (FNIC_IO_LOCKS - 1)]; in fnic_io_lock_tag()
383 fnic_queue_wq_copy_desc_icmnd_16(wq, sc->request->tag, in fnic_queue_wq_copy_desc()
479 sc->request->tag, sc, 0, sc->cmnd[0], in fnic_queuecommand_lck()
539 sc->request->tag, sc, 0, 0, 0, in fnic_queuecommand_lck()
571 sc->request->tag, sc, io_req, in fnic_queuecommand_lck()
596 struct fcpio_tag tag; in DEF_SCSI_QCMD() local
601 fcpio_header_dec(&desc->hdr, &type, &hdr_status, &tag); in DEF_SCSI_QCMD()
679 struct fcpio_tag tag; in fnic_fcpio_flogi_reg_cmpl_handler() local
[all …]
Dfnic_res.h96 desc->hdr.tag.u.req_id = req_id; /* id for this request */ in fnic_queue_wq_copy_desc_icmnd_16()
135 desc->hdr.tag.u.req_id = req_id; /* id for this request */ in fnic_queue_wq_copy_desc_itmf()
159 desc->hdr.tag.u.req_id = req_id; /* id for this request */ in fnic_queue_wq_copy_desc_flogi_reg()
179 desc->hdr.tag.u.req_id = req_id; /* id for this request */ in fnic_queue_wq_copy_desc_fip_reg()
201 desc->hdr.tag.u.req_id = req_id; /* id for this request */ in fnic_queue_wq_copy_desc_fw_reset()
215 desc->hdr.tag.u.req_id = req_id; /* id for this request */ in fnic_queue_wq_copy_desc_lunmap()
Dfnic_trace.h68 u32 tag; member
99 trace_buf->tag = _t; \
/linux-4.1.27/scripts/dtc/libfdt/
Dfdt.c96 uint32_t tag; in fdt_next_tag() local
104 tag = fdt32_to_cpu(*tagp); in fdt_next_tag()
108 switch (tag) { in fdt_next_tag()
140 return tag; in fdt_next_tag()
164 uint32_t tag; in fdt_next_node() local
172 tag = fdt_next_tag(fdt, offset, &nextoffset); in fdt_next_node()
174 switch (tag) { in fdt_next_node()
196 } while (tag != FDT_BEGIN_NODE); in fdt_next_node()
Dfdt_sw.c149 nh->tag = cpu_to_fdt32(FDT_BEGIN_NODE); in fdt_begin_node()
206 prop->tag = cpu_to_fdt32(FDT_PROP); in fdt_property()
218 uint32_t tag; in fdt_finish() local
237 while ((tag = fdt_next_tag(fdt, offset, &nextoffset)) != FDT_END) { in fdt_finish()
238 if (tag == FDT_PROP) { in fdt_finish()
Dfdt.h31 uint32_t tag; member
36 uint32_t tag; member
Dfdt_rw.c245 (*prop)->tag = cpu_to_fdt32(FDT_PROP); in _fdt_add_property()
341 uint32_t tag; in fdt_add_subnode_namelen() local
356 tag = fdt_next_tag(fdt, offset, &nextoffset); in fdt_add_subnode_namelen()
357 } while ((tag == FDT_PROP) || (tag == FDT_NOP)); in fdt_add_subnode_namelen()
366 nh->tag = cpu_to_fdt32(FDT_BEGIN_NODE); in fdt_add_subnode_namelen()
/linux-4.1.27/fs/udf/
Dmisc.c136 crclen = sizeof(struct extendedAttrHeaderDesc) - sizeof(struct tag); in udf_add_extendedattr()
139 sizeof(struct tag), crclen)); in udf_add_extendedattr()
204 struct tag *tag_p; in udf_read_tagged()
219 tag_p = (struct tag *)(bh->b_data); in udf_read_tagged()
246 if (le16_to_cpu(tag_p->descCRCLength) + sizeof(struct tag) > sb->s_blocksize || in udf_read_tagged()
248 bh->b_data + sizeof(struct tag), in udf_read_tagged()
270 struct tag *tptr = (struct tag *)data; in udf_update_tag()
271 length -= sizeof(struct tag); in udf_update_tag()
274 tptr->descCRC = cpu_to_le16(crc_itu_t(0, data + sizeof(struct tag), length)); in udf_update_tag()
281 struct tag *tptr = (struct tag *)data; in udf_new_tag()
[all …]
Decma_167.h160 struct tag { struct
193 struct tag descTag;
222 struct tag descTag;
230 struct tag descTag;
238 struct tag descTag;
246 struct tag descTag;
281 struct tag descTag;
325 struct tag descTag;
333 struct tag descTag;
339 struct tag descTag;
[all …]
/linux-4.1.27/arch/mips/sgi-ip22/
Dip28-berr.c69 #define tag cache_tags.tags[0] in save_cache_tags() macro
71 tag[0].lo = read_c0_taglo(); /* PA[35:18], VA[13:12] */ in save_cache_tags()
72 tag[0].hi = read_c0_taghi(); /* PA[39:36] */ in save_cache_tags()
74 tag[1].lo = read_c0_taglo(); /* PA[35:18], VA[13:12] */ in save_cache_tags()
75 tag[1].hi = read_c0_taghi(); /* PA[39:36] */ in save_cache_tags()
76 #undef tag in save_cache_tags()
86 #define tag cache_tags.tagd[i] in save_cache_tags() macro
89 tag[0].lo = read_c0_taglo(); /* PA[35:12] */ in save_cache_tags()
90 tag[0].hi = read_c0_taghi(); /* PA[39:36] */ in save_cache_tags()
92 tag[1].lo = read_c0_taglo(); /* PA[35:12] */ in save_cache_tags()
[all …]
/linux-4.1.27/arch/metag/include/asm/
Dtcm.h9 unsigned int tag; member
18 unsigned int tag; member
24 unsigned long tcm_alloc(unsigned int tag, size_t len);
25 void tcm_free(unsigned int tag, unsigned long addr, size_t len);
/linux-4.1.27/scripts/genksyms/
Dgenksyms.c189 (defn = sym->defn) && defn->tag == SYM_NORMAL && in is_unknown_symbol()
191 (defn = defn->next) && defn->tag == SYM_NORMAL && in is_unknown_symbol()
193 (defn = defn->next) && defn->tag == SYM_NORMAL && in is_unknown_symbol()
356 newnode->tag = SYM_NORMAL; in mk_node()
385 newnode->tag = node->tag; in copy_node()
409 if (a->tag != b->tag || strcmp(a->string, b->string)) in equal_list()
425 .tag = SYM_NORMAL }; in read_node()
455 node.tag = n; in read_node()
475 if (sym && sym->tag == SYM_NORMAL && in read_reference()
484 if (def && def->tag == SYM_NORMAL && in read_reference()
[all …]
Dparse.y64 (*ident)->tag = type; in record_compound()
68 r = copy_node(i); r->tag = type; in record_compound()
230 { remove_node($1); (*$2)->tag = SYM_STRUCT; $$ = $2; }
232 { remove_node($1); (*$2)->tag = SYM_UNION; $$ = $2; }
234 { remove_node($1); (*$2)->tag = SYM_ENUM; $$ = $2; }
264 | TYPE { (*$1)->tag = SYM_TYPEDEF; $$ = $1; }
/linux-4.1.27/drivers/iommu/
Damd_iommu_v2.c85 u16 tag; member
435 u16 tag, int status) in set_pri_tag_status() argument
440 pasid_state->pri[tag].status = status; in set_pri_tag_status()
446 u16 tag) in finish_pri_tag() argument
451 if (atomic_dec_and_test(&pasid_state->pri[tag].inflight) && in finish_pri_tag()
452 pasid_state->pri[tag].finish) { in finish_pri_tag()
454 pasid_state->pri[tag].status, tag); in finish_pri_tag()
455 pasid_state->pri[tag].finish = false; in finish_pri_tag()
456 pasid_state->pri[tag].status = PPR_SUCCESS; in finish_pri_tag()
466 set_pri_tag_status(fault->state, fault->tag, PPR_INVALID); in handle_fault_error()
[all …]
/linux-4.1.27/scripts/dtc/
Dfdtdump.c57 uint32_t tag; in dump_blob() local
98 while ((tag = fdt32_to_cpu(GET_CELL(p))) != FDT_END) { in dump_blob()
102 if (tag == FDT_BEGIN_NODE) { in dump_blob()
115 if (tag == FDT_END_NODE) { in dump_blob()
122 if (tag == FDT_NOP) { in dump_blob()
127 if (tag != FDT_PROP) { in dump_blob()
128 fprintf(stderr, "%*s ** Unknown tag 0x%08x\n", depth * shift, "", tag); in dump_blob()
Dfdtget.c153 uint32_t tag; /* current tag */ in list_subnodes() local
159 tag = fdt_next_tag(blob, node, &nextoffset); in list_subnodes()
160 switch (tag) { in list_subnodes()
188 printf("Unknown tag 0x%08X\n", tag); in list_subnodes()
/linux-4.1.27/drivers/char/
Dps3flash.c39 int tag; /* Start sector of buffer, -1 if invalid */ member
65 if (!priv->dirty || priv->tag < 0) in ps3flash_writeback()
68 res = ps3flash_read_write_sectors(dev, priv->tag, 1); in ps3flash_writeback()
81 if (start_sector == priv->tag) in ps3flash_fetch()
88 priv->tag = -1; in ps3flash_fetch()
94 priv->tag = start_sector; in ps3flash_fetch()
211 else if (sector != priv->tag) in ps3flash_write()
231 priv->tag = sector; in ps3flash_write()
303 u64 tag, status; in ps3flash_interrupt() local
305 res = lv1_storage_get_async_status(dev->sbd.dev_id, &tag, &status); in ps3flash_interrupt()
[all …]
/linux-4.1.27/drivers/pnp/pnpbios/
Drsparser.c83 unsigned int len, tag; in pnpbios_parse_allocated_resource_data() local
98 tag = p[0]; in pnpbios_parse_allocated_resource_data()
101 tag = ((p[0] >> 3) & 0x0f); in pnpbios_parse_allocated_resource_data()
104 switch (tag) { in pnpbios_parse_allocated_resource_data()
196 tag, len); in pnpbios_parse_allocated_resource_data()
319 unsigned int len, tag; in pnpbios_parse_resource_option_data() local
333 tag = p[0]; in pnpbios_parse_resource_option_data()
336 tag = ((p[0] >> 3) & 0x0f); in pnpbios_parse_resource_option_data()
339 switch (tag) { in pnpbios_parse_resource_option_data()
410 tag, len); in pnpbios_parse_resource_option_data()
[all …]
/linux-4.1.27/include/linux/usb/
Duas.h11 __be16 tag; member
48 __be16 tag; member
60 __be16 tag; member
74 __be16 tag; member
85 __be16 tag; member
/linux-4.1.27/fs/xfs/
Dxfs_error.h23 extern void xfs_error_report(const char *tag, int level, struct xfs_mount *mp,
25 extern void xfs_corruption_error(const char *tag, int level,
126 #define XFS_TEST_ERROR(expr, mp, tag, rf) \ argument
128 xfs_error_test((tag), (mp)->m_fixedfsid, "expr", __LINE__, __FILE__, \
134 #define XFS_TEST_ERROR(expr, mp, tag, rf) (expr) argument
135 #define xfs_errortag_add(tag, mp) (ENOSYS) argument
Dxfs_error.c125 const char *tag, in xfs_error_report() argument
135 tag, linenum, filename, ra); in xfs_error_report()
143 const char *tag, in xfs_corruption_error() argument
153 xfs_error_report(tag, level, mp, filename, linenum, ra); in xfs_corruption_error()
/linux-4.1.27/include/linux/wimax/
Ddebug.h199 #define _d_printf(l, tag, dev, f, a...) \ argument
205 printk(KERN_ERR "%s%s%s: " f, head, __func__, tag, ##a); \
456 const char *submodule, u8 level, const char *tag) in d_submodule_set() argument
465 tag, itr, index); in d_submodule_set()
473 printk(KERN_ERR "%s: unknown submodule %s\n", tag, submodule); in d_submodule_set()
491 const char *_params, const char *tag) in d_parse_params() argument
517 submodule, level, tag); in d_parse_params()
521 tag, token, tokens); in d_parse_params()
/linux-4.1.27/arch/mn10300/mm/
Dcache-inv-by-tag.S151 clr d2 # we're going to clear tag RAM
154 # read the tags from the tag RAM, and if they indicate a valid dirty
159 add d0,a0 # starting dcache tag RAM
185 mov (L1_CACHE_WAYDISP*0,a0),d0 # read the tag in the way 0 slot
194 mov d2,(L1_CACHE_WAYDISP*0,a0) # kill the tag
199 mov (L1_CACHE_WAYDISP*1,a0),d0 # read the tag in the way 1 slot
208 mov d2,(L1_CACHE_WAYDISP*1,a0) # kill the tag
213 mov (L1_CACHE_WAYDISP*2,a0),d0 # read the tag in the way 2 slot
222 mov d2,(L1_CACHE_WAYDISP*2,a0) # kill the tag
227 mov (L1_CACHE_WAYDISP*3,a0),d0 # read the tag in the way 3 slot
[all …]
DMakefile11 cacheflush-$(CONFIG_MN10300_CACHE_INV_BY_TAG) += cache-inv-by-tag.o
13 cacheflush-$(CONFIG_MN10300_CACHE_FLUSH_BY_TAG) += cache-flush-by-tag.o
17 cache-dbg-flush-by-tag.o cache-dbg-inv-by-tag.o
21 cache-dbg-inv-by-tag.o cache-dbg-inv.o
/linux-4.1.27/drivers/scsi/
Dstex.c216 __le16 tag; member
228 __le16 tag; member
503 stex_send_cmd(struct st_hba *hba, struct req_msg *req, u16 tag) in stex_send_cmd() argument
505 req->tag = cpu_to_le16(tag); in stex_send_cmd()
507 hba->ccb[tag].req = req; in stex_send_cmd()
516 stex_ss_send_cmd(struct st_hba *hba, struct req_msg *req, u16 tag) in stex_ss_send_cmd() argument
522 req->tag = cpu_to_le16(tag); in stex_ss_send_cmd()
524 hba->ccb[tag].req = req; in stex_ss_send_cmd()
527 cmd = hba->ccb[tag].cmd; in stex_ss_send_cmd()
534 addr += (hba->ccb[tag].sg_count+4)/11; in stex_ss_send_cmd()
[all …]
Dscsi_logging.c79 const char *name, int tag) in sdev_format_header() argument
90 if (tag >= 0) in sdev_format_header()
92 "tag#%d ", tag); in sdev_format_header()
137 scmd->request->tag); in scmd_printk()
234 scmd_name(cmd), cmd->request->tag); in scsi_print_command()
260 cmd->request->tag); in scsi_print_command()
339 scsi_log_dump_sense(const struct scsi_device *sdev, const char *name, int tag, in scsi_log_dump_sense() argument
355 name, tag); in scsi_log_dump_sense()
366 int tag, const struct scsi_sense_hdr *sshdr) in scsi_log_print_sense_hdr() argument
374 off = sdev_format_header(logbuf, logbuf_len, name, tag); in scsi_log_print_sense_hdr()
[all …]
Dps3rom.c142 atapi_cmnd.arglen, &dev->tag); in ps3rom_atapi_request()
182 sectors, 0, dev->bounce_lpar, &dev->tag); in ps3rom_read_request()
205 sectors, 0, dev->bounce_lpar, &dev->tag); in ps3rom_write_request()
281 u64 tag, status; in ps3rom_interrupt() local
284 res = lv1_storage_get_async_status(dev->sbd.dev_id, &tag, &status); in ps3rom_interrupt()
291 if (tag != dev->tag) in ps3rom_interrupt()
294 __func__, __LINE__, tag, dev->tag); in ps3rom_interrupt()
Dhptiop.c48 static void hptiop_finish_scsi_req(struct hptiop_hba *hba, u32 tag,
50 static void hptiop_host_request_callback_itl(struct hptiop_hba *hba, u32 tag);
51 static void hptiop_iop_request_callback_itl(struct hptiop_hba *hba, u32 tag);
85 static void hptiop_request_callback_itl(struct hptiop_hba *hba, u32 tag) in hptiop_request_callback_itl() argument
87 if (tag & IOPMU_QUEUE_ADDR_HOST_BIT) in hptiop_request_callback_itl()
89 tag & ~IOPMU_QUEUE_ADDR_HOST_BIT); in hptiop_request_callback_itl()
91 hptiop_iop_request_callback_itl(hba, tag); in hptiop_request_callback_itl()
183 static void hptiop_request_callback_mv(struct hptiop_hba *hba, u64 tag) in hptiop_request_callback_mv() argument
185 u32 req_type = (tag >> 5) & 0x7; in hptiop_request_callback_mv()
188 dprintk("hptiop_request_callback_mv: tag=%llx\n", tag); in hptiop_request_callback_mv()
[all …]
Datari_NCR5380.c341 cmd->tag = TAG_NONE; in cmd_get_tag()
348 cmd->tag = find_first_zero_bit(ta->allocated, MAX_TAGS); in cmd_get_tag()
349 set_bit(cmd->tag, ta->allocated); in cmd_get_tag()
353 H_NO(cmd), cmd->tag, cmd->device->id, in cmd_get_tag()
368 if (cmd->tag == TAG_NONE) { in cmd_free_tag()
372 } else if (cmd->tag >= MAX_TAGS) { in cmd_free_tag()
374 H_NO(cmd), cmd->tag); in cmd_free_tag()
377 clear_bit(cmd->tag, ta->allocated); in cmd_free_tag()
380 H_NO(cmd), cmd->tag, cmd->device->id, lun); in cmd_free_tag()
1579 if (cmd->tag != TAG_NONE) { in NCR5380_select()
[all …]
/linux-4.1.27/drivers/input/tablet/
Dgtco.c209 __u8 tag; in parse_hid_report_descriptor() local
258 tag = PREF_TAG(prefix); in parse_hid_report_descriptor()
263 switch (tag) { in parse_hid_report_descriptor()
387 indentstr, tag, maintype, size, globtype, data); in parse_hid_report_descriptor()
392 indentstr, tag, maintype, size, globtype, data16); in parse_hid_report_descriptor()
397 indentstr, tag, maintype, size, globtype, data32); in parse_hid_report_descriptor()
403 switch (tag) { in parse_hid_report_descriptor()
464 if (tag < TAG_GLOB_MAX) { in parse_hid_report_descriptor()
468 indentstr, globtype, tag, size, data); in parse_hid_report_descriptor()
469 globalval[tag] = data; in parse_hid_report_descriptor()
[all …]
/linux-4.1.27/drivers/block/rsxx/
Ddma.c48 u8 tag; member
62 u8 tag; member
139 int tag, in set_tracker_dma() argument
142 trackers->list[tag].dma = dma; in set_tracker_dma()
146 int tag) in get_tracker_dma() argument
148 return trackers->list[tag].dma; in get_tracker_dma()
153 int tag; in pop_tracker() local
156 tag = trackers->head; in pop_tracker()
157 if (tag != -1) { in pop_tracker()
158 trackers->head = trackers->list[tag].next_tag; in pop_tracker()
[all …]
/linux-4.1.27/arch/mips/rb532/
Dprom.c57 static inline int match_tag(char *arg, const char *tag) in match_tag() argument
59 return strncmp(arg, tag, strlen(tag)) == 0; in match_tag()
62 static inline unsigned long tag2ul(char *arg, const char *tag) in tag2ul() argument
66 num = arg + strlen(tag); in tag2ul()
/linux-4.1.27/tools/perf/util/
Ddwarf-aux.c187 int tag; in __die_get_real_type() local
193 tag = dwarf_tag(vr_die); in __die_get_real_type()
194 } while (tag == DW_TAG_const_type || in __die_get_real_type()
195 tag == DW_TAG_restrict_type || in __die_get_real_type()
196 tag == DW_TAG_volatile_type || in __die_get_real_type()
197 tag == DW_TAG_shared_type); in __die_get_real_type()
766 int tag; in __die_find_variable_cb() local
768 tag = dwarf_tag(die_mem); in __die_find_variable_cb()
769 if ((tag == DW_TAG_formal_parameter || in __die_find_variable_cb()
770 tag == DW_TAG_variable) && in __die_find_variable_cb()
[all …]
Dprobe-finder.c388 int ret, tag; in convert_variable_fields() local
396 tag = dwarf_tag(&type); in convert_variable_fields()
399 (tag == DW_TAG_array_type || tag == DW_TAG_pointer_type)) { in convert_variable_fields()
410 if (tag == DW_TAG_pointer_type) { in convert_variable_fields()
424 } else if (tag == DW_TAG_pointer_type) { in convert_variable_fields()
437 tag = dwarf_tag(&type); in convert_variable_fields()
438 if (tag != DW_TAG_structure_type && tag != DW_TAG_union_type) { in convert_variable_fields()
453 if (tag != DW_TAG_structure_type && tag != DW_TAG_union_type) { in convert_variable_fields()
483 if (tag == DW_TAG_union_type) { in convert_variable_fields()
1102 int tag; in copy_variables_cb() local
[all …]
/linux-4.1.27/arch/ia64/include/asm/
Dparavirt_patch.h84 unsigned long tag;
95 unsigned long tag, unsigned long type,
100 paravirt_patch_reloc_br(unsigned long tag, const void *target);
103 paravirt_patch_reloc_brl(unsigned long tag, const void *target);
/linux-4.1.27/include/linux/
Dradix-tree.h284 unsigned long index, unsigned int tag);
286 unsigned long index, unsigned int tag);
288 unsigned long index, unsigned int tag);
292 unsigned int tag);
296 unsigned int tag);
301 int radix_tree_tagged(struct radix_tree_root *root, unsigned int tag);
516 #define radix_tree_for_each_tagged(slot, root, iter, start, tag) \ argument
519 RADIX_TREE_ITER_TAGGED | tag)) ; \
/linux-4.1.27/drivers/net/wireless/ath/ath10k/
Dwmi-tlv.c69 int (*iter)(struct ath10k *ar, u16 tag, u16 len, in ath10k_wmi_tlv_iter() argument
87 tlv_tag = __le16_to_cpu(tlv->tag); in ath10k_wmi_tlv_iter()
120 static int ath10k_wmi_tlv_iter_parse(struct ath10k *ar, u16 tag, u16 len, in ath10k_wmi_tlv_iter_parse() argument
125 if (tag < WMI_TLV_TAG_MAX) in ath10k_wmi_tlv_iter_parse()
126 tb[tag] = ptr; in ath10k_wmi_tlv_iter_parse()
608 static int ath10k_wmi_tlv_swba_tim_parse(struct ath10k *ar, u16 tag, u16 len, in ath10k_wmi_tlv_swba_tim_parse() argument
613 if (tag != WMI_TLV_TAG_STRUCT_TIM_INFO) in ath10k_wmi_tlv_swba_tim_parse()
623 static int ath10k_wmi_tlv_swba_noa_parse(struct ath10k *ar, u16 tag, u16 len, in ath10k_wmi_tlv_swba_noa_parse() argument
628 if (tag != WMI_TLV_TAG_STRUCT_P2P_NOA_INFO) in ath10k_wmi_tlv_swba_noa_parse()
638 static int ath10k_wmi_tlv_swba_parse(struct ath10k *ar, u16 tag, u16 len, in ath10k_wmi_tlv_swba_parse() argument
[all …]
/linux-4.1.27/drivers/block/
Dnull_blk.c18 unsigned int tag; member
150 static void put_tag(struct nullb_queue *nq, unsigned int tag) in put_tag() argument
152 clear_bit_unlock(tag, nq->tag_map); in put_tag()
160 unsigned int tag; in get_tag() local
163 tag = find_first_zero_bit(nq->tag_map, nq->queue_depth); in get_tag()
164 if (tag >= nq->queue_depth) in get_tag()
166 } while (test_and_set_bit_lock(tag, nq->tag_map)); in get_tag()
168 return tag; in get_tag()
173 put_tag(cmd->nq, cmd->tag); in free_cmd()
179 unsigned int tag; in __alloc_cmd() local
[all …]
Dsunvdc.c218 pkt.tag.type = VIO_TYPE_CTRL; in vdc_send_attr()
219 pkt.tag.stype = VIO_SUBTYPE_INFO; in vdc_send_attr()
220 pkt.tag.stype_env = VIO_ATTR_INFO; in vdc_send_attr()
221 pkt.tag.sid = vio_send_sid(vio); in vdc_send_attr()
240 pkt->tag.stype, pkt->operations, in vdc_handle_attr()
245 if (pkt->tag.stype == VIO_SUBTYPE_ACK) { in vdc_handle_attr()
365 struct vio_msg_tag tag; in vdc_event() member
378 msgbuf.tag.type, in vdc_event()
379 msgbuf.tag.stype, in vdc_event()
380 msgbuf.tag.stype_env, in vdc_event()
[all …]
Dps3disk.c152 dev->bounce_lpar, &dev->tag); in ps3disk_submit_request_sg()
156 dev->bounce_lpar, &dev->tag); in ps3disk_submit_request_sg()
179 0, &dev->tag); in ps3disk_submit_flush_request()
232 u64 tag, status; in ps3disk_interrupt() local
235 res = lv1_storage_get_async_status(dev->sbd.dev_id, &tag, &status); in ps3disk_interrupt()
237 if (tag != dev->tag) in ps3disk_interrupt()
240 __func__, __LINE__, tag, dev->tag); in ps3disk_interrupt()
Dsx8.c76 #define TAG_ENCODE(tag) (((tag) << 16) | 0xf) argument
77 #define TAG_DECODE(tag) (((tag) >> 16) & 0x1f) argument
78 #define TAG_VALID(tag) ((((tag) & 0xf) == 0xf) && (TAG_DECODE(tag) < 32)) argument
257 unsigned int tag; member
483 u32 msg = (u32) carm_ref_msg_dma(host, crq->tag); in carm_send_msg()
536 assert(crq->tag < max_queue); in carm_put_request()
538 if (unlikely((host->msg_alloc & (1ULL << crq->tag)) == 0)) in carm_put_request()
543 host->msg_alloc &= ~(1ULL << crq->tag); in carm_put_request()
597 idx = crq->tag; in carm_array_info()
650 idx = crq->tag; in carm_send_special()
[all …]
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/
Dbase.c44 nvkm_gpio_find(struct nvkm_gpio *gpio, int idx, u8 tag, u8 line, in nvkm_gpio_find() argument
51 if (line == 0xff && tag == 0xff) in nvkm_gpio_find()
54 data = dcb_gpio_match(bios, idx, tag, line, &ver, &len, func); in nvkm_gpio_find()
60 if (tag == DCB_GPIO_TVDAC0) { in nvkm_gpio_find()
75 nvkm_gpio_set(struct nvkm_gpio *gpio, int idx, u8 tag, u8 line, int state) in nvkm_gpio_set() argument
80 ret = nvkm_gpio_find(gpio, idx, tag, line, &func); in nvkm_gpio_set()
91 nvkm_gpio_get(struct nvkm_gpio *gpio, int idx, u8 tag, u8 line) in nvkm_gpio_get() argument
96 ret = nvkm_gpio_find(gpio, idx, tag, line, &func); in nvkm_gpio_get()
/linux-4.1.27/drivers/media/usb/as102/
Das10x_cmd_cfg.c32 int as10x_cmd_get_context(struct as10x_bus_adapter_t *adap, uint16_t tag, in as10x_cmd_get_context() argument
47 pcmd->body.context.req.tag = cpu_to_le16(tag); in as10x_cmd_get_context()
88 int as10x_cmd_set_context(struct as10x_bus_adapter_t *adap, uint16_t tag, in as10x_cmd_set_context() argument
105 pcmd->body.context.req.tag = cpu_to_le16(tag); in as10x_cmd_set_context()
/linux-4.1.27/arch/tile/include/asm/
Dsmp.h32 void send_IPI_many(const struct cpumask *mask, int tag);
35 void send_IPI_allbutself(int tag);
38 void send_IPI_single(int dest, int tag);
41 void evaluate_message(int tag);
/linux-4.1.27/arch/arm/mach-rpc/
Driscpc.c44 static int __init parse_tag_acorn(const struct tag *tag) in parse_tag_acorn() argument
46 memc_ctrl_reg = tag->u.acorn.memc_control_reg; in parse_tag_acorn()
47 number_mfm_drives = tag->u.acorn.adfsdrives; in parse_tag_acorn()
49 switch (tag->u.acorn.vram_pages) { in parse_tag_acorn()
/linux-4.1.27/scripts/
Dasn1_compiler.c664 uint8_t tag; member
840 element->tag = token_to_tag[cursor->token_type]; in parse_type()
880 element->tag &= ~0x1f; in parse_type()
881 element->tag |= strtoul(cursor->value, &p, 10); in parse_type()
922 element->tag = token_to_tag[cursor->token_type]; in parse_type()
1194 static void render_element(FILE *out, struct element *e, struct element *tag);
1377 static void render_element(FILE *out, struct element *e, struct element *tag) in render_element() argument
1384 (tag && tag->flags & ELEMENT_SKIPPABLE)) in render_element()
1399 (tag && tag->flags & ELEMENT_CONDITIONAL)) ? "COND_" : ""; in render_element()
1429 if (e->class == ASN1_UNIV && e->method == ASN1_PRIM && e->tag == 0) in render_element()
[all …]
Dsetlocalversion91 tag=`printf '%s' "$hgid" | cut -d' ' -f2`
92 if [ -z "$tag" -o "$tag" = tip ]; then
Dsign-file129 my ($tag, $len) = unpack("CC", substr(${$cursor->[2]}, $cursor->[0], 2));
131 if ($expected_tag != -1 && $tag != $expected_tag) {
134 die $x509, ": ", $cursor->[0], ": ASN.1 unexpected tag (", $tag,
142 if (($tag & 0x1f) == 0x1f);
171 my $ret = [ $tag, [ $cursor->[0], $len, $cursor->[2] ] ];
/linux-4.1.27/arch/avr32/boards/hammerhead/
Dsetup.c45 struct tag *bootloader_tags __initdata;
115 static int __init parse_tag_ethernet(struct tag *tag) in parse_tag_ethernet() argument
117 int i = tag->u.ethernet.mac_index; in parse_tag_ethernet()
120 memcpy(hw_addr[i].addr, tag->u.ethernet.hw_address, in parse_tag_ethernet()
/linux-4.1.27/arch/arm/mach-rpc/include/mach/
Duncompress.h118 struct tag *t = (struct tag *)params; in arch_decomp_setup()
121 if (t->hdr.tag == ATAG_CORE) in arch_decomp_setup()
125 if (t->hdr.tag == ATAG_VIDEOTEXT) in arch_decomp_setup()
135 if (t->hdr.tag == ATAG_MEM) in arch_decomp_setup()
/linux-4.1.27/fs/jbd2/
Drecovery.c204 journal_block_tag_t * tag; in count_tags() local
214 tag = (journal_block_tag_t *) tagp; in count_tags()
218 if (!(tag->t_flags & cpu_to_be16(JBD2_FLAG_SAME_UUID))) in count_tags()
221 if (tag->t_flags & cpu_to_be16(JBD2_FLAG_LAST_TAG)) in count_tags()
342 journal_block_tag_t *tag) in read_tag_block() argument
344 unsigned long long block = be32_to_cpu(tag->t_blocknr); in read_tag_block()
346 block |= (u64)be32_to_cpu(tag->t_blocknr_high) << 32; in read_tag_block()
400 static int jbd2_block_tag_csum_verify(journal_t *j, journal_block_tag_t *tag, in jbd2_block_tag_csum_verify() argument
403 journal_block_tag3_t *tag3 = (journal_block_tag3_t *)tag; in jbd2_block_tag_csum_verify()
417 return tag->t_checksum == cpu_to_be16(csum32); in jbd2_block_tag_csum_verify()
[all …]
Dcommit.c316 static void write_tag_block(journal_t *j, journal_block_tag_t *tag, in write_tag_block() argument
319 tag->t_blocknr = cpu_to_be32(block & (u32)~0); in write_tag_block()
321 tag->t_blocknr_high = cpu_to_be32((block >> 31) >> 1); in write_tag_block()
340 static void jbd2_block_tag_csum_set(journal_t *j, journal_block_tag_t *tag, in jbd2_block_tag_csum_set() argument
343 journal_block_tag3_t *tag3 = (journal_block_tag3_t *)tag; in jbd2_block_tag_csum_set()
362 tag->t_checksum = cpu_to_be16(csum32); in jbd2_block_tag_csum_set()
385 journal_block_tag_t *tag = NULL; in jbd2_journal_commit_transaction() local
695 tag = (journal_block_tag_t *) tagp; in jbd2_journal_commit_transaction()
696 write_tag_block(journal, tag, jh2bh(jh)->b_blocknr); in jbd2_journal_commit_transaction()
697 tag->t_flags = cpu_to_be16(tag_flag); in jbd2_journal_commit_transaction()
[all …]
/linux-4.1.27/arch/s390/include/asm/
Ddebug.h124 debug_int_event(debug_info_t* id, int level, unsigned int tag) in debug_int_event() argument
126 unsigned int t=tag; in debug_int_event()
133 debug_long_event (debug_info_t* id, int level, unsigned long tag) in debug_long_event() argument
135 unsigned long t=tag; in debug_long_event()
179 debug_int_exception(debug_info_t* id, int level, unsigned int tag) in debug_int_exception() argument
181 unsigned int t=tag; in debug_int_exception()
188 debug_long_exception (debug_info_t* id, int level, unsigned long tag) in debug_long_exception() argument
190 unsigned long t=tag; in debug_long_exception()
/linux-4.1.27/drivers/scsi/isci/
Dtask.c131 u16 tag; in isci_task_execute_task() local
136 tag = isci_alloc_tag(ihost); in isci_task_execute_task()
147 } else if (!io_ready || tag == SCI_CONTROLLER_INVALID_IO_TAG) { in isci_task_execute_task()
169 status = isci_request_execute(ihost, idev, task, tag); in isci_task_execute_task()
201 if (status != SCI_SUCCESS && tag != SCI_CONTROLLER_INVALID_IO_TAG) { in isci_task_execute_task()
206 isci_tci_free(ihost, ISCI_TAG_TCI(tag)); in isci_task_execute_task()
216 u16 tag, struct isci_tmf *isci_tmf) in isci_task_request_build() argument
228 ireq = isci_tmf_request_from_tag(ihost, isci_tmf, tag); in isci_task_request_build()
233 status = sci_task_request_construct(ihost, idev, tag, in isci_task_request_build()
266 u16 tag; in isci_task_execute_tmf() local
[all …]
Dhost.h354 #define ISCI_TAG_SEQ(tag) (((tag) >> 12) & (SCI_MAX_SEQ-1)) argument
355 #define ISCI_TAG_TCI(tag) ((tag) & (SCI_MAX_IO_REQUESTS-1)) argument
/linux-4.1.27/net/9p/
Dtrans_virtio.c98 char *tag; member
165 p9_debug(P9_DEBUG_TRANS, ": lookup tag %d\n", rc->tag); in req_done()
166 req = p9_tag_lookup(chan->client, rc->tag); in req_done()
528 memcpy(buf, chan->tag, chan->tag_len); in p9_mount_tag_show()
547 char *tag; in p9_virtio_probe() local
584 tag = kmalloc(tag_len, GFP_KERNEL); in p9_virtio_probe()
585 if (!tag) { in p9_virtio_probe()
590 virtio_cread_bytes(vdev, offsetof(struct virtio_9p_config, tag), in p9_virtio_probe()
591 tag, tag_len); in p9_virtio_probe()
592 chan->tag = tag; in p9_virtio_probe()
[all …]
Dclient.c235 p9_tag_alloc(struct p9_client *c, u16 tag, unsigned int max_size) in p9_tag_alloc() argument
244 tag++; in p9_tag_alloc()
246 if (tag >= c->max_tag) { in p9_tag_alloc()
249 while (tag >= c->max_tag) { in p9_tag_alloc()
250 row = (tag / P9_ROW_MAXTAG); in p9_tag_alloc()
267 row = tag / P9_ROW_MAXTAG; in p9_tag_alloc()
268 col = tag % P9_ROW_MAXTAG; in p9_tag_alloc()
288 req->tc->tag = tag-1; in p9_tag_alloc()
310 struct p9_req_t *p9_tag_lookup(struct p9_client *c, u16 tag) in p9_tag_lookup() argument
316 tag++; in p9_tag_lookup()
[all …]
/linux-4.1.27/drivers/media/pci/ngene/
Dngene-cards.c409 u16 Addr = MICNG_EE_START, Length, tag = 0; in ReadEEProm() local
415 tag = (EETag[0] << 8) | EETag[1]; in ReadEEProm()
416 if (tag == MICNG_EETAG_END0 || tag == MICNG_EETAG_END1) in ReadEEProm()
418 if (tag == Tag) in ReadEEProm()
425 tag, EETag[2]); in ReadEEProm()
451 u16 tag = 0; in WriteEEProm() local
457 tag = (EETag[0] << 8) | EETag[1]; in WriteEEProm()
458 if (tag == MICNG_EETAG_END0 || tag == MICNG_EETAG_END1) in WriteEEProm()
460 if (tag == Tag) in WriteEEProm()
467 tag, EETag[2]); in WriteEEProm()
[all …]
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dgpio.h27 int (*find)(struct nvkm_gpio *, int idx, u8 tag, u8 line,
29 int (*set)(struct nvkm_gpio *, int idx, u8 tag, u8 line, int state);
30 int (*get)(struct nvkm_gpio *, int idx, u8 tag, u8 line);
/linux-4.1.27/drivers/scsi/mvsas/
Dmv_sas.c28 static int mvs_find_tag(struct mvs_info *mvi, struct sas_task *task, u32 *tag) in mvs_find_tag() argument
33 *tag = slot->slot_tag; in mvs_find_tag()
39 void mvs_tag_clear(struct mvs_info *mvi, u32 tag) in mvs_tag_clear() argument
42 clear_bit(tag, bitmap); in mvs_tag_clear()
45 void mvs_tag_free(struct mvs_info *mvi, u32 tag) in mvs_tag_free() argument
47 mvs_tag_clear(mvi, tag); in mvs_tag_free()
50 void mvs_tag_set(struct mvs_info *mvi, unsigned int tag) in mvs_tag_set() argument
53 set_bit(tag, bitmap); in mvs_tag_set()
58 unsigned int index, tag; in mvs_tag_alloc() local
62 tag = index; in mvs_tag_alloc()
[all …]
/linux-4.1.27/arch/m68k/mvme147/
Dconfig.c58 uint16_t tag = be16_to_cpu(bi->tag); in mvme147_parse_bootinfo() local
59 if (tag == BI_VME_TYPE || tag == BI_VME_BRDINFO) in mvme147_parse_bootinfo()
/linux-4.1.27/arch/avr32/boards/mimc200/
Dsetup.c44 struct tag *bootloader_tags __initdata;
129 static int __init parse_tag_ethernet(struct tag *tag) in parse_tag_ethernet() argument
133 i = tag->u.ethernet.mac_index; in parse_tag_ethernet()
135 memcpy(hw_addr[i].addr, tag->u.ethernet.hw_address, in parse_tag_ethernet()
/linux-4.1.27/drivers/pci/
Dvpd.c29 u8 tag = val & ~PCI_VPD_SRDT_LEN_MASK; in pci_vpd_find_tag() local
31 if (tag == rdt) in pci_vpd_find_tag()
34 if (tag == PCI_VPD_SRDT_END) in pci_vpd_find_tag()
/linux-4.1.27/arch/x86/vdso/
Dvdso2c.h55 typeof(dyn[i].d_tag) tag = GET_LE(&dyn[i].d_tag); in BITSFUNC()
56 if (tag == DT_REL || tag == DT_RELSZ || tag == DT_RELA || in BITSFUNC()
57 tag == DT_RELENT || tag == DT_TEXTREL) in BITSFUNC()
/linux-4.1.27/drivers/scsi/cxgbi/
Dlibcxgbi.h119 unsigned int tag; member
603 static inline int cxgbi_is_ddp_tag(struct cxgbi_tag_format *tformat, u32 tag) in cxgbi_is_ddp_tag() argument
605 return !(tag & (1 << (tformat->rsvd_bits + tformat->rsvd_shift - 1))); in cxgbi_is_ddp_tag()
649 u32 tag) in cxgbi_tag_rsvd_bits() argument
651 if (cxgbi_is_ddp_tag(tformat, tag)) in cxgbi_tag_rsvd_bits()
652 return (tag >> tformat->rsvd_shift) & tformat->rsvd_mask; in cxgbi_tag_rsvd_bits()
658 u32 tag) in cxgbi_tag_nonrsvd_bits() argument
663 if (cxgbi_is_ddp_tag(tformat, tag)) { in cxgbi_tag_nonrsvd_bits()
664 v1 = tag & ((1 << tformat->rsvd_shift) - 1); in cxgbi_tag_nonrsvd_bits()
665 v2 = (tag >> (shift + 1)) << tformat->rsvd_shift; in cxgbi_tag_nonrsvd_bits()
[all …]
/linux-4.1.27/Documentation/netlabel/
Ddraft-ietf-cipso-ipsecurity-01.txt146 information relevant to the data in the IP packet. Each tag begins with
147 a tag type identifier followed by the length of the tag and ends with the
148 actual security information to be passed. All multi-octet fields in a tag
151 all tags, as well as fields within a tag, are not aligned on any particular
152 octet boundary. The tag types defined in this document contain alignment
156 CIPSO tag types 0 through 127 are reserved for defining standard tag
159 only be meaningful in certain Domains of Interpretation. For these tag
160 types, implementations will require the DOI identifier as well as the tag
162 tag. Use of tag types above 127 are restricted to closed networks where
164 that support a tag type greater than 127 MUST support at least one DOI that
[all …]
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dnv36.c34 if (!nvkm_mm_head(&pfb->tags, 0, 1, tags, tags, 1, &tile->tag)) { in nv36_fb_tile_comp()
37 tile->zcomp |= ((tile->tag->offset ) >> 6); in nv36_fb_tile_comp()
38 tile->zcomp |= ((tile->tag->offset + tags - 1) >> 6) << 14; in nv36_fb_tile_comp()
Dnv35.c34 if (!nvkm_mm_head(&pfb->tags, 0, 1, tags, tags, 1, &tile->tag)) { in nv35_fb_tile_comp()
37 tile->zcomp |= ((tile->tag->offset ) >> 6); in nv35_fb_tile_comp()
38 tile->zcomp |= ((tile->tag->offset + tags - 1) >> 6) << 13; in nv35_fb_tile_comp()
Dnv40.c35 !nvkm_mm_head(&pfb->tags, 0, 1, tags, tags, 1, &tile->tag)) { in nv40_fb_tile_comp()
37 tile->zcomp |= ((tile->tag->offset ) >> 8); in nv40_fb_tile_comp()
38 tile->zcomp |= ((tile->tag->offset + tags - 1) >> 8) << 13; in nv40_fb_tile_comp()
Dnv20.c47 if (!nvkm_mm_head(&pfb->tags, 0, 1, tags, tags, 1, &tile->tag)) { in nv20_fb_tile_comp()
50 tile->zcomp |= tile->tag->offset; in nv20_fb_tile_comp()
65 nvkm_mm_free(&pfb->tags, &tile->tag); in nv20_fb_tile_fini()
Dnv25.c34 if (!nvkm_mm_head(&pfb->tags, 0, 1, tags, tags, 1, &tile->tag)) { in nv25_fb_tile_comp()
37 tile->zcomp |= tile->tag->offset; in nv25_fb_tile_comp()
Dnv30.c55 if (!nvkm_mm_head(&pfb->tags, 0, 1, tags, tags, 1, &tile->tag)) { in nv30_fb_tile_comp()
58 tile->zcomp |= ((tile->tag->offset ) >> 6); in nv30_fb_tile_comp()
59 tile->zcomp |= ((tile->tag->offset + tags - 1) >> 6) << 12; in nv30_fb_tile_comp()
/linux-4.1.27/arch/avr32/boards/merisc/
Dsetup.c43 struct tag *bootloader_tags __initdata;
106 static int __init parse_tag_ethernet(struct tag *tag) in parse_tag_ethernet() argument
110 i = tag->u.ethernet.mac_index; in parse_tag_ethernet()
112 memcpy(hw_addr[i].addr, tag->u.ethernet.hw_address, in parse_tag_ethernet()
/linux-4.1.27/drivers/block/mtip32xx/
Dmtip32xx.h61 #define MTIP_TAG_BIT(tag) (tag & 0x1F) argument
68 #define MTIP_TAG_INDEX(tag) (tag >> 5) argument
336 int tag,
Dmtip32xx.c195 unsigned int tag) in mtip_rq_from_tag() argument
199 return blk_mq_tag_to_rq(hctx->tags, tag); in mtip_rq_from_tag()
203 unsigned int tag) in mtip_cmd_from_tag() argument
205 struct request *rq = mtip_rq_from_tag(dd, tag); in mtip_cmd_from_tag()
229 int tag, struct mtip_cmd *cmd, int status) in mtip_async_complete() argument
239 "Command tag %d failed due to TFE\n", tag); in mtip_async_complete()
245 rq = mtip_rq_from_tag(dd, tag); in mtip_async_complete()
300 static inline void mtip_issue_ncq_command(struct mtip_port *port, int tag) in mtip_issue_ncq_command() argument
302 int group = tag >> 5; in mtip_issue_ncq_command()
306 writel((1 << MTIP_TAG_BIT(tag)), in mtip_issue_ncq_command()
[all …]
/linux-4.1.27/arch/arm/boot/compressed/
Datags_to_fdt.c110 struct tag *atag = atag_list; in atags_to_fdt()
126 if (atag->hdr.tag != ATAG_CORE || in atags_to_fdt()
137 if (atag->hdr.tag == ATAG_CMDLINE) { in atags_to_fdt()
150 } else if (atag->hdr.tag == ATAG_MEM) { in atags_to_fdt()
174 } else if (atag->hdr.tag == ATAG_INITRD2) { in atags_to_fdt()
/linux-4.1.27/drivers/dma/ioat/
Ddca.c201 u8 entry, tag; in ioat_dca_get_tag() local
203 tag = 0; in ioat_dca_get_tag()
214 tag |= (value << i); in ioat_dca_get_tag()
216 return tag; in ioat_dca_get_tag()
376 u8 tag; in ioat2_dca_get_tag() local
378 tag = ioat_dca_get_tag(dca, dev, cpu); in ioat2_dca_get_tag()
379 tag = (~tag) & 0x1F; in ioat2_dca_get_tag()
380 return tag; in ioat2_dca_get_tag()
552 u8 tag; in ioat3_dca_get_tag() local
558 tag = 0; in ioat3_dca_get_tag()
[all …]
/linux-4.1.27/net/ipv4/
Dcipso_ipv4.c1321 const unsigned char *tag, in cipso_v4_parsetag_rbm() argument
1325 u8 tag_len = tag[1]; in cipso_v4_parsetag_rbm()
1328 ret_val = cipso_v4_map_lvl_ntoh(doi_def, tag[3], &level); in cipso_v4_parsetag_rbm()
1336 &tag[4], in cipso_v4_parsetag_rbm()
1412 const unsigned char *tag, in cipso_v4_parsetag_enum() argument
1416 u8 tag_len = tag[1]; in cipso_v4_parsetag_enum()
1419 ret_val = cipso_v4_map_lvl_ntoh(doi_def, tag[3], &level); in cipso_v4_parsetag_enum()
1427 &tag[4], in cipso_v4_parsetag_enum()
1502 const unsigned char *tag, in cipso_v4_parsetag_rng() argument
1506 u8 tag_len = tag[1]; in cipso_v4_parsetag_rng()
[all …]
/linux-4.1.27/arch/arm/boot/bootp/
Dinit.S40 ldr r10, [r9, #4] @ get first tag
54 taglist: ldr r10, [r9, #0] @ tag length
55 teq r10, #0 @ last tag (zero length)?
59 mov r5, #4 @ Size of initrd tag (4 words)
/linux-4.1.27/fs/jbd/
Drecovery.c184 journal_block_tag_t * tag; in count_tags() local
190 tag = (journal_block_tag_t *) tagp; in count_tags()
194 if (!(tag->t_flags & cpu_to_be32(JFS_FLAG_SAME_UUID))) in count_tags()
197 if (tag->t_flags & cpu_to_be32(JFS_FLAG_LAST_TAG)) in count_tags()
355 journal_block_tag_t * tag; in do_one_pass() local
433 tag = (journal_block_tag_t *) tagp; in do_one_pass()
434 flags = be32_to_cpu(tag->t_flags); in do_one_pass()
451 blocknr = be32_to_cpu(tag->t_blocknr); in do_one_pass()
/linux-4.1.27/arch/avr32/boards/atngw100/
Dsetup.c107 struct tag *bootloader_tags __initdata;
152 static int __init parse_tag_ethernet(struct tag *tag) in parse_tag_ethernet() argument
156 i = tag->u.ethernet.mac_index; in parse_tag_ethernet()
158 memcpy(hw_addr[i].addr, tag->u.ethernet.hw_address, in parse_tag_ethernet()
/linux-4.1.27/drivers/staging/rtl8712/
Drtl871x_pwrctrl.c117 static inline void register_task_alive(struct pwrctrl_priv *pwrctrl, uint tag) in register_task_alive() argument
119 pwrctrl->alives |= tag; in register_task_alive()
122 static inline void unregister_task_alive(struct pwrctrl_priv *pwrctrl, uint tag) in unregister_task_alive() argument
124 if (pwrctrl->alives & tag) in unregister_task_alive()
125 pwrctrl->alives ^= tag; in unregister_task_alive()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
Dgf100.c114 if (mem->tag) { in gf100_vm_map()
116 u32 tag = mem->tag->offset + (delta >> 17); in gf100_vm_map() local
117 phys |= (u64)tag << (32 + 12); in gf100_vm_map()
119 ltc->tags_clear(ltc, tag, cnt); in gf100_vm_map()
/linux-4.1.27/drivers/net/ethernet/sun/
Dsunvnet.c96 pkt.tag.type = VIO_TYPE_CTRL; in vnet_send_attr()
97 pkt.tag.stype = VIO_SUBTYPE_INFO; in vnet_send_attr()
98 pkt.tag.stype_env = VIO_ATTR_INFO; in vnet_send_attr()
99 pkt.tag.sid = vio_send_sid(vio); in vnet_send_attr()
162 pkt->tag.sid = vio_send_sid(vio); in handle_attr_info()
217 pkt->tag.stype = VIO_SUBTYPE_NACK; in handle_attr_info()
232 pkt->tag.stype = VIO_SUBTYPE_ACK; in handle_attr_info()
259 switch (pkt->tag.stype) { in vnet_handle_attr()
430 .tag = { in vnet_send_ack()
597 pkt->tag.stype_env, pkt->seq, dr->rcv_nxt); in vnet_rx()
[all …]
/linux-4.1.27/drivers/scsi/aic94xx/
Daic94xx_tmf.c63 __be16 tag; member
71 .tag = 0, \
241 scb->clear_nexus.ssp_task.tag = tascb->tag; in asd_clear_nexus_tag()
305 ascb->tag = *(__be16 *)(edb->vaddr+4); in asd_get_tmf_resp_tasklet()
312 ascb->tag = fh->tag; in asd_get_tmf_resp_tasklet()
336 tcs->tag = ascb->tag; in asd_tmf_tasklet_complete()
464 scb->abort_task.ssp_task.tag = cpu_to_be16(0xFFFF); in asd_abort_task()
481 tascb->tag = tcs.tag; in asd_abort_task()
/linux-4.1.27/arch/avr32/boards/favr-32/
Dsetup.c49 struct tag *bootloader_tags __initdata;
178 static int __init parse_tag_ethernet(struct tag *tag) in parse_tag_ethernet() argument
182 i = tag->u.ethernet.mac_index; in parse_tag_ethernet()
184 memcpy(hw_addr[i].addr, tag->u.ethernet.hw_address, in parse_tag_ethernet()
/linux-4.1.27/arch/arm/include/asm/
Dsetup.h21 #define __tagtable(tag, fn) \ argument
22 static const struct tagtable __tagtable_##fn __tag = { tag, fn }
/linux-4.1.27/sound/pci/hda/
Dhda_sysfs.c609 const char *tag; member
616 .tag = "[codec]",
620 .tag = "[model]",
624 .tag = "[verb]",
629 .tag = "[pincfg]",
634 .tag = "[hint]",
639 .tag = "[vendor_id]",
643 .tag = "[subsystem_id]",
647 .tag = "[revision_id]",
651 .tag = "[chip_name]",
[all …]
Dhda_jack.c94 snd_hda_jack_tbl_get_from_tag(struct hda_codec *codec, unsigned char tag) in snd_hda_jack_tbl_get_from_tag() argument
99 if (!tag || !jack) in snd_hda_jack_tbl_get_from_tag()
102 if (jack->tag == tag) in snd_hda_jack_tbl_get_from_tag()
124 jack->tag = codec->jacktbl.used; in snd_hda_jack_tbl_new()
274 AC_USRSP_EN | jack->tag); in snd_hda_jack_detect_enable_callback()
590 int tag = (res >> AC_UNSOL_RES_TAG_SHIFT) & 0x7f; in snd_hda_jack_unsol_event() local
592 event = snd_hda_jack_tbl_get_from_tag(codec, tag); in snd_hda_jack_unsol_event()
Dhda_jack.h32 unsigned char tag; /* unsol event tag */ member
52 snd_hda_jack_tbl_get_from_tag(struct hda_codec *codec, unsigned char tag);
/linux-4.1.27/drivers/scsi/ufs/
Dufshcd.c178 static int ufshcd_clear_tm_cmd(struct ufs_hba *hba, int tag);
324 int tag; in ufshcd_get_tm_free_slot() local
331 tag = find_first_zero_bit(&hba->tm_slots_in_use, hba->nutmrs); in ufshcd_get_tm_free_slot()
332 if (tag >= hba->nutmrs) in ufshcd_get_tm_free_slot()
334 } while (test_and_set_bit_lock(tag, &hba->tm_slots_in_use)); in ufshcd_get_tm_free_slot()
336 *free_slot = tag; in ufshcd_get_tm_free_slot()
1274 int tag; in ufshcd_queuecommand() local
1279 tag = cmd->request->tag; in ufshcd_queuecommand()
1302 if (test_and_set_bit_lock(tag, &hba->lrb_in_use)) { in ufshcd_queuecommand()
1316 clear_bit_unlock(tag, &hba->lrb_in_use); in ufshcd_queuecommand()
[all …]
/linux-4.1.27/include/uapi/linux/
Dvirtio_scsi.h46 __virtio64 tag; /* Command identifier */ member
56 __virtio64 tag; /* Command identifier */ member
80 __virtio64 tag; member
Datmmpc.h25 __be32 tag; member
35 __be32 tag; member
/linux-4.1.27/arch/powerpc/kernel/
Ddbell.c25 unsigned long tag = mfspr(SPRN_DOORBELL_CPUTAG) & PPC_DBELL_TAG_MASK; in doorbell_setup_this_cpu() local
27 smp_muxed_ipi_set_data(smp_processor_id(), tag); in doorbell_setup_this_cpu()
/linux-4.1.27/scripts/kconfig/lxdialog/
Ddialog.h138 struct dialog_color tag; member
163 void item_set_tag(char tag);
174 char tag; member
194 int item_is_tag(char tag);
Dutil.c54 dlg.tag.atr = A_BOLD; in set_mono_theme()
94 DLG_COLOR(tag, COLOR_YELLOW, COLOR_WHITE, true); in set_classic_theme()
134 DLG_COLOR(tag, COLOR_RED, COLOR_BLACK, false); in set_blackbg_theme()
154 DLG_COLOR(tag, COLOR_BLUE, COLOR_WHITE, true); in set_bluetitle_theme()
214 init_one_color(&dlg.tag); in init_dialog_colors()
637 void item_set_tag(char tag) in item_set_tag() argument
639 item_cur->node.tag = tag; in item_set_tag()
666 return item_cur->node.tag; in item_tag()
710 int item_is_tag(char tag) in item_is_tag() argument
712 return (item_cur->node.tag == tag); in item_is_tag()
/linux-4.1.27/arch/avr32/boards/atstk1000/
Datstk1002.c166 static int __init parse_tag_ethernet(struct tag *tag) in parse_tag_ethernet() argument
170 i = tag->u.ethernet.mac_index; in parse_tag_ethernet()
172 memcpy(hw_addr[i].addr, tag->u.ethernet.hw_address, in parse_tag_ethernet()
/linux-4.1.27/fs/cachefiles/
Dbind.c69 if (!cache->tag) { in cachefiles_daemon_bind()
72 cache->tag = kstrdup("CacheFiles", GFP_KERNEL); in cachefiles_daemon_bind()
73 if (!cache->tag) in cachefiles_daemon_bind()
223 ret = fscache_add_cache(&cache->cache, &fsdef->fscache, cache->tag); in cachefiles_daemon_add_cache()
274 kfree(cache->tag); in cachefiles_daemon_unbind()
Ddaemon.c529 char *tag; in cachefiles_daemon_tag() local
538 if (cache->tag) in cachefiles_daemon_tag()
541 tag = kstrdup(args, GFP_KERNEL); in cachefiles_daemon_tag()
542 if (!tag) in cachefiles_daemon_tag()
545 cache->tag = tag; in cachefiles_daemon_tag()
/linux-4.1.27/drivers/net/wireless/ti/wl12xx/
Dscan.h93 u8 tag; member
119 u8 tag; member
127 u8 tag; member
/linux-4.1.27/arch/x86/kernel/
Di387.c446 u32 tag; in twd_fxsr_to_i387() local
456 tag = FP_EXP_TAG_SPECIAL; in twd_fxsr_to_i387()
463 tag = FP_EXP_TAG_ZERO; in twd_fxsr_to_i387()
465 tag = FP_EXP_TAG_SPECIAL; in twd_fxsr_to_i387()
469 tag = FP_EXP_TAG_VALID; in twd_fxsr_to_i387()
471 tag = FP_EXP_TAG_SPECIAL; in twd_fxsr_to_i387()
475 tag = FP_EXP_TAG_EMPTY; in twd_fxsr_to_i387()
477 ret |= tag << (2 * i); in twd_fxsr_to_i387()
/linux-4.1.27/arch/arm/mm/
Dinit.c69 static int __init parse_tag_initrd(const struct tag *tag) in parse_tag_initrd() argument
73 phys_initrd_start = __virt_to_phys(tag->u.initrd.start); in parse_tag_initrd()
74 phys_initrd_size = tag->u.initrd.size; in parse_tag_initrd()
80 static int __init parse_tag_initrd2(const struct tag *tag) in parse_tag_initrd2() argument
82 phys_initrd_start = tag->u.initrd.start; in parse_tag_initrd2()
83 phys_initrd_size = tag->u.initrd.size; in parse_tag_initrd2()
Dcache-l2x0.c1018 u32 tag = 0; in l2x0_of_parse() local
1024 of_property_read_u32(np, "arm,tag-latency", &tag); in l2x0_of_parse()
1025 if (tag) { in l2x0_of_parse()
1027 val |= (tag - 1) << L2X0_AUX_CTRL_TAG_LATENCY_SHIFT; in l2x0_of_parse()
1102 u32 tag[3] = { 0, 0, 0 }; in l2c310_of_parse() local
1109 of_property_read_u32_array(np, "arm,tag-latency", tag, ARRAY_SIZE(tag)); in l2c310_of_parse()
1110 if (tag[0] && tag[1] && tag[2]) in l2c310_of_parse()
1112 L310_LATENCY_CTRL_RD(tag[0] - 1) | in l2c310_of_parse()
1113 L310_LATENCY_CTRL_WR(tag[1] - 1) | in l2c310_of_parse()
1114 L310_LATENCY_CTRL_SETUP(tag[2] - 1); in l2c310_of_parse()
/linux-4.1.27/drivers/char/tpm/
Dtpm2-cmd.c229 .tag = cpu_to_be16(TPM2_ST_NO_SESSIONS),
277 .tag = cpu_to_be16(TPM2_ST_SESSIONS),
321 .tag = cpu_to_be16(TPM2_ST_NO_SESSIONS),
378 .tag = cpu_to_be16(TPM2_ST_NO_SESSIONS),
417 .tag = cpu_to_be16(TPM2_ST_NO_SESSIONS),
449 .tag = cpu_to_be16(TPM2_ST_NO_SESSIONS),
511 .tag = cpu_to_be16(TPM2_ST_NO_SESSIONS),
641 if (be16_to_cpu(cmd.header.out.tag) == TPM2_ST_NO_SESSIONS) in tpm2_probe()
Dtpm.h211 __be16 tag; member
217 __be16 tag; member
225 __be16 tag; member
241 __be16 tag; member
262 __be16 tag; member
/linux-4.1.27/include/rdma/
Dib_pma.h73 __be16 tag; member
81 __be16 tag; member
87 __be16 tag; member
/linux-4.1.27/arch/sparc/mm/
Dtsb.c25 static inline int tag_compare(unsigned long tag, unsigned long vaddr) in tag_compare() argument
27 return (tag == (vaddr >> 22)); in tag_compare()
44 if (tag_compare(ent->tag, v)) in flush_tsb_kernel_range()
45 ent->tag = (1UL << TSB_TAG_INVALID_BIT); in flush_tsb_kernel_range()
53 unsigned long tag, ent, hash; in __flush_tsb_one_entry() local
58 tag = (v >> 22UL); in __flush_tsb_one_entry()
60 tsb_flush(ent, tag); in __flush_tsb_one_entry()
/linux-4.1.27/drivers/android/
Dbinder_trace.h46 TP_PROTO(const char *tag),
47 TP_ARGS(tag),
49 __field(const char *, tag)
52 __entry->tag = tag;
54 TP_printk("tag=%s", __entry->tag)
/linux-4.1.27/drivers/media/usb/gspca/
Dkinect.c56 __le16 tag; member
152 chdr->tag = cpu_to_le16(sd->cam_tag); in send_cmd()
186 if (rhdr->tag != chdr->tag) { in send_cmd()
188 rhdr->tag, chdr->tag); in send_cmd()
/linux-4.1.27/arch/powerpc/include/asm/
Ddbell.h65 static inline void ppc_msgsnd(enum ppc_dbell type, u32 flags, u32 tag) in ppc_msgsnd() argument
68 (tag & 0x07ffffff); in ppc_msgsnd()
/linux-4.1.27/Documentation/arm64/
Dtagged-pointers.txt17 are tagged with tag 0x00. This means that any syscall
23 of tags cannot rely on the tag information for user virtual
26 to watchpoint debug exceptions, where the tag information
/linux-4.1.27/arch/arm/mach-footbridge/
Dcommon.c46 static int __init parse_tag_memclk(const struct tag *tag) in parse_tag_memclk() argument
48 mem_fclk_21285 = tag->u.memclk.fmemclk; in parse_tag_memclk()
/linux-4.1.27/net/ieee802154/6lowpan/
D6lowpan_i.h10 u16 tag; member
21 u16 tag; member
Dreassembly.c51 static unsigned int lowpan_hash_frag(u16 tag, u16 d_size, in lowpan_hash_frag() argument
58 (__force u32)(tag + (d_size << 16)), in lowpan_hash_frag()
67 return lowpan_hash_frag(fq->tag, fq->d_size, &fq->saddr, &fq->daddr); in lowpan_hashfn()
76 return fq->tag == arg->tag && fq->d_size == arg->d_size && in lowpan_frag_match()
88 fq->tag = arg->tag; in lowpan_frag_init()
124 arg.tag = frag_info->d_tag; in fq_find()
/linux-4.1.27/arch/m68k/kernel/
Dbootinfo_proc.c36 size_t size = sizeof(bi->tag); in save_bootinfo()
38 while (be16_to_cpu(bi->tag) != BI_LAST) { in save_bootinfo()
Dsetup_mm.c147 uint16_t tag; in m68k_parse_bootinfo() local
151 while ((tag = be16_to_cpu(record->tag)) != BI_LAST) { in m68k_parse_bootinfo()
156 switch (tag) { in m68k_parse_bootinfo()
214 tag); in m68k_parse_bootinfo()
/linux-4.1.27/arch/arm/include/asm/mach/
Darch.h16 struct tag;
52 void (*fixup)(struct tag *, char **);
/linux-4.1.27/fs/ocfs2/
Dstack_user.c138 char tag[OCFS2_CONTROL_MESSAGE_OP_LEN]; member
146 char tag[OCFS2_CONTROL_MESSAGE_OP_LEN]; member
156 char tag[OCFS2_CONTROL_MESSAGE_OP_LEN]; member
165 char tag[OCFS2_CONTROL_MESSAGE_OP_LEN]; member
379 if (strncmp(msg->tag, OCFS2_CONTROL_MESSAGE_SETNODE_OP, in ocfs2_control_do_setnode_msg()
412 if (strncmp(msg->tag, OCFS2_CONTROL_MESSAGE_SETVERSION_OP, in ocfs2_control_do_setversion_msg()
459 if (strncmp(msg->tag, OCFS2_CONTROL_MESSAGE_DOWN_OP, in ocfs2_control_do_down_msg()
490 (sizeof(msg.u_down.tag) + sizeof(msg.u_down.space1))); in ocfs2_control_message()
498 !strncmp(msg.tag, OCFS2_CONTROL_MESSAGE_SETNODE_OP, in ocfs2_control_message()
502 !strncmp(msg.tag, OCFS2_CONTROL_MESSAGE_SETVERSION_OP, in ocfs2_control_message()
[all …]
/linux-4.1.27/arch/arm/mach-orion5x/
Dcommon.h67 struct tag;
68 extern void __init tag_fixup_mem32(struct tag *, char **);
Dcommon.c368 void __init tag_fixup_mem32(struct tag *t, char **from) in tag_fixup_mem32()
371 if (t->hdr.tag == ATAG_MEM && in tag_fixup_mem32()
377 t->hdr.tag = 0; in tag_fixup_mem32()
/linux-4.1.27/arch/m68k/mvme16x/
Dconfig.c67 uint16_t tag = be16_to_cpu(bi->tag); in mvme16x_parse_bootinfo() local
68 if (tag == BI_VME_TYPE || tag == BI_VME_BRDINFO) in mvme16x_parse_bootinfo()
/linux-4.1.27/drivers/scsi/arm/
Dacornscsi.c183 static void acornscsi_abortcmd(AS_Host *host, unsigned char tag);
760 SCpnt->tag = SCpnt->device->current_tag; in acornscsi_kick()
1200 acornscsi_abortcmd(host, host->SCpnt->tag); in acornscsi_dma_intr()
1489 host->scsi.reconnected.tag = message[1]; in acornscsi_message()
1699 acornscsi_abortcmd(host->SCpnt->tag); in acornscsi_buildmessages()
1705 if (host->SCpnt->tag) { in acornscsi_buildmessages()
1714 msgqueue_addmsg(&host->scsi.msgs, 2, tag_type, host->SCpnt->tag); in acornscsi_buildmessages()
1791 host->scsi.reconnected.tag = 0; in acornscsi_reconnect()
1833 host->SCpnt->tag == host->scsi.reconnected.tag) { in acornscsi_reconnect_finish()
1852 host->scsi.reconnected.tag); in acornscsi_reconnect_finish()
[all …]
/linux-4.1.27/arch/x86/um/
Dsignal.c41 unsigned long tag; in twd_fxsr_to_i387() local
53 tag = 2; /* Special */ in twd_fxsr_to_i387()
60 tag = 1; /* Zero */ in twd_fxsr_to_i387()
62 tag = 2; /* Special */ in twd_fxsr_to_i387()
67 tag = 0; /* Valid */ in twd_fxsr_to_i387()
69 tag = 2; /* Special */ in twd_fxsr_to_i387()
74 tag = 3; /* Empty */ in twd_fxsr_to_i387()
76 ret |= (tag << (2 * i)); in twd_fxsr_to_i387()
/linux-4.1.27/drivers/scsi/aic7xxx/
Daic7xxx_core.c269 char channel, int lun, u_int tag,
551 ahc->scb_data->scbindex[hscb->tag] = NULL; in ahc_free_scb()
562 ahc_lookup_scb(struct ahc_softc *ahc, u_int tag) in ahc_lookup_scb() argument
566 scb = ahc->scb_data->scbindex[tag]; in ahc_lookup_scb()
592 saved_tag = q_hscb->tag; in ahc_swap_with_next_hscb()
596 ahc_htole32(ahc_hscb_busaddr(ahc, q_hscb->tag) in ahc_swap_with_next_hscb()
599 q_hscb->tag = saved_tag; in ahc_swap_with_next_hscb()
600 q_hscb->next = scb->hscb->tag; in ahc_swap_with_next_hscb()
607 ahc->scb_data->scbindex[scb->hscb->tag] = scb; in ahc_swap_with_next_hscb()
618 if (scb->hscb->tag == SCB_LIST_NULL in ahc_queue_scb()
[all …]
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/
Dhtc.h267 u16 tag; member
559 enum htc_endpoint_id endpoint, u16 tag);
637 enum htc_endpoint_id eid, u16 tag) in set_htc_pkt_info() argument
643 packet->info.tx.tag = tag; in set_htc_pkt_info()
/linux-4.1.27/drivers/video/fbdev/nvidia/
Dnv_local.h76 #define NVDmaStart(info, par, tag, size) { \ argument
79 NVDmaNext(par, ((size) << 18) | (tag)); \
/linux-4.1.27/arch/x86/crypto/sha-mb/
Dsha1_mb.c479 rctx->tag.arrival = jiffies; /* tag the arrival time */ in sha1_mb_add_list()
480 rctx->tag.seq_num = cstate->next_seq_num++; in sha1_mb_add_list()
481 next_flush = rctx->tag.arrival + delay; in sha1_mb_add_list()
482 rctx->tag.expire = next_flush; in sha1_mb_add_list()
505 if (rctx->tag.cpu != smp_processor_id()) { in sha1_mb_update()
563 if (rctx->tag.cpu != smp_processor_id()) { in sha1_mb_finup()
623 if (rctx->tag.cpu != smp_processor_id()) { in sha1_mb_final()
834 if (time_before(cur_time, rctx->tag.expire)) in sha1_mb_flusher()
852 next_flush = rctx->tag.expire; in sha1_mb_flusher()
/linux-4.1.27/arch/powerpc/platforms/ps3/
Ddevice-init.c685 u64 tag; member
713 u64 tag, status; in ps3_notification_interrupt() local
716 res = lv1_storage_get_async_status(PS3_NOTIFICATION_DEV_ID, &tag, in ps3_notification_interrupt()
718 if (tag != dev->tag) in ps3_notification_interrupt()
720 __func__, __LINE__, tag, dev->tag); in ps3_notification_interrupt()
745 &dev->tag) in ps3_notification_read_write()
747 &dev->tag); in ps3_notification_read_write()

1234