Home
last modified time | relevance | path

Searched refs:idx_size (Results 1 – 2 of 2) sorted by relevance

/haiku/src/add-ons/kernel/file_systems/ntfs/utils/
H A Dmkntfs.c2402 static int insert_index_entry_in_res_dir_index(INDEX_ENTRY *idx, u32 idx_size, in insert_index_entry_in_res_dir_index() argument
2414 if (g_vol->mft_record_size > idx_size + le32_to_cpu(m->bytes_allocated)) in insert_index_entry_in_res_dir_index()
2505 memmove((u8*)idx_entry + idx_size, (u8*)idx_entry, in insert_index_entry_in_res_dir_index()
2508 memcpy((u8*)idx_entry, (u8*)idx, idx_size); in insert_index_entry_in_res_dir_index()
2510 m->bytes_in_use = cpu_to_le32(le32_to_cpu(m->bytes_in_use) + idx_size); in insert_index_entry_in_res_dir_index()
2511 a->length = cpu_to_le32(le32_to_cpu(a->length) + idx_size); in insert_index_entry_in_res_dir_index()
2512 a->value_length = cpu_to_le32(le32_to_cpu(a->value_length) + idx_size); in insert_index_entry_in_res_dir_index()
2514 le32_to_cpu(idx_header->index_length) + idx_size); in insert_index_entry_in_res_dir_index()
2516 le32_to_cpu(idx_header->allocated_size) + idx_size); in insert_index_entry_in_res_dir_index()
2863 int i, fn_size, idx_size; in create_hardlink_res() local
[all …]
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dindex.c1473 u32 idx_size, allocated_size; in ntfs_ib_insert() local
1488 idx_size = le32_to_cpu(ib->index.index_length); in ntfs_ib_insert()
1491 if (idx_size + le16_to_cpu(ie->length) + sizeof(VCN) > allocated_size) { in ntfs_ib_insert()