Home
last modified time | relevance | path

Searched refs:i_len (Results 1 – 19 of 19) sorted by relevance

/linux-6.12.1/fs/xfs/
Dxfs_attr_item.c95 nv->name.i_len = name_len; in xfs_attri_log_nameval_alloc()
101 nv->new_name.i_len = new_name_len; in xfs_attri_log_nameval_alloc()
105 nv->new_name.i_len = 0; in xfs_attri_log_nameval_alloc()
111 nv->value.i_len = value_len; in xfs_attri_log_nameval_alloc()
115 nv->value.i_len = 0; in xfs_attri_log_nameval_alloc()
122 nv->new_value.i_len = new_value_len; in xfs_attri_log_nameval_alloc()
126 nv->new_value.i_len = 0; in xfs_attri_log_nameval_alloc()
173 xlog_calc_iovec_len(nv->name.i_len); in xfs_attri_item_size()
175 if (nv->new_name.i_len) { in xfs_attri_item_size()
177 *nbytes += xlog_calc_iovec_len(nv->new_name.i_len); in xfs_attri_item_size()
[all …]
Dxfs_dquot_item_recover.c40 if (item->ri_buf[1].i_len < sizeof(struct xfs_disk_dquot)) in xlog_recover_dquot_ra_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()
150 memcpy(ddq, recddq, item->ri_buf[1].i_len); in xlog_recover_dquot_commit_pass2()
Dxfs_extfree_item.c182 if (buf->i_len == len) { in xfs_efi_copy_format()
190 } else if (buf->i_len == len32) { in xfs_efi_copy_format()
204 } else if (buf->i_len == len64) { in xfs_efi_copy_format()
220 buf->i_len); in xfs_efi_copy_format()
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()
767 int buflen = item->ri_buf[0].i_len; 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_bmap_item.c657 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()
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_inode_item_recover.c31 if (item->ri_buf[0].i_len == sizeof(struct xfs_inode_log_format)) { 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()
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()
502 len = item->ri_buf[attr_index].i_len; in xlog_recover_inode_commit_pass2()
Dxfs_refcount_item.c592 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()
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_buf_item_recover.c192 item->ri_buf[0].i_len); in xlog_recover_buf_commit_pass1()
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()
502 if (item->ri_buf[i].i_len < size_disk_dquot) { in xlog_recover_do_reg_buffer()
505 item->ri_buf[i].i_len, __func__); in xlog_recover_do_reg_buffer()
656 ASSERT((item->ri_buf[item_index].i_len % XFS_BLF_CHUNK) == 0); in xlog_recover_do_inode_buffer()
Dxfs_rmap_item.c643 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()
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_log.h69 vec->i_len = len; 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_log_cil.c1109 .i_len = sizeof(struct xlog_op_header), in xlog_cil_write_commit_record()
1128 ctx->ticket->t_curr_res -= reg.i_len; in xlog_cil_write_commit_record()
1129 error = xlog_write(log, ctx, &lv_chain, ctx->ticket, reg.i_len); in xlog_cil_write_commit_record()
1172 hdr->lhdr[0].i_len = sizeof(struct xlog_op_header); in xlog_cil_build_trans_hdr()
1188 hdr->lhdr[1].i_len = sizeof(struct xlog_op_header) + in xlog_cil_build_trans_hdr()
1194 lvhdr->lv_bytes = hdr->lhdr[0].i_len + hdr->lhdr[1].i_len; in xlog_cil_build_trans_hdr()
Dxfs_log.c875 .i_len = sizeof(unmount_rec), in xlog_write_unmount_record()
892 return xlog_write(log, NULL, &lv_chain, ticket, reg.i_len); in xlog_write_unmount_record()
1960 int dumplen = min(vec->i_len, 32); in xlog_print_trans()
1964 xfs_warn(mp, " len = %d", vec->i_len); in xlog_print_trans()
2023 reg->i_len, len, record_cnt, data_cnt); in xlog_write_full()
2106 rlen = min_t(uint32_t, reg->i_len, iclog->ic_size - *log_offset); in xlog_write_partial()
2110 if (rlen != reg->i_len) in xlog_write_partial()
2117 if (rlen == reg->i_len) in xlog_write_partial()
2171 rlen = reg->i_len - reg_offset; in xlog_write_partial()
Dxfs_exchmaps_item.c561 if (item->ri_buf[0].i_len != len) { in xlog_recover_xmi_commit_pass2()
602 if (item->ri_buf[0].i_len != sizeof(struct xfs_xmd_log_format)) { in xlog_recover_xmd_commit_pass2()
Dxfs_buf_item.c44 if (offsetof(struct xfs_buf_log_format, blf_data_map) > iovec->i_len) in xfs_buf_log_check_iovec()
47 item_end = (char *)iovec->i_addr + iovec->i_len; in xfs_buf_log_check_iovec()
Dxfs_log_recover.c2129 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()
2235 item->ri_buf[item->ri_cnt].i_len = len; in xlog_recover_add_to_trans()
Dxfs_inode_item.c1183 if (buf->i_len != sizeof(*in_f32)) { in xfs_inode_item_format_convert()
/linux-6.12.1/fs/udf/
Dunicode.c356 const uint8_t *ocu_i, int i_len) in udf_dstrCS0toChar() argument
360 if (i_len > 0) { in udf_dstrCS0toChar()
361 s_len = ocu_i[i_len - 1]; in udf_dstrCS0toChar()
362 if (s_len >= i_len) { in udf_dstrCS0toChar()
364 " truncating\n", s_len, i_len); in udf_dstrCS0toChar()
365 s_len = i_len - 1; in udf_dstrCS0toChar()
/linux-6.12.1/drivers/crypto/ccp/
Dccp-ops.c1840 unsigned int sb_count, i_len, o_len; in ccp_run_rsa_cmd() local
1863 i_len = o_len * 2; in ccp_run_rsa_cmd()
1915 ret = ccp_init_dm_workarea(&src, cmd_q, i_len, DMA_TO_DEVICE); in ccp_run_rsa_cmd()
1934 op.src.u.dma.length = i_len; in ccp_run_rsa_cmd()
1940 op.u.rsa.input_len = i_len; in ccp_run_rsa_cmd()
/linux-6.12.1/fs/xfs/libxfs/
Dxfs_log_format.h200 int i_len; /* length in bytes of region */ member
/linux-6.12.1/include/trace/events/
Dext4.h1590 __field( unsigned, i_len )
1603 __entry->i_len = ext4_ext_get_actual_len(ix);
1614 __entry->i_lblk, __entry->i_len, __entry->i_pblk)