Lines Matching refs:i_len
95 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()
180 if (nv->value.i_len) { in xfs_attri_item_size()
182 *nbytes += xlog_calc_iovec_len(nv->value.i_len); in xfs_attri_item_size()
185 if (nv->new_value.i_len) { in xfs_attri_item_size()
187 *nbytes += xlog_calc_iovec_len(nv->new_value.i_len); in xfs_attri_item_size()
215 ASSERT(nv->name.i_len > 0); in xfs_attri_item_format()
218 if (nv->new_name.i_len > 0) in xfs_attri_item_format()
221 if (nv->value.i_len > 0) in xfs_attri_item_format()
224 if (nv->new_value.i_len > 0) in xfs_attri_item_format()
232 if (nv->new_name.i_len > 0) in xfs_attri_item_format()
235 if (nv->value.i_len > 0) in xfs_attri_item_format()
238 if (nv->new_value.i_len > 0) in xfs_attri_item_format()
386 attrp->alfi_value_len = nv->value.i_len; in xfs_attr_log_item()
390 ASSERT(nv->value.i_len == nv->new_value.i_len); in xfs_attr_log_item()
393 attrp->alfi_old_name_len = nv->name.i_len; in xfs_attr_log_item()
394 attrp->alfi_new_name_len = nv->new_name.i_len; in xfs_attr_log_item()
401 attrp->alfi_name_len = nv->name.i_len; in xfs_attr_log_item()
694 args->namelen = nv->name.i_len; in xfs_attri_recover_work()
696 args->new_namelen = nv->new_name.i_len; in xfs_attri_recover_work()
698 args->valuelen = nv->value.i_len; in xfs_attri_recover_work()
700 args->new_valuelen = nv->new_value.i_len; in xfs_attri_recover_work()
758 nv->name.i_len)) in xfs_attr_recover_work()
959 if (iovec->i_len != xlog_calc_iovec_len(name_len)) { in xfs_attri_validate_name_iovec()
970 iovec->i_addr, iovec->i_len); in xfs_attri_validate_name_iovec()
984 if (iovec->i_len != xlog_calc_iovec_len(value_len)) { in xfs_attri_validate_value_iovec()
995 iovec->i_addr, iovec->i_len); in xfs_attri_validate_value_iovec()
1026 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()
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()