Home
last modified time | relevance | path

Searched refs:attrtype (Results 1 – 8 of 8) sorted by relevance

/drivers/net/ethernet/rocker/
Drocker_tlv.h136 int attrtype, int attrlen, const void *data);
139 rocker_tlv_put_u8(struct rocker_desc_info *desc_info, int attrtype, u8 value) in rocker_tlv_put_u8() argument
143 return rocker_tlv_put(desc_info, attrtype, sizeof(u8), &tmp); in rocker_tlv_put_u8()
147 rocker_tlv_put_u16(struct rocker_desc_info *desc_info, int attrtype, u16 value) in rocker_tlv_put_u16() argument
151 return rocker_tlv_put(desc_info, attrtype, sizeof(u16), &tmp); in rocker_tlv_put_u16()
155 rocker_tlv_put_be16(struct rocker_desc_info *desc_info, int attrtype, __be16 value) in rocker_tlv_put_be16() argument
159 return rocker_tlv_put(desc_info, attrtype, sizeof(__be16), &tmp); in rocker_tlv_put_be16()
163 rocker_tlv_put_u32(struct rocker_desc_info *desc_info, int attrtype, u32 value) in rocker_tlv_put_u32() argument
167 return rocker_tlv_put(desc_info, attrtype, sizeof(u32), &tmp); in rocker_tlv_put_u32()
171 rocker_tlv_put_be32(struct rocker_desc_info *desc_info, int attrtype, __be32 value) in rocker_tlv_put_be32() argument
[all …]
Drocker_tlv.c33 int attrtype, int attrlen, const void *data) in rocker_tlv_put() argument
44 tlv->type = attrtype; in rocker_tlv_put()
/drivers/block/drbd/
Ddrbd_nla.c44 struct nlattr *drbd_nla_find_nested(int maxtype, struct nlattr *nla, int attrtype) in drbd_nla_find_nested() argument
55 return nla_find_nested(nla, attrtype); in drbd_nla_find_nested()
Ddrbd_nla.h7 extern struct nlattr *drbd_nla_find_nested(int maxtype, struct nlattr *nla, int attrtype);
/drivers/net/
Dgeneve.c1418 int attrtype; in geneve_nl2info() local
1428 attrtype = IFLA_GENEVE_REMOTE; in geneve_nl2info()
1445 attrtype = IFLA_GENEVE_REMOTE6; in geneve_nl2info()
1485 attrtype = IFLA_GENEVE_ID; in geneve_nl2info()
1519 attrtype = IFLA_GENEVE_PORT; in geneve_nl2info()
1527 attrtype = IFLA_GENEVE_COLLECT_METADATA; in geneve_nl2info()
1535 attrtype = IFLA_GENEVE_UDP_CSUM; in geneve_nl2info()
1545 attrtype = IFLA_GENEVE_UDP_ZERO_CSUM6_TX; in geneve_nl2info()
1560 attrtype = IFLA_GENEVE_UDP_ZERO_CSUM6_RX; in geneve_nl2info()
1574 NL_SET_ERR_MSG_ATTR(extack, data[attrtype], in geneve_nl2info()
Dmacsec.c1482 static int nla_put_sci(struct sk_buff *skb, int attrtype, sci_t value, in nla_put_sci() argument
1485 return nla_put_u64_64bit(skb, attrtype, (__force u64)value, padattr); in nla_put_sci()
1493 static int nla_put_ssci(struct sk_buff *skb, int attrtype, ssci_t value) in nla_put_ssci() argument
1495 return nla_put_u32(skb, attrtype, (__force u64)value); in nla_put_ssci()
/drivers/infiniband/core/
Daddr.c156 int attrtype; in ib_nl_ip_send_msg() local
161 attrtype = RDMA_NLA_F_MANDATORY | LS_NLA_TYPE_IPV4; in ib_nl_ip_send_msg()
164 attrtype = RDMA_NLA_F_MANDATORY | LS_NLA_TYPE_IPV6; in ib_nl_ip_send_msg()
184 nla_put(skb, attrtype, size, daddr); in ib_nl_ip_send_msg()
/drivers/net/vxlan/
Dvxlan_core.c3944 int attrtype, unsigned long mask, bool changelink, in vxlan_nl2flag() argument
3950 if (!tb[attrtype]) in vxlan_nl2flag()
3954 vxlan_flag_attr_error(attrtype, extack); in vxlan_nl2flag()
3958 if (vxlan_policy[attrtype].type == NLA_FLAG) in vxlan_nl2flag()
3960 else if (nla_get_u8(tb[attrtype])) in vxlan_nl2flag()