Lines Matching refs:pos_in_item
189 __le32 * item, int pos_in_item) in allocation_needed() argument
194 get_block_num(item, pos_in_item)) in allocation_needed()
301 blocknr = get_block_num(ind_item, path.pos_in_item); in _get_block_create_0()
305 if (path.pos_in_item == in _get_block_create_0()
372 if ((le_ih_k_offset(ih) + path.pos_in_item) > inode->i_size) in _get_block_create_0()
377 path.pos_in_item; in _get_block_create_0()
380 chars = ih_item_len(ih) - path.pos_in_item; in _get_block_create_0()
382 memcpy(p, B_I_PITEM(bh, ih) + path.pos_in_item, chars); in _get_block_create_0()
605 int pos_in_item; in reiserfs_get_block() local
686 pos_in_item = path.pos_in_item; in reiserfs_get_block()
692 (retval, allocated_block_nr, ih, item, pos_in_item)) { in reiserfs_get_block()
737 unfm_ptr = get_block_num(item, pos_in_item); in reiserfs_get_block()
751 put_block_num(item, pos_in_item, allocated_block_nr); in reiserfs_get_block()
924 RFALSE(pos_in_item != ih_item_len(ih) / UNFM_P_SIZE, in reiserfs_get_block()
1037 pos_in_item = path.pos_in_item; in reiserfs_get_block()
2203 int pos_in_item; in map_block_for_writepage() local
2234 pos_in_item = path.pos_in_item; in map_block_for_writepage()
2242 if (!get_block_num(item, pos_in_item)) { in map_block_for_writepage()
2248 get_block_num(item, pos_in_item), inode); in map_block_for_writepage()
2253 copy_size = ih_item_len(ih) - pos_in_item; in map_block_for_writepage()
2281 memcpy(B_I_PITEM(bh, ih) + pos_in_item, p + bytes_copied, in map_block_for_writepage()