Home
last modified time | relevance | path

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

/linux-6.1.9/net/sctp/
Dtsnmap.c231 unsigned long zero_bit; in sctp_tsnmap_update() local
235 zero_bit = find_first_zero_bit(map->tsn_map, len); in sctp_tsnmap_update()
236 if (!zero_bit) in sctp_tsnmap_update()
239 map->base_tsn += zero_bit; in sctp_tsnmap_update()
240 map->cumulative_tsn_ack_point += zero_bit; in sctp_tsnmap_update()
242 bitmap_shift_right(map->tsn_map, map->tsn_map, zero_bit, map->len); in sctp_tsnmap_update()
/linux-6.1.9/arch/x86/kernel/cpu/resctrl/
Dctrlmondata.c98 unsigned long first_bit, zero_bit, val; in cbm_validate() local
115 zero_bit = find_next_zero_bit(&val, cbm_len, first_bit); in cbm_validate()
119 (find_next_bit(&val, cbm_len, zero_bit) < cbm_len)) { in cbm_validate()
124 if ((zero_bit - first_bit) < r->cache.min_cbm_bits) { in cbm_validate()
Drdtgroup.c2719 unsigned long first_bit, zero_bit; in cbm_ensure_valid() local
2726 zero_bit = find_next_zero_bit(&val, cbm_len, first_bit); in cbm_ensure_valid()
2729 bitmap_clear(&val, zero_bit, cbm_len - zero_bit); in cbm_ensure_valid()
/linux-6.1.9/fs/ext4/
Dmballoc.c1625 int zero_bit = -1; in mb_test_and_clear_bits() local
1632 if (*addr != (__u32)(-1) && zero_bit == -1) in mb_test_and_clear_bits()
1633 zero_bit = cur + mb_find_next_zero_bit(addr, 32, 0); in mb_test_and_clear_bits()
1638 if (!mb_test_and_clear_bit(cur, bm) && zero_bit == -1) in mb_test_and_clear_bits()
1639 zero_bit = cur; in mb_test_and_clear_bits()
1643 return zero_bit; in mb_test_and_clear_bits()