1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00
freebsd/sys
Ed Schouten dc15eac046 Use strchr() and strrchr().
It seems strchr() and strrchr() are used more often than index() and
rindex(). Therefore, simply migrate all kernel code to use it.

For the XFS code, remove an empty line to make the code identical to
the code in the Linux kernel.
2012-01-02 12:12:10 +00:00
..
amd64 Default to not performing the early-boot memory tests when we detect we 2011-12-31 13:24:53 +00:00
arm Fix header pollution, possibly unbreaking the build of cfi_bus_ixp4xx.c 2011-12-31 15:53:34 +00:00
boot Unset the environment variables associated with individual menu items 2011-12-30 06:24:59 +00:00
bsm
cam Report stripeoffset as zero not stripesize if physical block is zero 2011-12-23 20:59:13 +00:00
cddl
compat In sys/compat/ndis/subr_ntoskrnl.c, change the RtlFillMemory function 2011-12-30 17:18:09 +00:00
conf Remove the now unused skpc() function. 2012-01-01 20:54:44 +00:00
contrib Initial copy of xz-embedded to sys/contrib/. 2012-01-01 21:32:25 +00:00
crypto
ddb Use strchr() and strrchr(). 2012-01-02 12:12:10 +00:00
dev Use strchr() and strrchr(). 2012-01-02 12:12:10 +00:00
fs Use strchr() and strrchr(). 2012-01-02 12:12:10 +00:00
gdb
geom
gnu Use strchr() and strrchr(). 2012-01-02 12:12:10 +00:00
i386 Use strchr() and strrchr(). 2012-01-02 12:12:10 +00:00
ia64 Add "options CAPABILITY_MODE" and "options CAPABILITIES" to GENERIC kernel 2011-12-29 22:48:36 +00:00
isa
kern Use strchr() and strrchr(). 2012-01-02 12:12:10 +00:00
kgssapi
libkern Use strchr() and strrchr(). 2012-01-02 12:12:10 +00:00
mips - Properly set IRQ handlers for all USB ports 2012-01-01 09:12:21 +00:00
modules Add header required by cfi_bus_fdt.c. 2011-12-30 21:22:10 +00:00
net Revert r228986 until it can be reworked to avoid panicing the kernel when the 2011-12-31 07:21:28 +00:00
net80211
netatalk
netgraph Use strchr() and strrchr(). 2012-01-02 12:12:10 +00:00
netinet As I came by and noticed add a comment that inp locking is a bit optistic 2012-01-02 09:18:58 +00:00
netinet6 Remove a declaration to a non-existent function. 2011-12-31 16:19:22 +00:00
netipsec
netipx
netnatm
netncp
netsmb
nfs
nfsclient
nfsserver
nlm
ofed
opencrypto
pc98 Add "options CAPABILITY_MODE" and "options CAPABILITIES" to GENERIC kernel 2011-12-29 22:48:36 +00:00
pci
powerpc Add "options CAPABILITY_MODE" and "options CAPABILITIES" to GENERIC kernel 2011-12-29 22:48:36 +00:00
rpc
security Use strchr() and strrchr(). 2012-01-02 12:12:10 +00:00
sparc64 Add "options CAPABILITY_MODE" and "options CAPABILITIES" to GENERIC kernel 2011-12-29 22:48:36 +00:00
sys Remove the now unused skpc() function. 2012-01-01 20:54:44 +00:00
teken
tools
ufs Migrate ufs and ext2fs from skpc() to memcchr(). 2012-01-01 20:47:33 +00:00
vm Optimize vm_object_split()'s handling of reservations. 2011-12-28 20:27:18 +00:00
x86
xdr
xen
Makefile