| /linux/fs/udf/ |
| H A D | truncate.c | 26 struct kernel_lb_addr *eloc, int8_t etype, uint32_t elen, in extent_trunc() argument 36 if (etype == (EXT_NOT_RECORDED_ALLOCATED >> 30)) { in extent_trunc() 39 etype = (EXT_NOT_RECORDED_NOT_ALLOCATED >> 30); in extent_trunc() 42 nelen = (etype << 30) | nelen; in extent_trunc() 48 if (etype == (EXT_RECORDED_ALLOCATED >> 30)) in extent_trunc() 51 if (etype != (EXT_NOT_RECORDED_NOT_ALLOCATED >> 30)) in extent_trunc() 69 int8_t etype = -1, netype; in udf_truncate_tail_extent() local 93 etype = netype; in udf_truncate_tail_extent() 106 extent_trunc(inode, &epos, &eloc, etype, elen, nelen); in udf_truncate_tail_extent() 130 int8_t etype = -1; in udf_discard_prealloc() local [all …]
|
| H A D | inode.c | 426 int8_t etype; in udf_map_block() local 430 &etype); in udf_map_block() 433 if (ret > 0 && etype == (EXT_RECORDED_ALLOCATED >> 30)) { in udf_map_block() 654 int8_t etype; in udf_extend_file() local 678 err = inode_bmap(inode, first_block, &epos, &eloc, &elen, &offset, &etype); in udf_extend_file() 696 &extent.extLength, &etype, 0); in udf_extend_file() 699 extent.extLength |= etype << 30; in udf_extend_file() 735 int8_t etype, tmpetype; in inode_getblk() local 771 ret = udf_next_aext(inode, &next_epos, &eloc, &elen, &etype, 1); in inode_getblk() 781 laarr[c].extLength = (etype << 30) | elen; in inode_getblk() [all …]
|
| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | trace.h | 6 #define packettype_name(etype) { RHF_RCV_TYPE_##etype, #etype } argument 7 #define show_packettype(etype) \ argument 8 __print_symbolic(etype, \
|
| H A D | trace_ibhdrs.h | 121 __field(u8, etype) 154 __entry->etype = packet->etype; 158 if (__entry->etype == RHF_RCV_TYPE_BYPASS) { 219 __entry->etype != RHF_RCV_TYPE_BYPASS ? 220 show_packettype(__entry->etype) : 224 __entry->etype == 242 __entry->etype ==
|
| H A D | driver.c | 225 if (packet->etype == RHF_RCV_TYPE_BYPASS) { in rcv_hdrerr() 416 if (pkt->etype == RHF_RCV_TYPE_BYPASS) { in hfi1_process_ecn_slowpath() 585 u32 etype = rhf_rcv_type(rhf), qpn, bth1; in __prescan_rxq() local 594 if (etype != RHF_RCV_TYPE_IB) in __prescan_rxq() 710 packet->etype = rhf_rcv_type(packet->rhf); in process_rcv_packet_napi() 728 packet->rcd->rhf_rcv_function_map[packet->etype](packet); in process_rcv_packet_napi() 745 packet->etype = rhf_rcv_type(packet->rhf); in process_rcv_packet() 774 packet->rcd->rhf_rcv_function_map[packet->etype](packet); in process_rcv_packet() 950 u8 etype = rhf_rcv_type(packet->rhf); in __set_armed_to_active() local 953 if (etype == RHF_RCV_TYPE_IB) { in __set_armed_to_active() [all …]
|
| /linux/lib/ |
| H A D | error-inject.c | 20 int etype; member 48 ei_type = ent->etype; in get_injectable_error_type() 88 ent->etype = iter->etype; in populate_error_injection_list() 181 static const char *error_type_string(int etype) in error_type_string() argument 183 switch (etype) { in error_type_string() 202 error_type_string(ent->etype)); in ei_seq_show()
|
| /linux/net/dsa/ |
| H A D | tag_rtl4_a.c | 73 u16 etype; in rtl4a_tag_rcv() local 83 etype = ntohs(*p); in rtl4a_tag_rcv() 84 if (etype != ETH_P_REALTEK) { in rtl4a_tag_rcv() 86 netdev_dbg(dev, "non-realtek ethertype 0x%04x\n", etype); in rtl4a_tag_rcv()
|
| H A D | tag_rtl8_4.c | 153 u16 etype; in rtl8_4_read_tag() 161 etype = ntohs(tag16[0]); in rtl8_4_read_tag() 162 if (unlikely(etype != ETH_P_REALTEK)) { in rtl8_4_read_tag() 164 "non-realtek ethertype 0x%04x\n", etype); in rtl8_4_read_tag() 154 u16 etype; rtl8_4_read_tag() local
|
| /linux/drivers/infiniband/sw/siw/ |
| H A D | iwarp.h | 184 __be32 etype : 4; member 196 __be32 etype : 4; member 229 return term->etype; in __rdmap_term_etype() 233 u8 etype) in __rdmap_term_set_etype() argument 235 term->etype = etype & 0xf; in __rdmap_term_set_etype()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_arfs.c | 71 __be16 etype; member 499 u8 ip_proto, __be16 etype) in arfs_get_table() argument 501 if (etype == htons(ETH_P_IP) && ip_proto == IPPROTO_TCP) in arfs_get_table() 503 if (etype == htons(ETH_P_IP) && ip_proto == IPPROTO_UDP) in arfs_get_table() 505 if (etype == htons(ETH_P_IPV6) && ip_proto == IPPROTO_TCP) in arfs_get_table() 507 if (etype == htons(ETH_P_IPV6) && ip_proto == IPPROTO_UDP) in arfs_get_table() 536 ntohs(tuple->etype)); in arfs_add_rule() 537 arfs_table = arfs_get_table(arfs, tuple->ip_proto, tuple->etype); in arfs_add_rule() 540 tuple->etype, tuple->ip_proto); in arfs_add_rule() 565 if (tuple->etype == htons(ETH_P_IP)) { in arfs_add_rule() [all …]
|
| /linux/drivers/net/ethernet/mscc/ |
| H A D | ocelot_vcap.c | 390 struct ocelot_vcap_key_etype *etype = &filter->key.etype; in is2_entry_set() local 394 etype->dmac.value, etype->dmac.mask); in is2_entry_set() 396 etype->smac.value, etype->smac.mask); in is2_entry_set() 398 etype->etype.value, etype->etype.mask); in is2_entry_set() 408 etype->data.value, etype->data.mask); in is2_entry_set() 707 struct ocelot_vcap_key_etype *etype = &filter->key.etype; in is1_entry_set() local 710 etype->smac.value, etype->smac.mask); in is1_entry_set() 712 etype->etype.value, etype->etype.mask); in is1_entry_set() 754 struct ocelot_vcap_u16 etype = {0}; in is1_entry_set() local 757 etype.value[0] = proto.value[0]; in is1_entry_set() [all …]
|
| H A D | ocelot_mrp.c | 68 ether_addr_copy(filter->key.etype.dmac.value, mrp_test_dmac); in ocelot_mrp_redirect_add_vcap() 69 ether_addr_copy(filter->key.etype.dmac.mask, mrp_test_mask); in ocelot_mrp_redirect_add_vcap() 87 ether_addr_copy(filter->key.etype.dmac.value, mrp_test_dmac); in ocelot_populate_mrp_trap_key() 88 ether_addr_copy(filter->key.etype.dmac.mask, mrp_mask); in ocelot_populate_mrp_trap_key()
|
| /linux/net/sunrpc/auth_gss/ |
| H A D | gss_krb5_mech.c | 39 .etype = ENCTYPE_AES128_CTS_HMAC_SHA1_96, 68 .etype = ENCTYPE_AES256_CTS_HMAC_SHA1_96, 100 .etype = ENCTYPE_CAMELLIA128_CTS_CMAC, 126 .etype = ENCTYPE_CAMELLIA256_CTS_CMAC, 155 .etype = ENCTYPE_AES128_CTS_HMAC_SHA256_128, 181 .etype = ENCTYPE_AES256_CTS_HMAC_SHA384_192, 255 const struct gss_krb5_enctype *gss_krb5_lookup_enctype(u32 etype) in gss_krb5_lookup_enctype() argument 260 if (supported_gss_krb5_enctypes[i].etype == etype) in gss_krb5_lookup_enctype()
|
| /linux/include/asm-generic/ |
| H A D | error-injection.h | 15 int etype; member 32 .etype = EI_ETYPE_##_etype, \
|
| /linux/kernel/trace/ |
| H A D | trace_export.c | 171 #define FTRACE_ENTRY_REG(call, struct_name, etype, tstruct, print, regfn) \ argument 184 .event.type = etype, \ 192 #define FTRACE_ENTRY(call, struct_name, etype, tstruct, print) \ argument 193 FTRACE_ENTRY_REG(call, struct_name, etype, \
|
| /linux/drivers/scsi/bfa/ |
| H A D | bfa_cs.h | 187 #define bfa_sm_state_decl(oc, st, otype, etype) \ argument 188 static void oc ## _sm_ ## st(otype * fsm, etype event) 216 #define bfa_fsm_state_decl(oc, st, otype, etype) \ argument 217 static void oc ## _sm_ ## st(otype * fsm, etype event); \
|
| /linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_flows.c | 594 pkt->etype = cpu_to_be16(ETH_P_IP); in otx2_prepare_ipv4_flow() 595 pmask->etype = cpu_to_be16(0xFFFF); in otx2_prepare_ipv4_flow() 601 pkt->etype = cpu_to_be16(ETH_P_IP); in otx2_prepare_ipv4_flow() 602 pmask->etype = cpu_to_be16(0xFFFF); in otx2_prepare_ipv4_flow() 656 pkt->etype = cpu_to_be16(ETH_P_IP); in otx2_prepare_ipv4_flow() 657 pmask->etype = cpu_to_be16(0xFFFF); in otx2_prepare_ipv4_flow() 729 pkt->etype = cpu_to_be16(ETH_P_IPV6); in otx2_prepare_ipv6_flow() 730 pmask->etype = cpu_to_be16(0xFFFF); in otx2_prepare_ipv6_flow() 736 pkt->etype = cpu_to_be16(ETH_P_IPV6); in otx2_prepare_ipv6_flow() 737 pmask->etype = cpu_to_be16(0xFFFF); in otx2_prepare_ipv6_flow() [all …]
|
| /linux/drivers/net/ethernet/brocade/bna/ |
| H A D | bfa_cs.h | 67 #define bfa_fsm_state_decl(oc, st, otype, etype) \ argument 68 static void oc ## _sm_ ## st(otype * fsm, etype event); \
|
| /linux/include/ras/ |
| H A D | ras_event.h | 37 __field(u8, etype) 49 __entry->etype = mem->error_type; 51 __entry->etype = ~0; 70 cper_mem_err_type_str(__entry->etype),
|
| /linux/drivers/net/ethernet/intel/iavf/ |
| H A D | iavf_fdir.c | 41 if (fltr->eth_mask.etype && fltr->eth_mask.etype != htons(U16_MAX)) in iavf_validate_fdir_fltr_masks() 574 if (fltr->eth_mask.etype == htons(U16_MAX)) { in iavf_fill_fdir_eth_hdr() 575 if (fltr->eth_data.etype == htons(ETH_P_IP) || in iavf_fill_fdir_eth_hdr() 576 fltr->eth_data.etype == htons(ETH_P_IPV6)) in iavf_fill_fdir_eth_hdr() 579 ehdr->h_proto = fltr->eth_data.etype; in iavf_fill_fdir_eth_hdr() 778 ntohs(fltr->eth_data.etype)); in iavf_print_fdir_fltr()
|
| /linux/arch/m68k/include/asm/ |
| H A D | bootstd.h | 116 #define _bsc5(type,name,atype,a,btype,b,ctype,c,dtype,d,etype,e) \ argument 117 type name(atype a, btype b, ctype c, dtype d, etype e) \
|
| /linux/drivers/net/ethernet/mediatek/ |
| H A D | mtk_ppe.c | 272 l2->etype = ETH_P_IPV6; in mtk_foe_entry_prepare() 274 l2->etype = ETH_P_IP; in mtk_foe_entry_prepare() 375 l2->etype = BIT(port); in mtk_foe_entry_set_dsa() 380 l2->etype |= BIT(8); in mtk_foe_entry_set_dsa() 401 l2->etype |= BIT(8); in mtk_foe_entry_set_vlan() 419 l2->etype = ETH_P_PPP_SES; in mtk_foe_entry_set_pppoe() 730 else if (type >= MTK_PPE_PKT_TYPE_IPV6_ROUTE_3T && l2->etype == ETH_P_IP) in mtk_foe_entry_commit_subflow() 731 l2->etype = ETH_P_IPV6; in mtk_foe_entry_commit_subflow()
|
| /linux/drivers/net/ethernet/stmicro/stmmac/ |
| H A D | stmmac_tc.c | 751 u16 etype = ntohs(match.key->n_proto); in tc_add_ethtype_flow() local 757 switch (etype) { in tc_add_ethtype_flow() 781 netdev_err(priv->dev, "EthType(0x%x) is not supported", etype); in tc_add_ethtype_flow() 788 entry->etype = etype; in tc_add_ethtype_flow() 806 switch (entry->etype) { in tc_del_ethtype_flow() 819 entry->etype); in tc_del_ethtype_flow() 826 entry->etype = 0; in tc_del_ethtype_flow()
|
| /linux/drivers/net/phy/mscc/ |
| H A D | mscc_macsec.c | 400 if (flow->match.etype) { in vsc8584_macsec_flow() 404 MSCC_MS_SAM_MAC_SA_MATCH_HI_ETYPE((__force u32)htons(flow->etype))); in vsc8584_macsec_flow() 658 flow->match.etype = 1; in vsc8584_macsec_default_flows() 659 flow->etype = ETH_P_PAE; in vsc8584_macsec_default_flows() 673 flow->match.etype = 1; in vsc8584_macsec_default_flows() 674 flow->etype = ETH_P_PAE; in vsc8584_macsec_default_flows()
|
| /linux/drivers/net/ethernet/microchip/lan966x/ |
| H A D | lan966x_tc_flower.c | 11 u16 etype) in lan966x_tc_is_known_etype() argument 15 switch (etype) { in lan966x_tc_is_known_etype() 24 switch (etype) { in lan966x_tc_is_known_etype()
|