opnsense-src/sys/compat/linuxkpi
Vladimir Kondratyev edeb8cfad0 LinuxKPI: Add bitmap_intersects(), bitmap_from_arr32()
and bitmap_shift_right() functions to linux/bitmap.h

They perform calculation of two bitmaps intersection,
copying the contents of u32 array of bits to bitmap and
logical right shifting of the bits in a bitmap.

Sponsored by:	Serenity Cyber Security, LLC
Reviewed by:	manu
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D42812

(cherry picked from commit 5ae2e6f913fa1df5f3262255558b76af05409a09)
2024-02-17 23:58:38 +03:00
..
common LinuxKPI: Add bitmap_intersects(), bitmap_from_arr32() 2024-02-17 23:58:38 +03:00
dummy/include LinuxKPI: Add asm/hypervisor.h header 2024-02-17 23:58:37 +03:00