Lines Matching refs:attr
485 struct iattr *attr) in linvfs_setattr() argument
488 unsigned int ia_valid = attr->ia_valid; in linvfs_setattr()
497 vattr.va_uid = attr->ia_uid; in linvfs_setattr()
501 vattr.va_gid = attr->ia_gid; in linvfs_setattr()
505 vattr.va_size = attr->ia_size; in linvfs_setattr()
509 vattr.va_atime.tv_sec = attr->ia_atime; in linvfs_setattr()
514 vattr.va_mtime.tv_sec = attr->ia_mtime; in linvfs_setattr()
519 vattr.va_ctime.tv_sec = attr->ia_ctime; in linvfs_setattr()
524 vattr.va_mode = attr->ia_mode; in linvfs_setattr()
555 char *attr = (char *)name; in linvfs_setxattr() local
560 namesp = attr_lookup_namespace(attr, attr_namespaces, ATTR_NAMECOUNT); in linvfs_setxattr()
563 attr += namesp->attr_namelen; in linvfs_setxattr()
574 return namesp->attr_set(vp, attr, (void *)data, size, xflags); in linvfs_setxattr()
585 char *attr = (char *)name; in linvfs_getxattr() local
590 namesp = attr_lookup_namespace(attr, attr_namespaces, ATTR_NAMECOUNT); in linvfs_getxattr()
593 attr += namesp->attr_namelen; in linvfs_getxattr()
604 return namesp->attr_get(vp, attr, (void *)data, size, xflags); in linvfs_getxattr()
633 char *attr = (char *)name; in linvfs_removexattr() local
638 namesp = attr_lookup_namespace(attr, attr_namespaces, ATTR_NAMECOUNT); in linvfs_removexattr()
641 attr += namesp->attr_namelen; in linvfs_removexattr()
646 return namesp->attr_remove(vp, attr, xflags); in linvfs_removexattr()