Lines Matching full:nest
242 struct nlattr *nest; in stat_put() local
250 * of ETHTOOL_A_STATS_GRP_STAT. Since we're one nest away from the in stat_put()
260 nest = nla_nest_start(skb, ETHTOOL_A_STATS_GRP_STAT); in stat_put()
261 if (!nest) in stat_put()
266 nla_nest_cancel(skb, nest); in stat_put()
270 nla_nest_end(skb, nest); in stat_put()
369 struct nlattr *nest; in stats_put_rmon_hist() local
381 nest = nla_nest_start(skb, attr); in stats_put_rmon_hist()
382 if (!nest) in stats_put_rmon_hist()
393 nla_nest_end(skb, nest); in stats_put_rmon_hist()
399 nla_nest_cancel(skb, nest); in stats_put_rmon_hist()
431 struct nlattr *nest; in stats_put_stats() local
433 nest = nla_nest_start(skb, ETHTOOL_A_STATS_GRP); in stats_put_stats()
434 if (!nest) in stats_put_stats()
444 nla_nest_end(skb, nest); in stats_put_stats()
448 nla_nest_cancel(skb, nest); in stats_put_stats()