Home
last modified time | relevance | path

Searched refs:_tag (Results 1 – 16 of 16) sorted by relevance

/linux/drivers/scsi/snic/
H A Dsnic_trc.h66 #define SNIC_TRC(_hno, _tag, d1, d2, d3, d4, d5) \ argument
71 (u32)(_tag), \
80 #define SNIC_TRC(_hno, _tag, d1, d2, d3, d4, d5) \ argument
86 (u32)(_tag), \
/linux/lib/
H A Dasn1_encoder.c46 data[0] = _tag(UNIV, PRIM, INT); in asn1_encode_integer()
162 data[0] = _tag(UNIV, PRIM, OID); in asn1_encode_oid()
342 *(data++) = _tag(UNIV, PRIM, OTS); in asn1_encode_octet_string()
399 *(data++) = _tag(UNIV, CONS, SEQ); in asn1_encode_sequence()
438 *(data++) = _tag(UNIV, PRIM, BOOL); in asn1_encode_boolean()
/linux/drivers/net/ethernet/qualcomm/emac/
H A Demac.h282 #define EMAC_VLAN_TO_TAG(_vlan, _tag) \ argument
283 (_tag = ((((_vlan) >> 8) & 0xFF) | (((_vlan) & 0xFF) << 8)))
285 #define EMAC_TAG_TO_VLAN(_tag, _vlan) \ argument
286 (_vlan = ((((_tag) >> 8) & 0xFF) | (((_tag) & 0xFF) << 8)))
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_ste.h54 u8 *_tag = tag; \
55 DR_STE_SET_TAG(lookup_type, _tag, mpls0_label, _mask, \
57 DR_STE_SET_TAG(lookup_type, _tag, mpls0_s_bos, _mask, \
59 DR_STE_SET_TAG(lookup_type, _tag, mpls0_exp, _mask, \
61 DR_STE_SET_TAG(lookup_type, _tag, mpls0_ttl, _mask, \
/linux/drivers/scsi/bfa/
H A Dbfa_fcpim.h42 #define BFA_IOTAG_FROM_TAG(_fcp, _tag) \ argument
43 (&(_fcp)->iotag_arr[(_tag & BFA_IOIM_IOTAG_MASK)])
44 #define BFA_ITN_FROM_TAG(_fcp, _tag) \ argument
45 ((_fcp)->itn_arr + ((_tag) & ((_fcp)->num_itns - 1)))
46 #define BFA_SNSINFO_FROM_TAG(_fcp, _tag) \ argument
47 bfa_mem_get_dmabuf_kva(_fcp, (_tag & BFA_IOIM_IOTAG_MASK), \
H A Dbfi.h31 #define BFI_MEM_SEG_FROM_TAG(_tag, _rqsz) ((_tag) / BFI_MEM_NREQS_SEG(_rqsz)) argument
34 #define BFI_MEM_SEG_REQ_OFFSET(_tag, _sz) \ argument
35 ((_tag) - (BFI_MEM_SEG_FROM_TAG(_tag, _sz) * BFI_MEM_NREQS_SEG(_sz)))
H A Dbfa_ioc.h137 #define bfa_mem_get_dmabuf_kva(_mod, _tag, _rqsz) \ argument
138 (((u8 *)(_mod)->dma_seg[BFI_MEM_SEG_FROM_TAG(_tag, _rqsz)].kva_curp) +\
139 BFI_MEM_SEG_REQ_OFFSET(_tag, _rqsz) * (_rqsz))
142 #define bfa_mem_get_dmabuf_pa(_mod, _tag, _rqsz) \ argument
143 ((_mod)->dma_seg[BFI_MEM_SEG_FROM_TAG(_tag, _rqsz)].dma_curp + \
144 BFI_MEM_SEG_REQ_OFFSET(_tag, _rqsz) * (_rqsz))
H A Dbfa_svc.h246 #define BFA_RPORT_FROM_TAG(__bfa, _tag) \ argument
248 ((_tag) & (BFA_RPORT_MOD(__bfa)->num_rports - 1)))
H A Dbfa_fcpim.c21 #define BFA_ITNIM_FROM_TAG(_fcpim, _tag) \ argument
22 (((_fcpim)->itnim_arr + ((_tag) & ((_fcpim)->num_itnims - 1))))
/linux/include/linux/
H A Dalloc_tag.h203 #define alloc_hooks_tag(_tag, _do_alloc) \ argument
205 struct alloc_tag * __maybe_unused _old = alloc_tag_save(_tag); \
207 alloc_tag_restore(_tag, _old); \
H A Dasn1_ber_bytecode.h84 #define _tag(CLASS, CP, TAG) ((ASN1_##CLASS << 6) | (ASN1_##CP << 5) | ASN1_##TAG) macro
H A Dsched.h2202 #define alloc_tag_save(_tag) NULL
2203 #define alloc_tag_restore(_tag, _old) do {} while (0)
2183 alloc_tag_save(_tag) global() argument
2184 alloc_tag_restore(_tag,_old) global() argument
/linux/drivers/net/ethernet/atheros/atl1c/
H A Datl1c.h49 #define AT_VLAN_TO_TAG(_vlan, _tag) \ argument
50 _tag = ((((_vlan) >> 8) & 0xFF) |\
53 #define AT_TAG_TO_VLAN(_tag, _vlan) \ argument
54 _vlan = ((((_tag) >> 8) & 0xFF) |\
55 (((_tag) & 0xFF) << 8))
/linux/fs/ntfs3/
H A Dntfs.h1038 #define IsReparseTagMicrosoft(_tag) (((_tag)&IO_REPARSE_TAG_MICROSOFT)) argument
1041 #define IsReparseTagNameSurrogate(_tag) (((_tag)&IO_REPARSE_TAG_NAME_SURROGATE)) argument
1052 #define IsReparseTagValid(_tag) \ argument
1053 (!((_tag) & ~IO_REPARSE_TAG_VALID_VALUES) && \
1054 ((_tag) > IO_REPARSE_TAG_RESERVED_RANGE))
/linux/drivers/scsi/
H A Dhptiop.c230 static void hptiop_request_callback_mvfrey(struct hptiop_hba *hba, u32 _tag) in hptiop_request_callback_mvfrey() argument
232 u32 req_type = _tag & 0xf; in hptiop_request_callback_mvfrey()
242 req = hba->reqs[(_tag >> 4) & 0xff].req_virt; in hptiop_request_callback_mvfrey()
243 if (likely(_tag & IOPMU_QUEUE_REQUEST_RESULT_BIT)) in hptiop_request_callback_mvfrey()
245 hptiop_finish_scsi_req(hba, (_tag >> 4) & 0xff, req); in hptiop_request_callback_mvfrey()
255 u32 _tag, status, cptr, cur_rptr; in iop_intr_mvfrey() local
283 _tag = hba->u.mvfrey.outlist[cur_rptr].val; in iop_intr_mvfrey()
284 BUG_ON(!(_tag & IOPMU_QUEUE_MASK_HOST_BITS)); in iop_intr_mvfrey()
285 hptiop_request_callback_mvfrey(hba, _tag); in iop_intr_mvfrey()
776 static void hptiop_host_request_callback_itl(struct hptiop_hba *hba, u32 _tag) in hptiop_host_request_callback_itl() argument
[all …]
/linux/fs/xfs/
H A Dxfs_error.c131 #define XFS_ERRORTAG_ATTR_RW(_name, _tag) \
135 .tag = (_tag), \
130 XFS_ERRORTAG_ATTR_RW(_name,_tag) global() argument