Home
last modified time | relevance | path

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

/linux/net/sctp/
A 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/arch/x86/kernel/cpu/resctrl/
A Dctrlmondata.c91 unsigned long first_bit, zero_bit, val; in cbm_validate() local
108 zero_bit = find_next_zero_bit(&val, cbm_len, first_bit); in cbm_validate()
112 (find_next_bit(&val, cbm_len, zero_bit) < cbm_len)) { in cbm_validate()
117 if ((zero_bit - first_bit) < r->cache.min_cbm_bits) { in cbm_validate()
A Drdtgroup.c2676 unsigned long first_bit, zero_bit; in cbm_ensure_valid() local
2683 zero_bit = find_next_zero_bit(&val, cbm_len, first_bit); in cbm_ensure_valid()
2686 bitmap_clear(&val, zero_bit, cbm_len - zero_bit); in cbm_ensure_valid()
/linux/fs/ext4/
A Dmballoc.c1671 int zero_bit = -1; in mb_test_and_clear_bits() local
1678 if (*addr != (__u32)(-1) && zero_bit == -1) in mb_test_and_clear_bits()
1679 zero_bit = cur + mb_find_next_zero_bit(addr, 32, 0); in mb_test_and_clear_bits()
1684 if (!mb_test_and_clear_bit(cur, bm) && zero_bit == -1) in mb_test_and_clear_bits()
1685 zero_bit = cur; in mb_test_and_clear_bits()
1689 return zero_bit; in mb_test_and_clear_bits()

Completed in 23 milliseconds