Lines Matching refs:free_bits
68 u32 free_bits, end; in wnd_scan() local
95 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()
564 wnd->free_bits[iw] = frb; in wnd_rescan()
662 wnd->free_bits = in wnd_init()
665 if (!wnd->free_bits) in wnd_init()
738 wnd->free_bits[iw] += op; in wnd_set_free()
787 wnd->free_bits[iw] -= op; in wnd_set_used()
865 if (wbits != wnd->free_bits[iw]) { in wnd_is_free_hlp()
957 if (wnd->free_bits[iw]) { in wnd_is_used()
1166 if (!wnd->free_bits[iw]) { in wnd_find()
1204 if (wnd->free_bits[iw] == wzend - wzbit) { in wnd_find()
1254 if (!wpos && fbits_valid && wnd->free_bits[iw] == wbits) { in wnd_find()
1360 memcpy(new_free, wnd->free_bits, wnd->nwnd * sizeof(short)); in wnd_extend()
1363 kvfree(wnd->free_bits); in wnd_extend()
1364 wnd->free_bits = new_free; in wnd_extend()
1395 wnd->total_zeroes += frb - wnd->free_bits[iw]; in wnd_extend()
1396 wnd->free_bits[iw] = frb; in wnd_extend()
1460 if (!wnd->free_bits[iw]) in ntfs_trim_fs()