Lines Matching refs:vbo
208 size_t data_size, valid_size, vbo, off = bit >> 3; in bmp_buf_get() local
263 vbo = off & ~(size_t)sbi->block_mask; in bmp_buf_get()
265 bbuf->new_valid = vbo + blocksize; in bmp_buf_get()
271 if (vbo >= valid_size) { in bmp_buf_get()
273 } else if (vbo + blocksize > valid_size) { in bmp_buf_get()
375 size_t vbo = from >> 3; in scan_nres_bitmap() local
376 sector_t blk = (vbo & sbi->cluster_mask) >> sb->s_blocksize_bits; in scan_nres_bitmap()
377 sector_t vblock = vbo >> sb->s_blocksize_bits; in scan_nres_bitmap()
390 vcn = vbo >> sbi->cluster_bits; in scan_nres_bitmap()
422 vbo = (u64)vblock << sb->s_blocksize_bits; in scan_nres_bitmap()
423 if (vbo >= valid_size) { in scan_nres_bitmap()
425 } else if (vbo + blocksize > valid_size) { in scan_nres_bitmap()
431 if (vbo + blocksize > data_size) in scan_nres_bitmap()
432 nbits = 8 * (data_size - vbo); in scan_nres_bitmap()
440 *ret += 8 * vbo; in scan_nres_bitmap()
940 u64 vbo = (u64)vbn << indx->vbn2vbo_bits; in indx_new() local
955 err = ntfs_get_bh(ni->mi.sbi, &indx->alloc_run, vbo, bytes, &r->nb); in indx_new()
1044 u64 vbo = (u64)vbn << indx->vbn2vbo_bits; in indx_read() local
1067 err = ntfs_read_bh(ni->mi.sbi, run, vbo, &ib->rhdr, bytes, &in->nb); in indx_read()
1081 run, vbo, vbo + bytes); in indx_read()
1087 err = ntfs_read_bh(ni->mi.sbi, run, vbo, &ib->rhdr, bytes, &in->nb); in indx_read()