Home
last modified time | relevance | path

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

/linux-4.19.296/fs/ocfs2/
Dxattr.c241 static int namevalue_size_xe(struct ocfs2_xattr_entry *xe) in namevalue_size_xe() argument
243 u64 value_len = le64_to_cpu(xe->xe_value_size); in namevalue_size_xe()
246 ocfs2_xattr_is_local(xe)); in namevalue_size_xe()
247 return namevalue_size(xe->xe_name_len, value_len); in namevalue_size_xe()
580 static int ocfs2_xe_entry_usage(struct ocfs2_xattr_entry *xe) in ocfs2_xe_entry_usage() argument
582 return namevalue_size_xe(xe) + in ocfs2_xe_entry_usage()
3056 struct ocfs2_xattr_entry *xe = NULL; in ocfs2_calc_xattr_set_need() local
3086 xe = xis->here; in ocfs2_calc_xattr_set_need()
3087 name_offset = le16_to_cpu(xe->xe_name_offset); in ocfs2_calc_xattr_set_need()
3088 name_len = OCFS2_XATTR_SIZE(xe->xe_name_len); in ocfs2_calc_xattr_set_need()
[all …]
Docfs2_fs.h1133 static inline void ocfs2_xattr_set_local(struct ocfs2_xattr_entry *xe, in ocfs2_xattr_set_local() argument
1137 xe->xe_type |= OCFS2_XATTR_ENTRY_LOCAL; in ocfs2_xattr_set_local()
1139 xe->xe_type &= ~OCFS2_XATTR_ENTRY_LOCAL; in ocfs2_xattr_set_local()
1142 static inline int ocfs2_xattr_is_local(struct ocfs2_xattr_entry *xe) in ocfs2_xattr_is_local() argument
1144 return xe->xe_type & OCFS2_XATTR_ENTRY_LOCAL; in ocfs2_xattr_is_local()
1147 static inline void ocfs2_xattr_set_type(struct ocfs2_xattr_entry *xe, int type) in ocfs2_xattr_set_type() argument
1149 xe->xe_type |= type & OCFS2_XATTR_TYPE_MASK; in ocfs2_xattr_set_type()
1152 static inline int ocfs2_xattr_get_type(struct ocfs2_xattr_entry *xe) in ocfs2_xattr_get_type() argument
1154 return xe->xe_type & OCFS2_XATTR_TYPE_MASK; in ocfs2_xattr_get_type()
/linux-4.19.296/include/uapi/linux/
Dtiocl.h17 unsigned short xe; /* X end */ member
/linux-4.19.296/fs/f2fs/
Dxattr.c305 const char *name, struct f2fs_xattr_entry **xe, in lookup_all_xattrs() argument
330 *xe = __find_inline_xattr(inode, txattr_addr, &last_addr, in lookup_all_xattrs()
332 if (*xe) { in lookup_all_xattrs()
350 *xe = __find_xattr(cur_addr, last_txattr_addr, index, len, name); in lookup_all_xattrs()
351 if (!*xe) { in lookup_all_xattrs()
356 if (IS_XATTR_LAST_ENTRY(*xe)) { in lookup_all_xattrs()