Lines Matching refs:idx_size
2317 static int insert_index_entry_in_res_dir_index(INDEX_ENTRY *idx, u32 idx_size,
2329 if (g_vol->mft_record_size > idx_size + le32_to_cpu(m->bytes_allocated))
2408 memmove((u8*)idx_entry + idx_size, (u8*)idx_entry,
2411 memcpy((u8*)idx_entry, (u8*)idx, idx_size);
2413 m->bytes_in_use = cpu_to_le32(le32_to_cpu(m->bytes_in_use) + idx_size);
2414 a->length = cpu_to_le32(le32_to_cpu(a->length) + idx_size);
2415 a->u.res.value_length = cpu_to_le32(le32_to_cpu(a->u.res.value_length) + idx_size);
2417 le32_to_cpu(idx_header->index_length) + idx_size);
2419 le32_to_cpu(idx_header->allocated_size) + idx_size);
2756 int i, fn_size, idx_size;
2825 idx_size = (fn_size + 7) & ~7;
2826 idx_entry_new = ntfs_calloc(idx_size + 0x10);
2830 idx_entry_new->length = cpu_to_le16(idx_size + 0x10);
2833 i = insert_index_entry_in_res_dir_index(idx_entry_new, idx_size + 0x10,
2967 int data_ofs, idx_size, err;
2978 idx_size = (data_ofs + sizeof(OBJ_ID_INDEX_DATA) + 7) & ~7;
2979 idx_entry_new = ntfs_calloc(idx_size);
2984 idx_entry_new->length = cpu_to_le16(idx_size);
2989 err = insert_index_entry_in_res_dir_index(idx_entry_new, idx_size, m,