]> git.karo-electronics.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>
Fri, 23 Sep 2011 05:15:13 +0000 (15:15 +1000)
commit7cdcdcb970560d523860a5260b36ab14cfcc8f0d
tree336cad8cc7161d249036fcb1c1ffc3c2270e9ca8
parent6ebbabcfab681887cc57e91788df7f584ee4b45a
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