scan_for_used
err = scan_nres_bitmap(ni, b, indx, bit, &scan_for_used, &used);
err = scan_nres_bitmap(ni, b, indx, from, &scan_for_used, bit);