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()
304 struct xattr_list *xattr; in evm_protected_xattr_common() local
307 list_for_each_entry_lockless(xattr, &evm_config_xattrnames, list) { in evm_protected_xattr_common()
308 if (!all_xattrs && !xattr->enabled) in evm_protected_xattr_common()
311 if ((strlen(xattr->name) == namelen) in evm_protected_xattr_common()
312 && (strncmp(req_xattr_name, xattr->name, namelen) == 0)) { in evm_protected_xattr_common()
317 xattr->name + XATTR_SECURITY_PREFIX_LEN, in evm_protected_xattr_common()
354 struct xattr_list *xattr; in evm_read_protected_xattrs() local
357 list_for_each_entry_lockless(xattr, &evm_config_xattrnames, list) { in evm_read_protected_xattrs()
359 xattr->name, NULL, 0); in evm_read_protected_xattrs()
367 size = strlen(xattr->name) + 1; in evm_read_protected_xattrs()
372 memcpy(buffer + total_size, xattr->name, size); in evm_read_protected_xattrs()
388 d_backing_inode(dentry), xattr->name, in evm_read_protected_xattrs()
1014 const struct qstr *qstr, struct xattr *xattrs, in evm_inode_init_security()
1018 struct xattr *xattr, *evm_xattr; in evm_inode_init_security() local
1030 for (xattr = xattrs; xattr->name; xattr++) { in evm_inode_init_security()
1031 if (evm_protected_xattr(xattr->name)) in evm_inode_init_security()
1044 WARN_ONCE(evm_xattr != xattr, in evm_inode_init_security()