Home
last modified time | relevance | path

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

/fs/
Dutimes.c54 struct iattr newattrs; in utimes_common() local
65 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 …]
Dopen.c202 struct iattr newattrs; in do_truncate() local
208 newattrs.ia_size = length; in do_truncate()
209 newattrs.ia_valid = ATTR_SIZE | time_attrs; in do_truncate()
211 newattrs.ia_file = filp; in do_truncate()
212 newattrs.ia_valid |= ATTR_FILE; in do_truncate()
216 newattrs.ia_valid |= should_remove_suid(dentry); in do_truncate()
219 err = notify_change(dentry, &newattrs); in do_truncate()
603 struct iattr newattrs; in SYSCALL_DEFINE2() local
620 newattrs.ia_mode = (mode & S_IALLUGO) | (inode->i_mode & ~S_IALLUGO); in SYSCALL_DEFINE2()
621 newattrs.ia_valid = ATTR_MODE | ATTR_CTIME; in SYSCALL_DEFINE2()
[all …]
/fs/sysfs/
Dfile.c583 struct iattr newattrs; in sysfs_chmod_file() local
604 newattrs.ia_mode = (mode & S_IALLUGO) | (inode->i_mode & ~S_IALLUGO); in sysfs_chmod_file()
605 newattrs.ia_valid = ATTR_MODE | ATTR_CTIME; in sysfs_chmod_file()
606 newattrs.ia_ctime = current_fs_time(inode->i_sb); in sysfs_chmod_file()
607 rc = sysfs_setattr(victim, &newattrs); in sysfs_chmod_file()
610 fsnotify_change(victim, newattrs.ia_valid); in sysfs_chmod_file()
612 victim_sd->s_mode = newattrs.ia_mode; in sysfs_chmod_file()
/fs/hpfs/
Dnamei.c424 struct iattr newattrs; in hpfs_unlink() local
427 newattrs.ia_size = 0; in hpfs_unlink()
428 newattrs.ia_valid = ATTR_SIZE | ATTR_CTIME; in hpfs_unlink()
429 err = notify_change(dentry, &newattrs); in hpfs_unlink()
/fs/reiserfs/
Dxattr.c426 struct iattr newattrs; in reiserfs_xattr_set() local
459 newattrs.ia_size = buffer_size; in reiserfs_xattr_set()
460 newattrs.ia_valid = ATTR_SIZE | ATTR_CTIME; in reiserfs_xattr_set()
462 err = notify_change(dentry, &newattrs); in reiserfs_xattr_set()