Searched refs:i_len (Results 1 – 15 of 15) sorted by relevance
/fs/udf/ |
D | unicode.c | 360 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()
|
/fs/xfs/ |
D | xfs_dquot_item_recover.c | 39 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()
|
D | xfs_inode_item_recover.c | 31 if (item->ri_buf[0].i_len == sizeof(struct xfs_inode_log_format)) { in xlog_recover_inode_ra_pass2() 216 if (item->ri_buf[0].i_len == sizeof(struct xfs_inode_log_format)) { in xlog_recover_inode_commit_pass2() 370 if (unlikely(item->ri_buf[1].i_len > isize)) { in xlog_recover_inode_commit_pass2() 376 __func__, item->ri_buf[1].i_len, item); in xlog_recover_inode_commit_pass2() 399 len = item->ri_buf[2].i_len; in xlog_recover_inode_commit_pass2() 437 len = item->ri_buf[attr_index].i_len; in xlog_recover_inode_commit_pass2()
|
D | xfs_buf_item_recover.c | 189 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()
|
D | xfs_extfree_item.c | 196 if (buf->i_len == len) { in xfs_efi_copy_format() 199 } else if (buf->i_len == len32) { in xfs_efi_copy_format() 213 } else if (buf->i_len == len64) { in xfs_efi_copy_format() 752 ASSERT((item->ri_buf[0].i_len == (sizeof(xfs_efd_log_format_32_t) + in xlog_recover_efd_commit_pass2() 754 (item->ri_buf[0].i_len == (sizeof(xfs_efd_log_format_64_t) + in xlog_recover_efd_commit_pass2()
|
D | xfs_log.h | 61 vec->i_len = len; in xlog_finish_iovec()
|
D | xfs_refcount_item.c | 630 if (buf->i_len == len) { in xfs_cui_copy_format() 697 if (item->ri_buf[0].i_len != sizeof(struct xfs_cud_log_format)) { in xlog_recover_cud_commit_pass2()
|
D | xfs_log_cil.c | 825 .i_len = 0, in xlog_cil_write_commit_record() 1015 lhdr.i_len = sizeof(xfs_trans_header_t); in xlog_cil_push_work() 1017 tic->t_curr_res -= lhdr.i_len + sizeof(xlog_op_header_t); in xlog_cil_push_work()
|
D | xfs_bmap_item.c | 614 if (buf->i_len == len) { in xfs_bui_copy_format() 685 if (item->ri_buf[0].i_len != sizeof(struct xfs_bud_log_format)) { in xlog_recover_bud_commit_pass2()
|
D | xfs_rmap_item.c | 173 if (buf->i_len != len) { in xfs_rui_copy_format() 703 ASSERT(item->ri_buf[0].i_len == sizeof(struct xfs_rud_log_format)); in xlog_recover_rud_commit_pass2()
|
D | xfs_log.c | 910 .i_len = sizeof(ulf), 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() 2258 len += vecp->i_len; in xlog_write_calc_vec_length() 2259 xlog_tic_add_region(ticket, vecp->i_len, vecp->i_type); in xlog_write_calc_vec_length() 2529 ASSERT(reg->i_len % sizeof(int32_t) == 0); in xlog_write() 2554 reg->i_len, in xlog_write()
|
D | xfs_buf_item.c | 42 if (offsetof(struct xfs_buf_log_format, blf_data_map) > iovec->i_len) in xfs_buf_log_check_iovec() 45 item_end = (char *)iovec->i_addr + iovec->i_len; in xfs_buf_log_check_iovec()
|
D | xfs_log_recover.c | 2087 old_len = item->ri_buf[item->ri_cnt-1].i_len; in xlog_recover_add_to_cont_trans() 2093 item->ri_buf[item->ri_cnt-1].i_len += len; in xlog_recover_add_to_cont_trans() 2194 item->ri_buf[item->ri_cnt].i_len = len; in xlog_recover_add_to_trans()
|
D | xfs_inode_item.c | 876 if (buf->i_len != sizeof(*in_f32)) { in xfs_inode_item_format_convert()
|
/fs/xfs/libxfs/ |
D | xfs_log_format.h | 193 int i_len; /* length in bytes of region */ member
|