Lines Matching refs:nla_entry
3644 struct nlattr *nla_entry[DEVLINK_ATTR_MAX + 1] = {}; in dpipe_entry_show() local
3649 err = mnl_attr_parse_nested(nl, attr_cb, nla_entry); in dpipe_entry_show()
3653 if (!nla_entry[DEVLINK_ATTR_DPIPE_ENTRY_INDEX] || in dpipe_entry_show()
3654 !nla_entry[DEVLINK_ATTR_DPIPE_ENTRY_MATCH_VALUES] || in dpipe_entry_show()
3655 !nla_entry[DEVLINK_ATTR_DPIPE_ENTRY_ACTION_VALUES]) { in dpipe_entry_show()
3659 entry_index = mnl_attr_get_u32(nla_entry[DEVLINK_ATTR_DPIPE_ENTRY_INDEX]); in dpipe_entry_show()
3662 if (nla_entry[DEVLINK_ATTR_DPIPE_ENTRY_COUNTER]) { in dpipe_entry_show()
3663 counter = mnl_attr_get_u64(nla_entry[DEVLINK_ATTR_DPIPE_ENTRY_COUNTER]); in dpipe_entry_show()
3669 nla_entry[DEVLINK_ATTR_DPIPE_ENTRY_MATCH_VALUES])) in dpipe_entry_show()
3675 nla_entry[DEVLINK_ATTR_DPIPE_ENTRY_ACTION_VALUES])) in dpipe_entry_show()
3689 struct nlattr *nla_entry; in dpipe_table_entries_show() local
3691 mnl_attr_for_each_nested(nla_entry, nla_entries) { in dpipe_table_entries_show()
3693 if (dpipe_entry_show(ctx, nla_entry)) in dpipe_table_entries_show()