Searched refs:USER_VIRTIOFS_XATTR (Results 1 – 1 of 1) sorted by relevance
41 const USER_VIRTIOFS_XATTR: &[u8] = b"user.virtiofs."; constant562 let mut newname = USER_VIRTIOFS_XATTR.to_vec(); in rewrite_xattr_name()1038 if !name.starts_with(USER_VIRTIOFS_XATTR) { in strip_xattr_prefix()1043 let newlen = name.len() - USER_VIRTIOFS_XATTR.len(); in strip_xattr_prefix()1044 buf.drain(pos..pos + USER_VIRTIOFS_XATTR.len()); in strip_xattr_prefix()1851 if self.cfg.rewrite_security_xattrs && name.to_bytes().starts_with(USER_VIRTIOFS_XATTR) { in setxattr()1905 if self.cfg.rewrite_security_xattrs && name.to_bytes().starts_with(USER_VIRTIOFS_XATTR) { in getxattr()1974 if self.cfg.rewrite_security_xattrs && name.to_bytes().starts_with(USER_VIRTIOFS_XATTR) { in removexattr()