search for: addr_shift

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

2014 May 29
0
[PATCH 2/2] core/fs: Add support for Unix File system 1/2.
...amp;addr, + (uint8_t *) blk + (index << shift), + 1 << shift); + + return addr; +} + +/* + * Scan forward in a range of blocks to see if they are contiguous, + * then return the initial value. + */ +static uint64_t +scan_set_nblocks(const uint8_t *map, uint32_t index, uint32_t addr_shift, + unsigned int count, size_t *nblocks) +{ + uint64_t addr; + uint64_t blk = get_blkaddr(map, index, addr_shift); + + /* + * Block spans 8 fragments, then address is interleaved by 8. + * This code works for either 32/64 sized addresses. + */ + if (nblocks) { + uint32_t s...
2013 Jul 12
1
[PATCH 001/001] core/fs: Add support to Unix File system 1/2.
...amp;addr, + (uint8_t *) blk + (index << shift), + 1 << shift); + + return addr; +} + +/* + * Scan forward in a range of blocks to see if they are contiguous, + * then return the initial value. + */ +static uint64_t +scan_set_nblocks(const uint8_t *map, uint32_t index, uint32_t addr_shift, + unsigned int count, size_t *nblocks) +{ + uint64_t addr; + uint64_t blk = get_blkaddr(map, index, addr_shift); + + /* + * Block spans 8 fragments, then address is interleaved by 8. + * This code works for either 32/64 sized addresses. + */ + if (nblocks) { + uint32_t s...
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
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