Home
last modified time | relevance | path

Searched refs:old_blk (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/staging/rts5208/
Dxd.c1156 static int xd_copy_page(struct rtsx_chip *chip, u32 old_blk, u32 new_blk, in xd_copy_page() argument
1165 old_blk, new_blk); in xd_copy_page()
1171 if ((old_blk == BLK_NOT_FOUND) || (new_blk == BLK_NOT_FOUND)) { in xd_copy_page()
1175 old_page = (old_blk << xd_card->block_shift) + start_page; in xd_copy_page()
1233 old_blk); in xd_copy_page()
1694 u32 old_blk, u32 new_blk, u32 log_blk, u8 page_off) in xd_finish_write() argument
1701 dev_dbg(rtsx_dev(chip), "old_blk = 0x%x, ", old_blk); in xd_finish_write()
1712 if (old_blk == BLK_NOT_FOUND) { in xd_finish_write()
1722 retval = xd_copy_page(chip, old_blk, new_blk, in xd_finish_write()
1734 retval = xd_erase_block(chip, old_blk); in xd_finish_write()
[all …]
Dms.c1712 static int ms_copy_page(struct rtsx_chip *chip, u16 old_blk, u16 new_blk, argument
1721 old_blk, new_blk, log_blk);
1763 ms_read_extra_data(chip, old_blk, i, extra, MS_EXTRA_SIZE);
1779 data[2] = (u8)(old_blk >> 8);
1780 data[3] = (u8)old_blk;
1831 ms_write_extra_data(chip, old_blk, i,
1941 data[2] = (u8)(old_blk >> 8);
1942 data[3] = (u8)old_blk;
3270 static int ms_write_multiple_pages(struct rtsx_chip *chip, u16 old_blk, argument
3293 data[2] = (u8)(old_blk >> 8);
[all …]
/Linux-v4.19/fs/xfs/libxfs/
Dxfs_da_btree.c1683 struct xfs_da_state_blk *old_blk, in xfs_da3_blk_link() argument
1700 old_info = old_blk->bp->b_addr; in xfs_da3_blk_link()
1702 ASSERT(old_blk->magic == XFS_DA_NODE_MAGIC || in xfs_da3_blk_link()
1703 old_blk->magic == XFS_DIR2_LEAFN_MAGIC || in xfs_da3_blk_link()
1704 old_blk->magic == XFS_ATTR_LEAF_MAGIC); in xfs_da3_blk_link()
1706 switch (old_blk->magic) { in xfs_da3_blk_link()
1708 before = xfs_attr_leaf_order(old_blk->bp, new_blk->bp); in xfs_da3_blk_link()
1711 before = xfs_dir2_leafn_order(dp, old_blk->bp, new_blk->bp); in xfs_da3_blk_link()
1714 before = xfs_da3_node_order(dp, old_blk->bp, new_blk->bp); in xfs_da3_blk_link()
1726 new_info->forw = cpu_to_be32(old_blk->blkno); in xfs_da3_blk_link()
[all …]
Dxfs_da_btree.h170 int xfs_da3_blk_link(xfs_da_state_t *state, xfs_da_state_blk_t *old_blk,