summaryrefslogtreecommitdiffstats
path: root/net/core/gen_estimator.c
diff options
context:
space:
mode:
authorAhmed S. Darwish <a.darwish@linutronix.de>2021-10-16 10:49:06 +0200
committerDavid S. Miller <davem@davemloft.net>2021-10-18 13:54:41 +0200
commitf2efdb17928924c9c935c136dea764a081032006 (patch)
tree1f58fd6320ef4622b06166a4d52fa56d53a8c0bf /net/core/gen_estimator.c
parentgen_stats: Move remaining users to gnet_stats_add_queue(). (diff)
downloadlinux-f2efdb17928924c9c935c136dea764a081032006.tar.xz
linux-f2efdb17928924c9c935c136dea764a081032006.zip
u64_stats: Introduce u64_stats_set()
Allow to directly set a u64_stats_t value which is used to provide an init function which sets it directly to zero intead of memset() the value. Add u64_stats_set() to the u64_stats API. [bigeasy: commit message. ] Signed-off-by: Ahmed S. Darwish <a.darwish@linutronix.de> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/gen_estimator.c')
0 files changed, 0 insertions, 0 deletions