Searched refs:old_blk (Results 1 – 4 of 4) sorted by relevance
/linux-2.6.39/drivers/staging/rts_pstor/ |
D | xd.c | 1074 static int xd_copy_page(struct rtsx_chip *chip, u32 old_blk, u32 new_blk, u8 start_page, u8 end_pag… in xd_copy_page() argument 1081 RTSX_DEBUGP("Copy page from block 0x%x to block 0x%x\n", old_blk, new_blk); in xd_copy_page() 1086 if ((old_blk == BLK_NOT_FOUND) || (new_blk == BLK_NOT_FOUND)) in xd_copy_page() 1089 old_page = (old_blk << xd_card->block_shift) + start_page; in xd_copy_page() 1132 RTSX_DEBUGP("old block 0x%x ecc error\n", old_blk); in xd_copy_page() 1559 u32 old_blk, u32 new_blk, u32 log_blk, u8 page_off) in xd_finish_write() argument 1566 old_blk, new_blk, log_blk); in xd_finish_write() 1574 if (old_blk == BLK_NOT_FOUND) { in xd_finish_write() 1584 retval = xd_copy_page(chip, old_blk, new_blk, in xd_finish_write() 1596 retval = xd_erase_block(chip, old_blk); in xd_finish_write() [all …]
|
D | ms.c | 1594 static int ms_copy_page(struct rtsx_chip *chip, u16 old_blk, u16 new_blk, in ms_copy_page() argument 1602 old_blk, new_blk, log_blk); in ms_copy_page() 1640 ms_read_extra_data(chip, old_blk, i, extra, MS_EXTRA_SIZE); in ms_copy_page() 1655 data[2] = (u8)(old_blk >> 8); in ms_copy_page() 1656 data[3] = (u8)old_blk; in ms_copy_page() 1701 ms_write_extra_data(chip, old_blk, i, extra, MS_EXTRA_SIZE); in ms_copy_page() 1799 data[2] = (u8)(old_blk >> 8); in ms_copy_page() 1800 data[3] = (u8)old_blk; in ms_copy_page() 3072 static int ms_write_multiple_pages(struct rtsx_chip *chip, u16 old_blk, u16 new_blk, in ms_write_multiple_pages() argument 3093 data[2] = (u8)(old_blk >> 8); in ms_write_multiple_pages() [all …]
|
/linux-2.6.39/fs/xfs/ |
D | xfs_da_btree.c | 1185 xfs_da_blk_link(xfs_da_state_t *state, xfs_da_state_blk_t *old_blk, in xfs_da_blk_link() argument 1198 old_info = old_blk->bp->data; in xfs_da_blk_link() 1200 ASSERT(old_blk->magic == XFS_DA_NODE_MAGIC || in xfs_da_blk_link() 1201 old_blk->magic == XFS_DIR2_LEAFN_MAGIC || in xfs_da_blk_link() 1202 old_blk->magic == XFS_ATTR_LEAF_MAGIC); in xfs_da_blk_link() 1203 ASSERT(old_blk->magic == be16_to_cpu(old_info->magic)); in xfs_da_blk_link() 1205 ASSERT(old_blk->magic == new_blk->magic); in xfs_da_blk_link() 1207 switch (old_blk->magic) { in xfs_da_blk_link() 1209 before = xfs_attr_leaf_order(old_blk->bp, new_blk->bp); in xfs_da_blk_link() 1212 before = xfs_dir2_leafn_order(old_blk->bp, new_blk->bp); in xfs_da_blk_link() [all …]
|
D | xfs_da_btree.h | 244 int xfs_da_blk_link(xfs_da_state_t *state, xfs_da_state_blk_t *old_blk,
|