Lines Matching refs:block
25 static int block_to_path(struct inode * inode, long block, int offsets[DEPTH]) in block_to_path() argument
29 if (block < 0) { in block_to_path()
31 block, inode->i_sb->s_bdev); in block_to_path()
34 if ((u64)block * BLOCK_SIZE >= inode->i_sb->s_maxbytes) in block_to_path()
37 if (block < 7) { in block_to_path()
38 offsets[n++] = block; in block_to_path()
39 } else if ((block -= 7) < 512) { in block_to_path()
41 offsets[n++] = block; in block_to_path()
43 block -= 512; in block_to_path()
45 offsets[n++] = block>>9; in block_to_path()
46 offsets[n++] = block & 511; in block_to_path()
53 int V1_minix_get_block(struct inode * inode, long block, in V1_minix_get_block() argument
56 return get_block(inode, block, bh_result, create); in V1_minix_get_block()