Lines Matching refs:le16_to_cpu
196 return (leVCN *)((u8 *)ie + le16_to_cpu(ie->length) - sizeof(leVCN)); in ntfs_ie_get_vcn_addr()
214 return (INDEX_ENTRY *)((char *)ie + le16_to_cpu(ie->length)); in ntfs_ie_get_next()
333 new_size = le32_to_cpu(ih->index_length) - le16_to_cpu(ie->length); in ntfs_ie_delete()
335 memmove(ie, (u8 *)ie + le16_to_cpu(ie->length), in ntfs_ie_delete()
349 int ie_size = le16_to_cpu(ie->length); in ntfs_ie_insert()
365 dup = ntfs_malloc(le16_to_cpu(ie->length)); in ntfs_ie_dup()
367 memcpy(dup, ie, le16_to_cpu(ie->length)); in ntfs_ie_dup()
375 int size = le16_to_cpu(ie->length); in ntfs_ie_dup_novcn()
416 ir = (INDEX_ROOT *)((char *)a + le16_to_cpu(a->value_offset)); in ntfs_ir_lookup()
532 && ((le16_to_cpu(ie->key_length) + offsetof(INDEX_ENTRY, key)) in ntfs_index_entry_inconsistent()
533 > le16_to_cpu(ie->length))) { in ntfs_index_entry_inconsistent()
543 > le16_to_cpu(ie->length)) { in ntfs_index_entry_inconsistent()
551 && ((le16_to_cpu(ie->data_offset) in ntfs_index_entry_inconsistent()
552 + le16_to_cpu(ie->data_length)) in ntfs_index_entry_inconsistent()
553 > le16_to_cpu(ie->length))) { in ntfs_index_entry_inconsistent()
594 (u8 *)ie + le16_to_cpu(ie->length) > index_end) { in ntfs_ie_lookup()
623 &ie->key, le16_to_cpu(ie->key_length)); in ntfs_ie_lookup()
894 icx->data_len = le16_to_cpu(ie->key_length); in ntfs_index_lookup()
920 *(le16 *)((char *)ib + le16_to_cpu(ib->usa_ofs)) = const_cpu_to_le16(1); in ntfs_ib_alloc()
926 le16_to_cpu(ib->usa_count) * 2 + 7) & ~7); in ntfs_ib_alloc()
1112 i = (char *)ie_last - ies_start + le16_to_cpu(ie_last->length); in ntfs_ir_to_ib()
1137 memmove(ies_start, (char *)ie_last, le16_to_cpu(ie_last->length)); in ntfs_ir_nill()
1186 memcpy(ie, ie_last, le16_to_cpu(ie_last->length)); in ntfs_ib_cut_tail()
1189 le16_to_cpu(ie->length) + le32_to_cpu(ib->index.entries_offset)); in ntfs_ib_cut_tail()
1270 + le16_to_cpu(ie->length)); in ntfs_ir_reparent()
1383 old->length = cpu_to_le16(le16_to_cpu(old->length) + sizeof(VCN)); in ntfs_ie_add_vcn()
1384 p = realloc(old, le16_to_cpu(old->length)); in ntfs_ie_add_vcn()
1448 le16_to_cpu(median->length); in ntfs_ir_insert_median()
1491 if (idx_size + le16_to_cpu(ie->length) + sizeof(VCN) > allocated_size) { in ntfs_ib_insert()
1570 if (!ntfs_index_lookup(&ie->key, le16_to_cpu(ie->key_length), icx)) { in ntfs_ie_add()
1586 new_size = le32_to_cpu(ih->index_length) + le16_to_cpu(ie->length); in ntfs_ie_add()
1716 ie->length = cpu_to_le16(le16_to_cpu(ie->length) - sizeof(VCN)); in ntfs_ir_leafify()
1859 delta = le16_to_cpu(ie->length) - le16_to_cpu(icx->entry->length); in ntfs_index_rm_node()
2014 name = (ntfschar *)((u8 *)attr + le16_to_cpu(attr->name_offset)); in ntfs_index_root_get()
2024 le16_to_cpu(ctx->attr->value_offset))); in ntfs_index_root_get()
2170 next = (INDEX_ENTRY*)((char*)ie + le16_to_cpu(ie->length)); in ntfs_index_next()