Home
last modified time | relevance | path

Searched refs:BITS_PER_U64 (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/security/selinux/ss/
Debitmap.c24 #define BITS_PER_U64 ((u32)(sizeof(u64) * 8)) macro
383 if (mapunit != BITS_PER_U64) { in ebitmap_read()
386 mapunit, BITS_PER_U64, e->highbit); in ebitmap_read()
489 buf[0] = cpu_to_le32(BITS_PER_U64); in ebitmap_write()
497 rounddown(bit, BITS_PER_U64) > last_startbit) { in ebitmap_write()
499 last_startbit = rounddown(bit, BITS_PER_U64); in ebitmap_write()
501 last_bit = roundup(bit + 1, BITS_PER_U64); in ebitmap_write()
515 rounddown(bit, BITS_PER_U64) > last_startbit) { in ebitmap_write()
520 last_startbit = rounddown(bit, BITS_PER_U64); in ebitmap_write()
538 last_startbit = rounddown(bit, BITS_PER_U64); in ebitmap_write()
/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dbpf_cubic.c130 #define BITS_PER_U64 (sizeof(__u64) * 8) macro
133 int num = BITS_PER_U64 - 1; in fls64()
138 if (!(x & (~0ull << (BITS_PER_U64-32)))) { in fls64()
142 if (!(x & (~0ull << (BITS_PER_U64-16)))) { in fls64()
146 if (!(x & (~0ull << (BITS_PER_U64-8)))) { in fls64()
150 if (!(x & (~0ull << (BITS_PER_U64-4)))) { in fls64()
154 if (!(x & (~0ull << (BITS_PER_U64-2)))) { in fls64()
158 if (!(x & (~0ull << (BITS_PER_U64-1)))) in fls64()