Lines Matching refs:xattr

135 	struct xattr_list *xattr;  in evm_find_protected_xattrs()  local
142 list_for_each_entry_lockless(xattr, &evm_config_xattrnames, list) { in evm_find_protected_xattrs()
143 error = __vfs_getxattr(dentry, inode, xattr->name, NULL, 0); in evm_find_protected_xattrs()
286 struct xattr_list *xattr; in evm_protected_xattr_common() local
289 list_for_each_entry_lockless(xattr, &evm_config_xattrnames, list) { in evm_protected_xattr_common()
290 if (!all_xattrs && !xattr->enabled) in evm_protected_xattr_common()
293 if ((strlen(xattr->name) == namelen) in evm_protected_xattr_common()
294 && (strncmp(req_xattr_name, xattr->name, namelen) == 0)) { in evm_protected_xattr_common()
299 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()
878 const struct qstr *qstr, struct xattr *xattrs, in evm_inode_init_security()
882 struct xattr *xattr, *evm_xattr; in evm_inode_init_security() local
894 for (xattr = xattrs; xattr->name; xattr++) { in evm_inode_init_security()
895 if (evm_protected_xattr(xattr->name)) in evm_inode_init_security()
908 WARN_ONCE(evm_xattr != xattr, in evm_inode_init_security()