DELTA 295062 382 45 SVNͺHͺhƒ:œ‚1ŽCͺt‘4€‚ –c’"€@ͺ5ƒ static struct nvme_functionvoid gen_usage(struct nvme_function *f) { void dispatch(int argc, char *argv[], struct nvme_function *tbl) { struct nvme_function *f = tbl; while (f->name != NULL) { if (strcmp(argv[1], f->name) == 0) f->fn(argc-1, &argv[1]); f++; } fprintf(stderr, "Unknown command: %s\n", argv[1]); gen_usage(tbl if (argc < 2) gen_usage(funcs); dispatch(argc, argv, funcsENDREP DELTA 295062 453 138 SVN˜gšTj‹6€*‹4€e ˜[htypedef void (*nvme_fn_t)(int argc, char *argv[]); struct nvme_function { const char *name; nvme_fn_t fn; const char *usage; };void gen_usage(struct nvme_function *); void dispatch(int argc, char *argv[], struct nvme_function *fENDREP id: 9-240620.0.r313190/765 type: file pred: 9-240620.0.r295087/1004 count: 25 text: 313190 0 446 5480 61e52ae1b035ec8ce76a1e649554fe23 a331444edbdb335bdd3163bd7ab8621a6e15941e 313189-6pza/_4 props: 179448 45543 103 0 bb58aa814bbdf5f7c1ab04a05656f5a5 cpath: /head/sbin/nvmecontrol/nvmecontrol.c copyroot: 0 / id: 8-252265.0.r313190/1074 type: file pred: 8-252265.0.r295087/1314 count: 14 text: 313190 473 264 3412 43277b14a0d0e631609e70e21db43ed2 97e60e50b7325c664d8b2fca81bca28630057588 313189-6pza/_5 props: 179448 45543 103 0 bb58aa814bbdf5f7c1ab04a05656f5a5 cpath: /head/sbin/nvmecontrol/nvmecontrol.h copyroot: 0 / PLAIN K 8 Makefile V 30 file 4-240620.0.r298107/393970 K 15 Makefile.depend V 32 file 1i4-284345.0.r284345/859591 K 9 devlist.c V 26 file 5-252265.0.r260381/55 K 10 firmware.c V 26 file 5-252278.0.r313188/72 K 10 identify.c V 28 file 5-252266.0.r253476/3408 K 9 logpage.c V 27 file 5-252277.0.r309777/599 K 13 nvmecontrol.8 V 29 file 7-240620.0.r305861/13702 K 13 nvmecontrol.c V 27 file 9-240620.0.r313190/765 K 13 nvmecontrol.h V 28 file 8-252265.0.r313190/1074 K 10 perftest.c V 26 file 7-252267.0.r257531/48 K 7 power.c V 26 file 8-295087.0.r296672/95 K 7 reset.c V 28 file 7-252268.0.r253109/4784 END ENDREP id: 2-240620.0.r313190/1999 type: dir pred: 2-240620.0.r313188/987 count: 60 text: 313190 1386 600 0 3bd47c71a562beabd33b503824f0c355 cpath: /head/sbin/nvmecontrol copyroot: 0 / PLAIN K 8 Makefile V 33 file 6b-1558.0-1559.r309818/32441 K 14 Makefile.amd64 V 29 file 4-212527.0.r240621/10993 K 12 Makefile.arm V 27 file 6-212527.0.r212527/584 K 13 Makefile.i386 V 29 file 8-212527.0.r240621/11290 K 12 Makefile.inc V 34 file 6e-1558.1-1559.r265420/157343 K 13 Makefile.mips V 28 file c-212527.0.r212527/1379 K 16 Makefile.sparc64 V 28 file g-212527.0.r212527/1911 K 9 adjkerntz V 26 dir 2-868.0.r298107/317414 K 3 atm V 26 dir l-39232.0.r306723/1496 K 7 badsect V 27 dir 3-1559.0.r298107/319727 K 8 bsdlabel V 26 dir 2-1558.0.r312910/72561 K 10 camcontrol V 26 dir 2-39214.0.r312558/2631 K 9 ccdconfig V 25 dir 2-13045.0.r306598/760 K 4 clri V 24 dir 5-1559.0.r306725/668 K 10 comcontrol V 25 dir fc-4.0.r298107/323816 K 11 conscontrol V 28 dir 2-85378.0.r298107/324520 K 3 ddb V 29 dir 4-174915.0.r298107/325356 K 11 decryptcore V 26 dir 9-309818.0.r310026/717 K 4 devd V 26 dir 2-105573.0.r312417/837 K 5 devfs V 26 dir 4-100206.0.r306728/723 K 8 dhclient V 26 dir 2-43856.0.r311298/2226 K 5 dmesg V 24 dir 9-1559.0.r306599/616 K 4 dump V 25 dir b-1559.0.r306600/1065 K 6 dumpfs V 25 dir d-1559.0.r298908/3944 K 6 dumpon V 26 dir 2-8478.0.r309818/35027 K 14 etherswitchcfg V 26 dir 4-235289.0.r308775/735 K 5 fdisk V 22 dir fj-4.0.r306731/919 K 7 ffsinfo V 28 dir 4-69800.0.r298107/337152 K 4 fsck V 24 dir j-1559.0.r306733/934 K 8 fsck_ffs V 26 dir h-1558.0.r311522/15404 K 12 fsck_msdosfs V 25 dir 2-79455.0.r306602/868 K 4 fsdb V 25 dir 2-12049.0.r306603/978 K 7 fsirand V 28 dir 4-24149.0.r298107/341929 K 4 gbde V 26 dir 4-105513.0.r306604/746 K 4 geom V 28 dir 2-129470.0.r312910/74719 K 5 ggate V 27 dir 2-128762.0.r305861/6465 K 6 growfs V 26 dir e-69800.0.r306339/1182 K 6 gvinum V 29 dir 2-130391.0.r298107/359323 K 7 hastctl V 27 dir g-204076.0.r305861/7164 K 5 hastd V 28 dir o-204076.0.r305861/10132 K 8 ifconfig V 25 dir n-1559.0.r312596/3947 K 4 init V 24 dir p-1559.0.r306808/924 K 3 ipf V 28 dir 2-53643.0.r298107/372441 K 4 ipfw V 25 dir 2-3966.0.r310727/1606 K 9 iscontrol V 28 dir 7-171568.0.r305861/11169 K 9 kldconfig V 25 dir 2-78977.0.r298248/575 K 7 kldload V 25 dir 2-25540.0.r298249/565 K 7 kldstat V 28 dir b-25540.0.r298107/376665 K 9 kldunload V 28 dir j-25540.0.r298107/377370 K 8 ldconfig V 27 dir 2m-696.0.r298107/378165 K 3 md5 V 25 dir 2-3996.0.r311656/1054 K 8 mdconfig V 28 dir 2-70448.0.r299094/199828 K 5 mdmfs V 27 dir 2-78447.0.r305861/11860 K 5 mknod V 24 dir r-1559.0.r306606/631 K 10 mksnap_ffs V 26 dir 4-111716.0.r306607/595 K 5 mount V 25 dir t-1559.0.r310092/1702 K 12 mount_cd9660 V 27 dir v-1559.0.r298107/384520 K 12 mount_fusefs V 27 dir 5-241519.0.r306610/1112 K 13 mount_msdosfs V 25 dir l-2892.0.r306611/1068 K 9 mount_nfs V 27 dir 13-1559.0.r305861/12630 K 12 mount_nullfs V 26 dir 35-1558.0.r306612/1746 K 9 mount_udf V 28 dir 2-94663.0.r298107/388156 K 13 mount_unionfs V 25 dir 4d-1558.0.r306613/687 K 6 nandfs V 28 dir o-235537.0.r305861/13524 K 4 natd V 25 dir 2-26782.0.r306735/924 K 5 newfs V 25 dir 1i-1559.0.r298906/976 K 11 newfs_msdos V 25 dir 2-37447.0.r305075/700 K 12 newfs_nandfs V 28 dir 14-235537.0.r298871/1534 K 6 nfsiod V 28 dir 1o-1559.0.r298107/393097 K 7 nos-tun V 25 dir b-35137.0.r306736/629 K 11 nvmecontrol V 27 dir 2-240620.0.r313190/1999 K 5 pfctl V 27 dir 9-126385.0.r310707/1310 K 6 pflogd V 30 dir 14-126385.0.r298107/396879 K 4 ping V 27 dir 1s-1559.0.r311530/11910 K 5 ping6 V 25 dir o-55163.0.r302342/613 K 10 quotacheck V 25 dir 4l-1558.0.r299876/746 K 7 rcorder V 26 dir 4-78345.0.r309625/1978 K 6 reboot V 25 dir 1v-1559.0.r305858/793 K 11 recoverdisk V 27 dir 2-135911.0.r298872/7779 K 10 resolvconf V 26 dir 7-219738.0.r313160/602 K 7 restore V 26 dir 1x-1559.0.r312638/1158 K 5 route V 26 dir 1z-1559.0.r303374/1046 K 6 routed V 26 dir 2-18317.0.r299845/1338 K 5 rtsol V 28 dir w-55163.0.r298107/407203 K 8 savecore V 27 dir 21-1559.0.r309818/36184 K 7 sconfig V 26 dir 2-123123.0.r306615/635 K 6 setkey V 25 dir z-55505.0.r306616/950 K 8 shutdown V 25 dir 25-1559.0.r306617/790 K 11 spppcontrol V 28 dir 2-30303.0.r284345/876056 K 8 sunlabel V 26 dir 2-110130.0.r298326/738 K 6 swapon V 27 dir 2b-1559.0.r307755/14416 K 6 sysctl V 25 dir 2-1554.0.r310961/7976 K 5 tests V 29 dir k-263220.0.r299094/200444 K 6 tunefs V 26 dir 2d-1559.0.r310382/1603 K 6 umount V 25 dir 2f-1559.0.r308871/998 K 10 zfsbootcfg V 27 dir c-308089.0.r308605/8271 END ENDREP id: fa-4.0.r313190/6549 type: dir pred: fa-4.0.r313188/5535 count: 8219 text: 313190 2178 4358 0 558590fddda85c2440e664e277d08dee props: 80416 75 4 0 2d2977d1c96f487abe4a1e202dd03b4e cpath: /head/sbin copyroot: 0 / 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.r309124/514 K 8 Makefile V 32 file 3-1594.0-1595.r312910/40031 K 13 Makefile.inc1 V 25 file 5-38666.0.r313184/50 K 18 Makefile.libcompat V 32 file 5-38666.0-296709.r312857/81 K 17 ObsoleteFiles.inc V 27 file 4-148330.0.r312944/378 K 6 README V 25 file 1-21173.0.r300137/48 K 8 UPDATING V 26 file 1-41806.0.r312855/731 K 3 bin V 22 dir 1-5.0.r312927/2905 K 4 cddl V 27 dir 1-168404.0.r313045/3011 K 7 contrib V 27 dir 1-16755.0.r313105/56710 K 6 crypto V 28 dir 1-25405.0.r312825/222512 K 3 etc V 23 dir 1-38.0.r313069/9276 K 3 gnu V 22 dir 1-3.0.r313041/3276 K 7 include V 24 dir 1-697.0.r312934/9796 K 9 kerberos5 V 26 dir 4q-29815.0.r311115/998 K 3 lib V 23 dir 6-5.0.r313181/23208 K 7 libexec V 22 dir c-5.0.r313107/4314 K 7 release V 25 dir 1-3027.0.r313044/1759 K 6 rescue V 28 dir 7-117035.0.r312910/71520 K 4 sbin V 23 dir fa-4.0.r313190/6549 K 6 secure V 27 dir r-1553.0.r312825/379038 K 5 share V 23 dir e-3.0.r313174/55771 K 3 sys V 23 dir g-5.0.r313186/11192 K 7 targets V 36 dir 2-242818.1-284345.r312910/274044 K 5 tests V 27 dir g-257097.0.r313081/4079 K 5 tools V 26 dir 43-1590.0.r313189/7255 K 7 usr.bin V 23 dir m-3.0.r313106/14068 K 8 usr.sbin V 23 dir q-3.0.r313162/11590 END ENDREP id: 5-1.0.r313190/8192 type: dir pred: 5-1.0.r313189/8852 count: 210747 text: 313190 6765 1414 0 447b748b4765055978fc50ce4b0c5cab props: 312217 0 2829 0 a4009abeeabaa8f78f8b13e31615e57f cpath: /head copyroot: 0 / minfo-cnt: 120 minfo-here: y PLAIN K 11 ROADMAP.txt V 26 file 0-179453.0.r285589/70 K 4 head V 22 dir 5-1.0.r313190/8192 K 8 projects V 24 dir 6-1.0.r313187/251325 K 7 release V 22 dir 7-1.0.r306421/3182 K 6 releng V 23 dir 8-1.0.r311916/60026 K 6 stable V 23 dir 9-1.0.r313183/23001 K 8 svnadmin V 27 dir 0-179447.0.r313049/1262 K 4 user V 23 dir a-1.0.r313151/35762 K 6 vendor V 22 dir b-1.0.r313159/6438 K 13 vendor-crypto V 26 dir 0-1575.0.r313155/61323 K 10 vendor-sys V 27 dir 0-12116.0.r312436/15870 END ENDREP id: 0.0.r313190/8924 type: dir pred: 0.0.r313189/9584 count: 313190 text: 313190 8435 476 0 94c88639d02f33a082e3c524bedc541f props: 289270 0 4229 0 20f578acc837c5e58fc64b9eaa493aea cpath: / copyroot: 0 / minfo-cnt: 43963 9-240620.0.t313189-6pza modify-file true false /head/sbin/nvmecontrol/nvmecontrol.c 8-252265.0.t313189-6pza modify-file true false /head/sbin/nvmecontrol/nvmecontrol.h 8924 9146