Home | History | Annotate | Download | only in xfs

Lines Matching defs:offset

34     uint64_t offset;
39 offset = XFS_INO_TO_OFFSET(XFS_INFO(fs), ino) << XFS_INFO(fs)->inode_shift;
40 if (offset > BLOCK_SIZE(fs)) {
41 xfs_error("Invalid inode offset in block!");
42 xfs_debug("offset: 0x%llx", offset);
46 xfs_debug("blk %llu block offset 0x%llx", blk, blk << BLOCK_SHIFT(fs));
47 xfs_debug("inode offset in block (in bytes) is 0x%llx", offset);
49 core = (xfs_dinode_t *)((uint8_t *)get_cache(fs->fs_dev, blk) + offset);