Home
last modified time | relevance | path

Searched refs:lcnbmp_na (Results 1 – 12 of 12) sorted by relevance

/third_party/ntfs-3g/libntfs-3g/
Dlcnalloc.c183 written = ntfs_attr_pwrite(vol->lcnbmp_na, pos, size, b); in bitmap_writeback()
255 if (!vol || count < 0 || start_lcn < -1 || !vol->lcnbmp_na || in ntfs_cluster_alloc()
320 br = ntfs_attr_pread(vol->lcnbmp_na, last_read_pos, in ntfs_cluster_alloc()
592 if (ntfs_bitmap_clear_run(vol->lcnbmp_na, rl->lcn, in ntfs_cluster_free_from_rl()
631 if (ntfs_bitmap_clear_run(vol->lcnbmp_na, lcn, in ntfs_cluster_free_basic()
673 if (!vol || !vol->lcnbmp_na || !na || start_vcn < 0 || in ntfs_cluster_free()
709 if (ntfs_bitmap_clear_run(vol->lcnbmp_na, rl->lcn + delta, in ntfs_cluster_free()
742 if (ntfs_bitmap_clear_run(vol->lcnbmp_na, rl->lcn, in ntfs_cluster_free()
Dvolume.c187 ntfs_attr_free(&v->lcnbmp_na); in __ntfs_volume_release()
1062 vol->lcnbmp_na = ntfs_attr_open(vol->lcnbmp_ni, AT_DATA, AT_UNNAMED, 0); in ntfs_device_mount()
1063 if (!vol->lcnbmp_na) { in ntfs_device_mount()
1068 if (vol->lcnbmp_na->data_size > vol->lcnbmp_na->allocated_size) { in ntfs_device_mount()
1070 (long long)vol->lcnbmp_na->data_size, in ntfs_device_mount()
1071 (long long)vol->lcnbmp_na->allocated_size); in ntfs_device_mount()
1885 vol->free_clusters = ntfs_attr_get_free_bits(vol->lcnbmp_na); in ntfs_volume_get_free_space()
Dioctl.c332 br = ntfs_attr_pread(vol->lcnbmp_na, start_buf/8, count, buf); in fstrim()
Dmft.c883 if (ntfs_bitmap_clear_bit(vol->lcnbmp_na, lcn)) in ntfs_mft_bitmap_extend_allocation_i()
/third_party/ntfs-3g/ntfsprogs/
Dntfsfix.c615 vol->lcnbmp_na = ntfs_attr_open(vol->lcnbmp_ni, AT_DATA, in rewrite_upcase()
617 if (!vol->lcnbmp_na) { in rewrite_upcase()
621 if (((vol->lcnbmp_na->data_size << 3) in rewrite_upcase()
623 || ((vol->lcnbmp_na->data_size << 3) in rewrite_upcase()
625 || (vol->lcnbmp_na->data_size in rewrite_upcase()
626 > vol->lcnbmp_na->allocated_size)) { in rewrite_upcase()
629 (long long)vol->lcnbmp_na->data_size, in rewrite_upcase()
630 (long long)vol->lcnbmp_na->allocated_size, in rewrite_upcase()
643 ntfs_attr_close(vol->lcnbmp_na); in rewrite_upcase()
644 vol->lcnbmp_na = (ntfs_attr*)NULL; in rewrite_upcase()
Dntfsmove.c409 clus = vol->lcnbmp_na->allocated_size / bufsize; in find_unused()
415 bytes_read = ntfs_attr_pread(vol->lcnbmp_na, i*bufsize, in find_unused()
519 res = ntfs_bitmap_set_run(vol->lcnbmp_na, rl->lcn, rl->length); in bitmap_alloc()
537 res = ntfs_bitmap_clear_run(vol->lcnbmp_na, rl->lcn, rl->length); in bitmap_free()
Dntfsinfo.c530 (unsigned long long)vol->lcnbmp_na->ni->mft_no); in ntfs_dump_volume()
534 (unsigned int)vol->lcnbmp_na->name_len); in ntfs_dump_volume()
535 printf("\tAttribute State: %lu\n", vol->lcnbmp_na->state); in ntfs_dump_volume()
537 (long long)vol->lcnbmp_na->allocated_size); in ntfs_dump_volume()
539 (long long)vol->lcnbmp_na->data_size); in ntfs_dump_volume()
541 (long long)vol->lcnbmp_na->initialized_size); in ntfs_dump_volume()
543 (long long)vol->lcnbmp_na->compressed_size); in ntfs_dump_volume()
545 (unsigned int)vol->lcnbmp_na->compression_block_size); in ntfs_dump_volume()
547 vol->lcnbmp_na->compression_block_size_bits); in ntfs_dump_volume()
549 vol->lcnbmp_na->compression_block_clusters); in ntfs_dump_volume()
Dntfscp.c665 if (ntfs_bitmap_set_run(alctx->vol->lcnbmp_na, in assign_runlist()
721 br = ntfs_attr_pread(vol->lcnbmp_na, in find_best_runs()
736 br = ntfs_attr_pread(vol->lcnbmp_na, in find_best_runs()
Dntfsresize.c945 count = ntfs_attr_pread(vol->lcnbmp_na, pos, NTFS_BUF_SIZE, bm); in compare_bitmaps()
2507 ntfs_attr *lcnbmp_na; in truncate_bitmap_data_attr() local
2533 lcnbmp_na = resize->vol->lcnbmp_na; in truncate_bitmap_data_attr()
2534 lcnbmp_na->data_size = bm_bsize; in truncate_bitmap_data_attr()
2535 lcnbmp_na->initialized_size = bm_bsize; in truncate_bitmap_data_attr()
2536 lcnbmp_na->allocated_size = nr_bm_clusters << vol->cluster_size_bits; in truncate_bitmap_data_attr()
2538 vol->lcnbmp_ni->allocated_size = lcnbmp_na->allocated_size; in truncate_bitmap_data_attr()
2561 free(lcnbmp_na->rl); in truncate_bitmap_data_attr()
2562 lcnbmp_na->rl = rl; in truncate_bitmap_data_attr()
Dntfsfallocate.c435 if (ntfs_bitmap_clear_run(vol->lcnbmp_na, in free_common()
Dntfsclone.c1865 count = ntfs_attr_pread(vol->lcnbmp_na, pos, NTFS_BUF_SIZE, bm);
/third_party/ntfs-3g/include/ntfs-3g/
Dvolume.h219 ntfs_attr *lcnbmp_na; /* ntfs_attr structure for the data attribute member