Akinobu Mita
639b9e34f1
string: introduce memweight()
...
memweight() is the function that counts the total number of bits set in
memory area. Unlike bitmap_weight(), memweight() takes pointer and size
in bytes to specify a memory area which does not need to be aligned to
long-word boundary.
[akpm@linux-foundation.org: rename `w' to `ret']
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Anders Larsen <al@alarsen.net>
Cc: Alasdair Kergon <agk@redhat.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Mark Fasheh <mfasheh@suse.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Jan Kara <jack@suse.cz>
Cc: Andreas Dilger <adilger.kernel@dilger.ca>
Cc: "Theodore Ts'o" <tytso@mit.edu>
Cc: Matthew Wilcox <matthew@wil.cx>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
Cc: Tony Luck <tony.luck@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-07-30 17:25:16 -07:00
..
2012-07-17 15:11:37 -04:00
2012-07-20 12:31:05 +02:00
2012-07-17 19:35:59 -07:00
2012-07-17 09:32:14 -07:00
2012-07-26 13:56:38 -07:00
2012-07-10 18:49:26 +01:00
2012-07-24 13:37:37 -07:00
2012-07-24 13:56:26 -07:00
2012-07-24 17:12:54 -07:00
2012-07-30 17:25:15 -07:00
2012-07-22 19:32:00 +01:00
2012-07-26 12:59:53 -07:00
2012-07-26 10:23:47 -07:00
2012-07-20 09:07:37 +01:00
2012-07-11 16:04:49 -07:00
2012-07-17 21:37:27 +02:00
2012-07-11 15:36:43 -07:00
2012-07-11 17:58:46 -07:00
2012-07-30 17:25:11 -07:00
2012-07-19 08:34:37 -07:00
2012-07-17 12:39:26 -07:00
2012-07-26 14:28:55 -07:00
2012-07-27 09:29:42 +09:30
2012-07-24 13:53:22 +02:00
2012-07-14 16:34:14 +04:00
2012-07-26 11:25:33 -07:00
2012-07-19 10:39:00 +02:00
2012-07-16 22:38:27 -07:00
2012-07-17 21:37:27 +02:00
2012-07-22 23:57:58 +04:00
2012-07-23 00:01:29 +04:00
2012-07-24 00:01:30 -07:00
2012-07-16 18:05:45 -07:00
2012-07-09 16:23:33 +02:00
2012-07-24 15:27:27 +08:00
2012-07-11 23:34:39 +02:00
2012-07-14 13:30:25 +02:00
2012-07-24 14:13:59 +02:00
2012-07-20 11:07:00 -07:00
2012-07-20 11:07:00 -07:00
2012-07-18 09:36:12 -07:00
2012-07-26 13:08:01 -07:00
2012-07-27 09:29:42 +09:30
2012-07-11 18:22:32 +10:00
2012-07-23 12:17:00 +02:00
2012-07-18 08:59:58 -07:00
2012-07-22 12:19:36 -07:00
2012-07-26 11:14:49 -07:00
2012-07-30 17:25:14 -07:00
2012-07-21 13:58:17 -07:00
2012-07-21 10:34:00 -07:00
2012-07-22 10:15:28 -07:00
2012-07-24 12:01:20 -07:00
2012-07-24 07:52:34 +08:00
2012-07-25 15:58:48 -04:00
2012-07-11 16:04:50 -07:00
2012-07-19 15:51:36 -04:00
2012-07-11 10:20:47 -07:00
2012-07-24 13:34:56 -07:00
2012-07-14 16:35:40 +04:00
2012-07-22 12:44:01 -07:00
2012-07-20 11:06:59 -07:00
2012-07-17 09:02:36 -07:00
2012-07-09 16:42:24 -04:00
2012-07-14 16:33:08 +04:00
2012-07-17 12:16:39 +02:00
2012-07-10 10:32:06 -05:00
2012-07-24 14:07:22 -07:00
2012-07-22 16:07:45 -07:00
2012-07-26 14:18:18 -07:00
2012-07-23 12:17:00 +02:00
2012-07-24 15:27:34 +08:00
2012-07-12 07:54:46 -07:00
2012-07-19 00:02:30 +02:00
2012-07-26 13:36:43 -07:00
2012-07-30 17:25:14 -07:00
2012-07-17 16:48:09 -07:00
2012-07-17 12:15:30 -07:00
2012-07-22 23:58:19 +04:00
2012-07-22 23:58:19 +04:00
2012-07-22 19:26:07 +01:00
2012-07-15 11:39:01 +03:00
2012-07-10 22:40:13 -07:00
2012-07-30 17:25:13 -07:00
2012-07-26 13:37:02 -07:00
2012-07-20 11:28:20 +05:30
2012-07-10 12:08:14 +09:00
2012-07-20 11:28:20 +05:30
2012-07-22 12:39:33 -07:00
2012-07-19 11:02:03 -07:00
2012-07-16 22:31:34 -07:00
2012-07-19 11:02:03 -07:00
2012-07-30 17:25:16 -07:00
2012-07-22 23:57:56 +04:00
2012-07-23 00:58:46 -07:00
2012-07-24 23:19:26 -04:00
2012-07-10 15:47:46 +02:00
2012-07-26 13:36:43 -07:00
2012-07-13 19:34:43 -04:00
2012-07-22 23:57:55 +04:00
2012-07-22 23:57:56 +04:00
2012-07-20 08:59:00 +01:00
2012-07-16 17:43:04 -07:00
2012-07-20 08:58:58 +01:00
2012-07-20 08:59:03 +01:00