Home
last modified time | relevance | path

Searched refs:new_blk (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/drivers/staging/rts5208/
Dxd.c1098 static int xd_copy_page(struct rtsx_chip *chip, u32 old_blk, u32 new_blk, in xd_copy_page() argument
1107 old_blk, new_blk); in xd_copy_page()
1112 if ((old_blk == BLK_NOT_FOUND) || (new_blk == BLK_NOT_FOUND)) in xd_copy_page()
1116 new_page = (new_blk << xd_card->block_shift) + start_page; in xd_copy_page()
1198 xd_mark_bad_block(chip, new_blk); in xd_copy_page()
1504 u32 page_addr, new_blk; in xd_read_multiple_pages() local
1595 new_blk = xd_get_unused_block(chip, zone_no); in xd_read_multiple_pages()
1596 if (new_blk == NO_NEW_BLK) { in xd_read_multiple_pages()
1601 retval = xd_copy_page(chip, phy_blk, new_blk, 0, in xd_read_multiple_pages()
1605 retval = xd_erase_block(chip, new_blk); in xd_read_multiple_pages()
[all …]
Dms.c1622 static int ms_copy_page(struct rtsx_chip *chip, u16 old_blk, u16 new_blk, argument
1631 old_blk, new_blk, log_blk);
1635 retval = ms_read_extra_data(chip, new_blk, 0, extra, MS_EXTRA_SIZE);
1744 ms_write_extra_data(chip, new_blk, i,
1781 data[2] = (u8)(new_blk >> 8);
1782 data[3] = (u8)new_blk;
3124 u16 new_blk, u16 log_blk, u8 start_page, argument
3181 data[2] = (u8)(new_blk >> 8);
3182 data[3] = (u8)new_blk;
3315 static int ms_finish_write(struct rtsx_chip *chip, u16 old_blk, u16 new_blk, argument
[all …]
/Linux-v5.10/fs/xfs/
Dxfs_log_recover.c323 xfs_daddr_t *new_blk) in xlog_find_verify_cycle() argument
359 *new_blk = i+j; in xlog_find_verify_cycle()
367 *new_blk = -1; in xlog_find_verify_cycle()
510 xfs_daddr_t new_blk, first_blk, start_blk, last_blk, head_blk; in xlog_find_head() local
641 stop_on_cycle, &new_blk))) in xlog_find_head()
643 if (new_blk != -1) in xlog_find_head()
644 head_blk = new_blk; in xlog_find_head()
678 (stop_on_cycle - 1), &new_blk))) in xlog_find_head()
680 if (new_blk != -1) { in xlog_find_head()
681 head_blk = new_blk; in xlog_find_head()
[all …]
/Linux-v5.10/fs/xfs/libxfs/
Dxfs_da_btree.c1795 struct xfs_da_state_blk *new_blk) in xfs_da3_blk_link() argument
1812 new_info = new_blk->bp->b_addr; in xfs_da3_blk_link()
1819 before = xfs_attr_leaf_order(old_blk->bp, new_blk->bp); in xfs_da3_blk_link()
1822 before = xfs_dir2_leafn_order(dp, old_blk->bp, new_blk->bp); in xfs_da3_blk_link()
1825 before = xfs_da3_node_order(dp, old_blk->bp, new_blk->bp); in xfs_da3_blk_link()
1849 tmp_info->forw = cpu_to_be32(new_blk->blkno); in xfs_da3_blk_link()
1852 old_info->back = cpu_to_be32(new_blk->blkno); in xfs_da3_blk_link()
1870 tmp_info->back = cpu_to_be32(new_blk->blkno); in xfs_da3_blk_link()
1873 old_info->forw = cpu_to_be32(new_blk->blkno); in xfs_da3_blk_link()
1877 xfs_trans_log_buf(args->trans, new_blk->bp, 0, sizeof(*tmp_info) - 1); in xfs_da3_blk_link()
Dxfs_da_btree.h190 xfs_da_state_blk_t *new_blk);
/Linux-v5.10/fs/ocfs2/
Dxattr.c4628 u64 new_blk, in ocfs2_divide_xattr_bucket() argument
4640 (unsigned long long)new_blk); in ocfs2_divide_xattr_bucket()
4667 ret = ocfs2_init_xattr_bucket(t_bucket, new_blk, new_bucket_head); in ocfs2_divide_xattr_bucket()
4982 u64 new_blk, in ocfs2_divide_xattr_cluster() argument
4998 new_blk, first_hash, 1); in ocfs2_divide_xattr_cluster()
5031 u64 new_blk, in ocfs2_adjust_xattr_cross_cluster() argument
5040 (unsigned long long)new_blk, prev_clusters); in ocfs2_adjust_xattr_cross_cluster()
5046 new_blk, in ocfs2_adjust_xattr_cross_cluster()
5060 last_blk, new_blk, 0, in ocfs2_adjust_xattr_cross_cluster()
5066 last_blk, new_blk, in ocfs2_adjust_xattr_cross_cluster()