Searched refs:free_bits (Results 1 – 4 of 4) sorted by relevance
73 u32 free_bits, end; in wnd_scan() local100 free_bits = find_next_bit(buf, min(end, wend), wpos); in wnd_scan()102 free_len = *prev_tail + free_bits - wpos; in wnd_scan()112 if (free_bits >= wend) { in wnd_scan()113 *prev_tail += free_bits - wpos; in wnd_scan()117 wpos = free_bits + 1; in wnd_scan()132 kfree(wnd->free_bits); in wnd_close()529 if (!wnd->free_bits[iw]) { in wnd_rescan()539 if (wbits == wnd->free_bits[iw]) { in wnd_rescan()571 wnd->free_bits[iw] = frb; in wnd_rescan()[all …]
145 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()