Home
last modified time | relevance | path

Searched refs:padattr (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/net/core/
Dgen_stats.c24 gnet_stats_copy(struct gnet_dump *d, int type, void *buf, int size, int padattr) in gnet_stats_copy() argument
26 if (nla_put_64bit(d->skb, type, size, buf, padattr)) in gnet_stats_copy()
61 struct gnet_dump *d, int padattr) in gnet_stats_start_copy_compat() argument
71 d->padattr = padattr; in gnet_stats_start_copy_compat()
77 int ret = gnet_stats_copy(d, type, NULL, 0, padattr); in gnet_stats_start_copy_compat()
85 if (ret == 0 && d->tail->nla_type == padattr) in gnet_stats_start_copy_compat()
111 struct gnet_dump *d, int padattr) in gnet_stats_start_copy() argument
113 return gnet_stats_start_copy_compat(skb, type, 0, 0, lock, d, padattr); in gnet_stats_start_copy()
417 sizeof(d->tc_stats), d->padattr) < 0) in gnet_stats_finish_copy()
422 d->xstats_len, d->padattr) < 0) in gnet_stats_finish_copy()
/kernel/linux/linux-5.10/include/net/
Dnetlink.h516 int attrlen, int padattr);
520 int attrlen, int padattr);
525 const void *data, int padattr);
529 const void *data, int padattr);
1361 u64 value, int padattr) in nla_put_u64_64bit() argument
1365 return nla_put_64bit(skb, attrtype, sizeof(u64), &tmp, padattr); in nla_put_u64_64bit()
1376 int padattr) in nla_put_be64() argument
1380 return nla_put_64bit(skb, attrtype, sizeof(__be64), &tmp, padattr); in nla_put_be64()
1391 int padattr) in nla_put_net64() argument
1396 padattr); in nla_put_net64()
[all …]
Dgen_stats.h31 int padattr; member
38 struct gnet_dump *d, int padattr);
43 int padattr);
/kernel/linux/linux-5.10/lib/
Dnlattr.c872 int attrlen, int padattr) in __nla_reserve_64bit() argument
874 nla_align_64bit(skb, padattr); in __nla_reserve_64bit()
932 int padattr) in nla_reserve_64bit() argument
943 return __nla_reserve_64bit(skb, attrtype, attrlen, padattr); in nla_reserve_64bit()
998 const void *data, int padattr) in __nla_put_64bit() argument
1002 nla = __nla_reserve_64bit(skb, attrtype, attrlen, padattr); in __nla_put_64bit()
1057 const void *data, int padattr) in nla_put_64bit() argument
1068 __nla_put_64bit(skb, attrtype, attrlen, data, padattr); in nla_put_64bit()
/kernel/linux/linux-5.10/net/ieee802154/
Dnl-mac.c30 int padattr) in nla_put_hwaddr() argument
33 padattr); in nla_put_hwaddr()
/kernel/linux/linux-5.10/drivers/net/
Dmacsec.c1486 int padattr) in nla_put_sci() argument
1488 return nla_put_u64_64bit(skb, attrtype, (__force u64)value, padattr); in nla_put_sci()