Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/arch/x86/kernel/cpu/resctrl/
Dctrlmondata.c98 unsigned long first_bit, zero_bit, val; in cbm_validate() local
114 zero_bit = find_next_zero_bit(&val, cbm_len, first_bit); in cbm_validate()
118 (find_next_bit(&val, cbm_len, zero_bit) < cbm_len)) { in cbm_validate()
123 if ((zero_bit - first_bit) < r->cache.min_cbm_bits) { in cbm_validate()
Drdtgroup.c3001 unsigned long first_bit, zero_bit; in cbm_ensure_valid() local
3008 zero_bit = find_next_zero_bit(&val, cbm_len, first_bit); in cbm_ensure_valid()
3011 bitmap_clear(&val, zero_bit, cbm_len - zero_bit); in cbm_ensure_valid()
/linux-6.6.21/fs/ext4/
Dmballoc.c1781 int zero_bit = -1; in mb_test_and_clear_bits() local
1788 if (*addr != (__u32)(-1) && zero_bit == -1) in mb_test_and_clear_bits()
1789 zero_bit = cur + mb_find_next_zero_bit(addr, 32, 0); in mb_test_and_clear_bits()
1794 if (!mb_test_and_clear_bit(cur, bm) && zero_bit == -1) in mb_test_and_clear_bits()
1795 zero_bit = cur; in mb_test_and_clear_bits()
1799 return zero_bit; in mb_test_and_clear_bits()