Home
last modified time | relevance | path

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

/linux-3.4.99/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.c40 struct iattr newattrs; in do_truncate() local
46 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() local
462 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 …]
/linux-3.4.99/drivers/base/
Ddevtmpfs.c209 struct iattr newattrs; in handle_create() local
212 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() local
329 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()
/linux-3.4.99/fs/cachefiles/
Dinterface.c382 struct iattr newattrs; in cachefiles_attr_changed() local
418 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()
/linux-3.4.99/fs/sysfs/
Dfile.c630 struct iattr newattrs; in sysfs_chmod_file() local
645 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()
/linux-3.4.99/fs/hpfs/
Dnamei.c406 struct iattr newattrs; in hpfs_unlink() local
408 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()
/linux-3.4.99/fs/reiserfs/
Dxattr.c550 struct iattr newattrs = { in reiserfs_xattr_set_handle() local
561 err = reiserfs_setattr(dentry, &newattrs); in reiserfs_xattr_set_handle()
/linux-3.4.99/mm/
Dfilemap.c1972 struct iattr newattrs; in __remove_suid() local
1974 newattrs.ia_valid = ATTR_FORCE | kill; in __remove_suid()
1975 return notify_change(dentry, &newattrs); in __remove_suid()