Home
last modified time | relevance | path

Searched refs:erofs_xattr_entry (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/fs/erofs/
H A Derofs_fs.h170 struct erofs_xattr_entry { struct
187 #define EROFS_XATTR_ALIGN(size) round_up(size, sizeof(struct erofs_xattr_entry))
189 static inline unsigned int erofs_xattr_entry_size(struct erofs_xattr_entry *e) in erofs_xattr_entry_size()
191 return EROFS_XATTR_ALIGN(sizeof(struct erofs_xattr_entry) + in erofs_xattr_entry_size()
310 BUILD_BUG_ON(sizeof(struct erofs_xattr_entry) != 4); in erofs_check_ondisk_layout_definitions()
H A Dxattr.c163 int (*entry)(struct xattr_iter *_it, struct erofs_xattr_entry *entry);
227 struct erofs_xattr_entry entry; in xattr_foreach()
241 entry = *(struct erofs_xattr_entry *)(it->kaddr + it->ofs); in xattr_foreach()
253 it->ofs += sizeof(struct erofs_xattr_entry); in xattr_foreach()
333 struct erofs_xattr_entry *entry) in xattr_entrymatch()
538 struct erofs_xattr_entry *entry) in xattr_entrylist()
/kernel/linux/linux-6.6/fs/erofs/
H A Derofs_fs.h231 struct erofs_xattr_entry { struct
254 #define EROFS_XATTR_ALIGN(size) round_up(size, sizeof(struct erofs_xattr_entry))
256 static inline unsigned int erofs_xattr_entry_size(struct erofs_xattr_entry *e) in erofs_xattr_entry_size()
258 return EROFS_XATTR_ALIGN(sizeof(struct erofs_xattr_entry) + in erofs_xattr_entry_size()
443 BUILD_BUG_ON(sizeof(struct erofs_xattr_entry) != 4); in erofs_check_ondisk_layout_definitions()
H A Dxattr.c205 struct erofs_xattr_entry entry; in erofs_listxattr_foreach()
211 entry = *(struct erofs_xattr_entry *) in erofs_listxattr_foreach()
213 it->pos += sizeof(struct erofs_xattr_entry); in erofs_listxattr_foreach()
258 struct erofs_xattr_entry entry; in erofs_getxattr_foreach()
262 entry = *(struct erofs_xattr_entry *) in erofs_getxattr_foreach()
264 it->pos += sizeof(struct erofs_xattr_entry); in erofs_getxattr_foreach()

Completed in 5 milliseconds