Searched refs:iattr (Results 1 – 2 of 2) sorted by relevance
207 struct iattr iattr = { .ia_valid = ATTR_UID | ATTR_GID, in rdtgroup_kn_set_ugid() local211 if (uid_eq(iattr.ia_uid, GLOBAL_ROOT_UID) && in rdtgroup_kn_set_ugid()212 gid_eq(iattr.ia_gid, GLOBAL_ROOT_GID)) in rdtgroup_kn_set_ugid()215 return kernfs_setattr(kn, &iattr); in rdtgroup_kn_set_ugid()1661 struct iattr iattr = {.ia_valid = ATTR_MODE,}; in rdtgroup_kn_mode_restrict() local1671 iattr.ia_mode = S_IFDIR; in rdtgroup_kn_mode_restrict()1674 iattr.ia_mode = S_IFREG; in rdtgroup_kn_mode_restrict()1677 iattr.ia_mode = S_IFLNK; in rdtgroup_kn_mode_restrict()1681 ret = kernfs_setattr(kn, &iattr); in rdtgroup_kn_mode_restrict()1700 struct iattr iattr = {.ia_valid = ATTR_MODE,}; in rdtgroup_kn_mode_restore() local[all …]
95 struct iattr *attr) in spufs_setattr()