Searched refs:newattrs (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.4/fs/ |
D | utimes.c | 22 struct iattr newattrs; in utimes_common() local 34 newattrs.ia_valid = ATTR_CTIME | ATTR_MTIME | ATTR_ATIME; in utimes_common() 37 newattrs.ia_valid &= ~ATTR_ATIME; in utimes_common() 39 newattrs.ia_atime = timestamp_truncate(times[0], inode); in utimes_common() 40 newattrs.ia_valid |= ATTR_ATIME_SET; in utimes_common() 44 newattrs.ia_valid &= ~ATTR_MTIME; in utimes_common() 46 newattrs.ia_mtime = timestamp_truncate(times[1], inode); in utimes_common() 47 newattrs.ia_valid |= ATTR_MTIME_SET; in utimes_common() 54 newattrs.ia_valid |= ATTR_TIMES_SET; in utimes_common() 56 newattrs.ia_valid |= ATTR_TOUCH; in utimes_common() [all …]
|
D | open.c | 42 struct iattr newattrs; in do_truncate() local 48 newattrs.ia_size = length; in do_truncate() 49 newattrs.ia_valid = ATTR_SIZE | time_attrs; in do_truncate() 51 newattrs.ia_file = filp; in do_truncate() 52 newattrs.ia_valid |= ATTR_FILE; in do_truncate() 60 newattrs.ia_valid |= ret | ATTR_FORCE; in do_truncate() 64 ret = notify_change(dentry, &newattrs, NULL); in do_truncate() 548 struct iattr newattrs; in chmod_common() local 559 newattrs.ia_mode = (mode & S_IALLUGO) | (inode->i_mode & ~S_IALLUGO); in chmod_common() 560 newattrs.ia_valid = ATTR_MODE | ATTR_CTIME; in chmod_common() [all …]
|
D | inode.c | 1815 struct iattr newattrs; in __remove_privs() local 1817 newattrs.ia_valid = ATTR_FORCE | kill; in __remove_privs() 1822 return notify_change(dentry, &newattrs, NULL); in __remove_privs()
|
/Linux-v5.4/fs/ceph/ |
D | acl.c | 90 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()
|
/Linux-v5.4/drivers/base/ |
D | devtmpfs.c | 226 struct iattr newattrs; in handle_create() local 228 newattrs.ia_mode = mode; in handle_create() 229 newattrs.ia_uid = uid; in handle_create() 230 newattrs.ia_gid = gid; in handle_create() 231 newattrs.ia_valid = ATTR_MODE|ATTR_UID|ATTR_GID; in handle_create() 233 notify_change(dentry, &newattrs, NULL); in handle_create() 329 struct iattr newattrs; in handle_remove() local 334 newattrs.ia_uid = GLOBAL_ROOT_UID; in handle_remove() 335 newattrs.ia_gid = GLOBAL_ROOT_GID; in handle_remove() 336 newattrs.ia_mode = stat.mode & ~0777; in handle_remove() [all …]
|
/Linux-v5.4/security/integrity/evm/ |
D | evm_secfs.c | 180 struct iattr newattrs; in evm_write_xattrs() local 220 newattrs.ia_mode = S_IFREG | 0440; in evm_write_xattrs() 221 newattrs.ia_valid = ATTR_MODE; in evm_write_xattrs() 224 err = simple_setattr(evm_xattrs, &newattrs); in evm_write_xattrs()
|
/Linux-v5.4/fs/cachefiles/ |
D | interface.c | 435 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()
|
/Linux-v5.4/fs/sysfs/ |
D | file.c | 395 struct iattr newattrs; in sysfs_chmod_file() local 402 newattrs.ia_mode = (mode & S_IALLUGO) | (kn->mode & ~S_IALLUGO); in sysfs_chmod_file() 403 newattrs.ia_valid = ATTR_MODE; in sysfs_chmod_file() 405 rc = kernfs_setattr(kn, &newattrs); in sysfs_chmod_file()
|
/Linux-v5.4/fs/reiserfs/ |
D | xattr.c | 594 struct iattr newattrs = { in reiserfs_xattr_set_handle() local 603 err = reiserfs_setattr(dentry, &newattrs); in reiserfs_xattr_set_handle()
|