diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2011-11-01 01:08:07 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-11-01 01:30:47 +0100 |
commit | 798248206b59acc6e1238c778281419c041891a7 (patch) | |
tree | ff8564431367b442b18bca4a0a9732e5799e2391 /block/cfq-iosched.c | |
parent | mm/debug-pagealloc.c: use plain __ratelimit() instead of printk_ratelimit() (diff) | |
download | linux-798248206b59acc6e1238c778281419c041891a7.tar.xz linux-798248206b59acc6e1238c778281419c041891a7.zip |
lib/string.c: introduce memchr_inv()
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'block/cfq-iosched.c')
0 files changed, 0 insertions, 0 deletions