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 } else if (block >= (inode->i_sb->u.minix_sb.s_max_size/BLOCK_SIZE)) { in block_to_path()
33 } else if (block < 7) { in block_to_path()
34 offsets[n++] = block; in block_to_path()
35 } else if ((block -= 7) < 512) { in block_to_path()
37 offsets[n++] = block; in block_to_path()
39 block -= 512; in block_to_path()
41 offsets[n++] = block>>9; in block_to_path()
42 offsets[n++] = block & 511; in block_to_path()
49 int V1_minix_get_block(struct inode * inode, long block, in V1_minix_get_block() argument
52 return get_block(inode, block, bh_result, create); in V1_minix_get_block()