Home
last modified time | relevance | path

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

/linux/fs/ceph/
H A Dacl.c97 struct iattr newattrs; in ceph_set_acl()
138 newattrs.ia_ctime = current_time(inode); in ceph_set_acl()
139 newattrs.ia_mode = new_mode; in ceph_set_acl()
140 newattrs.ia_valid = ATTR_MODE | ATTR_CTIME; in ceph_set_acl()
141 ret = __ceph_setattr(idmap, inode, &newattrs, NULL); in ceph_set_acl()
149 newattrs.ia_ctime = old_ctime; in ceph_set_acl()
150 newattrs.ia_mode = old_mode; in ceph_set_acl()
151 newattrs.ia_valid = ATTR_MODE | ATTR_CTIME; in ceph_set_acl()
152 __ceph_setattr(idmap, inode, &newattrs, NULL); in ceph_set_acl()
96 struct iattr newattrs; ceph_set_acl() local
/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/smb/server/
H A Dsmbacl.c1420 struct iattr newattrs; in set_info_sec() local
1430 newattrs.ia_valid = ATTR_CTIME; in set_info_sec()
1432 newattrs.ia_valid |= ATTR_UID; in set_info_sec()
1433 newattrs.ia_uid = fattr.cf_uid; in set_info_sec()
1436 newattrs.ia_valid |= ATTR_GID; in set_info_sec()
1437 newattrs.ia_gid = fattr.cf_gid; in set_info_sec()
1439 newattrs.ia_valid |= ATTR_MODE; in set_info_sec()
1440 newattrs.ia_mode = (inode->i_mode & ~0777) | (fattr.cf_mode & 0777); in set_info_sec()
1462 rc = notify_change(idmap, path->dentry, &newattrs, NULL); in set_info_sec()
/linux/fs/
H A Dinode.c2298 struct iattr newattrs; in file_remove_privs_flags()
2300 newattrs.ia_valid = ATTR_FORCE | kill; in file_remove_privs_flags()
2305 return notify_change(idmap, dentry, &newattrs, NULL); in file_remove_privs_flags()
2277 struct iattr newattrs; __remove_privs() local