Displaying 4 results from an estimated 4 matches for "get_dirblks".
2015 Jul 18
1
[PATCH 1/2] xfs: rename xfs_is_valid_magicnum to xfs_is_valid_sb
xfs_is_valid_magicnum is not actually a generic function that checks for
magic numbers, instead it checks only for superblock's one.
Signed-off-by: Paulo Alcantara <pcacjr at zytor.com>
---
core/fs/xfs/xfs.c | 13 +++++--------
core/fs/xfs/xfs.h | 19 ++++++++++---------
2 files changed, 15 insertions(+), 17 deletions(-)
diff --git a/core/fs/xfs/xfs.c b/core/fs/xfs/xfs.c
index
2012 Nov 27
0
Syslinux-5.00-pre11
...x the calculation of the block of the root of the inode B+tree.
Add support for 64-bit filesystem compatible struct inode.
xfs: rework the logic of xfs_get_ino_core()
xfs: Implement dir2_block_find_entry() function.
xfs: Implement xfs_dir2_leaf_find_entry() logic.
xfs: get_dirblks() with count.
xfs: rework xfs_dir2_node_find_entry()
xfs: Add xfs_fmt_btree_find_entry()
xfs: Add full B+tree search support in xfs_dir2_node_find_entry()
xfs: cleanup unused structure
xfs: Rework xfs_dir2_get_right_blk()
xfs: Add XFS_DINODE_FMT_BTREE support in...
2015 Dec 15
8
[PATCH] xfs: Add support for v3 directories
...t (c) 2012-2015 Paulo Alcantara <pcacjr at zytor.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
@@ -67,30 +67,29 @@ uint32_t xfs_dir2_da_hashname(const uint8_t *name, int namelen)
}
static void *get_dirblks(struct fs_info *fs, block_t startblock,
- xfs_filblks_t c)
+ xfs_filblks_t c)
{
- int count = c << XFS_INFO(fs)->dirblklog;
- uint8_t *p;
- uint8_t *buf;
- off_t offset = 0;
+ const size_t len = c * XFS_INFO(fs)->dirblksize;
+ uint64_t offs...
2012 Sep 03
1
[GIT-PULL] XFS filesystem driver
...x the calculation of the block of the root of the inode B+tree.
Add support for 64-bit filesystem compatible struct inode.
xfs: rework the logic of xfs_get_ino_core()
xfs: Implement dir2_block_find_entry() function.
xfs: Implement xfs_dir2_leaf_find_entry() logic.
xfs: get_dirblks() with count.
xfs: rework xfs_dir2_node_find_entry()
xfs: Add xfs_fmt_btree_find_entry()
xfs: Add full B+tree search support in xfs_dir2_node_find_entry()
xfs: cleanup unused structure
xfs: Rework xfs_dir2_get_right_blk()
xfs: Add XFS_DINODE_FMT_BTREE support in...