/linux-3.4.99/drivers/staging/rts5139/ |
D | xd.c | 1065 u32 old_blk, u32 new_blk, u8 start_page, u8 end_page) in xd_copy_page() argument 1073 new_blk); in xd_copy_page() 1078 if ((old_blk == BLK_NOT_FOUND) || (new_blk == BLK_NOT_FOUND)) in xd_copy_page() 1082 new_page = (new_blk << xd_card->block_shift) + start_page; in xd_copy_page() 1169 xd_mark_bad_block(chip, new_blk); in xd_copy_page() 1187 u32 old_blk, u32 new_blk, in xd_auto_copy_page() argument 1196 old_blk, new_blk); in xd_auto_copy_page() 1203 if ((old_blk == BLK_NOT_FOUND) || (new_blk == BLK_NOT_FOUND)) in xd_auto_copy_page() 1207 new_page = (new_blk << xd_card->block_shift) + start_page; in xd_auto_copy_page() 1262 retval = xd_copy_page(chip, old_blk, new_blk, start_page, end_page); in xd_auto_copy_page() [all …]
|
D | ms.c | 1664 static int ms_copy_page(struct rts51x_chip *chip, u16 old_blk, u16 new_blk, argument 1672 old_blk, new_blk, log_blk); 1676 retval = ms_read_extra_data(chip, new_blk, 0, extra, MS_EXTRA_SIZE); 1780 ms_write_extra_data(chip, new_blk, i, 1821 data[2] = (u8) (new_blk >> 8); 1822 data[3] = (u8) new_blk; 1927 static int ms_auto_copy_page(struct rts51x_chip *chip, u16 old_blk, u16 new_blk, argument 1937 old_blk, new_blk, log_blk); 1943 retval = ms_read_extra_data(chip, new_blk, 0, extra, MS_EXTRA_SIZE); 1981 rts51x_add_cmd(chip, WRITE_REG_CMD, MS_NEW_BLOCK_0, 0xFF, (u8) new_blk); [all …]
|
/linux-3.4.99/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() 1090 new_page = (new_blk << xd_card->block_shift) + start_page; in xd_copy_page() 1157 xd_mark_bad_block(chip, new_blk); in xd_copy_page() 1448 u32 page_addr, new_blk; in xd_read_multiple_pages() local 1531 new_blk = xd_get_unused_block(chip, zone_no); in xd_read_multiple_pages() 1532 if (new_blk == NO_NEW_BLK) { in xd_read_multiple_pages() 1537 retval = xd_copy_page(chip, phy_blk, new_blk, 0, xd_card->page_off + 1); in xd_read_multiple_pages() 1540 retval = xd_erase_block(chip, new_blk); in xd_read_multiple_pages() [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() 1605 retval = ms_read_extra_data(chip, new_blk, 0, extra, MS_EXTRA_SIZE); in ms_copy_page() 1706 ms_write_extra_data(chip, new_blk, i, extra, MS_EXTRA_SIZE); in ms_copy_page() 1739 data[2] = (u8)(new_blk >> 8); in ms_copy_page() 1740 data[3] = (u8)new_blk; in ms_copy_page() 3071 static int ms_write_multiple_pages(struct rtsx_chip *chip, u16 old_blk, u16 new_blk, in ms_write_multiple_pages() argument 3129 data[2] = (u8)(new_blk >> 8); in ms_write_multiple_pages() 3130 data[3] = (u8)new_blk; in ms_write_multiple_pages() 3261 static int ms_finish_write(struct rtsx_chip *chip, u16 old_blk, u16 new_blk, in ms_finish_write() argument [all …]
|
/linux-3.4.99/fs/xfs/ |
D | xfs_log_recover.c | 427 xfs_daddr_t *new_blk) in xlog_find_verify_cycle() argument 461 *new_blk = i+j; in xlog_find_verify_cycle() 469 *new_blk = -1; in xlog_find_verify_cycle() 605 xfs_daddr_t new_blk, first_blk, start_blk, last_blk, head_blk; in xlog_find_head() local 733 stop_on_cycle, &new_blk))) in xlog_find_head() 735 if (new_blk != -1) in xlog_find_head() 736 head_blk = new_blk; in xlog_find_head() 770 (stop_on_cycle - 1), &new_blk))) in xlog_find_head() 772 if (new_blk != -1) { in xlog_find_head() 773 head_blk = new_blk; in xlog_find_head() [all …]
|
D | xfs_da_btree.c | 1215 xfs_da_state_blk_t *new_blk) in xfs_da_blk_link() argument 1228 new_info = new_blk->bp->data; in xfs_da_blk_link() 1233 ASSERT(new_blk->magic == be16_to_cpu(new_info->magic)); in xfs_da_blk_link() 1234 ASSERT(old_blk->magic == new_blk->magic); in xfs_da_blk_link() 1238 before = xfs_attr_leaf_order(old_blk->bp, new_blk->bp); in xfs_da_blk_link() 1241 before = xfs_dir2_leafn_order(old_blk->bp, new_blk->bp); in xfs_da_blk_link() 1244 before = xfs_da_node_order(old_blk->bp, new_blk->bp); in xfs_da_blk_link() 1268 tmp_info->forw = cpu_to_be32(new_blk->blkno); in xfs_da_blk_link() 1272 old_info->back = cpu_to_be32(new_blk->blkno); in xfs_da_blk_link() 1290 tmp_info->back = cpu_to_be32(new_blk->blkno); in xfs_da_blk_link() [all …]
|
D | xfs_da_btree.h | 234 xfs_da_state_blk_t *new_blk);
|
/linux-3.4.99/fs/ocfs2/ |
D | xattr.c | 4608 u64 new_blk, in ocfs2_divide_xattr_bucket() argument 4620 (unsigned long long)new_blk); in ocfs2_divide_xattr_bucket() 4647 ret = ocfs2_init_xattr_bucket(t_bucket, new_blk); in ocfs2_divide_xattr_bucket() 4962 u64 new_blk, in ocfs2_divide_xattr_cluster() argument 4978 new_blk, first_hash, 1); in ocfs2_divide_xattr_cluster() 5011 u64 new_blk, in ocfs2_adjust_xattr_cross_cluster() argument 5020 (unsigned long long)new_blk, prev_clusters); in ocfs2_adjust_xattr_cross_cluster() 5026 new_blk, in ocfs2_adjust_xattr_cross_cluster() 5040 last_blk, new_blk, 0, in ocfs2_adjust_xattr_cross_cluster() 5046 last_blk, new_blk, in ocfs2_adjust_xattr_cross_cluster()
|