Home
last modified time | relevance | path

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

/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()
581 static int ocfs2_xe_entry_usage(struct ocfs2_xattr_entry *xe) in ocfs2_xe_entry_usage() argument
583 return namevalue_size_xe(xe) + in ocfs2_xe_entry_usage()
3033 struct ocfs2_xattr_entry *xe = NULL; in ocfs2_calc_xattr_set_need() local
3063 xe = xis->here; in ocfs2_calc_xattr_set_need()
3064 name_offset = le16_to_cpu(xe->xe_name_offset); in ocfs2_calc_xattr_set_need()
3065 name_len = OCFS2_XATTR_SIZE(xe->xe_name_len); in ocfs2_calc_xattr_set_need()
[all …]
Docfs2_fs.h1134 static inline void ocfs2_xattr_set_local(struct ocfs2_xattr_entry *xe, in ocfs2_xattr_set_local() argument
1138 xe->xe_type |= OCFS2_XATTR_ENTRY_LOCAL; in ocfs2_xattr_set_local()
1140 xe->xe_type &= ~OCFS2_XATTR_ENTRY_LOCAL; in ocfs2_xattr_set_local()
1143 static inline int ocfs2_xattr_is_local(struct ocfs2_xattr_entry *xe) in ocfs2_xattr_is_local() argument
1145 return xe->xe_type & OCFS2_XATTR_ENTRY_LOCAL; in ocfs2_xattr_is_local()
1148 static inline void ocfs2_xattr_set_type(struct ocfs2_xattr_entry *xe, int type) in ocfs2_xattr_set_type() argument
1150 xe->xe_type |= type & OCFS2_XATTR_TYPE_MASK; in ocfs2_xattr_set_type()
1153 static inline int ocfs2_xattr_get_type(struct ocfs2_xattr_entry *xe) in ocfs2_xattr_get_type() argument
1155 return xe->xe_type & OCFS2_XATTR_TYPE_MASK; in ocfs2_xattr_get_type()
/fs/f2fs/
Dxattr.c336 const char *name, struct f2fs_xattr_entry **xe, in lookup_all_xattrs() argument
359 *xe = __find_inline_xattr(inode, txattr_addr, &last_addr, in lookup_all_xattrs()
361 if (*xe) in lookup_all_xattrs()
377 *xe = __find_xattr(cur_addr, index, len, name); in lookup_all_xattrs()
379 if (IS_XATTR_LAST_ENTRY(*xe)) { in lookup_all_xattrs()