Lines Matching defs:pos
39 * befs_read_datastream - get buffer_head containing data, starting from pos.
42 * @pos: start of data
50 befs_off_t pos, uint *off)
54 befs_blocknr_t block; /* block coresponding to pos */
56 befs_debug(sb, "---> %s %llu", __func__, pos);
57 block = pos >> BEFS_SB(sb)->block_shift;
59 *off = pos - (block << BEFS_SB(sb)->block_shift);
74 befs_debug(sb, "<--- %s read data, starting at %llu", __func__, pos);
99 befs_off_t pos = fblock << BEFS_SB(sb)->block_shift;
101 if (pos < data->max_direct_range) {
104 } else if (pos < data->max_indirect_range) {
107 } else if (pos < data->max_double_indirect_range) {
452 * contains pos. Then figure out how much of pos that
454 * the indirect block contains pos.