Lines Matching refs:xattr
134 struct xattr_list *xattr; in evm_find_protected_xattrs() local
141 list_for_each_entry_lockless(xattr, &evm_config_xattrnames, list) { in evm_find_protected_xattrs()
142 error = __vfs_getxattr(dentry, inode, xattr->name, NULL, 0); in evm_find_protected_xattrs()
285 struct xattr_list *xattr; in evm_protected_xattr_common() local
288 list_for_each_entry_lockless(xattr, &evm_config_xattrnames, list) { in evm_protected_xattr_common()
289 if (!all_xattrs && !xattr->enabled) in evm_protected_xattr_common()
292 if ((strlen(xattr->name) == namelen) in evm_protected_xattr_common()
293 && (strncmp(req_xattr_name, xattr->name, namelen) == 0)) { in evm_protected_xattr_common()
298 xattr->name + XATTR_SECURITY_PREFIX_LEN, in evm_protected_xattr_common()
336 struct xattr_list *xattr; in evm_read_protected_xattrs() local
339 list_for_each_entry_lockless(xattr, &evm_config_xattrnames, list) { in evm_read_protected_xattrs()
341 xattr->name, NULL, 0); in evm_read_protected_xattrs()
349 size = strlen(xattr->name) + 1; in evm_read_protected_xattrs()
354 memcpy(buffer + total_size, xattr->name, size); in evm_read_protected_xattrs()
370 d_backing_inode(dentry), xattr->name, in evm_read_protected_xattrs()
849 const struct xattr *lsm_xattr, in evm_inode_init_security()
850 struct xattr *evm_xattr) in evm_inode_init_security()