Home
last modified time | relevance | path

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

/linux-6.1.9/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()
469 sizeof(d->tc_stats), d->padattr) < 0) in gnet_stats_finish_copy()
474 d->xstats_len, d->padattr) < 0) in gnet_stats_finish_copy()
/linux-6.1.9/include/net/
Dnetlink.h531 int attrlen, int padattr);
535 int attrlen, int padattr);
540 const void *data, int padattr);
544 const void *data, int padattr);
1378 u64 value, int padattr) in nla_put_u64_64bit() argument
1382 return nla_put_64bit(skb, attrtype, sizeof(u64), &tmp, padattr); in nla_put_u64_64bit()
1393 int padattr) in nla_put_be64() argument
1397 return nla_put_64bit(skb, attrtype, sizeof(__be64), &tmp, padattr); in nla_put_be64()
1408 int padattr) in nla_put_net64() argument
1413 padattr); in nla_put_net64()
[all …]
Dgen_stats.h34 int padattr; member
42 struct gnet_dump *d, int padattr);
47 int padattr);
/linux-6.1.9/lib/
Dnlattr.c899 int attrlen, int padattr) in __nla_reserve_64bit() argument
901 nla_align_64bit(skb, padattr); in __nla_reserve_64bit()
959 int padattr) in nla_reserve_64bit() argument
970 return __nla_reserve_64bit(skb, attrtype, attrlen, padattr); in nla_reserve_64bit()
1025 const void *data, int padattr) in __nla_put_64bit() argument
1029 nla = __nla_reserve_64bit(skb, attrtype, attrlen, padattr); in __nla_put_64bit()
1084 const void *data, int padattr) in nla_put_64bit() argument
1095 __nla_put_64bit(skb, attrtype, attrlen, data, padattr); in nla_put_64bit()
/linux-6.1.9/net/ieee802154/
Dnl-mac.c30 int padattr) in nla_put_hwaddr() argument
33 padattr); in nla_put_hwaddr()
/linux-6.1.9/drivers/net/
Dmacsec.c1511 int padattr) in nla_put_sci() argument
1513 return nla_put_u64_64bit(skb, attrtype, (__force u64)value, padattr); in nla_put_sci()