freebsd-dev/stand/libsa
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
..
amd64 libsa: Add missing GNU-stack annotations to _setjmp.S. 2022-11-22 08:36:40 -08:00
geli stand: For all disk drivers, connect dv_parsedev to disk_parsedev 2022-11-30 15:30:32 -07:00
i386 libsa: Add missing GNU-stack annotations to _setjmp.S. 2022-11-22 08:36:40 -08:00
powerpc libsa: Add missing GNU-stack annotations to _setjmp.S. 2022-11-22 08:36:40 -08:00
x86
zfs stand: parsedev API change: devspec now points to start of full device name 2022-11-30 15:30:33 -07:00
__main.c
abort.c
arp.c libsa/arp.c: Change printf format string 2022-09-29 12:51:14 +02:00
assert.c
bcd.c
bootp.c stand: use snprintf here 2022-08-03 11:24:38 -06:00
bootp.h
bootparam.c
bootparam.h
bzipfs.c stand: Use c99 structure initialization for bzipfs_fsops 2022-07-24 16:53:35 -06:00
cd9660.c
cd9660read.c
close.c
closeall.c
crc32_libkern.c
dev.c stand: parsedev API change: devspec now points to start of full device name 2022-11-30 15:30:33 -07:00
dosfs.c stand: Unbreak FAT32 in loader 2022-09-08 02:16:34 +02:00
dosfs.h
environment.c
ether.c
ext2fs.c stand: Use c99 structure initialization for ext2fs_fsops 2022-07-24 16:53:35 -06:00
fstat.c
getopt.c
gets.c
globals.c
gpt.c stand: Nuke double-semicolons 2022-11-02 09:34:54 -06:00
gpt.h
gzipfs.c stand: Use c99 structure initialization for gzipfs_fsops 2022-07-24 16:53:35 -06:00
hexdump.c
in_cksum.c
inet_ntoa.c
ioctl.c
iodesc.h
ip.c
libsa.3 stand: create devinit 2022-11-30 15:30:33 -07:00
lseek.c
Makefile stand/zlib: Zlib still uses K&R function definitions 2022-11-30 11:08:44 -07:00
Makefile.depend
mount.c
net.c
net.h
netif.c libsa/netif.c: Replace #if with #ifdef 2022-09-29 12:52:02 +02:00
netif.h
nfs.c stand: Use c99 structure initialization for nfs_fsops 2022-07-24 16:53:35 -06:00
nfsv2.h
nullfs.c
open.c
pager.c
panic.c
pkgfs.c stand: Use c99 structure initialization for pkgfs_fsops 2022-07-24 16:53:35 -06:00
preload.c
printf.c
random.c
rarp.c libsa/rarp.c: Change casted type and printf format 2022-09-29 12:51:14 +02:00
read.c
readdir.c
rpc.c
rpc.h
rpcv2.h
saioctl.h
sbrk.c
smbios.c stand: Parse BIOS revision from SMBIOS 2022-09-02 13:10:32 +02:00
smbios.h
splitfs.c stand: Use c99 structure initialization for splitfs_fsops 2022-07-24 16:53:35 -06:00
stand.h stand: create devinit 2022-11-30 15:30:33 -07:00
stat.c
strcasecmp.c
strdup.c
strerror.c
tftp.c stand: tftp.c doesn't need bootinfo.h 2022-07-27 09:04:13 -06:00
tftp.h
time.c
tslog.c
twiddle.c
udp.c
ufs.c stand: Search less agressively for UFS super block 2022-08-18 06:41:11 -06:00
ufsread.c
uuid_from_string.c
uuid_to_string.c
write.c
xlocale_private.h
zalloc_defs.h
zalloc_malloc.c
zalloc_mem.h
zalloc_protos.h
zalloc.c