Lines Matching defs:attrs
292 const struct nlattr *nla, *attrs;
300 attrs = nlmsg_attrdata(nlh_src, xfrm_msg_min[type]);
303 nla_for_each_attr(nla, attrs, len, remaining) {
355 struct nlattr *attrs[XFRMA_MAX + 1],
387 if (attrs[XFRMA_SA])
389 if (attrs[XFRMA_POLICY])
392 /* XXX: some attrs may need to be realigned
465 struct nlattr *attrs[XFRMA_MAX+1],
554 if (!attrs[i])
558 err = xfrm_attr_cpy32(dst, &pos, attrs[i], size,
559 nla_len(attrs[i]), nla_len(attrs[i]));
572 if (!attrs[i])
575 err = xfrm_xlate32_attr(dst, attrs[i], &pos, size, extack);
589 struct nlattr *attrs[XFRMA_MAX+1];
605 err = nlmsg_parse_deprecated(h32, compat_msg_min[type], attrs,
610 len = xfrm_user_rcv_calculate_len64(h32, attrs, maxtype);
620 err = xfrm_xlate32(h64, h32, attrs, len, type, maxtype, extack);