/drivers/block/drbd/ |
D | drbd_nla.c | 7 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()
|
D | drbd_nla.h | 5 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);
|
D | drbd_nl.c | 3293 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/ |
D | rocker_tlv.h | 109 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()
|
D | rocker_tlv.c | 15 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/ |
D | ipoib_netlink.c | 156 .maxtype = IFLA_IPOIB_MAX,
|
/drivers/net/can/ |
D | vxcan.c | 291 .maxtype = VXCAN_INFO_MAX,
|
D | dev.c | 1220 .maxtype = IFLA_CAN_MAX,
|
/drivers/net/ethernet/qualcomm/rmnet/ |
D | rmnet_config.c | 370 .maxtype = __IFLA_RMNET_MAX,
|
/drivers/net/bonding/ |
D | bond_netlink.c | 757 .maxtype = IFLA_BOND_MAX,
|
/drivers/net/ipvlan/ |
D | ipvlan_main.c | 686 ops->maxtype = IFLA_IPVLAN_MAX; in ipvlan_link_register()
|
/drivers/net/caif/ |
D | caif_hsi.c | 1439 .maxtype = __IFLA_CAIF_HSI_MAX,
|
/drivers/net/ |
D | vrf.c | 1414 .maxtype = IFLA_VRF_MAX,
|
D | veth.c | 1400 .maxtype = VETH_INFO_MAX,
|
D | gtp.c | 754 .maxtype = IFLA_GTP_MAX,
|
D | macvlan.c | 1638 ops->maxtype = IFLA_MACVLAN_MAX; in macvlan_link_register()
|
D | geneve.c | 1745 .maxtype = IFLA_GENEVE_MAX,
|
D | macsec.c | 3447 .maxtype = IFLA_MACSEC_MAX,
|
D | vxlan.c | 4168 .maxtype = IFLA_VXLAN_MAX,
|
/drivers/net/ppp/ |
D | ppp_generic.c | 1150 .maxtype = IFLA_PPP_MAX,
|