Searched refs:BLOCK_SHIFT (Results 1 – 10 of 10) sorted by relevance
/external/syslinux/core/fs/xfs/ |
D | xfs.c | 123 bno = fsblock_to_bytes(fs, rec.br_startblock) >> BLOCK_SHIFT(fs); in xfs_next_extent() 127 inode->next_extent.pstart = bno << BLOCK_SHIFT(fs) >> SECTOR_SHIFT(fs); in xfs_next_extent() 128 inode->next_extent.len = ((rec.br_blockcount << BLOCK_SHIFT(fs)) + in xfs_next_extent() 136 bno = fsblock_to_bytes(fs, be64_to_cpu(pp[0])) >> BLOCK_SHIFT(fs); in xfs_next_extent() 146 bno = fsblock_to_bytes(fs, be64_to_cpu(pp[0])) >> BLOCK_SHIFT(fs); in xfs_next_extent() 157 >> BLOCK_SHIFT(fs); in xfs_next_extent() 161 inode->next_extent.pstart = bno << BLOCK_SHIFT(fs) in xfs_next_extent() 164 << BLOCK_SHIFT(fs)) in xfs_next_extent() 171 bno = fsblock_to_bytes(fs, nextbno) >> BLOCK_SHIFT(fs); in xfs_next_extent() 284 db = fsblock_to_bytes(fs, rec.br_startblock) >> BLOCK_SHIFT(fs); in xfs_readlink() [all …]
|
D | xfs_dinode.c | 38 blk = ino_to_bytes(fs, ino) >> BLOCK_SHIFT(fs); in xfs_dinode_get_core() 46 xfs_debug("blk %llu block offset 0x%llx", blk, blk << BLOCK_SHIFT(fs)); in xfs_dinode_get_core()
|
D | xfs_dir2.c | 266 dir_blk = fsblock_to_bytes(fs, r.br_startblock) >> BLOCK_SHIFT(fs); in xfs_dir2_block_find_entry() 323 XFS_PVT(inode)->i_ino_blk = ino_to_bytes(fs, ino) >> BLOCK_SHIFT(fs); in xfs_dir2_block_find_entry() 375 BLOCK_SHIFT(parent->fs); in xfs_dir2_leaf_find_entry() 424 BLOCK_SHIFT(parent->fs); in xfs_dir2_leaf_find_entry() 467 BLOCK_SHIFT(parent->fs); in xfs_dir2_leaf_find_entry() 548 be16_to_cpu(rblock->bb_numrecs))) >> BLOCK_SHIFT(fs); in xfs_dir2_get_right_blk() 560 be16_to_cpu(blk->bb_numrecs))) >> BLOCK_SHIFT(fs); in xfs_dir2_get_right_blk() 578 bno = fsblock_to_bytes(fs, nextbno) >> BLOCK_SHIFT(fs); in xfs_dir2_get_right_blk() 589 BLOCK_SHIFT(fs); in xfs_dir2_get_right_blk() 770 BLOCK_SHIFT(parent->fs); in xfs_dir2_node_find_entry()
|
D | xfs_readdir.c | 143 dir_blk = fsblock_to_bytes(fs, r.br_startblock) >> BLOCK_SHIFT(fs); in xfs_readdir_dir2_block() 220 BLOCK_SHIFT(file->fs); in xfs_readdir_dir2_leaf() 245 dir_blk = fsblock_to_bytes(fs, irec.br_startblock) >> BLOCK_SHIFT(fs); in xfs_readdir_dir2_leaf() 304 fsblkno = fsblock_to_bytes(fs, irec.br_startblock) >> BLOCK_SHIFT(fs); in xfs_readdir_dir2_node()
|
D | xfs.h | 92 ((uint64_t)(x) << BLOCK_SHIFT((fs))) 645 agnumber_to_bytes(fs, XFS_INO_TO_AGNO(fs, ino)) >> BLOCK_SHIFT(fs); in fill_xfs_inode_pvt() 646 XFS_PVT(inode)->i_ino_blk = ino_to_bytes(fs, ino) >> BLOCK_SHIFT(fs); in fill_xfs_inode_pvt()
|
/external/syslinux/core/fs/ntfs/ |
D | ntfs.c | 115 const uint64_t blk_size = UINT64_C(1) << BLOCK_SHIFT(fs); in ntfs_read() 246 blk = (lcn << clust_byte_shift >> BLOCK_SHIFT(fs)); in ntfs_mft_record_lookup_any() 272 … *out_blk = (file << mft_record_shift >> BLOCK_SHIFT(fs)); /* update record starting block */ in ntfs_mft_record_lookup_any() 416 const uint64_t blk_size = UINT64_C(1) << BLOCK_SHIFT(fs); in ntfs_attr_list_lookup() 467 BLOCK_SHIFT(fs); in ntfs_attr_list_lookup() 732 const uint64_t blk_size = UINT64_C(1) << BLOCK_SHIFT(fs); in ntfs_index_lookup() 820 SECTOR_SHIFT(fs) >> BLOCK_SHIFT(fs); in ntfs_index_lookup() 926 pstart = (sbi->mft_blk + NTFS_PVT(inode)->here) << BLOCK_SHIFT(fs) >> in ntfs_next_extent() 1025 const uint64_t blk_size = UINT64_C(1) << BLOCK_SHIFT(fs); in ntfs_readdir() 1129 BLOCK_SHIFT(fs); in ntfs_readdir() [all …]
|
/external/syslinux/core/fs/ext2/ |
D | bmap.c | 120 int addr_shift = BLOCK_SHIFT(fs) - 2; in bmap_indirect() 148 const int shft_per_block = BLOCK_SHIFT(fs) - 2; in bmap_traditional() 213 int blktosec = BLOCK_SHIFT(fs) - SECTOR_SHIFT(fs); in ext2_next_extent()
|
/external/syslinux/core/fs/iso9660/ |
D | iso9660.c | 168 int blktosec = BLOCK_SHIFT(fs) - SECTOR_SHIFT(fs); in iso_get_inode() 178 inode->blocks = (inode->size + BLOCK_SIZE(fs) - 1) >> BLOCK_SHIFT(fs); in iso_get_inode() 220 uint32_t i = file->offset >> BLOCK_SHIFT(fs); in iso_readdir()
|
/external/syslinux/core/fs/ufs/ |
D | bmap.c | 175 int blktosec = BLOCK_SHIFT(fs) - SECTOR_SHIFT(fs); in ufs_next_extent() 176 int frag_shift = BLOCK_SHIFT(fs) - UFS_SB(fs)->c_blk_frag_shift; in ufs_next_extent()
|
/external/syslinux/core/include/ |
D | fs.h | 27 #define BLOCK_SHIFT(fs) ((fs)->block_shift) macro
|