Home
last modified time | relevance | path

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

/u-boot/cmd/
A Dzfs.c46 struct zfs_file zfile; in do_zfs_load() local
95 memset(&zfile, 0, sizeof(zfile)); in do_zfs_load()
96 zfile.device = &vdev; in do_zfs_load()
97 if (zfs_open(&zfile, filename)) { in do_zfs_load()
102 if ((count < zfile.size) && (count != 0)) in do_zfs_load()
103 zfile.size = (uint64_t)count; in do_zfs_load()
105 if (zfs_read(&zfile, (char *)addr, zfile.size) != zfile.size) { in do_zfs_load()
108 zfs_close(&zfile); in do_zfs_load()
112 zfs_close(&zfile); in do_zfs_load()
117 printf("%llu bytes read\n", zfile.size); in do_zfs_load()
[all …]

Completed in 3 milliseconds