Home
last modified time | relevance | path

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

/Linux-v4.19/security/selinux/ss/
Debitmap.c26 #define BITS_PER_U64 (sizeof(u64) * 8) macro
364 if (mapunit != BITS_PER_U64) { in ebitmap_read()
367 mapunit, BITS_PER_U64, e->highbit); in ebitmap_read()
458 buf[0] = cpu_to_le32(BITS_PER_U64); in ebitmap_write()
464 if (rounddown(bit, (int)BITS_PER_U64) > last_startbit) { in ebitmap_write()
466 last_startbit = rounddown(bit, BITS_PER_U64); in ebitmap_write()
468 last_bit = roundup(bit + 1, BITS_PER_U64); in ebitmap_write()
480 if (rounddown(bit, (int)BITS_PER_U64) > last_startbit) { in ebitmap_write()
485 last_startbit = rounddown(bit, BITS_PER_U64); in ebitmap_write()
503 last_startbit = rounddown(bit, BITS_PER_U64); in ebitmap_write()
/Linux-v4.19/kernel/bpf/
Dbtf.c159 #define BITS_PER_U64 (sizeof(u64) * BITS_PER_BYTE) macro
902 if (nr_copy_bits > BITS_PER_U64) { in btf_int_check_member()
946 if (nr_bits > BITS_PER_U64) { in btf_int_check_meta()
948 BITS_PER_U64); in btf_int_check_meta()
1018 left_shift_bits = BITS_PER_U64 - nr_copy_bits; in btf_int_bits_seq_show()
1020 right_shift_bits = BITS_PER_U64 - nr_bits; in btf_int_bits_seq_show()