Lines Matching refs:nbits
302 wnd->nbits : in wnd_add_free_ext()
571 if (wbit + wbits > wnd->nbits) in wnd_rescan()
572 wbits = wnd->nbits - wbit; in wnd_rescan()
622 wnd_add_free_ext(wnd, wnd->nbits - prev_tail, prev_tail, true); in wnd_rescan()
644 int wnd_init(struct wnd_bitmap *wnd, struct super_block *sb, size_t nbits) in wnd_init() argument
653 wnd->nbits = nbits; in wnd_init()
654 wnd->total_zeroes = nbits; in wnd_init()
657 wnd->nwnd = bytes_to_block(sb, ntfs3_bitmap_size(nbits)); in wnd_init()
658 wnd->bits_last = nbits & (wbits - 1); in wnd_init()
991 max_alloc = wnd->nbits; in wnd_find()
1126 if (max_alloc == wnd->nbits) { in wnd_find()
1151 if (max_alloc == wnd->nbits) { in wnd_find()
1315 size_t old_bits = wnd->nbits; in wnd_extend()
1379 wnd->nbits = new_bits; in wnd_extend()
1419 lcn_to = wnd->nbits; in ntfs_trim_fs()