Home
last modified time | relevance | path

Searched refs:xattr_header_sz (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/fs/erofs/
H A Dxattr.c198 unsigned int xattr_header_sz, inline_xattr_ofs; in inline_xattr_iter_begin() local
200 xattr_header_sz = inlinexattr_header_size(inode); in inline_xattr_iter_begin()
201 if (xattr_header_sz >= vi->xattr_isize) { in inline_xattr_iter_begin()
202 DBG_BUGON(xattr_header_sz > vi->xattr_isize); in inline_xattr_iter_begin()
206 inline_xattr_ofs = vi->inode_isize + xattr_header_sz; in inline_xattr_iter_begin()
216 return vi->xattr_isize - xattr_header_sz; in inline_xattr_iter_begin()
/kernel/linux/linux-6.6/fs/erofs/
H A Dxattr.c324 unsigned int xattr_header_sz, remaining, entry_sz; in erofs_xattr_iter_inline() local
328 xattr_header_sz = sizeof(struct erofs_xattr_ibody_header) + in erofs_xattr_iter_inline()
330 if (xattr_header_sz >= vi->xattr_isize) { in erofs_xattr_iter_inline()
331 DBG_BUGON(xattr_header_sz > vi->xattr_isize); in erofs_xattr_iter_inline()
335 remaining = vi->xattr_isize - xattr_header_sz; in erofs_xattr_iter_inline()
336 it->pos = erofs_iloc(inode) + vi->inode_isize + xattr_header_sz; in erofs_xattr_iter_inline()

Completed in 2 milliseconds