Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/fs/
H A 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 …]
H A 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 …]
H A Dinode.c1911 struct iattr newattrs; in __remove_privs() local
1913 newattrs.ia_valid = ATTR_FORCE | kill; in __remove_privs()
1918 return notify_change(dentry, &newattrs, NULL); in __remove_privs()
/OK3568_Linux_fs/kernel/fs/ceph/
H A 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()
/OK3568_Linux_fs/kernel/drivers/base/
H A Ddevtmpfs.c224 struct iattr newattrs; in handle_create() local
226 newattrs.ia_mode = mode; in handle_create()
227 newattrs.ia_uid = uid; in handle_create()
228 newattrs.ia_gid = gid; in handle_create()
229 newattrs.ia_valid = ATTR_MODE|ATTR_UID|ATTR_GID; in handle_create()
231 notify_change(dentry, &newattrs, NULL); in handle_create()
327 struct iattr newattrs; in handle_remove() local
332 newattrs.ia_uid = GLOBAL_ROOT_UID; in handle_remove()
333 newattrs.ia_gid = GLOBAL_ROOT_GID; in handle_remove()
334 newattrs.ia_mode = stat.mode & ~0777; in handle_remove()
[all …]
/OK3568_Linux_fs/kernel/fs/sysfs/
H A 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()
H A 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()
/OK3568_Linux_fs/kernel/security/integrity/evm/
H A Devm_secfs.c179 struct iattr newattrs; in evm_write_xattrs() local
219 newattrs.ia_mode = S_IFREG | 0440; in evm_write_xattrs()
220 newattrs.ia_valid = ATTR_MODE; in evm_write_xattrs()
223 err = simple_setattr(evm_xattrs, &newattrs); in evm_write_xattrs()
/OK3568_Linux_fs/kernel/fs/cachefiles/
H A 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()
/OK3568_Linux_fs/kernel/fs/incfs/
H A 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()
/OK3568_Linux_fs/kernel/fs/reiserfs/
H A Dxattr.c598 struct iattr newattrs = { in reiserfs_xattr_set_handle() local
607 err = reiserfs_setattr(dentry, &newattrs); in reiserfs_xattr_set_handle()