Home
last modified time | relevance | path

Searched refs:newattrs (Results 1 – 5 of 5) sorted by relevance

/linux/fs/ceph/
H A Dacl.c96 struct iattr newattrs; in ceph_set_acl() local
142 newattrs.ia_ctime = current_time(inode); in ceph_set_acl()
143 newattrs.ia_mode = new_mode; in ceph_set_acl()
144 newattrs.ia_valid = ATTR_MODE | ATTR_CTIME; in ceph_set_acl()
145 ret = __ceph_setattr(idmap, inode, &newattrs, NULL); in ceph_set_acl()
153 newattrs.ia_ctime = old_ctime; in ceph_set_acl()
154 newattrs.ia_mode = old_mode; in ceph_set_acl()
155 newattrs.ia_valid = ATTR_MODE | ATTR_CTIME; in ceph_set_acl()
156 __ceph_setattr(idmap, inode, &newattrs, NULL); in ceph_set_acl()
/linux/drivers/base/
H A Ddevtmpfs.c236 struct iattr newattrs; in handle_create() local
238 newattrs.ia_mode = mode; in handle_create()
239 newattrs.ia_uid = uid; in handle_create()
240 newattrs.ia_gid = gid; in handle_create()
241 newattrs.ia_valid = ATTR_MODE|ATTR_UID|ATTR_GID; in handle_create()
243 notify_change(&nop_mnt_idmap, dentry, &newattrs, NULL); in handle_create()
332 struct iattr newattrs; in handle_remove() local
337 newattrs.ia_uid = GLOBAL_ROOT_UID; in handle_remove()
338 newattrs.ia_gid = GLOBAL_ROOT_GID; in handle_remove()
339 newattrs.ia_mode = inode->i_mode & ~0777; in handle_remove()
[all …]
/linux/security/integrity/evm/
H A Devm_secfs.c185 struct iattr newattrs; in evm_write_xattrs() local
226 newattrs.ia_mode = S_IFREG | 0440; in evm_write_xattrs()
227 newattrs.ia_valid = ATTR_MODE; in evm_write_xattrs()
230 err = simple_setattr(&nop_mnt_idmap, evm_xattrs, &newattrs); in evm_write_xattrs()
/linux/fs/sysfs/
H A Dgroup.c510 struct iattr *newattrs) in sysfs_group_attrs_change_owner() argument
531 error = kernfs_setattr(kn, newattrs); in sysfs_group_attrs_change_owner()
553 error = kernfs_setattr(kn, newattrs); in sysfs_group_attrs_change_owner()
578 struct iattr newattrs = { in sysfs_group_change_owner() local
596 error = kernfs_setattr(grp_kn, &newattrs); in sysfs_group_change_owner()
598 error = sysfs_group_attrs_change_owner(kobj, grp_kn, grp, &newattrs); in sysfs_group_change_owner()
/linux/fs/
H A Dinode.c2274 struct iattr newattrs; in __remove_privs() local
2276 newattrs.ia_valid = ATTR_FORCE | kill; in __remove_privs()
2281 return notify_change(idmap, dentry, &newattrs, NULL); in __remove_privs()