Lines Matching refs:xattr
140 struct xattr_list *xattr; in evm_find_protected_xattrs() local
147 list_for_each_entry_lockless(xattr, &evm_config_xattrnames, list) { in evm_find_protected_xattrs()
148 error = __vfs_getxattr(dentry, inode, xattr->name, NULL, 0); in evm_find_protected_xattrs()
291 struct xattr_list *xattr; in evm_protected_xattr_common() local
294 list_for_each_entry_lockless(xattr, &evm_config_xattrnames, list) { in evm_protected_xattr_common()
295 if (!all_xattrs && !xattr->enabled) in evm_protected_xattr_common()
298 if ((strlen(xattr->name) == namelen) in evm_protected_xattr_common()
299 && (strncmp(req_xattr_name, xattr->name, namelen) == 0)) { in evm_protected_xattr_common()
304 xattr->name + XATTR_SECURITY_PREFIX_LEN, in evm_protected_xattr_common()
342 struct xattr_list *xattr; in evm_read_protected_xattrs() local
345 list_for_each_entry_lockless(xattr, &evm_config_xattrnames, list) { in evm_read_protected_xattrs()
347 xattr->name, NULL, 0); in evm_read_protected_xattrs()
355 size = strlen(xattr->name) + 1; in evm_read_protected_xattrs()
360 memcpy(buffer + total_size, xattr->name, size); in evm_read_protected_xattrs()
376 d_backing_inode(dentry), xattr->name, in evm_read_protected_xattrs()
842 const struct xattr *lsm_xattr, in evm_inode_init_security()
843 struct xattr *evm_xattr) in evm_inode_init_security()