Lines Matching defs:value_len
228 static int namevalue_size(int name_len, uint64_t value_len)
230 if (value_len > OCFS2_XATTR_INLINE_SIZE)
233 return OCFS2_XATTR_SIZE(name_len) + OCFS2_XATTR_SIZE(value_len);
243 u64 value_len = le64_to_cpu(xe->xe_value_size);
245 BUG_ON((value_len > OCFS2_XATTR_INLINE_SIZE) &&
247 return namevalue_size(xe->xe_name_len, value_len);
569 static int ocfs2_xattr_entry_real_size(int name_len, size_t value_len)
571 return namevalue_size(name_len, value_len) +
596 si->value_len);
614 if (si->value_len > OCFS2_XATTR_INLINE_SIZE) {
616 si->value_len);
639 si->value_len);
687 if (si->enable && si->value_len > OCFS2_XATTR_INLINE_SIZE) {
689 si->value_len);
1333 int value_len)
1339 u32 clusters = ocfs2_clusters_for_bytes(inode->i_sb, value_len);
1377 cp_len = value_len > blocksize ? blocksize : value_len;
1379 value_len -= cp_len;
1389 if (!value_len)
3424 size_t value_len,
3437 .xi_value_len = value_len,
3505 size_t value_len,
3521 .xi_value_len = value_len,
7190 si.name, si.value, si.value_len,
7261 &si->value_len);
7273 si->name, si->value, si->value_len, 0,