]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
memchr_inv() is mainly used to check whether the whole buffer is filled
authorAkinobu Mita <akinobu.mita@gmail.com>
Wed, 24 Aug 2011 23:47:06 +0000 (09:47 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 12 Sep 2011 05:27:20 +0000 (15:27 +1000)
commit28aa5563826ae48b3275a549ec3e26ea55736b8c
tree25deebe4c41cc7add35fe7e1a2cc6a6e79382f98
parent014e561cdd42021cd4c420299582d2342fb060bb
memchr_inv() is mainly used to check whether the whole buffer is filled
with just a specified byte.

The function name and prototype are stolen from logfs and the
implementation is from SLUB.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Acked-by: Christoph Lameter <cl@linux-foundation.org>
Acked-by: Pekka Enberg <penberg@kernel.org>
Cc: Matt Mackall <mpm@selenic.com>
Acked-by: Joern Engel <joern@logfs.org>
Cc: Marcin Slusarz <marcin.slusarz@gmail.com>
Cc: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/logfs/logfs.h
fs/logfs/super.c
include/linux/string.h
lib/string.c
mm/slub.c