Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/msm/disp/
Dmsm_disp_snapshot_util.c175 struct msm_disp_state_block *new_blk; in msm_disp_snapshot_add_block() local
179 new_blk = kzalloc(sizeof(struct msm_disp_state_block), GFP_KERNEL); in msm_disp_snapshot_add_block()
180 if (!new_blk) in msm_disp_snapshot_add_block()
187 snprintf(new_blk->name, sizeof(new_blk->name), "%pV", &vaf); in msm_disp_snapshot_add_block()
191 INIT_LIST_HEAD(&new_blk->node); in msm_disp_snapshot_add_block()
192 new_blk->size = ALIGN(len, REG_DUMP_ALIGN); in msm_disp_snapshot_add_block()
193 new_blk->base_addr = base_addr; in msm_disp_snapshot_add_block()
195 msm_disp_state_dump_regs(&new_blk->state, new_blk->size, base_addr); in msm_disp_snapshot_add_block()
196 list_add_tail(&new_blk->node, &disp_state->blocks); in msm_disp_snapshot_add_block()
/linux-6.12.1/drivers/staging/rts5208/
Dxd.c1091 static int xd_copy_page(struct rtsx_chip *chip, u32 old_blk, u32 new_blk, in xd_copy_page() argument
1100 old_blk, new_blk); in xd_copy_page()
1105 if (old_blk == BLK_NOT_FOUND || new_blk == BLK_NOT_FOUND) in xd_copy_page()
1109 new_page = (new_blk << xd_card->block_shift) + start_page; in xd_copy_page()
1191 xd_mark_bad_block(chip, new_blk); in xd_copy_page()
1497 u32 page_addr, new_blk; in xd_read_multiple_pages() local
1588 new_blk = xd_get_unused_block(chip, zone_no); in xd_read_multiple_pages()
1589 if (new_blk == NO_NEW_BLK) { in xd_read_multiple_pages()
1594 retval = xd_copy_page(chip, phy_blk, new_blk, 0, in xd_read_multiple_pages()
1598 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,
1782 data[2] = (u8)(new_blk >> 8);
1783 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-6.12.1/fs/xfs/
Dxfs_log_recover.c317 xfs_daddr_t *new_blk) in xlog_find_verify_cycle() argument
353 *new_blk = i+j; in xlog_find_verify_cycle()
361 *new_blk = -1; in xlog_find_verify_cycle()
504 xfs_daddr_t new_blk, first_blk, start_blk, last_blk, head_blk; in xlog_find_head() local
635 stop_on_cycle, &new_blk))) in xlog_find_head()
637 if (new_blk != -1) in xlog_find_head()
638 head_blk = new_blk; in xlog_find_head()
672 (stop_on_cycle - 1), &new_blk))) in xlog_find_head()
674 if (new_blk != -1) { in xlog_find_head()
675 head_blk = new_blk; in xlog_find_head()
[all …]
/linux-6.12.1/fs/xfs/libxfs/
Dxfs_da_btree.c1898 struct xfs_da_state_blk *new_blk) in xfs_da3_blk_link() argument
1916 new_info = new_blk->bp->b_addr; in xfs_da3_blk_link()
1923 before = xfs_attr_leaf_order(old_blk->bp, new_blk->bp); in xfs_da3_blk_link()
1926 before = xfs_dir2_leafn_order(dp, old_blk->bp, new_blk->bp); in xfs_da3_blk_link()
1929 before = xfs_da3_node_order(dp, old_blk->bp, new_blk->bp); in xfs_da3_blk_link()
1960 tmp_info->forw = cpu_to_be32(new_blk->blkno); in xfs_da3_blk_link()
1963 old_info->back = cpu_to_be32(new_blk->blkno); in xfs_da3_blk_link()
1988 tmp_info->back = cpu_to_be32(new_blk->blkno); in xfs_da3_blk_link()
1991 old_info->forw = cpu_to_be32(new_blk->blkno); in xfs_da3_blk_link()
1995 xfs_trans_log_buf(args->trans, new_blk->bp, 0, sizeof(*tmp_info) - 1); in xfs_da3_blk_link()
Dxfs_da_btree.h198 xfs_da_state_blk_t *new_blk);
/linux-6.12.1/fs/ocfs2/
Dxattr.c4621 u64 new_blk, in ocfs2_divide_xattr_bucket() argument
4633 (unsigned long long)new_blk); in ocfs2_divide_xattr_bucket()
4660 ret = ocfs2_init_xattr_bucket(t_bucket, new_blk, new_bucket_head); in ocfs2_divide_xattr_bucket()
4975 u64 new_blk, in ocfs2_divide_xattr_cluster() argument
4991 new_blk, first_hash, 1); in ocfs2_divide_xattr_cluster()
5024 u64 new_blk, in ocfs2_adjust_xattr_cross_cluster() argument
5033 (unsigned long long)new_blk, prev_clusters); in ocfs2_adjust_xattr_cross_cluster()
5039 new_blk, in ocfs2_adjust_xattr_cross_cluster()
5053 last_blk, new_blk, 0, in ocfs2_adjust_xattr_cross_cluster()
5059 last_blk, new_blk, in ocfs2_adjust_xattr_cross_cluster()