search for: ufs_sb

Displaying 4 results from an estimated 4 matches for "ufs_sb".

2014 May 29
0
[PATCH 2/2] core/fs: Add support for Unix File system 1/2.
...@mask_per_blk: mask to limit the max nr. of addresses in a block. + * @addr_count: nr. of addresses in a block. + */ +static uint64_t +bmap_indirect(struct fs_info *fs, uint64_t start, uint32_t block, + int levels, size_t *nblocks) +{ + const uint32_t shft_per_blk = fs->block_shift - UFS_SB(fs)->addr_shift; + const uint32_t addr_count = (1 << shft_per_blk); + const uint32_t mask_per_blk = addr_count - 1; + const uint8_t *blk = NULL; + uint32_t index = 0; + + while (levels--) { + if (!start) { + if (nblocks) + *nblocks = addr_count << (levels * shft_p...
2013 Jul 12
1
[PATCH 001/001] core/fs: Add support to Unix File system 1/2.
...@mask_per_blk: mask to limit the max nr. of addresses in a block. + * @addr_count: nr. of addresses in a block. + */ +static uint64_t +bmap_indirect(struct fs_info *fs, uint64_t start, uint32_t block, + int levels, size_t *nblocks) +{ + const uint32_t shft_per_blk = fs->block_shift - UFS_SB(fs)->addr_shift; + const uint32_t addr_count = (1 << shft_per_blk); + const uint32_t mask_per_blk = addr_count - 1; + const uint8_t *blk = NULL; + uint32_t index = 0; + + while (levels--) { + if (!start) { + if (nblocks) + *nblocks = addr_count << (levels * shft_p...
2014 May 29
3
[PATCH v2 0/2] UFS1/2 support series
From: Raphael S. Carvalho <raphael.scarv at gmail.com> Change since v1: * Fix bug on dentry structure (thank you specification; btw, sarcasm), and consequently a bug on ufs_readdir. * Add readlink support (applied tests for symlinks whose destionation path were stored in blk pointers and the file itself). * Several improvements. Wrote the documentation below. I think it would be good to
2014 May 29
3
[PATCH 0/2] UFS1/2 support series
From: Raphael S. Carvalho <raphael.scarv at gmail.com> Wrote the documentation below. I think it would be good to push the doc to the wiki as soon as the UFS support gets merged. Unix Fast File System (UFS/FFS) 1/2 on Syslinux - (usage/install) ----- There is a confusion about the name of this file system, then I decided to contact the author who replied: "The name has always been