Home
last modified time | relevance | path

Searched refs:ri_buf (Results 1 – 12 of 12) sorted by relevance

/linux-6.12.1/fs/xfs/
Dxfs_dquot_item_recover.c37 recddq = item->ri_buf[1].i_addr; in xlog_recover_dquot_ra_pass2()
40 if (item->ri_buf[1].i_len < sizeof(struct xfs_disk_dquot)) in xlog_recover_dquot_ra_pass2()
48 dq_f = item->ri_buf[0].i_addr; in xlog_recover_dquot_ra_pass2()
82 recddq = item->ri_buf[1].i_addr; in xlog_recover_dquot_commit_pass2()
87 if (item->ri_buf[1].i_len < sizeof(struct xfs_disk_dquot)) { in xlog_recover_dquot_commit_pass2()
89 item->ri_buf[1].i_len, __func__); in xlog_recover_dquot_commit_pass2()
111 dq_f = item->ri_buf[0].i_addr; in xlog_recover_dquot_commit_pass2()
150 memcpy(ddq, recddq, item->ri_buf[1].i_len); in xlog_recover_dquot_commit_pass2()
195 struct xfs_qoff_logformat *qoff_f = item->ri_buf[0].i_addr; in xlog_recover_quotaoff_commit_pass1()
Dxfs_buf_item_recover.c160 struct xfs_buf_log_format *buf_f = item->ri_buf[0].i_addr; in xlog_recover_buf_reorder()
174 struct xfs_buf_log_format *buf_f = item->ri_buf[0].i_addr; in xlog_recover_buf_ra_pass2()
188 struct xfs_buf_log_format *bf = item->ri_buf[0].i_addr; in xlog_recover_buf_commit_pass1()
190 if (!xfs_buf_log_check_iovec(&item->ri_buf[0])) { in xlog_recover_buf_commit_pass1()
192 item->ri_buf[0].i_len); in xlog_recover_buf_commit_pass1()
473 ASSERT(item->ri_buf[i].i_addr != NULL); in xlog_recover_do_reg_buffer()
474 ASSERT(item->ri_buf[i].i_len % XFS_BLF_CHUNK == 0); in xlog_recover_do_reg_buffer()
486 if (item->ri_buf[i].i_len < (nbits << XFS_BLF_SHIFT)) in xlog_recover_do_reg_buffer()
487 nbits = item->ri_buf[i].i_len >> XFS_BLF_SHIFT; in xlog_recover_do_reg_buffer()
497 if (item->ri_buf[i].i_addr == NULL) { in xlog_recover_do_reg_buffer()
[all …]
Dxfs_inode_item_recover.c31 if (item->ri_buf[0].i_len == sizeof(struct xfs_inode_log_format)) { in xlog_recover_inode_ra_pass2()
32 struct xfs_inode_log_format *ilfp = item->ri_buf[0].i_addr; in xlog_recover_inode_ra_pass2()
37 struct xfs_inode_log_format_32 *ilfp = item->ri_buf[0].i_addr; in xlog_recover_inode_ra_pass2()
291 if (item->ri_buf[0].i_len == sizeof(struct xfs_inode_log_format)) { in xlog_recover_inode_commit_pass2()
292 in_f = item->ri_buf[0].i_addr; in xlog_recover_inode_commit_pass2()
297 error = xfs_inode_item_format_convert(&item->ri_buf[0], in_f); in xlog_recover_inode_commit_pass2()
331 ldip = item->ri_buf[1].i_addr; in xlog_recover_inode_commit_pass2()
436 if (unlikely(item->ri_buf[1].i_len > isize)) { in xlog_recover_inode_commit_pass2()
441 in_f->ilf_ino, item->ri_buf[1].i_len); in xlog_recover_inode_commit_pass2()
464 len = item->ri_buf[2].i_len; in xlog_recover_inode_commit_pass2()
[all …]
Dxfs_bmap_item.c655 bui_formatp = item->ri_buf[0].i_addr; in xlog_recover_bui_commit_pass2()
657 if (item->ri_buf[0].i_len < xfs_bui_log_format_sizeof(0)) { in xlog_recover_bui_commit_pass2()
659 item->ri_buf[0].i_addr, item->ri_buf[0].i_len); in xlog_recover_bui_commit_pass2()
665 item->ri_buf[0].i_addr, item->ri_buf[0].i_len); in xlog_recover_bui_commit_pass2()
670 if (item->ri_buf[0].i_len != len) { in xlog_recover_bui_commit_pass2()
672 item->ri_buf[0].i_addr, item->ri_buf[0].i_len); in xlog_recover_bui_commit_pass2()
706 bud_formatp = item->ri_buf[0].i_addr; in xlog_recover_bud_commit_pass2()
707 if (item->ri_buf[0].i_len != sizeof(struct xfs_bud_log_format)) { in xlog_recover_bud_commit_pass2()
709 item->ri_buf[0].i_addr, item->ri_buf[0].i_len); in xlog_recover_bud_commit_pass2()
Dxfs_refcount_item.c590 cui_formatp = item->ri_buf[0].i_addr; in xlog_recover_cui_commit_pass2()
592 if (item->ri_buf[0].i_len < xfs_cui_log_format_sizeof(0)) { in xlog_recover_cui_commit_pass2()
594 item->ri_buf[0].i_addr, item->ri_buf[0].i_len); in xlog_recover_cui_commit_pass2()
599 if (item->ri_buf[0].i_len != len) { in xlog_recover_cui_commit_pass2()
601 item->ri_buf[0].i_addr, item->ri_buf[0].i_len); in xlog_recover_cui_commit_pass2()
635 cud_formatp = item->ri_buf[0].i_addr; in xlog_recover_cud_commit_pass2()
636 if (item->ri_buf[0].i_len != sizeof(struct xfs_cud_log_format)) { in xlog_recover_cud_commit_pass2()
638 item->ri_buf[0].i_addr, item->ri_buf[0].i_len); in xlog_recover_cud_commit_pass2()
Dxfs_rmap_item.c641 rui_formatp = item->ri_buf[0].i_addr; in xlog_recover_rui_commit_pass2()
643 if (item->ri_buf[0].i_len < xfs_rui_log_format_sizeof(0)) { in xlog_recover_rui_commit_pass2()
645 item->ri_buf[0].i_addr, item->ri_buf[0].i_len); in xlog_recover_rui_commit_pass2()
650 if (item->ri_buf[0].i_len != len) { in xlog_recover_rui_commit_pass2()
652 item->ri_buf[0].i_addr, item->ri_buf[0].i_len); in xlog_recover_rui_commit_pass2()
686 rud_formatp = item->ri_buf[0].i_addr; in xlog_recover_rud_commit_pass2()
687 if (item->ri_buf[0].i_len != sizeof(struct xfs_rud_log_format)) { in xlog_recover_rud_commit_pass2()
689 rud_formatp, item->ri_buf[0].i_len); in xlog_recover_rud_commit_pass2()
Dxfs_extfree_item.c726 efi_formatp = item->ri_buf[0].i_addr; in xlog_recover_efi_commit_pass2()
728 if (item->ri_buf[0].i_len < xfs_efi_log_format_sizeof(0)) { in xlog_recover_efi_commit_pass2()
730 item->ri_buf[0].i_addr, item->ri_buf[0].i_len); in xlog_recover_efi_commit_pass2()
735 error = xfs_efi_copy_format(&item->ri_buf[0], &efip->efi_format); in xlog_recover_efi_commit_pass2()
767 int buflen = item->ri_buf[0].i_len; in xlog_recover_efd_commit_pass2()
769 efd_formatp = item->ri_buf[0].i_addr; in xlog_recover_efd_commit_pass2()
777 if (item->ri_buf[0].i_len != xfs_efd_log_format32_sizeof( in xlog_recover_efd_commit_pass2()
779 item->ri_buf[0].i_len != xfs_efd_log_format64_sizeof( in xlog_recover_efd_commit_pass2()
Dxfs_attr_item.c1026 if (item->ri_buf[i].i_len != len) { in xlog_recover_attri_commit_pass2()
1028 item->ri_buf[0].i_addr, item->ri_buf[0].i_len); in xlog_recover_attri_commit_pass2()
1032 attri_formatp = item->ri_buf[i].i_addr; in xlog_recover_attri_commit_pass2()
1096 &item->ri_buf[i], name_len); in xlog_recover_attri_commit_pass2()
1104 attri_formatp, &item->ri_buf[i], in xlog_recover_attri_commit_pass2()
1114 &item->ri_buf[i], value_len); in xlog_recover_attri_commit_pass2()
1123 attri_formatp, &item->ri_buf[i], in xlog_recover_attri_commit_pass2()
1221 attrd_formatp = item->ri_buf[0].i_addr; in xlog_recover_attrd_commit_pass2()
1222 if (item->ri_buf[0].i_len != sizeof(struct xfs_attrd_log_format)) { in xlog_recover_attrd_commit_pass2()
1224 item->ri_buf[0].i_addr, item->ri_buf[0].i_len); in xlog_recover_attrd_commit_pass2()
Dxfs_exchmaps_item.c561 if (item->ri_buf[0].i_len != len) { in xlog_recover_xmi_commit_pass2()
566 xmi_formatp = item->ri_buf[0].i_addr; in xlog_recover_xmi_commit_pass2()
601 xmd_formatp = item->ri_buf[0].i_addr; in xlog_recover_xmd_commit_pass2()
602 if (item->ri_buf[0].i_len != sizeof(struct xfs_xmd_log_format)) { in xlog_recover_xmd_commit_pass2()
Dxfs_log_recover.c2128 old_ptr = item->ri_buf[item->ri_cnt-1].i_addr; in xlog_recover_add_to_cont_trans()
2129 old_len = item->ri_buf[item->ri_cnt-1].i_len; in xlog_recover_add_to_cont_trans()
2135 item->ri_buf[item->ri_cnt-1].i_len += len; in xlog_recover_add_to_cont_trans()
2136 item->ri_buf[item->ri_cnt-1].i_addr = ptr; in xlog_recover_add_to_cont_trans()
2220 item->ri_buf = kzalloc(item->ri_total * sizeof(xfs_log_iovec_t), in xlog_recover_add_to_trans()
2234 item->ri_buf[item->ri_cnt].i_addr = ptr; in xlog_recover_add_to_trans()
2235 item->ri_buf[item->ri_cnt].i_len = len; in xlog_recover_add_to_trans()
2259 kvfree(item->ri_buf[i].i_addr); in xlog_recover_free_trans()
2261 kfree(item->ri_buf); in xlog_recover_free_trans()
Dxfs_icreate_item.c161 icl = (struct xfs_icreate_log *)item->ri_buf[0].i_addr; in xlog_recover_icreate_commit_pass2()
/linux-6.12.1/fs/xfs/libxfs/
Dxfs_log_recover.h101 struct xfs_log_iovec *ri_buf; /* ptr to regions buffer */ member
114 #define ITEM_TYPE(i) (*(unsigned short *)(i)->ri_buf[0].i_addr)