Lines Matching refs:pos_in_item
216 __le32 * item, int pos_in_item) in allocation_needed() argument
221 get_block_num(item, pos_in_item)) in allocation_needed()
332 blocknr = get_block_num(ind_item, path.pos_in_item); in _get_block_create_0()
336 if (path.pos_in_item == in _get_block_create_0()
406 if ((le_ih_k_offset(ih) + path.pos_in_item) > inode->i_size) in _get_block_create_0()
411 path.pos_in_item; in _get_block_create_0()
414 chars = ih_item_len(ih) - path.pos_in_item; in _get_block_create_0()
416 memcpy(p, ih_item_body(bh, ih) + path.pos_in_item, chars); in _get_block_create_0()
656 int pos_in_item; in reiserfs_get_block() local
742 pos_in_item = path.pos_in_item; in reiserfs_get_block()
748 (retval, allocated_block_nr, ih, item, pos_in_item)) { in reiserfs_get_block()
796 unfm_ptr = get_block_num(item, pos_in_item); in reiserfs_get_block()
810 put_block_num(item, pos_in_item, allocated_block_nr); in reiserfs_get_block()
1014 RFALSE(pos_in_item != ih_item_len(ih) / UNFM_P_SIZE, in reiserfs_get_block()
1135 pos_in_item = path.pos_in_item; in reiserfs_get_block()
2367 int pos_in_item; in map_block_for_writepage() local
2401 pos_in_item = path.pos_in_item; in map_block_for_writepage()
2409 if (!get_block_num(item, pos_in_item)) { in map_block_for_writepage()
2415 get_block_num(item, pos_in_item), inode); in map_block_for_writepage()
2420 copy_size = ih_item_len(ih) - pos_in_item; in map_block_for_writepage()
2448 memcpy(ih_item_body(bh, ih) + pos_in_item, p + bytes_copied, in map_block_for_writepage()