Lines Matching refs:zfs_to_cpu64
310 if (zfs_to_cpu64(ub1->ub_magic, LITTLE_ENDIAN) == UBERBLOCK_MAGIC) in vdev_uberblock_compare()
314 if (zfs_to_cpu64(ub2->ub_magic, LITTLE_ENDIAN) == UBERBLOCK_MAGIC) in vdev_uberblock_compare()
319 if (zfs_to_cpu64(ub1->ub_txg, ub1_endian) in vdev_uberblock_compare()
320 < zfs_to_cpu64(ub2->ub_txg, ub2_endian)) in vdev_uberblock_compare()
322 if (zfs_to_cpu64(ub1->ub_txg, ub1_endian) in vdev_uberblock_compare()
323 > zfs_to_cpu64(ub2->ub_txg, ub2_endian)) in vdev_uberblock_compare()
326 if (zfs_to_cpu64(ub1->ub_timestamp, ub1_endian) in vdev_uberblock_compare()
327 < zfs_to_cpu64(ub2->ub_timestamp, ub2_endian)) in vdev_uberblock_compare()
329 if (zfs_to_cpu64(ub1->ub_timestamp, ub1_endian) in vdev_uberblock_compare()
330 > zfs_to_cpu64(ub2->ub_timestamp, ub2_endian)) in vdev_uberblock_compare()
357 if (zfs_to_cpu64(uber->ub_magic, LITTLE_ENDIAN) == UBERBLOCK_MAGIC in uberblock_verify()
358 && zfs_to_cpu64(uber->ub_version, LITTLE_ENDIAN) > 0 in uberblock_verify()
359 && zfs_to_cpu64(uber->ub_version, LITTLE_ENDIAN) <= SPA_VERSION) in uberblock_verify()
362 if (zfs_to_cpu64(uber->ub_magic, BIG_ENDIAN) == UBERBLOCK_MAGIC in uberblock_verify()
363 && zfs_to_cpu64(uber->ub_version, BIG_ENDIAN) > 0 in uberblock_verify()
364 && zfs_to_cpu64(uber->ub_version, BIG_ENDIAN) <= SPA_VERSION) in uberblock_verify()
434 return (((zfs_to_cpu64((bp)->blk_prop, endian) >> 16) & 0xffff) + 1) in get_psize()
441 return zfs_to_cpu64((dva)->dva_word[1], in dva_get_offset()
488 endian = (zfs_to_cpu64(bp->blk_prop, endian) >> 63) & 1; in zio_read_gang()
524 if ((zfs_to_cpu64(bp->blk_dva[i].dva_word[1], endian)>>63) & 1) { in zio_read_data()
536 uint32_t checkalgo = (zfs_to_cpu64((bp)->blk_prop, endian) >> 40) & 0xff; in zio_read_data()
569 comp = (zfs_to_cpu64((bp)->blk_prop, endian)>>32) & 0xff; in zio_read()
571 (((zfs_to_cpu64((bp)->blk_prop, endian) & 0xffff) + 1) in zio_read()
662 endian = (zfs_to_cpu64(bp->blk_prop, endian) >> 63) & 1; in dmu_read()
667 endian = (zfs_to_cpu64(bp->blk_prop, endian) >> 63) & 1; in dmu_read()
671 endian = (zfs_to_cpu64(bp->blk_prop, endian) >> 63) & 1; in dmu_read()
699 *value = zfs_to_cpu64(mzap_ent[i].mze_value, endian); in mzap_lookup()
721 zfs_to_cpu64(mzap_ent[i].mze_value, endian), in mzap_iterate()
825 if (zfs_to_cpu64(l->l_hdr.lh_block_type, endian) != ZBT_LEAF) { in zap_leaf_lookup()
850 if (zfs_to_cpu64(le->le_hash, endian) != h) in zap_leaf_lookup()
982 if (zfs_to_cpu64(l->l_hdr.lh_block_type, endian) != ZBT_LEAF) { in fzap_iterate()
1048 block_type = zfs_to_cpu64(*((uint64_t *) zapbuf), endian); in zap_lookup()
1084 block_type = zfs_to_cpu64(*((uint64_t *) zapbuf), endian); in zap_iterate()
1343 …childobj = zfs_to_cpu64((((dsl_dir_phys_t *) DN_BONUS(&mdn->dn)))->dd_child_dir_zapobj, mdn->endia… in get_filesystem_dnode()
1380 mdn->endian = (zfs_to_cpu64(bp->blk_prop, mdn->endian)>>63) & 1; in make_mdn()
1440 headobj = zfs_to_cpu64(((dsl_dir_phys_t *) DN_BONUS(&dn->dn))->dd_head_dataset_obj, dn->endian); in dnode_get_fullpath()
1452 …snapobj = zfs_to_cpu64(((dsl_dataset_phys_t *) DN_BONUS(&mdn->dn))->ds_snapnames_zapobj, mdn->endi… in dnode_get_fullpath()
1948 zfs_to_cpu64(ubbest->ub_magic, LITTLE_ENDIAN) == UBERBLOCK_MAGIC in zfs_mount()
1974 (zfs_to_cpu64(ubbest->ub_rootbp.blk_prop, ub_endian) >> 63) & 1; in zfs_mount()
2062 …file->size = zfs_to_cpu64(((znode_phys_t *) DN_BONUS(&data->dnode.dn))->zp_size, data->dnode.endia… in zfs_open()
2178 headobj = zfs_to_cpu64(((dsl_dir_phys_t *) DN_BONUS(&mdn.dn))->dd_head_dataset_obj, mdn.endian); in fill_fs_info()
2207 info->mtime = zfs_to_cpu64(((znode_phys_t *) DN_BONUS(&dn.dn))->zp_mtime[0], dn.endian); in fill_fs_info()
2221 info.mtime = zfs_to_cpu64(((znode_phys_t *) DN_BONUS(&dn.dn))->zp_mtime[0], dn.endian); in iterate_zap()
2302 …childobj = zfs_to_cpu64(((dsl_dir_phys_t *) DN_BONUS(&data->dnode.dn))->dd_child_dir_zapobj, data-… in zfs_ls()
2303 …headobj = zfs_to_cpu64(((dsl_dir_phys_t *) DN_BONUS(&data->dnode.dn))->dd_head_dataset_obj, data->… in zfs_ls()
2320 snapobj = zfs_to_cpu64(((dsl_dataset_phys_t *) DN_BONUS(&dn.dn))->ds_snapnames_zapobj, dn.endian); in zfs_ls()