Searched refs:be64_to_cpu (Results 1 – 21 of 21) sorted by relevance
74 #define be64_to_cpu(x) __bswap_64(x) macro81 #define be64_to_cpu(x) (x) macro111 t->time = be64_to_cpu(t->time); in trace_to_cpu()112 t->sector = be64_to_cpu(t->sector); in trace_to_cpu()
149 return be64_to_cpu(*val); in get_pdu_int()159 r->sector_from = be64_to_cpu(sector_from); in get_pdu_remap()
181 if (bdrv_pread(bs->file, be64_to_cpu(footer->data_offset), buf, HEADER_SIZE) in vpc_open()197 s->bat_offset = be64_to_cpu(dyndisk_header->table_offset); in vpc_open()537 footer->data_offset = be64_to_cpu(HEADER_SIZE); in vpc_create()544 footer->orig_size = be64_to_cpu(total_sectors * 512); in vpc_create()545 footer->size = be64_to_cpu(total_sectors * 512); in vpc_create()584 dyndisk_header->data_offset = be64_to_cpu(0xFFFFFFFF); in vpc_create()585 dyndisk_header->table_offset = be64_to_cpu(3 * 512); in vpc_create()
71 new_l1_table[i] = be64_to_cpu(new_l1_table[i]); in qcow2_grow_l1_table()297 uint64_t offset = be64_to_cpu(l2_table[0]) & ~mask; in count_contiguous_clusters()303 if (offset + (uint64_t) i * cluster_size != (be64_to_cpu(l2_table[i]) & ~mask)) in count_contiguous_clusters()496 *cluster_offset = be64_to_cpu(l2_table[l2_index]); in qcow2_get_cluster_offset()610 cluster_offset = be64_to_cpu(l2_table[l2_index]); in qcow2_alloc_compressed_cluster_offset()723 be64_to_cpu(old_cluster[i]) & ~QCOW_OFLAG_COPIED, 1); in qcow2_alloc_cluster_link_l2()769 cluster_offset = be64_to_cpu(l2_table[l2_index]); in qcow2_alloc_cluster_offset()794 if ((i >= nb_clusters) || be64_to_cpu(l2_table[l2_index + i])) { in qcow2_alloc_cluster_offset()804 cluster_offset = be64_to_cpu(l2_table[l2_index + i]); in qcow2_alloc_cluster_offset()
79 s->offsets[i]=be64_to_cpu(s->offsets[i]); in cloop_open()
86 sn->l1_table_offset = be64_to_cpu(h.l1_table_offset); in qcow2_read_snapshots()91 sn->vm_clock_nsec = be64_to_cpu(h.vm_clock_nsec); in qcow2_read_snapshots()
79 size = be64_to_cpu(cow_header.size); in cow_open()
64 return be64_to_cpu(buffer); in read_off()
789 offset = be64_to_cpu(l2_table[j]); in qcow2_update_snapshot_refcount()951 offset = be64_to_cpu(l2_table[i]); in check_refcounts_l2()
318 cluster_offset = be64_to_cpu(l2_table[l2_index]); in get_cluster_offset()
61 tp->time = be64_to_cpu(t->time); in convert_to_cpu()62 tp->sector = be64_to_cpu(t->sector); in convert_to_cpu()
26 return be64_to_cpu(*val); in get_nio_up()
27 rp->sector_from = be64_to_cpu(rp->sector_from); in cvt_pdu_remap()
53 int idx, n_unplugs = be64_to_cpu(*val); in unplug_hist_add()
748 iv.v64[1] = be64_to_cpu(make64((high32(est) << 16) | (low32(est) >> 16), in srtp_protect()751 iv.v64[1] = be64_to_cpu(est << 16); in srtp_protect()765 iv.v64[1] = be64_to_cpu(est); in srtp_protect()773 est = be64_to_cpu(make64((high32(est) << 16) | in srtp_protect()777 est = be64_to_cpu(est << 16); in srtp_protect()925 iv.v64[1] = be64_to_cpu(make64((high32(est) << 16) | (low32(est) >> 16), in srtp_unprotect()928 iv.v64[1] = be64_to_cpu(est << 16); in srtp_unprotect()940 iv.v64[1] = be64_to_cpu(est); in srtp_unprotect()948 est = be64_to_cpu(make64((high32(est) << 16) | in srtp_unprotect()952 est = be64_to_cpu(est << 16); in srtp_unprotect()
227 (unsigned long long)be64_to_cpu(y)); in test_bswap()234 y = be64_to_cpu(y); in test_bswap()
388 # define be64_to_cpu(x) (x) macro393 # define be64_to_cpu(x) bswap_64((x)) macro412 static inline uint64_t be64_to_cpu(uint64_t v) { in be64_to_cpu() function
45 #define cfi64_to_cpu(x) be64_to_cpu(x)
98 #define be64_to_cpu __be64_to_cpu macro
519 spec->time = be64_to_cpu(t.time); in next_io()520 spec->sector = be64_to_cpu(t.sector); in next_io()
48 @@ -424,4 +424,83 @@ static inline uint64_t be64_to_cpu(uint6