Home
last modified time | relevance | path

Searched refs:bytes_in_use (Results 1 – 19 of 19) sorted by relevance

/third_party/ntfs-3g/ntfsprogs/
Dntfsck.c582 u32 bytes_in_use, bytes_allocated, i; in check_file_record() local
596 bytes_in_use = le32_to_cpu(mft_rec->bytes_in_use); in check_file_record()
600 assert_u32_less(attrs_offset, bytes_in_use, in check_file_record()
602 assert_u32_lesseq(bytes_in_use, bytes_allocated, in check_file_record()
Dntfsmftalloc.c246 u = le32_to_cpu(m->bytes_in_use); in dump_mft_record()
258 while ((char*)a < (char*)m + le32_to_cpu(m->bytes_in_use)) { in dump_mft_record()
Dntfsresize.c1650 le32_to_cpu(ctx->mrec->bytes_in_use)); in replace_attribute_runlist()
1656 le32_to_cpu(ctx->mrec->bytes_in_use)); in replace_attribute_runlist()
1660 remains_size = le32_to_cpu(ctx->mrec->bytes_in_use); in replace_attribute_runlist()
1666 if (le32_to_cpu(ctx->mrec->bytes_in_use) + l > in replace_attribute_runlist()
1675 ctx->mrec->bytes_in_use = cpu_to_le32(l + in replace_attribute_runlist()
1676 le32_to_cpu(ctx->mrec->bytes_in_use)); in replace_attribute_runlist()
3135 && (offset < le32_to_cpu(mrec->bytes_in_use))) { in find_attr()
3946 le32_to_cpu(mrec->bytes_in_use)); in update_runlist()
3952 le32_to_cpu(mrec->bytes_in_use)); in update_runlist()
3956 remains_size = le32_to_cpu(mrec->bytes_in_use); in update_runlist()
[all …]
Dntfsmove.c326 file_size = le32_to_cpu(m->bytes_in_use); in resize_nonres_attr()
344 m->bytes_in_use = cpu_to_le32(le32_to_cpu(m->bytes_in_use) + (new_size - old_size)); in resize_nonres_attr()
Dplaylog.c374 || (le32_to_cpu(record->bytes_in_use) != (k + 8)) in sanity_mft()
378 (long)le32_to_cpu(record->bytes_in_use), in sanity_mft()
747 newused = le32_to_cpu(entry->bytes_in_use) + resize; in resize_attribute()
748 entry->bytes_in_use = cpu_to_le32(newused); in resize_attribute()
1223 newused = le32_to_cpu(entry->bytes_in_use) in insert_resident()
1225 entry->bytes_in_use = cpu_to_le32(newused); in insert_resident()
1322 newused = le32_to_cpu(entry->bytes_in_use) - length; in remove_resident()
1323 entry->bytes_in_use = cpu_to_le32(newused); in remove_resident()
1545 used = le32_to_cpu(record->bytes_in_use); in delete_names()
1562 record->bytes_in_use = cpu_to_le32(used); in delete_names()
[all …]
Dntfstruncate.c657 u = le32_to_cpu(m->bytes_in_use); in dump_mft_record()
669 while ((char*)a < (char*)m + le32_to_cpu(m->bytes_in_use)) { in dump_mft_record()
Dntfswipe.c990 size = le32_to_cpu(rec->bytes_in_use) - 4; in wipe_mft()
1012 const u32 bytes_in_use = attrs_offset + 8; in wipe_mft() local
1037 rec->bytes_in_use = cpu_to_le32(bytes_in_use); in wipe_mft()
Dntfsfix.c270 (char*)m + le32_to_cpu(m->bytes_in_use) || in OLD_ntfs_volume_set_flags()
787 space = le32_to_cpu(mrec->bytes_in_use) - offset; in find_unnamed_attr()
798 if ((offset >= le32_to_cpu(mrec->bytes_in_use)) in find_unnamed_attr()
Dmkntfs.c1023 if (pos - (char*)m > (int)le32_to_cpu(m->bytes_in_use) - 8) in make_room_for_attribute()
1026 biu = le32_to_cpu(m->bytes_in_use); in make_room_for_attribute()
1033 m->bytes_in_use = cpu_to_le32(biu + size); in make_room_for_attribute()
2124 if (le32_to_cpu(m->bytes_in_use) + 24 + sd_len > in add_attr_sd()
2162 if (le32_to_cpu(m->bytes_in_use) + 24 + val_len > in add_attr_data()
2375 if (le32_to_cpu(m->bytes_in_use) + 24 + bitmap_len > in add_attr_bitmap()
2807 le32_to_cpu(m->bytes_in_use) - in insert_index_entry_in_res_dir_index()
2811 m->bytes_in_use = cpu_to_le32(le32_to_cpu(m->bytes_in_use) + idx_size); in insert_index_entry_in_res_dir_index()
Dntfsclone.c1336 unused = le32_to_cpu(m->bytes_allocated) - le32_to_cpu(m->bytes_in_use);
1338 le32_to_cpu(m->bytes_in_use), unused);
1350 unused = le32_to_cpu(m->bytes_in_use) - sizeof(MFT_RECORD);
Dntfsinfo.c2321 (unsigned)le32_to_cpu(mrec->bytes_in_use), in ntfs_dump_inode_general_info()
2322 (unsigned)le32_to_cpu(mrec->bytes_in_use)); in ntfs_dump_inode_general_info()
Dntfsundelete.c1093 if ((off_name >= (int)le32_to_cpu(mft->bytes_in_use)) in rescue_name()
/third_party/ntfs-3g/include/ntfs-3g/
Dmft.h117 return le32_to_cpu(m->bytes_in_use); in ntfs_mft_record_get_data_size()
Dlayout.h375 /* 24*/ le32 bytes_in_use; /* Number of bytes used in this mft record. member
450 /* 24*/ le32 bytes_in_use; /* Number of bytes used in this mft record. member
/third_party/ntfs-3g/libntfs-3g/
Dattrib.c2868 space = le32_to_cpu(ctx->mrec->bytes_in_use) - offs;
3324 space = le32_to_cpu(ctx->mrec->bytes_in_use) - offs;
4057 if (pos - (u8*)m > (int)le32_to_cpu(m->bytes_in_use) - 8) {
4065 biu = le32_to_cpu(m->bytes_in_use);
4076 m->bytes_in_use = cpu_to_le32(biu + size);
4423 if (le32_to_cpu(ctx->mrec->bytes_in_use) -
4593 le32_to_cpu(ni->mrec->bytes_in_use) >= attr_rec_size) {
4607 le32_to_cpu(attr_ni->mrec->bytes_in_use) >=
4695 if (le32_to_cpu(attr_ni->mrec->bytes_in_use) -
4810 old_size = le32_to_cpu(m->bytes_in_use);
[all …]
Dmft.c259 && (le32_to_cpu(m->bytes_in_use) > vol->mft_record_size)) { in ntfs_mft_record_check()
262 (int)le32_to_cpu(m->bytes_in_use), in ntfs_mft_record_check()
281 space = le32_to_cpu(m->bytes_in_use) - offset; in ntfs_mft_record_check()
455 mrec->bytes_in_use = cpu_to_le32((le16_to_cpu(mrec->attrs_offset) + 8 + in ntfs_mft_record_layout()
Dinode.c1200 le32_to_cpu(ni->mrec->bytes_in_use) < in ntfs_inode_add_attrlist()
1311 le32_to_cpu(ni->mrec->bytes_in_use)); in ntfs_inode_free_space()
Dvolume.c1169 le32_to_cpu(ctx->mrec->bytes_in_use) || in ntfs_device_mount()
1772 le32_to_cpu(ctx->mrec->bytes_in_use) || in ntfs_volume_write_flags()
/third_party/e2fsprogs/lib/blkid/
Dprobe.h478 __u32 bytes_in_use; member