Searched refs:ri_buf (Results 1 - 2 of 2) sorted by relevance
/linux-4.4.14/fs/xfs/libxfs/ |
H A D | xfs_log_recover.h | 35 * item headers are in ri_buf[0]. Additional buffers follow. 42 xfs_log_iovec_t *ri_buf; /* ptr to regions buffer */ member in struct:xlog_recover_item 55 #define ITEM_TYPE(i) (*(ushort *)(i)->ri_buf[0].i_addr)
|
/linux-4.4.14/fs/xfs/ |
H A D | xfs_log_recover.c | 1509 xfs_buf_log_format_t *buf_f = item->ri_buf[0].i_addr; xlog_recover_reorder_trans() 1582 xfs_buf_log_format_t *buf_f = item->ri_buf[0].i_addr; xlog_recover_buffer_pass1() 1770 ASSERT(item->ri_buf[item_index].i_addr != NULL); xlog_recover_do_inode_buffer() 1771 ASSERT((item->ri_buf[item_index].i_len % XFS_BLF_CHUNK) == 0); xlog_recover_do_inode_buffer() 1780 logged_nextp = item->ri_buf[item_index].i_addr + xlog_recover_do_inode_buffer() 2196 ASSERT(item->ri_buf[i].i_addr != NULL); xlog_recover_do_reg_buffer() 2197 ASSERT(item->ri_buf[i].i_len % XFS_BLF_CHUNK == 0); xlog_recover_do_reg_buffer() 2209 if (item->ri_buf[i].i_len < (nbits << XFS_BLF_SHIFT)) xlog_recover_do_reg_buffer() 2210 nbits = item->ri_buf[i].i_len >> XFS_BLF_SHIFT; xlog_recover_do_reg_buffer() 2220 if (item->ri_buf[i].i_addr == NULL) { xlog_recover_do_reg_buffer() 2225 if (item->ri_buf[i].i_len < sizeof(xfs_disk_dquot_t)) { xlog_recover_do_reg_buffer() 2228 item->ri_buf[i].i_len, __func__); xlog_recover_do_reg_buffer() 2231 error = xfs_dqcheck(mp, item->ri_buf[i].i_addr, xlog_recover_do_reg_buffer() 2240 item->ri_buf[i].i_addr, /* source */ xlog_recover_do_reg_buffer() 2327 xfs_buf_log_format_t *buf_f = item->ri_buf[0].i_addr; xlog_recover_buffer_pass2() 2529 if (item->ri_buf[0].i_len == sizeof(xfs_inode_log_format_t)) { xlog_recover_inode_pass2() 2530 in_f = item->ri_buf[0].i_addr; xlog_recover_inode_pass2() 2534 error = xfs_inode_item_format_convert(&item->ri_buf[0], in_f); xlog_recover_inode_pass2() 2578 dicp = item->ri_buf[1].i_addr; xlog_recover_inode_pass2() 2682 if (unlikely(item->ri_buf[1].i_len > isize)) { xlog_recover_inode_pass2() 2687 __func__, item->ri_buf[1].i_len, item); xlog_recover_inode_pass2() 2696 if (item->ri_buf[1].i_len > isize) { xlog_recover_inode_pass2() 2698 item->ri_buf[1].i_addr + isize, xlog_recover_inode_pass2() 2699 item->ri_buf[1].i_len - isize); xlog_recover_inode_pass2() 2716 len = item->ri_buf[2].i_len; xlog_recover_inode_pass2() 2717 src = item->ri_buf[2].i_addr; xlog_recover_inode_pass2() 2754 len = item->ri_buf[attr_index].i_len; xlog_recover_inode_pass2() 2755 src = item->ri_buf[attr_index].i_addr; xlog_recover_inode_pass2() 2810 xfs_qoff_logformat_t *qoff_f = item->ri_buf[0].i_addr; xlog_recover_quotaoff_pass1() 2851 recddq = item->ri_buf[1].i_addr; xlog_recover_dquot_pass2() 2856 if (item->ri_buf[1].i_len < sizeof(xfs_disk_dquot_t)) { xlog_recover_dquot_pass2() 2858 item->ri_buf[1].i_len, __func__); xlog_recover_dquot_pass2() 2880 dq_f = item->ri_buf[0].i_addr; xlog_recover_dquot_pass2() 2917 memcpy(ddq, recddq, item->ri_buf[1].i_len); xlog_recover_dquot_pass2() 2951 efi_formatp = item->ri_buf[0].i_addr; xlog_recover_efi_pass2() 2954 error = xfs_efi_copy_format(&item->ri_buf[0], &efip->efi_format); xlog_recover_efi_pass2() 2993 efd_formatp = item->ri_buf[0].i_addr; xlog_recover_efd_pass2() 2994 ASSERT((item->ri_buf[0].i_len == (sizeof(xfs_efd_log_format_32_t) + xlog_recover_efd_pass2() 2996 (item->ri_buf[0].i_len == (sizeof(xfs_efd_log_format_64_t) + xlog_recover_efd_pass2() 3056 icl = (struct xfs_icreate_log *)item->ri_buf[0].i_addr; xlog_recover_do_icreate_pass2() 3159 struct xfs_buf_log_format *buf_f = item->ri_buf[0].i_addr; xlog_recover_buffer_ra_pass2() 3181 if (item->ri_buf[0].i_len == sizeof(struct xfs_inode_log_format)) { xlog_recover_inode_ra_pass2() 3182 ilfp = item->ri_buf[0].i_addr; xlog_recover_inode_ra_pass2() 3186 error = xfs_inode_item_format_convert(&item->ri_buf[0], ilfp); xlog_recover_inode_ra_pass2() 3213 recddq = item->ri_buf[1].i_addr; xlog_recover_dquot_ra_pass2() 3216 if (item->ri_buf[1].i_len < sizeof(struct xfs_disk_dquot)) xlog_recover_dquot_ra_pass2() 3224 dq_f = item->ri_buf[0].i_addr; xlog_recover_dquot_ra_pass2() 3455 old_ptr = item->ri_buf[item->ri_cnt-1].i_addr; xlog_recover_add_to_cont_trans() 3456 old_len = item->ri_buf[item->ri_cnt-1].i_len; xlog_recover_add_to_cont_trans() 3460 item->ri_buf[item->ri_cnt-1].i_len += len; xlog_recover_add_to_cont_trans() 3461 item->ri_buf[item->ri_cnt-1].i_addr = ptr; xlog_recover_add_to_cont_trans() 3544 item->ri_buf = xlog_recover_add_to_trans() 3549 /* Description region is ri_buf[0] */ xlog_recover_add_to_trans() 3550 item->ri_buf[item->ri_cnt].i_addr = ptr; xlog_recover_add_to_trans() 3551 item->ri_buf[item->ri_cnt].i_len = len; xlog_recover_add_to_trans() 3573 kmem_free(item->ri_buf[i].i_addr); xlog_recover_free_trans() 3575 kmem_free(item->ri_buf); xlog_recover_free_trans()
|
Completed in 197 milliseconds