Lines Matching refs:ri_buf
1489 old_ptr = item->ri_buf[item->ri_cnt-1].i_addr; in xlog_recover_add_to_cont_trans()
1490 old_len = item->ri_buf[item->ri_cnt-1].i_len; in xlog_recover_add_to_cont_trans()
1494 item->ri_buf[item->ri_cnt-1].i_len += len; in xlog_recover_add_to_cont_trans()
1495 item->ri_buf[item->ri_cnt-1].i_addr = ptr; in xlog_recover_add_to_cont_trans()
1565 item->ri_buf = in xlog_recover_add_to_trans()
1571 item->ri_buf[item->ri_cnt].i_addr = ptr; in xlog_recover_add_to_trans()
1572 item->ri_buf[item->ri_cnt].i_len = len; in xlog_recover_add_to_trans()
1595 xfs_buf_log_format_t *buf_f = item->ri_buf[0].i_addr; in xlog_recover_reorder_trans()
1643 xfs_buf_log_format_t *buf_f = item->ri_buf[0].i_addr; in xlog_recover_buffer_pass1()
1815 ASSERT(item->ri_buf[item_index].i_addr != NULL); in xlog_recover_do_inode_buffer()
1816 ASSERT((item->ri_buf[item_index].i_len % XFS_BLF_CHUNK) == 0); in xlog_recover_do_inode_buffer()
1824 logged_nextp = item->ri_buf[item_index].i_addr + in xlog_recover_do_inode_buffer()
1874 ASSERT(item->ri_buf[i].i_addr != NULL); in xlog_recover_do_reg_buffer()
1875 ASSERT(item->ri_buf[i].i_len % XFS_BLF_CHUNK == 0); in xlog_recover_do_reg_buffer()
1887 if (item->ri_buf[i].i_addr == NULL) { in xlog_recover_do_reg_buffer()
1892 if (item->ri_buf[i].i_len < sizeof(xfs_disk_dquot_t)) { in xlog_recover_do_reg_buffer()
1895 item->ri_buf[i].i_len, __func__); in xlog_recover_do_reg_buffer()
1898 error = xfs_qm_dqcheck(mp, item->ri_buf[i].i_addr, in xlog_recover_do_reg_buffer()
1907 item->ri_buf[i].i_addr, /* source */ in xlog_recover_do_reg_buffer()
2108 xfs_buf_log_format_t *buf_f = item->ri_buf[0].i_addr; in xlog_recover_buffer_pass2()
2201 if (item->ri_buf[0].i_len == sizeof(xfs_inode_log_format_t)) { in xlog_recover_inode_pass2()
2202 in_f = item->ri_buf[0].i_addr; in xlog_recover_inode_pass2()
2206 error = xfs_inode_item_format_convert(&item->ri_buf[0], in_f); in xlog_recover_inode_pass2()
2252 dicp = item->ri_buf[1].i_addr; in xlog_recover_inode_pass2()
2335 if (unlikely(item->ri_buf[1].i_len > sizeof(struct xfs_icdinode))) { in xlog_recover_inode_pass2()
2341 __func__, item->ri_buf[1].i_len, item); in xlog_recover_inode_pass2()
2347 xfs_dinode_to_disk(dip, item->ri_buf[1].i_addr); in xlog_recover_inode_pass2()
2350 if (item->ri_buf[1].i_len > sizeof(struct xfs_icdinode)) { in xlog_recover_inode_pass2()
2352 item->ri_buf[1].i_addr + sizeof(struct xfs_icdinode), in xlog_recover_inode_pass2()
2353 item->ri_buf[1].i_len - sizeof(struct xfs_icdinode)); in xlog_recover_inode_pass2()
2370 len = item->ri_buf[2].i_len; in xlog_recover_inode_pass2()
2371 src = item->ri_buf[2].i_addr; in xlog_recover_inode_pass2()
2408 len = item->ri_buf[attr_index].i_len; in xlog_recover_inode_pass2()
2409 src = item->ri_buf[attr_index].i_addr; in xlog_recover_inode_pass2()
2457 xfs_qoff_logformat_t *qoff_f = item->ri_buf[0].i_addr; in xlog_recover_quotaoff_pass1()
2496 recddq = item->ri_buf[1].i_addr; in xlog_recover_dquot_pass2()
2501 if (item->ri_buf[1].i_len < sizeof(xfs_disk_dquot_t)) { in xlog_recover_dquot_pass2()
2503 item->ri_buf[1].i_len, __func__); in xlog_recover_dquot_pass2()
2525 dq_f = item->ri_buf[0].i_addr; in xlog_recover_dquot_pass2()
2556 memcpy(ddq, recddq, item->ri_buf[1].i_len); in xlog_recover_dquot_pass2()
2585 efi_formatp = item->ri_buf[0].i_addr; in xlog_recover_efi_pass2()
2588 if ((error = xfs_efi_copy_format(&(item->ri_buf[0]), in xlog_recover_efi_pass2()
2624 efd_formatp = item->ri_buf[0].i_addr; in xlog_recover_efd_pass2()
2625 ASSERT((item->ri_buf[0].i_len == (sizeof(xfs_efd_log_format_32_t) + in xlog_recover_efd_pass2()
2627 (item->ri_buf[0].i_len == (sizeof(xfs_efd_log_format_64_t) + in xlog_recover_efd_pass2()
2675 kmem_free(item->ri_buf[i].i_addr); in xlog_recover_free_trans()
2677 kmem_free(item->ri_buf); in xlog_recover_free_trans()