Lines Matching refs:block_start
823 u32 block_ptr, block_start, block_len; in cramfs_read_folio() local
839 block_start = block_ptr << CRAMFS_BLK_DIRECT_PTR_SHIFT; in cramfs_read_folio()
848 cramfs_read(sb, block_start, 2); in cramfs_read_folio()
849 block_start += 2; in cramfs_read_folio()
859 block_start = OFFSET(inode) + maxblock * 4; in cramfs_read_folio()
861 block_start = *(u32 *) in cramfs_read_folio()
864 if (unlikely(block_start & CRAMFS_BLK_FLAG_DIRECT_PTR)) { in cramfs_read_folio()
866 u32 prev_start = block_start; in cramfs_read_folio()
867 block_start = prev_start & ~CRAMFS_BLK_FLAGS; in cramfs_read_folio()
868 block_start <<= CRAMFS_BLK_DIRECT_PTR_SHIFT; in cramfs_read_folio()
870 block_start += PAGE_SIZE; in cramfs_read_folio()
873 cramfs_read(sb, block_start, 2); in cramfs_read_folio()
874 block_start += 2 + block_len; in cramfs_read_folio()
877 block_start &= ~CRAMFS_BLK_FLAGS; in cramfs_read_folio()
878 block_len = block_ptr - block_start; in cramfs_read_folio()
890 cramfs_read(sb, block_start, block_len), in cramfs_read_folio()
896 cramfs_read(sb, block_start, block_len), in cramfs_read_folio()