Home
last modified time | relevance | path

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

/Linux-v6.1/fs/xfs/
Dxfs_attr_item.c91 nv->name.i_len = name_len; in xfs_attri_log_nameval_alloc()
97 nv->value.i_len = value_len; in xfs_attri_log_nameval_alloc()
101 nv->value.i_len = 0; in xfs_attri_log_nameval_alloc()
148 xlog_calc_iovec_len(nv->name.i_len); in xfs_attri_item_size()
150 if (!nv->value.i_len) in xfs_attri_item_size()
154 *nbytes += xlog_calc_iovec_len(nv->value.i_len); in xfs_attri_item_size()
181 ASSERT(nv->name.i_len > 0); in xfs_attri_item_format()
184 if (nv->value.i_len > 0) in xfs_attri_item_format()
191 if (nv->value.i_len > 0) in xfs_attri_item_format()
375 attrp->alfi_value_len = attr->xattri_nameval->value.i_len; in xfs_attr_log_item()
[all …]
Dxfs_dquot_item_recover.c39 if (item->ri_buf[1].i_len < sizeof(struct xfs_disk_dquot)) in xlog_recover_dquot_ra_pass2()
85 if (item->ri_buf[1].i_len < sizeof(struct xfs_disk_dquot)) { in xlog_recover_dquot_commit_pass2()
87 item->ri_buf[1].i_len, __func__); in xlog_recover_dquot_commit_pass2()
148 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()
714 if (item->ri_buf[0].i_len < xfs_efi_log_format_sizeof(0)) { in xlog_recover_efi_commit_pass2()
716 item->ri_buf[0].i_addr, item->ri_buf[0].i_len); in xlog_recover_efi_commit_pass2()
756 int buflen = item->ri_buf[0].i_len; in xlog_recover_efd_commit_pass2()
766 if (item->ri_buf[0].i_len != xfs_efd_log_format32_sizeof( in xlog_recover_efd_commit_pass2()
768 item->ri_buf[0].i_len != xfs_efd_log_format64_sizeof( in xlog_recover_efd_commit_pass2()
Dxfs_bmap_item.c646 if (item->ri_buf[0].i_len < xfs_bui_log_format_sizeof(0)) { in xlog_recover_bui_commit_pass2()
648 item->ri_buf[0].i_addr, item->ri_buf[0].i_len); in xlog_recover_bui_commit_pass2()
654 item->ri_buf[0].i_addr, item->ri_buf[0].i_len); in xlog_recover_bui_commit_pass2()
659 if (item->ri_buf[0].i_len != len) { in xlog_recover_bui_commit_pass2()
661 item->ri_buf[0].i_addr, item->ri_buf[0].i_len); in xlog_recover_bui_commit_pass2()
699 if (item->ri_buf[0].i_len != sizeof(struct xfs_bud_log_format)) { in xlog_recover_bud_commit_pass2()
701 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()
290 if (item->ri_buf[0].i_len == sizeof(struct xfs_inode_log_format)) { in xlog_recover_inode_commit_pass2()
432 if (unlikely(item->ri_buf[1].i_len > isize)) { in xlog_recover_inode_commit_pass2()
437 in_f->ilf_ino, item->ri_buf[1].i_len); in xlog_recover_inode_commit_pass2()
460 len = item->ri_buf[2].i_len; in xlog_recover_inode_commit_pass2()
498 len = item->ri_buf[attr_index].i_len; in xlog_recover_inode_commit_pass2()
Dxfs_buf_item_recover.c189 item->ri_buf[0].i_len); in xlog_recover_buf_commit_pass1()
471 ASSERT(item->ri_buf[i].i_len % XFS_BLF_CHUNK == 0); in xlog_recover_do_reg_buffer()
483 if (item->ri_buf[i].i_len < (nbits << XFS_BLF_SHIFT)) in xlog_recover_do_reg_buffer()
484 nbits = item->ri_buf[i].i_len >> XFS_BLF_SHIFT; in xlog_recover_do_reg_buffer()
499 if (item->ri_buf[i].i_len < size_disk_dquot) { in xlog_recover_do_reg_buffer()
502 item->ri_buf[i].i_len, __func__); in xlog_recover_do_reg_buffer()
653 ASSERT((item->ri_buf[item_index].i_len % XFS_BLF_CHUNK) == 0); in xlog_recover_do_inode_buffer()
Dxfs_refcount_item.c663 if (item->ri_buf[0].i_len < xfs_cui_log_format_sizeof(0)) { in xlog_recover_cui_commit_pass2()
665 item->ri_buf[0].i_addr, item->ri_buf[0].i_len); in xlog_recover_cui_commit_pass2()
670 if (item->ri_buf[0].i_len != len) { in xlog_recover_cui_commit_pass2()
672 item->ri_buf[0].i_addr, item->ri_buf[0].i_len); in xlog_recover_cui_commit_pass2()
710 if (item->ri_buf[0].i_len != sizeof(struct xfs_cud_log_format)) { in xlog_recover_cud_commit_pass2()
712 item->ri_buf[0].i_addr, item->ri_buf[0].i_len); in xlog_recover_cud_commit_pass2()
Dxfs_rmap_item.c667 if (item->ri_buf[0].i_len < xfs_rui_log_format_sizeof(0)) { in xlog_recover_rui_commit_pass2()
669 item->ri_buf[0].i_addr, item->ri_buf[0].i_len); in xlog_recover_rui_commit_pass2()
674 if (item->ri_buf[0].i_len != len) { in xlog_recover_rui_commit_pass2()
676 item->ri_buf[0].i_addr, item->ri_buf[0].i_len); in xlog_recover_rui_commit_pass2()
714 if (item->ri_buf[0].i_len != sizeof(struct xfs_rud_log_format)) { in xlog_recover_rud_commit_pass2()
716 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.c994 .i_len = sizeof(struct xlog_op_header), in xlog_cil_write_commit_record()
1013 ctx->ticket->t_curr_res -= reg.i_len; in xlog_cil_write_commit_record()
1014 error = xlog_write(log, ctx, &lv_chain, ctx->ticket, reg.i_len); in xlog_cil_write_commit_record()
1057 hdr->lhdr[0].i_len = sizeof(struct xlog_op_header); in xlog_cil_build_trans_hdr()
1073 hdr->lhdr[1].i_len = sizeof(struct xlog_op_header) + in xlog_cil_build_trans_hdr()
1079 lvhdr->lv_bytes = hdr->lhdr[0].i_len + hdr->lhdr[1].i_len; in xlog_cil_build_trans_hdr()
Dxfs_log.c942 .i_len = sizeof(unmount_rec), in xlog_write_unmount_record()
959 return xlog_write(log, NULL, &lv_chain, ticket, reg.i_len); in xlog_write_unmount_record()
2216 int dumplen = min(vec->i_len, 32); in xlog_print_trans()
2220 xfs_warn(mp, " len = %d", vec->i_len); in xlog_print_trans()
2279 reg->i_len, len, record_cnt, data_cnt); in xlog_write_full()
2362 rlen = min_t(uint32_t, reg->i_len, iclog->ic_size - *log_offset); in xlog_write_partial()
2366 if (rlen != reg->i_len) in xlog_write_partial()
2373 if (rlen == reg->i_len) in xlog_write_partial()
2427 rlen = reg->i_len - reg_offset; in xlog_write_partial()
Dxfs_buf_item.c43 if (offsetof(struct xfs_buf_log_format, blf_data_map) > iovec->i_len) in xfs_buf_log_check_iovec()
46 item_end = (char *)iovec->i_addr + iovec->i_len; in xfs_buf_log_check_iovec()
Dxfs_log_recover.c2082 old_len = item->ri_buf[item->ri_cnt-1].i_len; in xlog_recover_add_to_cont_trans()
2088 item->ri_buf[item->ri_cnt-1].i_len += len; in xlog_recover_add_to_cont_trans()
2189 item->ri_buf[item->ri_cnt].i_len = len; in xlog_recover_add_to_trans()
Dxfs_inode_item.c996 if (buf->i_len != sizeof(*in_f32)) { in xfs_inode_item_format_convert()
/Linux-v6.1/fs/udf/
Dunicode.c360 const uint8_t *ocu_i, int i_len) in udf_dstrCS0toChar() argument
364 if (i_len > 0) { in udf_dstrCS0toChar()
365 s_len = ocu_i[i_len - 1]; in udf_dstrCS0toChar()
366 if (s_len >= i_len) { in udf_dstrCS0toChar()
368 " truncating\n", s_len, i_len); in udf_dstrCS0toChar()
369 s_len = i_len - 1; in udf_dstrCS0toChar()
/Linux-v6.1/drivers/crypto/ccp/
Dccp-ops.c1837 unsigned int sb_count, i_len, o_len; in ccp_run_rsa_cmd() local
1860 i_len = o_len * 2; in ccp_run_rsa_cmd()
1912 ret = ccp_init_dm_workarea(&src, cmd_q, i_len, DMA_TO_DEVICE); in ccp_run_rsa_cmd()
1931 op.src.u.dma.length = i_len; in ccp_run_rsa_cmd()
1937 op.u.rsa.input_len = i_len; in ccp_run_rsa_cmd()
/Linux-v6.1/fs/xfs/libxfs/
Dxfs_log_format.h197 int i_len; /* length in bytes of region */ member
/Linux-v6.1/include/trace/events/
Dext4.h1583 __field( unsigned, i_len )
1596 __entry->i_len = ext4_ext_get_actual_len(ix);
1607 __entry->i_lblk, __entry->i_len, __entry->i_pblk)