diff options
| author | Mina Almasry <almasrymina@google.com> | 2026-10-21 01:55:58 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-10-21 17:00:00 -0700 |
| commit | 2620efb2cec11628ff419dc876981e1f8fed664a (patch) | |
| tree | b3b82845ccea2c23e563a113013609d283c20bba /scripts/Makefile.thinlto | |
| parent | bbee99902520f214cafe183f30b9db29ab9b315f (diff) | |
| download | linux-2620efb2cec11628ff419dc876981e1f8fed664a.tar.gz linux-2620efb2cec11628ff419dc876981e1f8fed664a.zip | |
netmem: rename get/put_netmem() to netmem_inc/dec_ref()
Follow the object_action() naming convention for netmem non-page_pool
reference helpers by renaming get_netmem() and put_netmem() to
netmem_inc_ref() and netmem_dec_ref().
Use netmem_inc_ref() and netmem_dec_ref() rather than netmem_ref() and
netmem_unref() because netmem_ref is already a typedef (typedef unsigned
long __bitwise netmem_ref).
Suggested-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Mina Almasry <almasrymina@google.com>
Link: https://patch.msgid.link/20261021015558.4124825-3-almasrymina@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
