Lines Matching refs:block_start
827 u32 block_ptr, block_start, block_len; in cramfs_read_folio() local
843 block_start = block_ptr << CRAMFS_BLK_DIRECT_PTR_SHIFT; in cramfs_read_folio()
852 cramfs_read(sb, block_start, 2); in cramfs_read_folio()
853 block_start += 2; in cramfs_read_folio()
863 block_start = OFFSET(inode) + maxblock * 4; in cramfs_read_folio()
865 block_start = *(u32 *) in cramfs_read_folio()
868 if (unlikely(block_start & CRAMFS_BLK_FLAG_DIRECT_PTR)) { in cramfs_read_folio()
870 u32 prev_start = block_start; in cramfs_read_folio()
871 block_start = prev_start & ~CRAMFS_BLK_FLAGS; in cramfs_read_folio()
872 block_start <<= CRAMFS_BLK_DIRECT_PTR_SHIFT; in cramfs_read_folio()
874 block_start += PAGE_SIZE; in cramfs_read_folio()
877 cramfs_read(sb, block_start, 2); in cramfs_read_folio()
878 block_start += 2 + block_len; in cramfs_read_folio()
881 block_start &= ~CRAMFS_BLK_FLAGS; in cramfs_read_folio()
882 block_len = block_ptr - block_start; in cramfs_read_folio()
894 cramfs_read(sb, block_start, block_len), in cramfs_read_folio()
900 cramfs_read(sb, block_start, block_len), in cramfs_read_folio()