Home
last modified time | relevance | path

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

/linux/fs/
H A Dutimes.c23 struct iattr newattrs; in vfs_utimes() local
40 newattrs.ia_valid = ATTR_CTIME | ATTR_MTIME | ATTR_ATIME; in vfs_utimes()
43 newattrs.ia_valid &= ~ATTR_ATIME; in vfs_utimes()
45 newattrs.ia_atime = times[0]; in vfs_utimes()
46 newattrs.ia_valid |= ATTR_ATIME_SET; in vfs_utimes()
50 newattrs.ia_valid &= ~ATTR_MTIME; in vfs_utimes()
52 newattrs.ia_mtime = times[1]; in vfs_utimes()
53 newattrs.ia_valid |= ATTR_MTIME_SET; in vfs_utimes()
60 newattrs.ia_valid |= ATTR_TIMES_SET; in vfs_utimes()
62 newattrs in vfs_utimes()
[all...]
/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()
334 struct iattr newattrs; in handle_remove() local
339 newattrs.ia_uid = GLOBAL_ROOT_UID; in handle_remove()
340 newattrs.ia_gid = GLOBAL_ROOT_GID; in handle_remove()
341 newattrs in handle_remove()
[all...]
/linux/fs/cachefiles/
H A Dinterface.c116 struct iattr newattrs; in cachefiles_adjust_size() local
142 newattrs.ia_valid = ATTR_SIZE; in cachefiles_adjust_size()
143 newattrs.ia_size = oi_size & PAGE_MASK; in cachefiles_adjust_size()
147 &newattrs, NULL); in cachefiles_adjust_size()
152 newattrs.ia_valid = ATTR_SIZE; in cachefiles_adjust_size()
153 newattrs.ia_size = ni_size; in cachefiles_adjust_size()
157 &newattrs, NULL); in cachefiles_adjust_size()
/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.c503 struct iattr *newattrs) in sysfs_group_attrs_change_owner() argument
516 error = kernfs_setattr(kn, newattrs); in sysfs_group_attrs_change_owner()
531 error = kernfs_setattr(kn, newattrs); in sysfs_group_attrs_change_owner()
556 struct iattr newattrs = { in sysfs_group_change_owner() local
574 error = kernfs_setattr(grp_kn, &newattrs); in sysfs_group_change_owner()
576 error = sysfs_group_attrs_change_owner(grp_kn, grp, &newattrs); in sysfs_group_change_owner()
H A Dfile.c448 struct iattr newattrs; in sysfs_chmod_file() local
455 newattrs.ia_mode = (mode & S_IALLUGO) | (kn->mode & ~S_IALLUGO); in sysfs_chmod_file()
456 newattrs.ia_valid = ATTR_MODE; in sysfs_chmod_file()
458 rc = kernfs_setattr(kn, &newattrs); in sysfs_chmod_file()
621 struct iattr newattrs = { in internal_change_owner() local
626 return kernfs_setattr(kn, &newattrs); in internal_change_owner()