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.c1333 int attrtype; in geneve_nl2info() local
1343 attrtype = IFLA_GENEVE_REMOTE; in geneve_nl2info()
1360 attrtype = IFLA_GENEVE_REMOTE6; in geneve_nl2info()
1400 attrtype = IFLA_GENEVE_ID; in geneve_nl2info()
1434 attrtype = IFLA_GENEVE_PORT; in geneve_nl2info()
1442 attrtype = IFLA_GENEVE_COLLECT_METADATA; in geneve_nl2info()
1450 attrtype = IFLA_GENEVE_UDP_CSUM; in geneve_nl2info()
1460 attrtype = IFLA_GENEVE_UDP_ZERO_CSUM6_TX; in geneve_nl2info()
1475 attrtype = IFLA_GENEVE_UDP_ZERO_CSUM6_RX; in geneve_nl2info()
1489 NL_SET_ERR_MSG_ATTR(extack, data[attrtype], in geneve_nl2info()
Dvxlan.c3651 int attrtype, unsigned long mask, bool changelink, in vxlan_nl2flag() argument
3657 if (!tb[attrtype]) in vxlan_nl2flag()
3661 vxlan_flag_attr_error(attrtype, extack); in vxlan_nl2flag()
3665 if (vxlan_policy[attrtype].type == NLA_FLAG) in vxlan_nl2flag()
3667 else if (nla_get_u8(tb[attrtype])) in vxlan_nl2flag()
Dmacsec.c1478 static int nla_put_sci(struct sk_buff *skb, int attrtype, sci_t value, in nla_put_sci() argument
1481 return nla_put_u64_64bit(skb, attrtype, (__force u64)value, padattr); in nla_put_sci()
/drivers/infiniband/core/
Daddr.c154 int attrtype; in ib_nl_ip_send_msg() local
159 attrtype = RDMA_NLA_F_MANDATORY | LS_NLA_TYPE_IPV4; in ib_nl_ip_send_msg()
162 attrtype = RDMA_NLA_F_MANDATORY | LS_NLA_TYPE_IPV6; in ib_nl_ip_send_msg()
182 nla_put(skb, attrtype, size, daddr); in ib_nl_ip_send_msg()