Home
last modified time | relevance | path

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

/linux-6.3-rc2/security/selinux/ss/
A Debitmap.c27 #define BITS_PER_U64 (sizeof(u64) * 8) macro
385 if (mapunit != BITS_PER_U64) { in ebitmap_read()
388 mapunit, BITS_PER_U64, e->highbit); in ebitmap_read()
479 buf[0] = cpu_to_le32(BITS_PER_U64); in ebitmap_write()
485 if (rounddown(bit, (int)BITS_PER_U64) > last_startbit) { in ebitmap_write()
487 last_startbit = rounddown(bit, BITS_PER_U64); in ebitmap_write()
489 last_bit = roundup(bit + 1, BITS_PER_U64); in ebitmap_write()
501 if (rounddown(bit, (int)BITS_PER_U64) > last_startbit) { in ebitmap_write()
506 last_startbit = rounddown(bit, BITS_PER_U64); in ebitmap_write()
524 last_startbit = rounddown(bit, BITS_PER_U64); in ebitmap_write()
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
A Dbpf_cubic.c122 #define BITS_PER_U64 (sizeof(__u64) * 8) macro
125 int num = BITS_PER_U64 - 1; in fls64()
130 if (!(x & (~0ull << (BITS_PER_U64-32)))) { in fls64()
134 if (!(x & (~0ull << (BITS_PER_U64-16)))) { in fls64()
138 if (!(x & (~0ull << (BITS_PER_U64-8)))) { in fls64()
142 if (!(x & (~0ull << (BITS_PER_U64-4)))) { in fls64()
146 if (!(x & (~0ull << (BITS_PER_U64-2)))) { in fls64()
150 if (!(x & (~0ull << (BITS_PER_U64-1)))) in fls64()

Completed in 10 milliseconds