Home
last modified time | relevance | path

Searched refs:maxtype (Results 1 – 20 of 20) sorted by relevance

/drivers/block/drbd/
Ddrbd_nla.c7 static int drbd_nla_check_mandatory(int maxtype, struct nlattr *nla) in drbd_nla_check_mandatory() argument
24 if (nla_type(nla) > maxtype) in drbd_nla_check_mandatory()
31 int drbd_nla_parse_nested(struct nlattr *tb[], int maxtype, struct nlattr *nla, in drbd_nla_parse_nested() argument
36 err = drbd_nla_check_mandatory(maxtype, nla); in drbd_nla_parse_nested()
38 err = nla_parse_nested_deprecated(tb, maxtype, nla, policy, in drbd_nla_parse_nested()
44 struct nlattr *drbd_nla_find_nested(int maxtype, struct nlattr *nla, int attrtype) in drbd_nla_find_nested() argument
52 err = drbd_nla_check_mandatory(maxtype, nla); in drbd_nla_find_nested()
Ddrbd_nla.h5 extern int drbd_nla_parse_nested(struct nlattr *tb[], int maxtype, struct nlattr *nla,
7 extern struct nlattr *drbd_nla_find_nested(int maxtype, struct nlattr *nla, int attrtype);
Ddrbd_nl.c3293 const int maxtype = ARRAY_SIZE(drbd_cfg_context_nl_policy) - 1; in find_cfg_context_attr() local
3300 return drbd_nla_find_nested(maxtype, nla, __nla_type(attr)); in find_cfg_context_attr()
4060 int maxtype; in drbd_adm_get_status_all() local
4080 maxtype = ARRAY_SIZE(drbd_cfg_context_nl_policy) - 1; in drbd_adm_get_status_all()
4081 nla = drbd_nla_find_nested(maxtype, nla, __nla_type(T_ctx_resource_name)); in drbd_adm_get_status_all()
/drivers/net/ethernet/rocker/
Drocker_tlv.h109 void rocker_tlv_parse(const struct rocker_tlv **tb, int maxtype,
113 int maxtype, in rocker_tlv_parse_nested() argument
116 rocker_tlv_parse(tb, maxtype, rocker_tlv_data(tlv), in rocker_tlv_parse_nested()
121 rocker_tlv_parse_desc(const struct rocker_tlv **tb, int maxtype, in rocker_tlv_parse_desc() argument
124 rocker_tlv_parse(tb, maxtype, desc_info->data, in rocker_tlv_parse_desc()
Drocker_tlv.c15 void rocker_tlv_parse(const struct rocker_tlv **tb, int maxtype, in rocker_tlv_parse() argument
22 memset(tb, 0, sizeof(struct rocker_tlv *) * (maxtype + 1)); in rocker_tlv_parse()
27 if (type > 0 && type <= maxtype) in rocker_tlv_parse()
/drivers/infiniband/ulp/ipoib/
Dipoib_netlink.c156 .maxtype = IFLA_IPOIB_MAX,
/drivers/net/can/
Dvxcan.c291 .maxtype = VXCAN_INFO_MAX,
Ddev.c1220 .maxtype = IFLA_CAN_MAX,
/drivers/net/ethernet/qualcomm/rmnet/
Drmnet_config.c370 .maxtype = __IFLA_RMNET_MAX,
/drivers/net/bonding/
Dbond_netlink.c757 .maxtype = IFLA_BOND_MAX,
/drivers/net/ipvlan/
Dipvlan_main.c686 ops->maxtype = IFLA_IPVLAN_MAX; in ipvlan_link_register()
/drivers/net/caif/
Dcaif_hsi.c1439 .maxtype = __IFLA_CAIF_HSI_MAX,
/drivers/net/
Dvrf.c1414 .maxtype = IFLA_VRF_MAX,
Dveth.c1400 .maxtype = VETH_INFO_MAX,
Dgtp.c754 .maxtype = IFLA_GTP_MAX,
Dmacvlan.c1638 ops->maxtype = IFLA_MACVLAN_MAX; in macvlan_link_register()
Dgeneve.c1745 .maxtype = IFLA_GENEVE_MAX,
Dmacsec.c3447 .maxtype = IFLA_MACSEC_MAX,
Dvxlan.c4168 .maxtype = IFLA_VXLAN_MAX,
/drivers/net/ppp/
Dppp_generic.c1150 .maxtype = IFLA_PPP_MAX,