Searched refs:free_bits (Results 1 – 4 of 4) sorted by relevance
68 u32 free_bits, end; in wnd_scan() local95 free_bits = find_next_bit_le(buf, min(end, wend), wpos); in wnd_scan()97 free_len = *prev_tail + free_bits - wpos; in wnd_scan()107 if (free_bits >= wend) { in wnd_scan()108 *prev_tail += free_bits - wpos; in wnd_scan()112 wpos = free_bits + 1; in wnd_scan()127 kvfree(wnd->free_bits); in wnd_close()128 wnd->free_bits = NULL; in wnd_close()524 if (!wnd->free_bits[iw]) { in wnd_rescan()534 if (wbits == wnd->free_bits[iw]) { in wnd_rescan()[all …]
152 u16 *free_bits; // Free bits in each window. member
621 unsigned int free_bits; in ocfs2_reserve_local_alloc_bits() local663 free_bits = le32_to_cpu(alloc->id1.bitmap1.i_total) - in ocfs2_reserve_local_alloc_bits()665 if (bits_wanted > free_bits) { in ocfs2_reserve_local_alloc_bits()685 free_bits = le32_to_cpu(alloc->id1.bitmap1.i_total) - in ocfs2_reserve_local_alloc_bits()687 if (bits_wanted > free_bits) in ocfs2_reserve_local_alloc_bits()
774 u32 free_bits; in ocfs2_reserve_suballoc_bits() local809 free_bits = le32_to_cpu(fe->id1.bitmap1.i_total) - in ocfs2_reserve_suballoc_bits()812 if (bits_wanted > free_bits) { in ocfs2_reserve_suballoc_bits()816 free_bits); in ocfs2_reserve_suballoc_bits()823 slot, bits_wanted, free_bits); in ocfs2_reserve_suballoc_bits()