DELTA 310850 5623 37 SVN¡y¤pƒ@‹f’• ‹b€ƒ,C¡6ƒ>#include f_devdata; int block_size; unsigned int n; switch (cmd) { case DIOCGSECTORSIZE: block_size = OF_block_size(dev->d_handle); *(u_int *)data = block_size; break; case DIOCGMEDIASIZE: block_size = OF_block_size(dev->d_handle); n = OF_blocks(dev->d_handle); *(uint64_t *)data = (uint64_t)(n * block_size); break; default: return (ENOTTY); } return (0ENDREP DELTA 279799 362 101 SVNõUút"‚\!âMµPã9€PQ­q€cPã9€QQ­q¡“ âJ‚Z Blocks. */ unsigned int OF_blocks(ihandle_t instanceinstance; cell_t result; cell_t blocks; } args = { (cell_t)"#blocks", 2(unsigned int)-1); return (args.blocks); } /* Block size. */ int OF_block_size(ihandle_t instanceinstance; cell_t result; cell_t size; } args = { (cell_t)"block-size", 2512); return (args.size); } /* ENDREP DELTA 279799 489 65 SVN¥k¦- > £½‚j£=unsigned int OF_blocks(ihandle_t); int OF_block_size(ihandleENDREP DELTA 314068 657 31 SVN¼M½'&ƒt%‹}€#B‹|€E„^ŽTƒv”_€‚ £"™+ƒr /* Set by sparc64_zfs_probe to provide partition size. */ static size_t part_size; uint64_t ldi_get_size(void *priv __unused) { return ((uint64_t)part_size); } , *guidp; int fd, len, part; phandle_t aliases, options; guid = 0part_size = vtoc.map[part].nblks; (void)sprintf(devname, "%s:%c", alias, part + 'a'); /* Get the GUID of the ZFS pool on the boot device. */ if (strcmp(devname, bootpath) == 0) guidp = &guid; else guidp = NULL; if (zfs_probe_dev(devname, guidpENDREP id: g-67204.0.r316682/1618 type: file pred: g-67204.0.r310850/32480 count: 19 text: 316682 0 478 4720 9703c67de45d30892b718a7d69eb56d7 79663e2d3111c77d59db0c5fa3eceb1f19a45ea7 316681-6soa/_6 props: 2 314168 38 0 b6b34f029ed66be42751a530d6e4b830 cpath: /head/sys/boot/ofw/libofw/ofw_disk.c copyroot: 0 / id: o-67204.0.r316682/1922 type: file pred: o-67204.0.r279799/5876 count: 19 text: 316682 506 394 15732 cee907da963fe8b0e6b6d6bab44c0a24 a8580e2f3da2eb0ca936a93f86e241319dcd4693 316681-6soa/_7 props: 2 314168 38 0 b6b34f029ed66be42751a530d6e4b830 cpath: /head/sys/boot/ofw/libofw/openfirm.c copyroot: 0 / id: q-67204.0.r316682/2228 type: file pred: q-67204.0.r279799/6181 count: 13 text: 316682 928 84 4909 84a8703948dfa04f0bf9db9ccb443bd2 5b64cb119381a322b8bc5786e2ae020d45bb76b9 316681-6soa/_8 props: 2 314168 38 0 b6b34f029ed66be42751a530d6e4b830 cpath: /head/sys/boot/ofw/libofw/openfirm.h copyroot: 0 / PLAIN K 8 Makefile V 28 file 7-67204.0.r296706/14648 K 12 devicename.c V 26 file 6x-38465.0.r240655/50 K 13 elf_freebsd.c V 27 file 5-84619.0.r279799/5570 K 8 libofw.h V 27 file a-67204.0.r235364/2513 K 13 ofw_console.c V 27 file 70-38465.0.r183198/298 K 10 ofw_copy.c V 28 file 10-38712.0.r215438/2516 K 10 ofw_disk.c V 27 file g-67204.0.r316682/1618 K 12 ofw_memory.c V 28 file 8-84619.0.r314068/16392 K 12 ofw_module.c V 29 file 72-38465.0.r124140/20693 K 9 ofw_net.c V 28 file i-67204.0.r229403/70788 K 12 ofw_reboot.c V 28 file k-67204.0.r139738/11263 K 10 ofw_time.c V 27 file m-67204.0.r306159/5759 K 10 openfirm.c V 27 file o-67204.0.r316682/1922 K 10 openfirm.h V 27 file q-67204.0.r316682/2228 K 19 ppc64_elf_freebsd.c V 27 file g-209920.0.r291598/511 END ENDREP id: 6v-38465.0.r316682/3305 type: dir pred: 6v-38465.0.r314068/17472 count: 99 text: 316682 2532 760 0 14b946379f556c2746dc094f2085431f cpath: /head/sys/boot/ofw/libofw copyroot: 0 / PLAIN K 8 Makefile V 27 file 4-67204.0.r67204/16120 K 12 Makefile.inc V 30 file 1n-180012.0.r227739/73059 K 6 common V 27 dir 6-68548.0.r310225/11017 K 6 libofw V 27 dir 6v-38465.0.r316682/3305 END ENDREP id: 6u-38465.0.r316682/3694 type: dir pred: 6u-38465.0.r314068/17864 count: 107 text: 316682 3489 192 0 cf3719c80a9f74eb65ca6b3a6033f064 cpath: /head/sys/boot/ofw copyroot: 0 / id: a-84996.0.r316682/3872 type: file pred: a-84996.0.r314068/18044 count: 67 text: 316682 1039 552 24231 cfdbf6c988e64d5a7e3217a7f325ad85 d38e85343cab8143a0dfe866e338f36baee5a0a7 316681-6soa/_b props: 2 314168 38 0 b6b34f029ed66be42751a530d6e4b830 cpath: /head/sys/boot/sparc64/loader/main.c copyroot: 0 / PLAIN K 8 Makefile V 26 file 7-84974.0.r316424/106 K 12 help.sparc64 V 29 file 7-93677.0.r180208/159345 K 8 locore.S V 27 file 5-84996.0.r181398/6103 K 6 main.c V 27 file a-84996.0.r316682/3872 K 10 metadata.c V 28 file 7-85720.0.r279799/10244 K 7 version V 25 file 7-99541.0.r99541/607 END ENDREP id: 5-84974.0.r316682/4478 type: dir pred: 5-84974.0.r316424/709 count: 114 text: 316682 4180 285 0 eca4bcf63981546219ea2266c1393064 cpath: /head/sys/boot/sparc64/loader copyroot: 0 / PLAIN K 8 Makefile V 27 file 4-93302.0.r234898/5913 K 12 Makefile.inc V 29 file 4-125622.0.r180012/40721 K 5 boot1 V 26 dir 4-90699.0.r316109/5389 K 6 loader V 26 dir 5-84974.0.r316682/4478 K 7 zfsboot V 27 dir f-234898.0.r235207/1128 K 9 zfsloader V 27 dir j-234898.0.r234898/9104 END ENDREP id: 3-84974.0.r316682/4956 type: dir pred: 3-84974.0.r316424/1186 count: 153 text: 316682 4663 280 0 55fd6b4537e8ea3a3647d2fffbb82ddc cpath: /head/sys/boot/sparc64 copyroot: 0 / PLAIN K 8 Makefile V 32 file 7-38465.0-38466.r284590/311 K 14 Makefile.amd64 V 27 file 5-211679.0.r298418/214 K 12 Makefile.arm V 25 file 7-211679.0.r293046/0 K 14 Makefile.arm64 V 29 file 7-281526.0.r281526/12248 K 13 Makefile.ficl V 36 file 1-307949.0-307950.r308130/43567 K 13 Makefile.i386 V 27 file 9-211679.0.r298418/514 K 12 Makefile.inc V 29 file 11-180012.0.r309412/1691 K 13 Makefile.mips V 28 file 3-262224.0.r296183/5101 K 16 Makefile.powerpc V 27 file f-211679.0.r261614/397 K 16 Makefile.sparc64 V 28 file h-211679.0.r235364/1603 K 6 README V 25 file 3-44842.0.r139737/49 K 3 arm V 27 dir 3-157697.0.r316374/1398 K 5 arm64 V 27 dir a-281526.0.r293724/8699 K 6 common V 27 dir g-38466.0.r316578/14285 K 3 efi V 26 dir 5-77943.0.r316628/1640 K 3 fdt V 27 dir b-208538.0.r316376/7213 K 4 ficl V 27 dir 5-40843.0.r314068/15306 K 6 ficl32 V 34 dir 6-244531.0-264087.r307942/8115 K 5 forth V 26 dir 3-44603.0.r315850/2428 K 4 geli V 28 dir b-296963.0.r316343/11423 K 4 i386 V 27 dir 6l-38465.0.r316612/3205 K 5 kshim V 28 dir 4-269541.0.r314068/16211 K 10 libstand32 V 28 dir h-261567.0.r296706/14461 K 4 mips V 28 dir 3-262197.0.r315408/12074 K 3 ofw V 27 dir 6u-38465.0.r316682/3694 K 7 powerpc V 26 dir a-51053.0.r314505/7279 K 7 sparc64 V 26 dir 3-84974.0.r316682/4956 K 5 uboot V 27 dir 3-176348.0.r316377/1148 K 3 usb V 28 dir 3-246145.0.r315408/14904 K 8 userboot V 27 dir n-223695.0.r316654/2573 K 3 zfs V 29 dir 3l-185029.0.r316585/10203 END ENDREP id: 6j-38465.0.r316682/6601 type: dir pred: 6j-38465.0.r316654/4221 count: 3661 text: 316682 5135 1453 0 cf8d343c112c531a4edff64099ea43ad props: 80416 75 4 0 2d2977d1c96f487abe4a1e202dd03b4e cpath: /head/sys/boot copyroot: 0 / PLAIN K 8 Makefile V 28 file 2-1598.0.r312910/137703 K 5 amd64 V 23 dir o-5.0.r316648/14235 K 3 arm V 27 dir 2-70651.0.r316678/11078 K 5 arm64 V 27 dir 2-280364.0.r316679/3372 K 4 boot V 27 dir 6j-38465.0.r316682/6601 K 3 bsm V 28 dir 2-141144.0.r316006/51549 K 3 cam V 26 dir 2-39212.0.r316653/4060 K 4 cddl V 29 dir br-168404.0.r316648/37498 K 6 compat V 25 dir k-9313.0.r316665/2513 K 4 conf V 22 dir y-5.0.r316623/3604 K 7 contrib V 26 dir 2-23283.0.r316665/7908 K 6 crypto V 27 dir 7-55009.0.r316343/23002 K 3 ddb V 24 dir 10-5.0.r316001/19640 K 3 dev V 24 dir 12-5.0.r316675/19662 K 2 fs V 25 dir 2-1541.0.r316669/3255 K 3 gdb V 29 dir h-131899.0.r283291/118078 K 4 geom V 26 dir 2-13041.0.r316681/3546 K 3 gnu V 27 dir 2-1421.0.r314854/489950 K 4 i386 V 24 dir 1c-5.0.r316648/61116 K 3 isa V 25 dir 1w-5.0.r314436/932299 K 4 kern V 24 dir 20-5.0.r316648/73340 K 7 kgssapi V 28 dir 13-184588.0.r299008/2747 K 7 libkern V 26 dir 9-1542.0.r315983/10064 K 4 mips V 28 dir 2-178171.0.r316648/78896 K 7 modules V 26 dir i-2834.0.r316615/57561 K 3 net V 26 dir x-1542.0.r316634/11642 K 8 net80211 V 27 dir 2-116742.0.r316547/4995 K 8 netgraph V 28 dir 69-52419.0.r312443/24871 K 7 netinet V 27 dir 4f-1541.0.r316676/11454 K 8 netinet6 V 26 dir q-52904.0.r316328/6604 K 8 netipsec V 27 dir 2-105197.0.r316490/2104 K 7 netnatm V 27 dir 7-25604.0.r298310/52621 K 7 netpfil V 29 dir 11-240494.0.r316461/17405 K 6 netsmb V 27 dir u-75374.0.r298995/93511 K 3 nfs V 29 dir 4l-1541.0.r314436/1020931 K 9 nfsclient V 29 dir 4r-1541.0.r314436/1023311 K 9 nfsserver V 29 dir 5l-1541.0.r314436/1025003 K 3 nlm V 29 dir 1i-177633.0.r302216/13738 K 4 ofed V 29 dir 1hj-219820.0.r315714/6193 K 10 opencrypto V 27 dir 2-104476.0.r316510/8967 K 7 powerpc V 24 dir 22-5.0.r316648/85251 K 5 riscv V 28 dir 2-292407.0.r316648/89089 K 3 rpc V 28 dir u-1839.0.r314436/1040767 K 8 security V 26 dir 2-86630.0.r316450/6224 K 7 sparc64 V 27 dir 2-79054.0.r316648/94743 K 3 sys V 25 dir 28-5.0.r316648/110686 K 5 teken V 35 dir h-186681.0-196775.r316019/14625 K 5 tests V 27 dir f-290663.0.r290714/2475 K 5 tools V 26 dir 6k-1541.0.r315031/1285 K 3 ufs V 26 dir 1a-1542.0.r316509/3307 K 2 vm V 26 dir 1k-1542.0.r316526/3885 K 3 x86 V 30 dir 11-204309.0.r316648/113139 K 3 xdr V 28 dir 46-177633.0.r297975/3263 K 3 xen V 28 dir 2-181624.0.r314841/17599 END ENDREP id: g-5.0.r316682/9166 type: dir pred: g-5.0.r316681/6114 count: 113418 text: 316682 6829 2324 0 2b8ec039163d2ea3c39d469a6c8d96c4 props: 201826 13530 46 0 af763326b561c4148fb4456ebd5fd345 cpath: /head/sys copyroot: 0 / minfo-cnt: 11 PLAIN K 10 .arcconfig V 26 file 1-265842.0.r306435/41 K 8 .arclint V 27 file 1-266959.0.r281789/766 K 9 COPYRIGHT V 24 file 1-2656.0.r310963/99 K 5 LOCKS V 27 file 1-146890.0.r255635/270 K 11 MAINTAINERS V 26 file 1-94742.0.r314622/244 K 8 Makefile V 29 file 3-1594.0-1595.r316645/51 K 13 Makefile.inc1 V 26 file 5-38666.0.r316647/868 K 18 Makefile.libcompat V 33 file 5-38666.0-296709.r316586/435 K 17 ObsoleteFiles.inc V 27 file 4-148330.0.r316368/659 K 6 README V 25 file 1-21173.0.r300137/48 K 9 README.md V 27 file 1-314473.0.r314495/558 K 8 UPDATING V 26 file 1-41806.0.r316629/836 K 3 bin V 23 dir 1-5.0.r316646/11679 K 4 cddl V 28 dir 1-168404.0.r315896/23502 K 7 contrib V 26 dir 1-16755.0.r316552/7799 K 6 crypto V 26 dir 1-25405.0.r316607/8203 K 3 etc V 23 dir 1-38.0.r316567/4735 K 3 gnu V 22 dir 1-3.0.r315565/2905 K 7 include V 25 dir 1-697.0.r316213/13235 K 9 kerberos5 V 28 dir 4q-29815.0.r314657/11241 K 3 lib V 22 dir 6-5.0.r316649/6544 K 7 libexec V 22 dir c-5.0.r315987/7434 K 7 release V 25 dir 1-3027.0.r316617/3154 K 6 rescue V 26 dir 7-117035.0.r315654/843 K 4 sbin V 23 dir fa-4.0.r316657/5702 K 6 secure V 27 dir r-1553.0.r314720/150307 K 5 share V 22 dir e-3.0.r316647/6887 K 3 sys V 22 dir g-5.0.r316682/9166 K 7 targets V 34 dir 2-242818.1-284345.r316603/3733 K 5 tests V 27 dir g-257097.0.r316397/2940 K 5 tools V 27 dir 43-1590.0.r316647/22867 K 7 usr.bin V 23 dir m-3.0.r316639/14502 K 8 usr.sbin V 23 dir q-3.0.r316677/12868 END ENDREP id: 5-1.0.r316682/10869 type: dir pred: 5-1.0.r316681/7817 count: 212713 text: 316682 9400 1456 0 bbcfe9c059db8b8db9051a74e33f8dc6 props: 314564 2802123 2910 0 9ecee2c4cba9047c6f96c49815637cda cpath: /head copyroot: 0 / minfo-cnt: 122 minfo-here: y PLAIN K 11 ROADMAP.txt V 26 file 0-179453.0.r285589/70 K 4 head V 23 dir 5-1.0.r316682/10869 K 8 projects V 23 dir 6-1.0.r316270/13222 K 7 release V 22 dir 7-1.0.r306421/3182 K 6 releng V 23 dir 8-1.0.r314126/25925 K 6 stable V 23 dir 9-1.0.r316680/26144 K 8 svnadmin V 27 dir 0-179447.0.r316575/1295 K 4 user V 22 dir a-1.0.r316618/9347 K 6 vendor V 23 dir b-1.0.r316455/68392 K 13 vendor-crypto V 26 dir 0-1575.0.r313155/61323 K 10 vendor-sys V 26 dir 0-12116.0.r316663/1600 END ENDREP id: 0.0.r316682/11607 type: dir pred: 0.0.r316681/8553 count: 316682 text: 316682 11119 475 0 f592430d7a9551e96f490d702f5a71b6 props: 289270 0 4229 0 20f578acc837c5e58fc64b9eaa493aea cpath: / copyroot: 0 / minfo-cnt: 43734 g-67204.0.t316681-6soa modify-file true false /head/sys/boot/ofw/libofw/ofw_disk.c o-67204.0.t316681-6soa modify-file true false /head/sys/boot/ofw/libofw/openfirm.c q-67204.0.t316681-6soa modify-file true false /head/sys/boot/ofw/libofw/openfirm.h a-84996.0.t316681-6soa modify-file true false /head/sys/boot/sparc64/loader/main.c 11607 11831