Searched refs:attrid (Results 1 – 2 of 2) sorted by relevance
31 static void plca_update_sint(int *dst, struct nlattr **tb, u32 attrid, in plca_update_sint() argument34 const struct nlattr *attr = tb[attrid]; in plca_update_sint()37 WARN_ON_ONCE(attrid >= ARRAY_SIZE(ethnl_plca_set_cfg_policy))) in plca_update_sint()40 switch (ethnl_plca_set_cfg_policy[attrid].type) { in plca_update_sint()
5288 static bool stats_attr_valid(unsigned int mask, int attrid, int idxattr) in stats_attr_valid() argument5290 return (mask & IFLA_STATS_FILTER_BIT(attrid)) && in stats_attr_valid()5291 (!idxattr || idxattr == attrid); in stats_attr_valid()