diff options
author | Yury Norov <yury.norov@gmail.com> | 2024-01-29 09:21:04 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-02-01 15:06:40 +0300 |
commit | c1f5204efcbcced83f67f12fa8f1a7f5f244fb87 (patch) | |
tree | 4cf65b8c65041554ba6cdccd75ace4b62f247028 /net/unix/af_unix.c | |
parent | 3723b56d6f73f7c8c3b521a80556f129830f6fb9 (diff) | |
download | linux-c1f5204efcbcced83f67f12fa8f1a7f5f244fb87.tar.xz |
cpumask: add cpumask_weight_andnot()
Similarly to cpumask_weight_and(), cpumask_weight_andnot() is a handy
helper that may help to avoid creating an intermediate mask just to
calculate number of bits that set in a 1st given mask, and clear in 2nd
one.
Signed-off-by: Yury Norov <yury.norov@gmail.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions