Christoph Hellwig
65f1eaeac0
[XFS] add helpers for addressing entities inside a btree block
...
Add new helpers in xfs_btree.c to find the record, key and block pointer
entries inside a btree block. To implement this genericly the
->get_maxrecs methods and two new xfs_btree_ops entries for the key and
record sizes are used. Also add a big comment describing how the
addressing inside a btree block works.
Note that these helpers are unused until users are introduced in the next
patches and this patch will thus cause some harmless compiler warnings.
SGI-PV: 985583
SGI-Modid: xfs-linux-melb:xfs-kern:32189a
Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Signed-off-by: Bill O'Donnell <billodo@sgi.com>
Signed-off-by: David Chinner <david@fromorbit.com>
2008-10-30 16:55:34 +11:00
..
2008-10-30 16:55:13 +11:00
2008-08-13 16:51:57 +10:00
2008-07-28 16:59:25 +10:00
2008-04-29 16:07:48 +10:00
2008-10-30 16:55:13 +11:00
2008-08-13 16:22:40 +10:00
2008-08-13 16:22:40 +10:00
2008-02-07 16:46:39 +11:00
2008-10-30 16:55:34 +11:00
2008-10-30 16:53:59 +11:00
2008-10-30 16:53:59 +11:00
2007-07-14 15:28:50 +10:00
2008-08-13 16:07:53 +10:00
2008-08-13 16:05:49 +10:00
2008-08-13 16:05:49 +10:00
2008-07-28 16:58:35 +10:00
2008-08-13 16:05:49 +10:00
2008-08-13 16:03:35 +10:00
2008-08-13 15:41:12 +10:00
2008-08-13 15:41:12 +10:00
2008-10-30 16:55:34 +11:00
2008-10-30 16:55:13 +11:00
2008-10-30 16:53:59 +11:00
2008-07-28 16:59:11 +10:00
2008-10-30 16:55:34 +11:00
2008-10-30 16:55:34 +11:00
2008-09-17 16:52:13 +10:00
2008-02-07 18:14:38 +11:00
2008-07-28 16:58:05 +10:00
2008-07-28 16:59:25 +10:00
2008-10-30 16:52:35 +11:00
2008-09-17 16:51:21 +10:00
2006-06-09 14:48:12 +10:00
2008-02-07 18:19:24 +11:00
2008-07-28 16:58:40 +10:00
2007-10-15 16:49:49 +10:00
2008-07-28 16:58:36 +10:00
2007-07-14 15:37:02 +10:00
2008-07-28 16:59:06 +10:00
2007-10-15 16:49:49 +10:00
2008-07-28 16:59:01 +10:00
2007-07-14 15:37:02 +10:00
2008-07-28 16:58:40 +10:00
2008-07-28 16:58:50 +10:00
2008-07-28 16:58:37 +10:00
2005-11-02 14:58:39 +11:00
2008-07-28 16:58:46 +10:00
2008-07-28 16:58:40 +10:00
2008-08-23 12:14:12 -07:00
2007-10-19 17:14:45 +10:00
2008-08-13 16:17:37 +10:00
2008-08-13 16:17:37 +10:00
2008-07-28 16:58:07 +10:00
2006-09-28 10:55:43 +10:00
2008-08-13 16:51:57 +10:00
2007-07-14 15:40:53 +10:00
2008-07-28 16:59:09 +10:00
2008-07-28 16:58:42 +10:00
2006-01-11 15:30:08 +11:00
2008-10-30 16:55:34 +11:00
2008-10-30 16:53:59 +11:00
2008-10-30 16:53:59 +11:00
2007-10-15 16:39:35 +10:00
2008-10-30 16:53:38 +11:00
2005-11-02 14:58:39 +11:00
2008-08-13 16:41:16 +10:00
2008-04-18 11:37:51 +10:00
2008-10-30 16:55:13 +11:00
2008-10-30 16:55:13 +11:00
2005-11-02 14:58:39 +11:00
2008-07-28 16:59:10 +10:00
2008-02-07 16:44:14 +11:00
2008-10-30 16:53:59 +11:00
2007-07-14 15:42:50 +10:00
2008-09-17 16:45:37 +10:00
2008-08-13 16:49:32 +10:00
2005-11-02 14:58:39 +11:00
2008-10-10 11:08:07 -07:00
2008-08-13 16:49:32 +10:00
2008-10-30 16:53:25 +11:00
2008-10-30 16:52:35 +11:00
2008-07-28 16:59:25 +10:00
2007-09-17 16:42:02 +10:00
2008-02-07 16:47:15 +11:00
2007-10-16 11:43:26 +10:00
2005-11-03 16:14:31 +11:00
2008-07-28 16:59:14 +10:00
2008-08-13 15:41:12 +10:00
2008-02-07 18:16:43 +11:00
2008-08-13 16:36:11 +10:00
2008-02-07 18:16:43 +11:00
2008-07-28 16:58:42 +10:00
2008-04-18 11:51:26 +10:00
2008-08-13 16:10:52 +10:00
2007-10-15 16:50:50 +10:00
2008-07-28 16:58:07 +10:00
2008-08-13 16:10:52 +10:00
2008-02-07 18:22:51 +11:00
2006-06-20 13:04:51 +10:00
2008-08-13 16:10:52 +10:00
2008-08-13 16:10:52 +10:00
2008-04-18 12:00:12 +10:00
2008-08-13 15:45:15 +10:00
2008-08-13 16:13:45 +10:00
2008-08-13 16:22:40 +10:00
2008-07-28 16:58:21 +10:00
2008-09-17 16:52:50 +10:00
2008-07-28 16:59:37 +10:00
2008-10-30 16:55:13 +11:00