Searched refs:newattrs (Results 1 – 8 of 8) sorted by relevance
54 struct iattr newattrs; in utimes_common() local65 newattrs.ia_valid = ATTR_CTIME | ATTR_MTIME | ATTR_ATIME; in utimes_common()68 newattrs.ia_valid &= ~ATTR_ATIME; in utimes_common()70 newattrs.ia_atime.tv_sec = times[0].tv_sec; in utimes_common()71 newattrs.ia_atime.tv_nsec = times[0].tv_nsec; in utimes_common()72 newattrs.ia_valid |= ATTR_ATIME_SET; in utimes_common()76 newattrs.ia_valid &= ~ATTR_MTIME; in utimes_common()78 newattrs.ia_mtime.tv_sec = times[1].tv_sec; in utimes_common()79 newattrs.ia_mtime.tv_nsec = times[1].tv_nsec; in utimes_common()80 newattrs.ia_valid |= ATTR_MTIME_SET; in utimes_common()[all …]
40 struct iattr newattrs; in do_truncate() local46 newattrs.ia_size = length; in do_truncate()47 newattrs.ia_valid = ATTR_SIZE | time_attrs; in do_truncate()49 newattrs.ia_file = filp; in do_truncate()50 newattrs.ia_valid |= ATTR_FILE; in do_truncate()56 newattrs.ia_valid |= ret | ATTR_FORCE; in do_truncate()59 ret = notify_change(dentry, &newattrs); in do_truncate()452 struct iattr newattrs; in chmod_common() local462 newattrs.ia_mode = (mode & S_IALLUGO) | (inode->i_mode & ~S_IALLUGO); in chmod_common()463 newattrs.ia_valid = ATTR_MODE | ATTR_CTIME; in chmod_common()[all …]
209 struct iattr newattrs; in handle_create() local212 newattrs.ia_mode = mode; in handle_create()213 newattrs.ia_valid = ATTR_MODE; in handle_create()215 notify_change(dentry, &newattrs); in handle_create()324 struct iattr newattrs; in handle_remove() local329 newattrs.ia_uid = 0; in handle_remove()330 newattrs.ia_gid = 0; in handle_remove()331 newattrs.ia_mode = stat.mode & ~0777; in handle_remove()332 newattrs.ia_valid = in handle_remove()335 notify_change(dentry, &newattrs); in handle_remove()
382 struct iattr newattrs; in cachefiles_attr_changed() local418 newattrs.ia_valid = ATTR_SIZE; in cachefiles_attr_changed()419 newattrs.ia_size = oi_size & PAGE_MASK; in cachefiles_attr_changed()420 ret = notify_change(object->backer, &newattrs); in cachefiles_attr_changed()425 newattrs.ia_valid = ATTR_SIZE; in cachefiles_attr_changed()426 newattrs.ia_size = ni_size; in cachefiles_attr_changed()427 ret = notify_change(object->backer, &newattrs); in cachefiles_attr_changed()
630 struct iattr newattrs; in sysfs_chmod_file() local645 newattrs.ia_mode = (mode & S_IALLUGO) | (sd->s_mode & ~S_IALLUGO); in sysfs_chmod_file()646 newattrs.ia_valid = ATTR_MODE; in sysfs_chmod_file()647 rc = sysfs_sd_setattr(sd, &newattrs); in sysfs_chmod_file()
406 struct iattr newattrs; in hpfs_unlink() local408 newattrs.ia_size = 0; in hpfs_unlink()409 newattrs.ia_valid = ATTR_SIZE | ATTR_CTIME; in hpfs_unlink()410 err = notify_change(dentry, &newattrs); in hpfs_unlink()
550 struct iattr newattrs = { in reiserfs_xattr_set_handle() local561 err = reiserfs_setattr(dentry, &newattrs); in reiserfs_xattr_set_handle()
1972 struct iattr newattrs; in __remove_suid() local1974 newattrs.ia_valid = ATTR_FORCE | kill; in __remove_suid()1975 return notify_change(dentry, &newattrs); in __remove_suid()