Home
last modified time | relevance | path

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

/fs/
Dutimes.c22 struct iattr newattrs; in vfs_utimes() local
39 newattrs.ia_valid = ATTR_CTIME | ATTR_MTIME | ATTR_ATIME; in vfs_utimes()
42 newattrs.ia_valid &= ~ATTR_ATIME; in vfs_utimes()
44 newattrs.ia_atime = times[0]; in vfs_utimes()
45 newattrs.ia_valid |= ATTR_ATIME_SET; in vfs_utimes()
49 newattrs.ia_valid &= ~ATTR_MTIME; in vfs_utimes()
51 newattrs.ia_mtime = times[1]; in vfs_utimes()
52 newattrs.ia_valid |= ATTR_MTIME_SET; in vfs_utimes()
59 newattrs.ia_valid |= ATTR_TIMES_SET; in vfs_utimes()
61 newattrs.ia_valid |= ATTR_TOUCH; in vfs_utimes()
[all …]
Dopen.c43 struct iattr newattrs; in do_truncate() local
49 newattrs.ia_size = length; in do_truncate()
50 newattrs.ia_valid = ATTR_SIZE | time_attrs; in do_truncate()
52 newattrs.ia_file = filp; in do_truncate()
53 newattrs.ia_valid |= ATTR_FILE; in do_truncate()
61 newattrs.ia_valid |= ret | ATTR_FORCE; in do_truncate()
65 ret = notify_change(dentry, &newattrs, NULL); in do_truncate()
571 struct iattr newattrs; in chmod_common() local
582 newattrs.ia_mode = (mode & S_IALLUGO) | (inode->i_mode & ~S_IALLUGO); in chmod_common()
583 newattrs.ia_valid = ATTR_MODE | ATTR_CTIME; in chmod_common()
[all …]
Dinode.c1924 struct iattr newattrs; in __remove_privs() local
1926 newattrs.ia_valid = ATTR_FORCE | kill; in __remove_privs()
1931 return notify_change(dentry, &newattrs, NULL); in __remove_privs()
/fs/ceph/
Dacl.c90 struct iattr newattrs; in ceph_set_acl() local
134 newattrs.ia_ctime = current_time(inode); in ceph_set_acl()
135 newattrs.ia_mode = new_mode; in ceph_set_acl()
136 newattrs.ia_valid = ATTR_MODE | ATTR_CTIME; in ceph_set_acl()
137 ret = __ceph_setattr(inode, &newattrs); in ceph_set_acl()
145 newattrs.ia_ctime = old_ctime; in ceph_set_acl()
146 newattrs.ia_mode = old_mode; in ceph_set_acl()
147 newattrs.ia_valid = ATTR_MODE | ATTR_CTIME; in ceph_set_acl()
148 __ceph_setattr(inode, &newattrs); in ceph_set_acl()
/fs/sysfs/
Dgroup.c470 struct iattr *newattrs) in sysfs_group_attrs_change_owner() argument
483 error = kernfs_setattr(kn, newattrs); in sysfs_group_attrs_change_owner()
498 error = kernfs_setattr(kn, newattrs); in sysfs_group_attrs_change_owner()
523 struct iattr newattrs = { in sysfs_group_change_owner() local
541 error = kernfs_setattr(grp_kn, &newattrs); in sysfs_group_change_owner()
543 error = sysfs_group_attrs_change_owner(grp_kn, grp, &newattrs); in sysfs_group_change_owner()
Dfile.c396 struct iattr newattrs; in sysfs_chmod_file() local
403 newattrs.ia_mode = (mode & S_IALLUGO) | (kn->mode & ~S_IALLUGO); in sysfs_chmod_file()
404 newattrs.ia_valid = ATTR_MODE; in sysfs_chmod_file()
406 rc = kernfs_setattr(kn, &newattrs); in sysfs_chmod_file()
567 struct iattr newattrs = { in internal_change_owner() local
572 return kernfs_setattr(kn, &newattrs); in internal_change_owner()
/fs/cachefiles/
Dinterface.c435 struct iattr newattrs; in cachefiles_attr_changed() local
471 newattrs.ia_valid = ATTR_SIZE; in cachefiles_attr_changed()
472 newattrs.ia_size = oi_size & PAGE_MASK; in cachefiles_attr_changed()
473 ret = notify_change(object->backer, &newattrs, NULL); in cachefiles_attr_changed()
478 newattrs.ia_valid = ATTR_SIZE; in cachefiles_attr_changed()
479 newattrs.ia_size = ni_size; in cachefiles_attr_changed()
480 ret = notify_change(object->backer, &newattrs, NULL); in cachefiles_attr_changed()
/fs/incfs/
Dpseudo_files.c193 struct iattr newattrs; in chmod() local
198 newattrs.ia_mode = (mode & S_IALLUGO) | (inode->i_mode & ~S_IALLUGO); in chmod()
199 newattrs.ia_valid = ATTR_MODE | ATTR_CTIME; in chmod()
200 error = notify_change(dentry, &newattrs, &delegated_inode); in chmod()
/fs/reiserfs/
Dxattr.c598 struct iattr newattrs = { in reiserfs_xattr_set_handle() local
607 err = reiserfs_setattr(dentry, &newattrs); in reiserfs_xattr_set_handle()