Lines Matching refs:nest
160 static int strset_get_id(const struct nlattr *nest, u32 *val, in strset_get_id() argument
166 ret = nla_parse_nested(tb, ARRAY_SIZE(get_stringset_policy) - 1, nest, in strset_get_id()
170 if (NL_REQ_ATTR_CHECK(extack, nest, tb, ETHTOOL_A_STRINGSET_ID)) in strset_get_id()
186 struct nlattr *nest = tb[ETHTOOL_A_STRSET_STRINGSETS]; in strset_parse_request() local
190 if (!nest) in strset_parse_request()
192 ret = nla_validate_nested(nest, in strset_parse_request()
199 nla_for_each_nested(attr, nest, rem) { in strset_parse_request()
451 struct nlattr *nest; in strset_fill_reply() local
455 nest = nla_nest_start(skb, ETHTOOL_A_STRSET_STRINGSETS); in strset_fill_reply()
456 if (!nest) in strset_fill_reply()
468 nla_nest_end(skb, nest); in strset_fill_reply()
472 nla_nest_cancel(skb, nest); in strset_fill_reply()