Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/include/net/
Dnetlink.h528 int attrlen, int padattr);
532 int attrlen, int padattr);
537 const void *data, int padattr);
541 const void *data, int padattr);
1407 u64 value, int padattr) in nla_put_u64_64bit() argument
1411 return nla_put_64bit(skb, attrtype, sizeof(u64), &tmp, padattr); in nla_put_u64_64bit()
1422 int padattr) in nla_put_be64() argument
1426 return nla_put_64bit(skb, attrtype, sizeof(__be64), &tmp, padattr); in nla_put_be64()
1437 int padattr) in nla_put_net64() argument
1442 padattr); in nla_put_net64()
[all …]
Dgen_stats.h34 int padattr; member
42 struct gnet_dump *d, int padattr);
47 int padattr);
/Linux-v6.6/lib/
Dnlattr.c905 int attrlen, int padattr) in __nla_reserve_64bit() argument
907 nla_align_64bit(skb, padattr); in __nla_reserve_64bit()
965 int padattr) in nla_reserve_64bit() argument
976 return __nla_reserve_64bit(skb, attrtype, attrlen, padattr); in nla_reserve_64bit()
1031 const void *data, int padattr) in __nla_put_64bit() argument
1035 nla = __nla_reserve_64bit(skb, attrtype, attrlen, padattr); in __nla_put_64bit()
1090 const void *data, int padattr) in nla_put_64bit() argument
1101 __nla_put_64bit(skb, attrtype, attrlen, data, padattr); in nla_put_64bit()
/Linux-v6.6/net/ieee802154/
Dnl-mac.c30 int padattr) in nla_put_hwaddr() argument
33 padattr); in nla_put_hwaddr()
/Linux-v6.6/drivers/net/
Dmacsec.c1509 int padattr) in nla_put_sci() argument
1511 return nla_put_u64_64bit(skb, attrtype, (__force u64)value, padattr); in nla_put_sci()