Home
last modified time | relevance | path

Searched refs:i_addr (Results 1 – 21 of 21) sorted by relevance

/linux-6.12.1/fs/xfs/
Dxfs_attr_item.c94 nv->name.i_addr = nv + 1; in xfs_attri_log_nameval_alloc()
97 memcpy(nv->name.i_addr, name, name_len); in xfs_attri_log_nameval_alloc()
100 nv->new_name.i_addr = nv->name.i_addr + name_len; in xfs_attri_log_nameval_alloc()
102 memcpy(nv->new_name.i_addr, new_name, new_name_len); in xfs_attri_log_nameval_alloc()
104 nv->new_name.i_addr = NULL; in xfs_attri_log_nameval_alloc()
110 nv->value.i_addr = nv->name.i_addr + name_len + new_name_len; in xfs_attri_log_nameval_alloc()
112 memcpy(nv->value.i_addr, value, value_len); in xfs_attri_log_nameval_alloc()
114 nv->value.i_addr = NULL; in xfs_attri_log_nameval_alloc()
120 nv->new_value.i_addr = nv->name.i_addr + name_len + in xfs_attri_log_nameval_alloc()
123 memcpy(nv->new_value.i_addr, new_value, new_value_len); in xfs_attri_log_nameval_alloc()
[all …]
Dxfs_dquot_item_recover.c37 recddq = item->ri_buf[1].i_addr; 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()
111 dq_f = item->ri_buf[0].i_addr; 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()
473 ASSERT(item->ri_buf[i].i_addr != NULL); in xlog_recover_do_reg_buffer()
497 if (item->ri_buf[i].i_addr == NULL) { in xlog_recover_do_reg_buffer()
508 fa = xfs_dquot_verify(mp, item->ri_buf[i].i_addr, -1); in xlog_recover_do_reg_buffer()
519 item->ri_buf[i].i_addr, /* source */ in xlog_recover_do_reg_buffer()
655 ASSERT(item->ri_buf[item_index].i_addr != NULL); in xlog_recover_do_inode_buffer()
664 logged_nextp = item->ri_buf[item_index].i_addr + in xlog_recover_do_inode_buffer()
954 struct xfs_buf_log_format *buf_f = item->ri_buf[0].i_addr; in xlog_recover_buf_commit_pass2()
Dxfs_log.h43 struct xlog_op_header *oph = vec->i_addr; in xlog_finish_iovec()
55 char *buf = vec->i_addr + sizeof(struct xlog_op_header); in xlog_finish_iovec()
94 return xlog_copy_iovec(lv, vecp, src->i_type, src->i_addr, src->i_len); in xlog_copy_from_iovec()
Dxfs_inode_item_recover.c32 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()
292 in_f = item->ri_buf[0].i_addr; in xlog_recover_inode_commit_pass2()
331 ldip = item->ri_buf[1].i_addr; in xlog_recover_inode_commit_pass2()
465 src = item->ri_buf[2].i_addr; in xlog_recover_inode_commit_pass2()
503 src = item->ri_buf[attr_index].i_addr; in xlog_recover_inode_commit_pass2()
Dxfs_extfree_item.c176 xfs_efi_log_format_t *src_efi_fmt = buf->i_addr; in xfs_efi_copy_format()
191 xfs_efi_log_format_32_t *src_efi_fmt_32 = buf->i_addr; in xfs_efi_copy_format()
205 xfs_efi_log_format_64_t *src_efi_fmt_64 = buf->i_addr; in xfs_efi_copy_format()
219 XFS_CORRUPTION_ERROR(__func__, XFS_ERRLEVEL_LOW, NULL, buf->i_addr, in xfs_efi_copy_format()
726 efi_formatp = item->ri_buf[0].i_addr; 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()
769 efd_formatp = item->ri_buf[0].i_addr; in xlog_recover_efd_commit_pass2()
Dxfs_bmap_item.c655 bui_formatp = item->ri_buf[0].i_addr; 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()
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()
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()
594 item->ri_buf[0].i_addr, item->ri_buf[0].i_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()
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()
645 item->ri_buf[0].i_addr, item->ri_buf[0].i_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()
Dxfs_log.c118 vec->i_addr = lv->lv_buf + lv->lv_buf_len; in xlog_prepare_iovec()
120 oph = vec->i_addr; in xlog_prepare_iovec()
125 buf = vec->i_addr + sizeof(struct xlog_op_header); in xlog_prepare_iovec()
874 .i_addr = &unmount_rec, in xlog_write_unmount_record()
1966 xfs_hex_dump(vec->i_addr, dumplen); in xlog_print_trans()
2019 struct xlog_op_header *ophdr = reg->i_addr; in xlog_write_full()
2022 xlog_write_iovec(iclog, log_offset, reg->i_addr, in xlog_write_full()
2105 ophdr = reg->i_addr; in xlog_write_partial()
2113 xlog_write_iovec(iclog, log_offset, reg->i_addr, in xlog_write_partial()
2181 reg->i_addr + reg_offset, in xlog_write_partial()
Dxfs_exchmaps_item.c566 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()
Dxfs_icreate_item.c161 icl = (struct xfs_icreate_log *)item->ri_buf[0].i_addr; in xlog_recover_icreate_commit_pass2()
Dxfs_buf_item.c40 struct xfs_buf_log_format *blfp = iovec->i_addr; in xfs_buf_log_check_iovec()
47 item_end = (char *)iovec->i_addr + iovec->i_len; in xfs_buf_log_check_iovec()
Dxfs_log_cil.c1108 .i_addr = &ophdr, in xlog_cil_write_commit_record()
1171 hdr->lhdr[0].i_addr = &hdr->oph[0]; in xlog_cil_build_trans_hdr()
1187 hdr->lhdr[1].i_addr = &hdr->oph[1]; in xlog_cil_build_trans_hdr()
Dxfs_log_recover.c2128 old_ptr = item->ri_buf[item->ri_cnt-1].i_addr; 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()
2234 item->ri_buf[item->ri_cnt].i_addr = ptr; in xlog_recover_add_to_trans()
2259 kvfree(item->ri_buf[i].i_addr); in xlog_recover_free_trans()
Dxfs_inode_item.c1181 struct xfs_inode_log_format_32 *in_f32 = buf->i_addr; in xfs_inode_item_format_convert()
/linux-6.12.1/fs/xfs/libxfs/
Dxfs_log_recover.h114 #define ITEM_TYPE(i) (*(unsigned short *)(i)->ri_buf[0].i_addr)
Dxfs_log_format.h199 void *i_addr; /* beginning address of region */ member
/linux-6.12.1/include/linux/
Df2fs_fs.h335 __le32 i_addr[DEF_ADDRS_PER_INODE]; /* Pointers to data blocks */ member
/linux-6.12.1/fs/f2fs/
Df2fs.h2943 return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr; in blkaddr_in_node()
3284 return (void *)&(ri->i_addr[DEF_ADDRS_PER_INODE - in inline_xattr_addr()
3477 #define F2FS_OLD_ATTRIBUTE_SIZE (offsetof(struct f2fs_inode, i_addr))
Ddata.c1857 offset = offsetof(struct f2fs_inode, i_addr) + in f2fs_xattr_fiemap()