freebsd-dev/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 opensolaris compat: fix vcmn_err so that panic(9) produces a proper message 2011-12-19 14:55:14 +00:00
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 Update Copyright. 2011-10-27 14:15:26 +00:00
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 kern cons: introduce infrastructure for console grabbing by kernel 2011-12-17 15:08:43 +00:00
geom replace uses of libkern gets with cngets 2011-12-17 15:26:34 +00:00
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 - There's no need to overwrite the default device method with the default 2011-11-22 21:28:20 +00:00
kern Use strchr() and strrchr(). 2012-01-02 12:12:10 +00:00
kgssapi Add missing break statement to make sure all 3DES etypes really are treated 2011-10-10 09:13:07 +00:00
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 Remove now redundant mac argument. 2011-12-17 10:32:31 +00:00
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 Remove unused 'plen' variable. 2011-11-26 23:57:03 +00:00
netipx Mark all SYSCTL_NODEs static that have no corresponding SYSCTL_DECLs. 2011-11-07 15:43:11 +00:00
netnatm
netncp Change ncp_scan_bindery_object() to pass a constant search string. 2011-10-16 08:44:03 +00:00
netsmb Add unicode support to msdosfs and smbfs; original pathes from imura, 2011-11-18 03:05:20 +00:00
nfs Some cleanup of BOOTP code. Initially I wanted to just change the ifioctl() 2011-12-13 07:02:48 +00:00
nfsclient jwd@ reported a problem via email where the old NFS client would 2011-12-21 02:45:51 +00:00
nfsserver Honor NFSv3 commit call (RFC 1813, Section 3.3.21) where when count is 0, 2011-12-15 02:26:53 +00:00
nlm Mark all SYSCTL_NODEs static that have no corresponding SYSCTL_DECLs. 2011-11-07 15:43:11 +00:00
ofed Replace __signed by signed. 2011-12-13 13:38:03 +00:00
opencrypto
pc98 Add "options CAPABILITY_MODE" and "options CAPABILITIES" to GENERIC kernel 2011-12-29 22:48:36 +00:00
pci To save more power, switch to 10/100Mbps link when controller is 2011-11-23 23:29:18 +00:00
powerpc Add "options CAPABILITY_MODE" and "options CAPABILITIES" to GENERIC kernel 2011-12-29 22:48:36 +00:00
rpc Both a crash reported on freebsd-current on Oct. 18 under the 2011-11-03 14:38:03 +00:00
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 Link the demo application against ncursesw to make Unicode work. 2011-10-13 14:20:27 +00:00
tools Restore the comment that I removed by accident. 2011-11-09 13:26:59 +00:00
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 Get rid of kludgy per-descriptor state handling in acpi_apm. 2011-12-05 16:08:18 +00:00
xdr
xen s/timout/timeout 2011-12-15 06:29:13 +00:00
Makefile