]> 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, 5 Sep 2011 07:02:22 +0000 (17:02 +1000)
commit10c3414d9268459f55bd2cf0501be87e3662893c
tree7feff75630202fdacbf4670f87ffee7f0653ef6c
parent73cc052af6013f456e25af6ed933f85e61f6d06c
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