Searched refs:newattrs (Results 1 – 8 of 8) sorted by relevance
/linux-4.4.14/fs/ |
D | utimes.c | 54 struct iattr newattrs; in utimes_common() local 66 newattrs.ia_valid = ATTR_CTIME | ATTR_MTIME | ATTR_ATIME; in utimes_common() 69 newattrs.ia_valid &= ~ATTR_ATIME; in utimes_common() 71 newattrs.ia_atime.tv_sec = times[0].tv_sec; in utimes_common() 72 newattrs.ia_atime.tv_nsec = times[0].tv_nsec; in utimes_common() 73 newattrs.ia_valid |= ATTR_ATIME_SET; in utimes_common() 77 newattrs.ia_valid &= ~ATTR_MTIME; in utimes_common() 79 newattrs.ia_mtime.tv_sec = times[1].tv_sec; in utimes_common() 80 newattrs.ia_mtime.tv_nsec = times[1].tv_nsec; in utimes_common() 81 newattrs.ia_valid |= ATTR_MTIME_SET; in utimes_common() [all …]
|
D | open.c | 41 struct iattr newattrs; in do_truncate() local 47 newattrs.ia_size = length; in do_truncate() 48 newattrs.ia_valid = ATTR_SIZE | time_attrs; in do_truncate() 50 newattrs.ia_file = filp; in do_truncate() 51 newattrs.ia_valid |= ATTR_FILE; in do_truncate() 59 newattrs.ia_valid |= ret | ATTR_FORCE; in do_truncate() 63 ret = notify_change(dentry, &newattrs, NULL); in do_truncate() 506 struct iattr newattrs; in chmod_common() local 517 newattrs.ia_mode = (mode & S_IALLUGO) | (inode->i_mode & ~S_IALLUGO); in chmod_common() 518 newattrs.ia_valid = ATTR_MODE | ATTR_CTIME; in chmod_common() [all …]
|
D | inode.c | 1720 struct iattr newattrs; in __remove_privs() local 1722 newattrs.ia_valid = ATTR_FORCE | kill; in __remove_privs() 1727 return notify_change(dentry, &newattrs, NULL); in __remove_privs()
|
/linux-4.4.14/drivers/base/ |
D | devtmpfs.c | 212 struct iattr newattrs; in handle_create() local 214 newattrs.ia_mode = mode; in handle_create() 215 newattrs.ia_uid = uid; in handle_create() 216 newattrs.ia_gid = gid; in handle_create() 217 newattrs.ia_valid = ATTR_MODE|ATTR_UID|ATTR_GID; in handle_create() 219 notify_change(dentry, &newattrs, NULL); in handle_create() 314 struct iattr newattrs; in handle_remove() local 319 newattrs.ia_uid = GLOBAL_ROOT_UID; in handle_remove() 320 newattrs.ia_gid = GLOBAL_ROOT_GID; in handle_remove() 321 newattrs.ia_mode = stat.mode & ~0777; in handle_remove() [all …]
|
/linux-4.4.14/fs/ceph/ |
D | acl.c | 89 struct iattr newattrs; in ceph_set_acl() local 131 newattrs.ia_mode = new_mode; in ceph_set_acl() 132 newattrs.ia_valid = ATTR_MODE; in ceph_set_acl() 133 ret = ceph_setattr(dentry, &newattrs); in ceph_set_acl() 141 newattrs.ia_mode = old_mode; in ceph_set_acl() 142 newattrs.ia_valid = ATTR_MODE; in ceph_set_acl() 143 ceph_setattr(dentry, &newattrs); in ceph_set_acl()
|
/linux-4.4.14/fs/cachefiles/ |
D | interface.c | 420 struct iattr newattrs; in cachefiles_attr_changed() local 456 newattrs.ia_valid = ATTR_SIZE; in cachefiles_attr_changed() 457 newattrs.ia_size = oi_size & PAGE_MASK; in cachefiles_attr_changed() 458 ret = notify_change(object->backer, &newattrs, NULL); in cachefiles_attr_changed() 463 newattrs.ia_valid = ATTR_SIZE; in cachefiles_attr_changed() 464 newattrs.ia_size = ni_size; in cachefiles_attr_changed() 465 ret = notify_change(object->backer, &newattrs, NULL); in cachefiles_attr_changed()
|
/linux-4.4.14/fs/sysfs/ |
D | file.c | 385 struct iattr newattrs; in sysfs_chmod_file() local 392 newattrs.ia_mode = (mode & S_IALLUGO) | (kn->mode & ~S_IALLUGO); in sysfs_chmod_file() 393 newattrs.ia_valid = ATTR_MODE; in sysfs_chmod_file() 395 rc = kernfs_setattr(kn, &newattrs); in sysfs_chmod_file()
|
/linux-4.4.14/fs/reiserfs/ |
D | xattr.c | 577 struct iattr newattrs = { in reiserfs_xattr_set_handle() local 586 err = reiserfs_setattr(dentry, &newattrs); in reiserfs_xattr_set_handle()
|