Home
last modified time | relevance | path

Searched refs:xe (Results 1 – 3 of 3) sorted by relevance

/fs/ocfs2/
Dxattr.c233 static int namevalue_size_xe(struct ocfs2_xattr_entry *xe) in namevalue_size_xe() argument
235 u64 value_len = le64_to_cpu(xe->xe_value_size); in namevalue_size_xe()
238 ocfs2_xattr_is_local(xe)); in namevalue_size_xe()
239 return namevalue_size(xe->xe_name_len, value_len); in namevalue_size_xe()
572 static int ocfs2_xe_entry_usage(struct ocfs2_xattr_entry *xe) in ocfs2_xe_entry_usage() argument
574 return namevalue_size_xe(xe) + in ocfs2_xe_entry_usage()
3048 struct ocfs2_xattr_entry *xe = NULL; in ocfs2_calc_xattr_set_need() local
3078 xe = xis->here; in ocfs2_calc_xattr_set_need()
3079 name_offset = le16_to_cpu(xe->xe_name_offset); in ocfs2_calc_xattr_set_need()
3080 name_len = OCFS2_XATTR_SIZE(xe->xe_name_len); in ocfs2_calc_xattr_set_need()
[all …]
Docfs2_fs.h1094 static inline void ocfs2_xattr_set_local(struct ocfs2_xattr_entry *xe, in ocfs2_xattr_set_local() argument
1098 xe->xe_type |= OCFS2_XATTR_ENTRY_LOCAL; in ocfs2_xattr_set_local()
1100 xe->xe_type &= ~OCFS2_XATTR_ENTRY_LOCAL; in ocfs2_xattr_set_local()
1103 static inline int ocfs2_xattr_is_local(struct ocfs2_xattr_entry *xe) in ocfs2_xattr_is_local() argument
1105 return xe->xe_type & OCFS2_XATTR_ENTRY_LOCAL; in ocfs2_xattr_is_local()
1108 static inline void ocfs2_xattr_set_type(struct ocfs2_xattr_entry *xe, int type) in ocfs2_xattr_set_type() argument
1110 xe->xe_type |= type & OCFS2_XATTR_TYPE_MASK; in ocfs2_xattr_set_type()
1113 static inline int ocfs2_xattr_get_type(struct ocfs2_xattr_entry *xe) in ocfs2_xattr_get_type() argument
1115 return xe->xe_type & OCFS2_XATTR_TYPE_MASK; in ocfs2_xattr_get_type()
/fs/f2fs/
Dxattr.c322 const char *name, struct f2fs_xattr_entry **xe, in lookup_all_xattrs() argument
348 *xe = __find_inline_xattr(inode, txattr_addr, &last_addr, in lookup_all_xattrs()
350 if (*xe) { in lookup_all_xattrs()
368 *xe = __find_xattr(cur_addr, last_txattr_addr, index, len, name); in lookup_all_xattrs()
369 if (!*xe) { in lookup_all_xattrs()
377 if (IS_XATTR_LAST_ENTRY(*xe)) { in lookup_all_xattrs()