Home
last modified time | relevance | path

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

/linux-6.1.9/security/selinux/ss/
Debitmap.c477 int bit, last_bit, last_startbit, rc; in ebitmap_write() local
483 last_startbit = -1; 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()
499 last_startbit = INT_MIN; 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()
507 map = (u64)1 << (bit - last_startbit); in ebitmap_write()
512 buf[0] = cpu_to_le32(last_startbit); in ebitmap_write()
524 last_startbit = rounddown(bit, BITS_PER_U64); in ebitmap_write()
[all …]