freebsd-src/stand/libsa/zfs
Warner Losh 33bbe5ddcb stand: parsedev API change: devspec now points to start of full device name
To support more flexible device matching, we now pass in the full
devspec to the parsedev routines. For everything execpt uboot, this is
just a drop in (since everything except uboot and openfirmware always
uses disk...: and/or zfs:, but openfirmware isn't really affected).

uboot we kludge around it by subtracting 4 from where the rest of the
device name starts. This is unforunate, and can compute the address one
before the string. But we never dereference that address. uboot needs
more work, and this is an acceptable UB until that other work happens.

OFW doesn't really use the parsedev routines these days (since none of
the supported device uses this... yet). It too needs more work, but it
needs device matching support first.

Sponsored by:		Netflix
Reviewed by:		delphij
Differential Revision:	https://reviews.freebsd.org/D37553
2022-11-30 15:30:33 -07:00
..
spl/sys stand: Fix inclusion of sys/blake3.h 2022-07-08 22:49:55 -06:00
blake3_impl_hack.c zfs: merge openzfs/zfs@c629f0bf6 2022-09-21 14:17:13 +02:00
libzfs.h stand: make zfs_parsedev static 2022-11-30 15:30:32 -07:00
Makefile.inc stand: Only compile decompression routines 2022-08-12 21:48:18 -06:00
nvlist.c libsa: Make the nvlist implementation more self-contained 2022-05-20 10:35:19 -04:00
nvlist.h libsa: Make the nvlist implementation more self-contained 2022-05-20 10:35:19 -04:00
zfs.c stand: parsedev API change: devspec now points to start of full device name 2022-11-30 15:30:33 -07:00
zfsimpl.c Sort list of supported features for more easy handling 2022-11-10 09:47:23 +01:00