iattr 94 arch/powerpc/platforms/cell/spufs/inode.c spufs_setattr(struct dentry *dentry, struct iattr *attr) iattr 191 arch/x86/kernel/cpu/resctrl/rdtgroup.c struct iattr iattr = { .ia_valid = ATTR_UID | ATTR_GID, iattr 195 arch/x86/kernel/cpu/resctrl/rdtgroup.c if (uid_eq(iattr.ia_uid, GLOBAL_ROOT_UID) && iattr 196 arch/x86/kernel/cpu/resctrl/rdtgroup.c gid_eq(iattr.ia_gid, GLOBAL_ROOT_GID)) iattr 199 arch/x86/kernel/cpu/resctrl/rdtgroup.c return kernfs_setattr(kn, &iattr); iattr 1531 arch/x86/kernel/cpu/resctrl/rdtgroup.c struct iattr iattr = {.ia_valid = ATTR_MODE,}; iattr 1541 arch/x86/kernel/cpu/resctrl/rdtgroup.c iattr.ia_mode = S_IFDIR; iattr 1544 arch/x86/kernel/cpu/resctrl/rdtgroup.c iattr.ia_mode = S_IFREG; iattr 1547 arch/x86/kernel/cpu/resctrl/rdtgroup.c iattr.ia_mode = S_IFLNK; iattr 1551 arch/x86/kernel/cpu/resctrl/rdtgroup.c ret = kernfs_setattr(kn, &iattr); iattr 1570 arch/x86/kernel/cpu/resctrl/rdtgroup.c struct iattr iattr = {.ia_valid = ATTR_MODE,}; iattr 1580 arch/x86/kernel/cpu/resctrl/rdtgroup.c iattr.ia_mode = rft->mode & mask; iattr 1591 arch/x86/kernel/cpu/resctrl/rdtgroup.c iattr.ia_mode |= parent->mode; iattr 1594 arch/x86/kernel/cpu/resctrl/rdtgroup.c iattr.ia_mode |= S_IFDIR; iattr 1597 arch/x86/kernel/cpu/resctrl/rdtgroup.c iattr.ia_mode |= S_IFREG; iattr 1600 arch/x86/kernel/cpu/resctrl/rdtgroup.c iattr.ia_mode |= S_IFLNK; iattr 1604 arch/x86/kernel/cpu/resctrl/rdtgroup.c ret = kernfs_setattr(kn, &iattr); iattr 226 drivers/base/devtmpfs.c struct iattr newattrs; iattr 329 drivers/base/devtmpfs.c struct iattr newattrs; iattr 274 drivers/hwmon/i5k_amb.c struct i5k_device_attribute *iattr; iattr 282 drivers/hwmon/i5k_amb.c iattr = data->attrs + data->num_attrs; iattr 283 drivers/hwmon/i5k_amb.c snprintf(iattr->name, AMB_SYSFS_NAME_LEN, iattr 285 drivers/hwmon/i5k_amb.c iattr->s_attr.dev_attr.attr.name = iattr->name; iattr 286 drivers/hwmon/i5k_amb.c iattr->s_attr.dev_attr.attr.mode = 0444; iattr 287 drivers/hwmon/i5k_amb.c iattr->s_attr.dev_attr.show = show_label; iattr 288 drivers/hwmon/i5k_amb.c iattr->s_attr.index = k; iattr 289 drivers/hwmon/i5k_amb.c sysfs_attr_init(&iattr->s_attr.dev_attr.attr); iattr 291 drivers/hwmon/i5k_amb.c &iattr->s_attr.dev_attr); iattr 297 drivers/hwmon/i5k_amb.c iattr = data->attrs + data->num_attrs; iattr 298 drivers/hwmon/i5k_amb.c snprintf(iattr->name, AMB_SYSFS_NAME_LEN, iattr 300 drivers/hwmon/i5k_amb.c iattr->s_attr.dev_attr.attr.name = iattr->name; iattr 301 drivers/hwmon/i5k_amb.c iattr->s_attr.dev_attr.attr.mode = 0444; iattr 302 drivers/hwmon/i5k_amb.c iattr->s_attr.dev_attr.show = show_amb_temp; iattr 303 drivers/hwmon/i5k_amb.c iattr->s_attr.index = k; iattr 304 drivers/hwmon/i5k_amb.c sysfs_attr_init(&iattr->s_attr.dev_attr.attr); iattr 306 drivers/hwmon/i5k_amb.c &iattr->s_attr.dev_attr); iattr 312 drivers/hwmon/i5k_amb.c iattr = data->attrs + data->num_attrs; iattr 313 drivers/hwmon/i5k_amb.c snprintf(iattr->name, AMB_SYSFS_NAME_LEN, iattr 315 drivers/hwmon/i5k_amb.c iattr->s_attr.dev_attr.attr.name = iattr->name; iattr 316 drivers/hwmon/i5k_amb.c iattr->s_attr.dev_attr.attr.mode = 0644; iattr 317 drivers/hwmon/i5k_amb.c iattr->s_attr.dev_attr.show = show_amb_min; iattr 318 drivers/hwmon/i5k_amb.c iattr->s_attr.dev_attr.store = store_amb_min; iattr 319 drivers/hwmon/i5k_amb.c iattr->s_attr.index = k; iattr 320 drivers/hwmon/i5k_amb.c sysfs_attr_init(&iattr->s_attr.dev_attr.attr); iattr 322 drivers/hwmon/i5k_amb.c &iattr->s_attr.dev_attr); iattr 328 drivers/hwmon/i5k_amb.c iattr = data->attrs + data->num_attrs; iattr 329 drivers/hwmon/i5k_amb.c snprintf(iattr->name, AMB_SYSFS_NAME_LEN, iattr 331 drivers/hwmon/i5k_amb.c iattr->s_attr.dev_attr.attr.name = iattr->name; iattr 332 drivers/hwmon/i5k_amb.c iattr->s_attr.dev_attr.attr.mode = 0644; iattr 333 drivers/hwmon/i5k_amb.c iattr->s_attr.dev_attr.show = show_amb_mid; iattr 334 drivers/hwmon/i5k_amb.c iattr->s_attr.dev_attr.store = store_amb_mid; iattr 335 drivers/hwmon/i5k_amb.c iattr->s_attr.index = k; iattr 336 drivers/hwmon/i5k_amb.c sysfs_attr_init(&iattr->s_attr.dev_attr.attr); iattr 338 drivers/hwmon/i5k_amb.c &iattr->s_attr.dev_attr); iattr 344 drivers/hwmon/i5k_amb.c iattr = data->attrs + data->num_attrs; iattr 345 drivers/hwmon/i5k_amb.c snprintf(iattr->name, AMB_SYSFS_NAME_LEN, iattr 347 drivers/hwmon/i5k_amb.c iattr->s_attr.dev_attr.attr.name = iattr->name; iattr 348 drivers/hwmon/i5k_amb.c iattr->s_attr.dev_attr.attr.mode = 0644; iattr 349 drivers/hwmon/i5k_amb.c iattr->s_attr.dev_attr.show = show_amb_max; iattr 350 drivers/hwmon/i5k_amb.c iattr->s_attr.dev_attr.store = store_amb_max; iattr 351 drivers/hwmon/i5k_amb.c iattr->s_attr.index = k; iattr 352 drivers/hwmon/i5k_amb.c sysfs_attr_init(&iattr->s_attr.dev_attr.attr); iattr 354 drivers/hwmon/i5k_amb.c &iattr->s_attr.dev_attr); iattr 360 drivers/hwmon/i5k_amb.c iattr = data->attrs + data->num_attrs; iattr 361 drivers/hwmon/i5k_amb.c snprintf(iattr->name, AMB_SYSFS_NAME_LEN, iattr 363 drivers/hwmon/i5k_amb.c iattr->s_attr.dev_attr.attr.name = iattr->name; iattr 364 drivers/hwmon/i5k_amb.c iattr->s_attr.dev_attr.attr.mode = 0444; iattr 365 drivers/hwmon/i5k_amb.c iattr->s_attr.dev_attr.show = show_amb_alarm; iattr 366 drivers/hwmon/i5k_amb.c iattr->s_attr.index = k; iattr 367 drivers/hwmon/i5k_amb.c sysfs_attr_init(&iattr->s_attr.dev_attr.attr); iattr 369 drivers/hwmon/i5k_amb.c &iattr->s_attr.dev_attr); iattr 2929 drivers/staging/exfat/exfat_super.c static int exfat_setattr(struct dentry *dentry, struct iattr *attr) iattr 427 drivers/staging/iio/resolver/ad2s1210.c struct iio_dev_attr *iattr = to_iio_dev_attr(attr); iattr 431 drivers/staging/iio/resolver/ad2s1210.c ret = ad2s1210_config_read(st, iattr->address); iattr 444 drivers/staging/iio/resolver/ad2s1210.c struct iio_dev_attr *iattr = to_iio_dev_attr(attr); iattr 450 drivers/staging/iio/resolver/ad2s1210.c ret = ad2s1210_config_write(st, iattr->address); iattr 279 fs/9p/acl.c struct iattr iattr = { 0 }; iattr 282 fs/9p/acl.c retval = posix_acl_update_mode(inode, &iattr.ia_mode, &acl); iattr 295 fs/9p/acl.c iattr.ia_valid = ATTR_MODE; iattr 300 fs/9p/acl.c v9fs_vfs_setattr_dotl(dentry, &iattr); iattr 62 fs/9p/v9fs_vfs.h int v9fs_vfs_setattr_dotl(struct dentry *, struct iattr *); iattr 1089 fs/9p/vfs_inode.c static int v9fs_vfs_setattr(struct dentry *dentry, struct iattr *iattr) iattr 1097 fs/9p/vfs_inode.c retval = setattr_prepare(dentry, iattr); iattr 1108 fs/9p/vfs_inode.c if (iattr->ia_valid & ATTR_MODE) iattr 1109 fs/9p/vfs_inode.c wstat.mode = unixmode2p9mode(v9ses, iattr->ia_mode); iattr 1111 fs/9p/vfs_inode.c if (iattr->ia_valid & ATTR_MTIME) iattr 1112 fs/9p/vfs_inode.c wstat.mtime = iattr->ia_mtime.tv_sec; iattr 1114 fs/9p/vfs_inode.c if (iattr->ia_valid & ATTR_ATIME) iattr 1115 fs/9p/vfs_inode.c wstat.atime = iattr->ia_atime.tv_sec; iattr 1117 fs/9p/vfs_inode.c if (iattr->ia_valid & ATTR_SIZE) iattr 1118 fs/9p/vfs_inode.c wstat.length = iattr->ia_size; iattr 1121 fs/9p/vfs_inode.c if (iattr->ia_valid & ATTR_UID) iattr 1122 fs/9p/vfs_inode.c wstat.n_uid = iattr->ia_uid; iattr 1124 fs/9p/vfs_inode.c if (iattr->ia_valid & ATTR_GID) iattr 1125 fs/9p/vfs_inode.c wstat.n_gid = iattr->ia_gid; iattr 1136 fs/9p/vfs_inode.c if ((iattr->ia_valid & ATTR_SIZE) && iattr 1137 fs/9p/vfs_inode.c iattr->ia_size != i_size_read(d_inode(dentry))) iattr 1138 fs/9p/vfs_inode.c truncate_setsize(d_inode(dentry), iattr->ia_size); iattr 1142 fs/9p/vfs_inode.c setattr_copy(d_inode(dentry), iattr); iattr 540 fs/9p/vfs_inode_dotl.c int v9fs_vfs_setattr_dotl(struct dentry *dentry, struct iattr *iattr) iattr 549 fs/9p/vfs_inode_dotl.c retval = setattr_prepare(dentry, iattr); iattr 553 fs/9p/vfs_inode_dotl.c p9attr.valid = v9fs_mapped_iattr_valid(iattr->ia_valid); iattr 554 fs/9p/vfs_inode_dotl.c p9attr.mode = iattr->ia_mode; iattr 555 fs/9p/vfs_inode_dotl.c p9attr.uid = iattr->ia_uid; iattr 556 fs/9p/vfs_inode_dotl.c p9attr.gid = iattr->ia_gid; iattr 557 fs/9p/vfs_inode_dotl.c p9attr.size = iattr->ia_size; iattr 558 fs/9p/vfs_inode_dotl.c p9attr.atime_sec = iattr->ia_atime.tv_sec; iattr 559 fs/9p/vfs_inode_dotl.c p9attr.atime_nsec = iattr->ia_atime.tv_nsec; iattr 560 fs/9p/vfs_inode_dotl.c p9attr.mtime_sec = iattr->ia_mtime.tv_sec; iattr 561 fs/9p/vfs_inode_dotl.c p9attr.mtime_nsec = iattr->ia_mtime.tv_nsec; iattr 575 fs/9p/vfs_inode_dotl.c if ((iattr->ia_valid & ATTR_SIZE) && iattr 576 fs/9p/vfs_inode_dotl.c iattr->ia_size != i_size_read(inode)) iattr 577 fs/9p/vfs_inode_dotl.c truncate_setsize(inode, iattr->ia_size); iattr 580 fs/9p/vfs_inode_dotl.c setattr_copy(inode, iattr); iattr 582 fs/9p/vfs_inode_dotl.c if (iattr->ia_valid & ATTR_MODE) { iattr 144 fs/adfs/adfs.h int adfs_notify_change(struct dentry *dentry, struct iattr *attr); iattr 294 fs/adfs/inode.c adfs_notify_change(struct dentry *dentry, struct iattr *attr) iattr 184 fs/affs/affs.h extern int affs_notify_change(struct dentry *dentry, struct iattr *attr); iattr 219 fs/affs/inode.c affs_notify_change(struct dentry *dentry, struct iattr *attr) iattr 183 fs/afs/fsclient.c static void xdr_encode_AFS_StoreStatus(__be32 **_bp, struct iattr *attr) iattr 1325 fs/afs/fsclient.c static int afs_fs_setattr_size64(struct afs_fs_cursor *fc, struct iattr *attr, iattr 1374 fs/afs/fsclient.c static int afs_fs_setattr_size(struct afs_fs_cursor *fc, struct iattr *attr, iattr 1422 fs/afs/fsclient.c int afs_fs_setattr(struct afs_fs_cursor *fc, struct iattr *attr, iattr 815 fs/afs/inode.c int afs_setattr(struct dentry *dentry, struct iattr *attr) iattr 968 fs/afs/internal.h extern int afs_fs_setattr(struct afs_fs_cursor *, struct iattr *, struct afs_status_cb *); iattr 1020 fs/afs/internal.h extern int afs_setattr(struct dentry *, struct iattr *); iattr 1380 fs/afs/internal.h extern int yfs_fs_setattr(struct afs_fs_cursor *, struct iattr *, struct afs_status_cb *); iattr 275 fs/afs/yfsclient.c static __be32 *xdr_encode_YFS_StoreStatus(__be32 *bp, struct iattr *attr) iattr 1334 fs/afs/yfsclient.c static int yfs_fs_setattr_size(struct afs_fs_cursor *fc, struct iattr *attr, iattr 1380 fs/afs/yfsclient.c int yfs_fs_setattr(struct afs_fs_cursor *fc, struct iattr *attr, iattr 61 fs/attr.c int setattr_prepare(struct dentry *dentry, struct iattr *attr) iattr 178 fs/attr.c void setattr_copy(struct inode *inode, const struct iattr *attr) iattr 223 fs/attr.c int notify_change(struct dentry * dentry, struct iattr * attr, struct inode **delegated_inode) iattr 99 fs/bad_inode.c static int bad_inode_setattr(struct dentry *direntry, struct iattr *attrs) iattr 80 fs/btrfs/inode.c static int btrfs_setsize(struct inode *inode, struct iattr *attr); iattr 5294 fs/btrfs/inode.c static int btrfs_setsize(struct inode *inode, struct iattr *attr) iattr 5381 fs/btrfs/inode.c static int btrfs_setattr(struct dentry *dentry, struct iattr *attr) iattr 435 fs/cachefiles/interface.c struct iattr newattrs; iattr 90 fs/ceph/acl.c struct iattr newattrs; iattr 1990 fs/ceph/inode.c int __ceph_setattr(struct inode *inode, struct iattr *attr) iattr 2207 fs/ceph/inode.c int ceph_setattr(struct dentry *dentry, struct iattr *attr) iattr 933 fs/ceph/super.h extern int __ceph_setattr(struct inode *inode, struct iattr *attr); iattr 934 fs/ceph/super.h extern int ceph_setattr(struct dentry *dentry, struct iattr *attr); iattr 86 fs/cifs/cifsfs.h extern int cifs_setattr(struct dentry *, struct iattr *); iattr 199 fs/cifs/cifsproto.h extern int cifs_set_file_info(struct inode *inode, struct iattr *attrs, iattr 1136 fs/cifs/inode.c cifs_set_file_info(struct inode *inode, struct iattr *attrs, unsigned int xid, iattr 1346 fs/cifs/inode.c struct iattr *attrs = NULL; iattr 2203 fs/cifs/inode.c cifs_set_file_size(struct inode *inode, struct iattr *attrs, iattr 2274 fs/cifs/inode.c cifs_setattr_unix(struct dentry *direntry, struct iattr *attrs) iattr 2419 fs/cifs/inode.c cifs_setattr_nounix(struct dentry *direntry, struct iattr *attrs) iattr 2600 fs/cifs/inode.c cifs_setattr(struct dentry *direntry, struct iattr *attrs) iattr 143 fs/coda/coda_linux.c void coda_iattr_to_vattr(struct iattr *iattr, struct coda_vattr *vattr) iattr 169 fs/coda/coda_linux.c mode = iattr->ia_mode; iattr 183 fs/coda/coda_linux.c valid = iattr->ia_valid; iattr 185 fs/coda/coda_linux.c vattr->va_mode = iattr->ia_mode; iattr 188 fs/coda/coda_linux.c vattr->va_uid = (vuid_t) from_kuid(&init_user_ns, iattr->ia_uid); iattr 191 fs/coda/coda_linux.c vattr->va_gid = (vgid_t) from_kgid(&init_user_ns, iattr->ia_gid); iattr 194 fs/coda/coda_linux.c vattr->va_size = iattr->ia_size; iattr 197 fs/coda/coda_linux.c vattr->va_atime = timespec64_to_coda(iattr->ia_atime); iattr 200 fs/coda/coda_linux.c vattr->va_mtime = timespec64_to_coda(iattr->ia_mtime); iattr 203 fs/coda/coda_linux.c vattr->va_ctime = timespec64_to_coda(iattr->ia_ctime); iattr 52 fs/coda/coda_linux.h int coda_setattr(struct dentry *, struct iattr *); iattr 59 fs/coda/coda_linux.h void coda_iattr_to_vattr(struct iattr *, struct coda_vattr *); iattr 263 fs/coda/inode.c int coda_setattr(struct dentry *de, struct iattr *iattr) iattr 272 fs/coda/inode.c coda_iattr_to_vattr(iattr, &vattr); iattr 42 fs/configfs/configfs_internal.h struct iattr * s_iattr; iattr 82 fs/configfs/configfs_internal.h extern int configfs_setattr(struct dentry *dentry, struct iattr *iattr); iattr 43 fs/configfs/inode.c int configfs_setattr(struct dentry * dentry, struct iattr * iattr) iattr 47 fs/configfs/inode.c struct iattr * sd_iattr; iattr 48 fs/configfs/inode.c unsigned int ia_valid = iattr->ia_valid; iattr 57 fs/configfs/inode.c sd_iattr = kzalloc(sizeof(struct iattr), GFP_KERNEL); iattr 70 fs/configfs/inode.c error = simple_setattr(dentry, iattr); iattr 75 fs/configfs/inode.c sd_iattr->ia_uid = iattr->ia_uid; iattr 77 fs/configfs/inode.c sd_iattr->ia_gid = iattr->ia_gid; iattr 79 fs/configfs/inode.c sd_iattr->ia_atime = iattr->ia_atime; iattr 81 fs/configfs/inode.c sd_iattr->ia_mtime = iattr->ia_mtime; iattr 83 fs/configfs/inode.c sd_iattr->ia_ctime = iattr->ia_ctime; iattr 85 fs/configfs/inode.c umode_t mode = iattr->ia_mode; iattr 102 fs/configfs/inode.c static inline void set_inode_attr(struct inode * inode, struct iattr * iattr) iattr 104 fs/configfs/inode.c inode->i_mode = iattr->ia_mode; iattr 105 fs/configfs/inode.c inode->i_uid = iattr->ia_uid; iattr 106 fs/configfs/inode.c inode->i_gid = iattr->ia_gid; iattr 107 fs/configfs/inode.c inode->i_atime = iattr->ia_atime; iattr 108 fs/configfs/inode.c inode->i_mtime = iattr->ia_mtime; iattr 109 fs/configfs/inode.c inode->i_ctime = iattr->ia_ctime; iattr 44 fs/debugfs/inode.c static int debugfs_setattr(struct dentry *dentry, struct iattr *ia) iattr 725 fs/ecryptfs/inode.c static int truncate_upper(struct dentry *dentry, struct iattr *ia, iattr 726 fs/ecryptfs/inode.c struct iattr *lower_ia) iattr 845 fs/ecryptfs/inode.c struct iattr ia = { .ia_valid = ATTR_SIZE, .ia_size = new_length }; iattr 846 fs/ecryptfs/inode.c struct iattr lower_ia = { .ia_valid = 0 }; iattr 882 fs/ecryptfs/inode.c static int ecryptfs_setattr(struct dentry *dentry, struct iattr *ia) iattr 886 fs/ecryptfs/inode.c struct iattr lower_ia; iattr 760 fs/ext2/ext2.h extern int ext2_setattr (struct dentry *, struct iattr *); iattr 1670 fs/ext2/inode.c int ext2_setattr(struct dentry *dentry, struct iattr *iattr) iattr 1675 fs/ext2/inode.c error = setattr_prepare(dentry, iattr); iattr 1679 fs/ext2/inode.c if (is_quota_modification(inode, iattr)) { iattr 1684 fs/ext2/inode.c if ((iattr->ia_valid & ATTR_UID && !uid_eq(iattr->ia_uid, inode->i_uid)) || iattr 1685 fs/ext2/inode.c (iattr->ia_valid & ATTR_GID && !gid_eq(iattr->ia_gid, inode->i_gid))) { iattr 1686 fs/ext2/inode.c error = dquot_transfer(inode, iattr); iattr 1690 fs/ext2/inode.c if (iattr->ia_valid & ATTR_SIZE && iattr->ia_size != inode->i_size) { iattr 1691 fs/ext2/inode.c error = ext2_setsize(inode, iattr->ia_size); iattr 1695 fs/ext2/inode.c setattr_copy(inode, iattr); iattr 1696 fs/ext2/inode.c if (iattr->ia_valid & ATTR_MODE) iattr 2616 fs/ext4/ext4.h extern int ext4_setattr(struct dentry *, struct iattr *); iattr 5541 fs/ext4/inode.c int ext4_setattr(struct dentry *dentry, struct iattr *attr) iattr 2931 fs/f2fs/f2fs.h int f2fs_setattr(struct dentry *dentry, struct iattr *attr); iattr 747 fs/f2fs/file.c static void __setattr_copy(struct inode *inode, const struct iattr *attr) iattr 773 fs/f2fs/file.c int f2fs_setattr(struct dentry *dentry, struct iattr *attr) iattr 200 fs/f2fs/recovery.c struct iattr attr; iattr 400 fs/fat/fat.h extern int fat_setattr(struct dentry *dentry, struct iattr *attr); iattr 41 fs/fat/file.c struct iattr ia; iattr 480 fs/fat/file.c int fat_setattr(struct dentry *dentry, struct iattr *attr) iattr 1360 fs/fuse/dir.c static void iattr_to_fattr(struct fuse_conn *fc, struct iattr *iattr, iattr 1363 fs/fuse/dir.c unsigned ivalid = iattr->ia_valid; iattr 1366 fs/fuse/dir.c arg->valid |= FATTR_MODE, arg->mode = iattr->ia_mode; iattr 1368 fs/fuse/dir.c arg->valid |= FATTR_UID, arg->uid = from_kuid(fc->user_ns, iattr->ia_uid); iattr 1370 fs/fuse/dir.c arg->valid |= FATTR_GID, arg->gid = from_kgid(fc->user_ns, iattr->ia_gid); iattr 1372 fs/fuse/dir.c arg->valid |= FATTR_SIZE, arg->size = iattr->ia_size; iattr 1375 fs/fuse/dir.c arg->atime = iattr->ia_atime.tv_sec; iattr 1376 fs/fuse/dir.c arg->atimensec = iattr->ia_atime.tv_nsec; iattr 1382 fs/fuse/dir.c arg->mtime = iattr->ia_mtime.tv_sec; iattr 1383 fs/fuse/dir.c arg->mtimensec = iattr->ia_mtime.tv_nsec; iattr 1389 fs/fuse/dir.c arg->ctime = iattr->ia_ctime.tv_sec; iattr 1390 fs/fuse/dir.c arg->ctimensec = iattr->ia_ctime.tv_nsec; iattr 1490 fs/fuse/dir.c int fuse_do_setattr(struct dentry *dentry, struct iattr *attr, iattr 1627 fs/fuse/dir.c static int fuse_setattr(struct dentry *entry, struct iattr *attr) iattr 3045 fs/fuse/file.c struct iattr attr; iattr 1058 fs/fuse/fuse_i.h int fuse_do_setattr(struct dentry *dentry, struct iattr *attr, iattr 1833 fs/gfs2/inode.c static int __gfs2_setattr_simple(struct inode *inode, struct iattr *attr) iattr 1848 fs/gfs2/inode.c int gfs2_setattr_simple(struct inode *inode, struct iattr *attr) iattr 1864 fs/gfs2/inode.c static int setattr_chown(struct inode *inode, struct iattr *attr) iattr 1937 fs/gfs2/inode.c static int gfs2_setattr(struct dentry *dentry, struct iattr *attr) iattr 103 fs/gfs2/inode.h extern int gfs2_setattr_simple(struct inode *inode, struct iattr *attr); iattr 11 fs/gfs2/xattr.h struct iattr; iattr 207 fs/hfs/hfs_fs.h extern int hfs_inode_setattr(struct dentry *, struct iattr *); iattr 604 fs/hfs/inode.c int hfs_inode_setattr(struct dentry *dentry, struct iattr * attr) iattr 244 fs/hfsplus/inode.c static int hfsplus_setattr(struct dentry *dentry, struct iattr *attr) iattr 788 fs/hostfs/hostfs_kern.c static int hostfs_setattr(struct dentry *dentry, struct iattr *attr) iattr 283 fs/hpfs/hpfs_fn.h int hpfs_setattr(struct dentry *, struct iattr *); iattr 260 fs/hpfs/inode.c int hpfs_setattr(struct dentry *dentry, struct iattr *attr) iattr 694 fs/hugetlbfs/inode.c static int hugetlbfs_setattr(struct dentry *dentry, struct iattr *attr) iattr 1823 fs/inode.c struct iattr newattrs; iattr 243 fs/jffs2/acl.c struct iattr attr; iattr 32 fs/jffs2/fs.c int jffs2_do_setattr (struct inode *inode, struct iattr *iattr) iattr 94 fs/jffs2/fs.c ivalid = iattr->ia_valid; iattr 105 fs/jffs2/fs.c from_kuid(&init_user_ns, iattr->ia_uid):i_uid_read(inode)); iattr 107 fs/jffs2/fs.c from_kgid(&init_user_ns, iattr->ia_gid):i_gid_read(inode)); iattr 110 fs/jffs2/fs.c ri->mode = cpu_to_jemode(iattr->ia_mode); iattr 115 fs/jffs2/fs.c ri->isize = cpu_to_je32((ivalid & ATTR_SIZE)?iattr->ia_size:inode->i_size); iattr 116 fs/jffs2/fs.c ri->atime = cpu_to_je32(I_SEC((ivalid & ATTR_ATIME)?iattr->ia_atime:inode->i_atime)); iattr 117 fs/jffs2/fs.c ri->mtime = cpu_to_je32(I_SEC((ivalid & ATTR_MTIME)?iattr->ia_mtime:inode->i_mtime)); iattr 118 fs/jffs2/fs.c ri->ctime = cpu_to_je32(I_SEC((ivalid & ATTR_CTIME)?iattr->ia_ctime:inode->i_ctime)); iattr 123 fs/jffs2/fs.c if (ivalid & ATTR_SIZE && inode->i_size < iattr->ia_size) { iattr 126 fs/jffs2/fs.c ri->dsize = cpu_to_je32(iattr->ia_size - inode->i_size); iattr 128 fs/jffs2/fs.c } else if (ivalid & ATTR_SIZE && !iattr->ia_size) { iattr 160 fs/jffs2/fs.c if (ivalid & ATTR_SIZE && inode->i_size > iattr->ia_size) iattr 161 fs/jffs2/fs.c jffs2_truncate_fragtree (c, &f->fragtree, iattr->ia_size); iattr 163 fs/jffs2/fs.c if (ivalid & ATTR_SIZE && inode->i_size < iattr->ia_size) { iattr 165 fs/jffs2/fs.c inode->i_size = iattr->ia_size; iattr 185 fs/jffs2/fs.c if (ivalid & ATTR_SIZE && inode->i_size > iattr->ia_size) { iattr 186 fs/jffs2/fs.c truncate_setsize(inode, iattr->ia_size); iattr 193 fs/jffs2/fs.c int jffs2_setattr(struct dentry *dentry, struct iattr *iattr) iattr 198 fs/jffs2/fs.c rc = setattr_prepare(dentry, iattr); iattr 202 fs/jffs2/fs.c rc = jffs2_do_setattr(inode, iattr); iattr 203 fs/jffs2/fs.c if (!rc && (iattr->ia_valid & ATTR_MODE)) iattr 373 fs/jffs2/fs.c struct iattr iattr; iattr 384 fs/jffs2/fs.c iattr.ia_valid = ATTR_MODE|ATTR_UID|ATTR_GID|ATTR_ATIME|ATTR_MTIME|ATTR_CTIME; iattr 385 fs/jffs2/fs.c iattr.ia_mode = inode->i_mode; iattr 386 fs/jffs2/fs.c iattr.ia_uid = inode->i_uid; iattr 387 fs/jffs2/fs.c iattr.ia_gid = inode->i_gid; iattr 388 fs/jffs2/fs.c iattr.ia_atime = inode->i_atime; iattr 389 fs/jffs2/fs.c iattr.ia_mtime = inode->i_mtime; iattr 390 fs/jffs2/fs.c iattr.ia_ctime = inode->i_ctime; iattr 392 fs/jffs2/fs.c jffs2_do_setattr(inode, &iattr); iattr 167 fs/jffs2/os-linux.h int jffs2_setattr (struct dentry *, struct iattr *); iattr 168 fs/jffs2/os-linux.h int jffs2_do_setattr (struct inode *, struct iattr *); iattr 88 fs/jfs/file.c int jfs_setattr(struct dentry *dentry, struct iattr *iattr) iattr 93 fs/jfs/file.c rc = setattr_prepare(dentry, iattr); iattr 97 fs/jfs/file.c if (is_quota_modification(inode, iattr)) { iattr 102 fs/jfs/file.c if ((iattr->ia_valid & ATTR_UID && !uid_eq(iattr->ia_uid, inode->i_uid)) || iattr 103 fs/jfs/file.c (iattr->ia_valid & ATTR_GID && !gid_eq(iattr->ia_gid, inode->i_gid))) { iattr 104 fs/jfs/file.c rc = dquot_transfer(inode, iattr); iattr 109 fs/jfs/file.c if ((iattr->ia_valid & ATTR_SIZE) && iattr 110 fs/jfs/file.c iattr->ia_size != i_size_read(inode)) { iattr 113 fs/jfs/file.c rc = inode_newsize_ok(inode, iattr->ia_size); iattr 117 fs/jfs/file.c truncate_setsize(inode, iattr->ia_size); iattr 121 fs/jfs/file.c setattr_copy(inode, iattr); iattr 124 fs/jfs/file.c if (iattr->ia_valid & ATTR_MODE) iattr 29 fs/jfs/jfs_inode.h extern int jfs_setattr(struct dentry *, struct iattr *); iattr 534 fs/kernfs/dir.c if (kn->iattr) { iattr 535 fs/kernfs/dir.c simple_xattrs_free(&kn->iattr->xattrs); iattr 536 fs/kernfs/dir.c kmem_cache_free(kernfs_iattrs_cache, kn->iattr); iattr 662 fs/kernfs/dir.c struct iattr iattr = { iattr 668 fs/kernfs/dir.c ret = __kernfs_setattr(kn, &iattr); iattr 798 fs/kernfs/dir.c ps_iattr = parent->iattr; iattr 1329 fs/kernfs/dir.c pos->parent ? pos->parent->iattr : NULL; iattr 40 fs/kernfs/inode.c if (kn->iattr || !alloc) iattr 43 fs/kernfs/inode.c kn->iattr = kmem_cache_zalloc(kernfs_iattrs_cache, GFP_KERNEL); iattr 44 fs/kernfs/inode.c if (!kn->iattr) iattr 48 fs/kernfs/inode.c kn->iattr->ia_uid = GLOBAL_ROOT_UID; iattr 49 fs/kernfs/inode.c kn->iattr->ia_gid = GLOBAL_ROOT_GID; iattr 51 fs/kernfs/inode.c ktime_get_real_ts64(&kn->iattr->ia_atime); iattr 52 fs/kernfs/inode.c kn->iattr->ia_mtime = kn->iattr->ia_atime; iattr 53 fs/kernfs/inode.c kn->iattr->ia_ctime = kn->iattr->ia_atime; iattr 55 fs/kernfs/inode.c simple_xattrs_init(&kn->iattr->xattrs); iattr 57 fs/kernfs/inode.c ret = kn->iattr; iattr 72 fs/kernfs/inode.c int __kernfs_setattr(struct kernfs_node *kn, const struct iattr *iattr) iattr 75 fs/kernfs/inode.c unsigned int ia_valid = iattr->ia_valid; iattr 82 fs/kernfs/inode.c attrs->ia_uid = iattr->ia_uid; iattr 84 fs/kernfs/inode.c attrs->ia_gid = iattr->ia_gid; iattr 86 fs/kernfs/inode.c attrs->ia_atime = iattr->ia_atime; iattr 88 fs/kernfs/inode.c attrs->ia_mtime = iattr->ia_mtime; iattr 90 fs/kernfs/inode.c attrs->ia_ctime = iattr->ia_ctime; iattr 92 fs/kernfs/inode.c kn->mode = iattr->ia_mode; iattr 103 fs/kernfs/inode.c int kernfs_setattr(struct kernfs_node *kn, const struct iattr *iattr) iattr 108 fs/kernfs/inode.c ret = __kernfs_setattr(kn, iattr); iattr 113 fs/kernfs/inode.c int kernfs_iop_setattr(struct dentry *dentry, struct iattr *iattr) iattr 123 fs/kernfs/inode.c error = setattr_prepare(dentry, iattr); iattr 127 fs/kernfs/inode.c error = __kernfs_setattr(kn, iattr); iattr 132 fs/kernfs/inode.c setattr_copy(inode, iattr); iattr 170 fs/kernfs/inode.c struct kernfs_iattrs *attrs = kn->iattr; iattr 91 fs/kernfs/kernfs-internal.h int kernfs_iop_setattr(struct dentry *dentry, struct iattr *iattr); iattr 95 fs/kernfs/kernfs-internal.h int __kernfs_setattr(struct kernfs_node *kn, const struct iattr *iattr); iattr 34 fs/kernfs/symlink.c if (target->iattr) { iattr 35 fs/kernfs/symlink.c uid = target->iattr->ia_uid; iattr 36 fs/kernfs/symlink.c gid = target->iattr->ia_gid; iattr 423 fs/libfs.c int simple_setattr(struct dentry *dentry, struct iattr *iattr) iattr 428 fs/libfs.c error = setattr_prepare(dentry, iattr); iattr 432 fs/libfs.c if (iattr->ia_valid & ATTR_SIZE) iattr 433 fs/libfs.c truncate_setsize(inode, iattr->ia_size); iattr 434 fs/libfs.c setattr_copy(inode, iattr); iattr 1237 fs/libfs.c static int empty_dir_setattr(struct dentry *dentry, struct iattr *attr) iattr 25 fs/minix/file.c static int minix_setattr(struct dentry *dentry, struct iattr *attr) iattr 1523 fs/nfs/dir.c struct iattr attr = { .ia_valid = ATTR_OPEN }; iattr 1759 fs/nfs/dir.c struct iattr attr; iattr 1787 fs/nfs/dir.c struct iattr attr; iattr 1813 fs/nfs/dir.c struct iattr attr; iattr 1960 fs/nfs/dir.c struct iattr attr; iattr 585 fs/nfs/inode.c nfs_setattr(struct dentry *dentry, struct iattr *attr) iattr 676 fs/nfs/inode.c void nfs_setattr_update_inode(struct inode *inode, struct iattr *attr, iattr 181 fs/nfs/namespace.c nfs_namespace_setattr(struct dentry *dentry, struct iattr *attr) iattr 339 fs/nfs/nfs2xdr.c static void encode_sattr(struct xdr_stream *xdr, const struct iattr *attr, iattr 123 fs/nfs/nfs3proc.c struct iattr *sattr) iattr 304 fs/nfs/nfs3proc.c nfs3_proc_create(struct inode *dir, struct dentry *dentry, struct iattr *sattr, iattr 513 fs/nfs/nfs3proc.c unsigned int len, struct iattr *sattr) iattr 548 fs/nfs/nfs3proc.c nfs3_proc_mkdir(struct inode *dir, struct dentry *dentry, struct iattr *sattr) iattr 679 fs/nfs/nfs3proc.c nfs3_proc_mknod(struct inode *dir, struct dentry *dentry, struct iattr *sattr, iattr 533 fs/nfs/nfs3xdr.c static void encode_sattr3(struct xdr_stream *xdr, const struct iattr *attr, iattr 238 fs/nfs/nfs4_fs.h struct iattr attrs; iattr 33 fs/nfs/nfs4file.c struct iattr attr; iattr 97 fs/nfs/nfs4proc.c struct nfs_fattr *fattr, struct iattr *sattr, iattr 114 fs/nfs/nfs4proc.c struct iattr *sattr, struct nfs4_label *label) iattr 147 fs/nfs/nfs4proc.c struct iattr *sattr, struct nfs4_label *l) iattr 1184 fs/nfs/nfs4proc.c struct iattr *sattr; iattr 2922 fs/nfs/nfs4proc.c struct iattr *sattr, struct nfs4_label **label) iattr 3052 fs/nfs/nfs4proc.c struct iattr *sattr = c->sattr; iattr 3151 fs/nfs/nfs4proc.c struct iattr *sattr, iattr 3278 fs/nfs/nfs4proc.c struct nfs_fattr *fattr, struct iattr *sattr, iattr 3697 fs/nfs/nfs4proc.c int open_flags, struct iattr *attr, int *opened) iattr 4129 fs/nfs/nfs4proc.c struct iattr *sattr) iattr 4451 fs/nfs/nfs4proc.c nfs4_proc_create(struct inode *dir, struct dentry *dentry, struct iattr *sattr, iattr 4718 fs/nfs/nfs4proc.c const struct qstr *name, struct iattr *sattr, u32 ftype) iattr 4776 fs/nfs/nfs4proc.c struct page *page, unsigned int len, struct iattr *sattr, iattr 4803 fs/nfs/nfs4proc.c struct page *page, unsigned int len, struct iattr *sattr) iattr 4825 fs/nfs/nfs4proc.c struct iattr *sattr, struct nfs4_label *label) iattr 4843 fs/nfs/nfs4proc.c struct iattr *sattr) iattr 4923 fs/nfs/nfs4proc.c struct iattr *sattr, struct nfs4_label *label, dev_t rdev) iattr 4958 fs/nfs/nfs4proc.c struct iattr *sattr, dev_t rdev) iattr 5829 fs/nfs/nfs4proc.c struct iattr sattr = {0}; iattr 1069 fs/nfs/nfs4xdr.c static void encode_attrs(struct xdr_stream *xdr, const struct iattr *iap, iattr 121 fs/nfs/proc.c struct iattr *sattr) iattr 206 fs/nfs/proc.c struct dentry *dentry, struct iattr *sattr) iattr 231 fs/nfs/proc.c nfs_proc_create(struct inode *dir, struct dentry *dentry, struct iattr *sattr, iattr 260 fs/nfs/proc.c nfs_proc_mknod(struct inode *dir, struct dentry *dentry, struct iattr *sattr, iattr 390 fs/nfs/proc.c unsigned int len, struct iattr *sattr) iattr 439 fs/nfs/proc.c nfs_proc_mkdir(struct inode *dir, struct dentry *dentry, struct iattr *sattr) iattr 124 fs/nfsd/blocklayout.c struct iattr iattr = { .ia_valid = 0 }; iattr 130 fs/nfsd/blocklayout.c iattr.ia_valid |= ATTR_ATIME | ATTR_CTIME | ATTR_MTIME; iattr 131 fs/nfsd/blocklayout.c iattr.ia_atime = iattr.ia_ctime = iattr.ia_mtime = lcp->lc_mtime; iattr 134 fs/nfsd/blocklayout.c iattr.ia_valid |= ATTR_SIZE; iattr 135 fs/nfsd/blocklayout.c iattr.ia_size = new_size; iattr 139 fs/nfsd/blocklayout.c nr_iomaps, &iattr); iattr 222 fs/nfsd/nfs3proc.c struct iattr *attr; iattr 100 fs/nfsd/nfs3xdr.c decode_sattr3(__be32 *p, struct iattr *iap, struct user_namespace *userns) iattr 4669 fs/nfsd/nfs4state.c struct iattr iattr = { iattr 4677 fs/nfsd/nfs4state.c return nfsd_setattr(rqstp, fh, &iattr, 0, (time_t)0); iattr 322 fs/nfsd/nfs4xdr.c struct iattr *iattr, struct nfs4_acl **acl, iattr 330 fs/nfsd/nfs4xdr.c iattr->ia_valid = 0; iattr 348 fs/nfsd/nfs4xdr.c p = xdr_decode_hyper(p, &iattr->ia_size); iattr 349 fs/nfsd/nfs4xdr.c iattr->ia_valid |= ATTR_SIZE; iattr 398 fs/nfsd/nfs4xdr.c iattr->ia_mode = be32_to_cpup(p++); iattr 399 fs/nfsd/nfs4xdr.c iattr->ia_mode &= (S_IFMT | S_IALLUGO); iattr 400 fs/nfsd/nfs4xdr.c iattr->ia_valid |= ATTR_MODE; iattr 409 fs/nfsd/nfs4xdr.c if ((status = nfsd_map_name_to_uid(argp->rqstp, buf, dummy32, &iattr->ia_uid))) iattr 411 fs/nfsd/nfs4xdr.c iattr->ia_valid |= ATTR_UID; iattr 420 fs/nfsd/nfs4xdr.c if ((status = nfsd_map_name_to_gid(argp->rqstp, buf, dummy32, &iattr->ia_gid))) iattr 422 fs/nfsd/nfs4xdr.c iattr->ia_valid |= ATTR_GID; iattr 431 fs/nfsd/nfs4xdr.c status = nfsd4_decode_time(argp, &iattr->ia_atime); iattr 434 fs/nfsd/nfs4xdr.c iattr->ia_valid |= (ATTR_ATIME | ATTR_ATIME_SET); iattr 437 fs/nfsd/nfs4xdr.c iattr->ia_valid |= ATTR_ATIME; iattr 450 fs/nfsd/nfs4xdr.c status = nfsd4_decode_time(argp, &iattr->ia_mtime); iattr 453 fs/nfsd/nfs4xdr.c iattr->ia_valid |= (ATTR_MTIME | ATTR_MTIME_SET); iattr 456 fs/nfsd/nfs4xdr.c iattr->ia_valid |= ATTR_MTIME; iattr 491 fs/nfsd/nfs4xdr.c iattr->ia_mode = dummy32 & (S_IFMT | S_IALLUGO); iattr 494 fs/nfsd/nfs4xdr.c iattr->ia_valid |= ATTR_MODE; iattr 65 fs/nfsd/nfsproc.c struct iattr *iap = &argp->attrs; iattr 246 fs/nfsd/nfsproc.c struct iattr *attr = &argp->attrs; iattr 74 fs/nfsd/nfsxdr.c decode_sattr(__be32 *p, struct iattr *iap, struct user_namespace *userns) iattr 307 fs/nfsd/vfs.c nfsd_sanitize_attrs(struct inode *inode, struct iattr *iap) iattr 333 fs/nfsd/vfs.c struct iattr *iap) iattr 366 fs/nfsd/vfs.c nfsd_setattr(struct svc_rqst *rqstp, struct svc_fh *fhp, struct iattr *iap, iattr 446 fs/nfsd/vfs.c struct iattr size_attr = { iattr 1122 fs/nfsd/vfs.c struct iattr *iap) iattr 1150 fs/nfsd/vfs.c nfsd_check_ignore_resizing(struct iattr *iap) iattr 1159 fs/nfsd/vfs.c char *fname, int flen, struct iattr *iap, iattr 1267 fs/nfsd/vfs.c char *fname, int flen, struct iattr *iap, iattr 1311 fs/nfsd/vfs.c char *fname, int flen, struct iattr *iap, iattr 51 fs/nfsd/vfs.h struct iattr *, int, time_t); iattr 62 fs/nfsd/vfs.h char *name, int len, struct iattr *attrs, iattr 65 fs/nfsd/vfs.h char *name, int len, struct iattr *attrs, iattr 70 fs/nfsd/vfs.h char *name, int len, struct iattr *attrs, iattr 17 fs/nfsd/xdr.h struct iattr attrs; iattr 44 fs/nfsd/xdr.h struct iattr attrs; iattr 74 fs/nfsd/xdr.h struct iattr attrs; iattr 15 fs/nfsd/xdr3.h struct iattr attrs; iattr 52 fs/nfsd/xdr3.h struct iattr attrs; iattr 62 fs/nfsd/xdr3.h struct iattr attrs; iattr 92 fs/nfsd/xdr3.h struct iattr attrs; iattr 121 fs/nfsd/xdr4.h struct iattr cr_iattr; /* request */ iattr 236 fs/nfsd/xdr4.h struct iattr op_iattr; /* UNCHECKED4, GUARDED4, EXCLUSIVE4_1 */ iattr 338 fs/nfsd/xdr4.h struct iattr sa_iattr; /* request */ iattr 816 fs/nilfs2/inode.c int nilfs_setattr(struct dentry *dentry, struct iattr *iattr) iattr 823 fs/nilfs2/inode.c err = setattr_prepare(dentry, iattr); iattr 831 fs/nilfs2/inode.c if ((iattr->ia_valid & ATTR_SIZE) && iattr 832 fs/nilfs2/inode.c iattr->ia_size != i_size_read(inode)) { iattr 834 fs/nilfs2/inode.c truncate_setsize(inode, iattr->ia_size); iattr 838 fs/nilfs2/inode.c setattr_copy(inode, iattr); iattr 841 fs/nilfs2/inode.c if (iattr->ia_valid & ATTR_MODE) { iattr 270 fs/nilfs2/nilfs.h extern int nilfs_setattr(struct dentry *, struct iattr *); iattr 2858 fs/ntfs/inode.c int ntfs_setattr(struct dentry *dentry, struct iattr *attr) iattr 294 fs/ntfs/inode.h extern int ntfs_setattr(struct dentry *dentry, struct iattr *attr); iattr 193 fs/ocfs2/dlmfs/dlmfs.c static int dlmfs_file_setattr(struct dentry *dentry, struct iattr *attr) iattr 1115 fs/ocfs2/file.c int ocfs2_setattr(struct dentry *dentry, struct iattr *attr) iattr 54 fs/ocfs2/file.h int ocfs2_setattr(struct dentry *dentry, struct iattr *attr); iattr 347 fs/omfs/file.c static int omfs_setattr(struct dentry *dentry, struct iattr *attr) iattr 42 fs/open.c struct iattr newattrs; iattr 548 fs/open.c struct iattr newattrs; iattr 625 fs/open.c struct iattr newattrs; iattr 122 fs/orangefs/acl.c struct iattr iattr; iattr 133 fs/orangefs/acl.c error = posix_acl_update_mode(inode, &iattr.ia_mode, &acl); iattr 144 fs/orangefs/acl.c iattr.ia_valid = ATTR_MODE; iattr 145 fs/orangefs/acl.c rc = __orangefs_setattr(inode, &iattr); iattr 159 fs/orangefs/acl.c struct iattr iattr; iattr 184 fs/orangefs/acl.c memset(&iattr, 0, sizeof iattr); iattr 186 fs/orangefs/acl.c iattr.ia_mode = mode; iattr 187 fs/orangefs/acl.c iattr.ia_valid |= ATTR_MODE; iattr 188 fs/orangefs/acl.c __orangefs_setattr(inode, &iattr); iattr 795 fs/orangefs/inode.c static int orangefs_setattr_size(struct inode *inode, struct iattr *iattr) iattr 808 fs/orangefs/inode.c iattr->ia_size); iattr 822 fs/orangefs/inode.c truncate_pagecache(inode, iattr->ia_size); iattr 823 fs/orangefs/inode.c i_size_write(inode, iattr->ia_size); iattr 824 fs/orangefs/inode.c if (iattr->ia_size > orig_size) iattr 825 fs/orangefs/inode.c pagecache_isize_extended(inode, orig_size, iattr->ia_size); iattr 832 fs/orangefs/inode.c new_op->upcall.req.truncate.size = (__s64) iattr->ia_size; iattr 850 fs/orangefs/inode.c iattr->ia_valid |= ATTR_CTIME | ATTR_MTIME; iattr 855 fs/orangefs/inode.c int __orangefs_setattr(struct inode *inode, struct iattr *iattr) iattr 859 fs/orangefs/inode.c if (iattr->ia_valid & ATTR_MODE) { iattr 860 fs/orangefs/inode.c if (iattr->ia_mode & (S_ISVTX)) { iattr 867 fs/orangefs/inode.c iattr->ia_mode -= S_ISVTX; iattr 875 fs/orangefs/inode.c if (iattr->ia_mode & (S_ISUID)) { iattr 883 fs/orangefs/inode.c if (iattr->ia_valid & ATTR_SIZE) { iattr 884 fs/orangefs/inode.c ret = orangefs_setattr_size(inode, iattr); iattr 894 fs/orangefs/inode.c ORANGEFS_I(inode)->attr_valid = iattr->ia_valid; iattr 901 fs/orangefs/inode.c ORANGEFS_I(inode)->attr_valid = iattr->ia_valid; iattr 905 fs/orangefs/inode.c setattr_copy(inode, iattr); iattr 909 fs/orangefs/inode.c if (iattr->ia_valid & ATTR_MODE) iattr 921 fs/orangefs/inode.c int orangefs_setattr(struct dentry *dentry, struct iattr *iattr) iattr 926 fs/orangefs/inode.c ret = setattr_prepare(dentry, iattr); iattr 929 fs/orangefs/inode.c ret = __orangefs_setattr(d_inode(dentry), iattr); iattr 988 fs/orangefs/inode.c struct iattr iattr; iattr 992 fs/orangefs/inode.c memset(&iattr, 0, sizeof iattr); iattr 994 fs/orangefs/inode.c iattr.ia_valid |= ATTR_ATIME; iattr 996 fs/orangefs/inode.c iattr.ia_valid |= ATTR_CTIME; iattr 998 fs/orangefs/inode.c iattr.ia_valid |= ATTR_MTIME; iattr 999 fs/orangefs/inode.c return __orangefs_setattr(inode, &iattr); iattr 27 fs/orangefs/namei.c struct iattr iattr; iattr 85 fs/orangefs/namei.c memset(&iattr, 0, sizeof iattr); iattr 86 fs/orangefs/namei.c iattr.ia_valid |= ATTR_MTIME | ATTR_CTIME; iattr 87 fs/orangefs/namei.c iattr.ia_mtime = iattr.ia_ctime = current_time(dir); iattr 88 fs/orangefs/namei.c __orangefs_setattr(dir, &iattr); iattr 177 fs/orangefs/namei.c struct iattr iattr; iattr 210 fs/orangefs/namei.c memset(&iattr, 0, sizeof iattr); iattr 211 fs/orangefs/namei.c iattr.ia_valid |= ATTR_MTIME | ATTR_CTIME; iattr 212 fs/orangefs/namei.c iattr.ia_mtime = iattr.ia_ctime = current_time(dir); iattr 213 fs/orangefs/namei.c __orangefs_setattr(dir, &iattr); iattr 226 fs/orangefs/namei.c struct iattr iattr; iattr 296 fs/orangefs/namei.c memset(&iattr, 0, sizeof iattr); iattr 297 fs/orangefs/namei.c iattr.ia_valid |= ATTR_MTIME | ATTR_CTIME; iattr 298 fs/orangefs/namei.c iattr.ia_mtime = iattr.ia_ctime = current_time(dir); iattr 299 fs/orangefs/namei.c __orangefs_setattr(dir, &iattr); iattr 312 fs/orangefs/namei.c struct iattr iattr; iattr 366 fs/orangefs/namei.c memset(&iattr, 0, sizeof iattr); iattr 367 fs/orangefs/namei.c iattr.ia_valid |= ATTR_MTIME | ATTR_CTIME; iattr 368 fs/orangefs/namei.c iattr.ia_mtime = iattr.ia_ctime = current_time(dir); iattr 369 fs/orangefs/namei.c __orangefs_setattr(dir, &iattr); iattr 382 fs/orangefs/namei.c struct iattr iattr; iattr 392 fs/orangefs/namei.c memset(&iattr, 0, sizeof iattr); iattr 393 fs/orangefs/namei.c iattr.ia_valid |= ATTR_MTIME | ATTR_CTIME; iattr 394 fs/orangefs/namei.c iattr.ia_mtime = iattr.ia_ctime = current_time(new_dir); iattr 395 fs/orangefs/namei.c __orangefs_setattr(new_dir, &iattr); iattr 365 fs/orangefs/orangefs-kernel.h int __orangefs_setattr(struct inode *, struct iattr *); iattr 366 fs/orangefs/orangefs-kernel.h int orangefs_setattr(struct dentry *, struct iattr *); iattr 182 fs/overlayfs/copy_up.c struct iattr attr = { iattr 192 fs/overlayfs/copy_up.c struct iattr attr = { iattr 207 fs/overlayfs/copy_up.c struct iattr attr = { iattr 214 fs/overlayfs/copy_up.c struct iattr attr = { iattr 477 fs/overlayfs/dir.c struct iattr attr = { iattr 16 fs/overlayfs/inode.c int ovl_setattr(struct dentry *dentry, struct iattr *attr) iattr 352 fs/overlayfs/overlayfs.h int ovl_setattr(struct dentry *dentry, struct iattr *attr); iattr 631 fs/overlayfs/super.c struct iattr attr = { iattr 903 fs/overlayfs/super.c struct iattr iattr = { .ia_valid = ATTR_KILL_SGID }; iattr 905 fs/overlayfs/super.c err = ovl_setattr(dentry, &iattr); iattr 677 fs/proc/base.c int proc_setattr(struct dentry *dentry, struct iattr *attr) iattr 118 fs/proc/generic.c static int proc_notify_change(struct dentry *dentry, struct iattr *iattr) iattr 124 fs/proc/generic.c error = setattr_prepare(dentry, iattr); iattr 128 fs/proc/generic.c setattr_copy(inode, iattr); iattr 157 fs/proc/internal.h extern int proc_setattr(struct dentry *, struct iattr *); iattr 835 fs/proc/proc_sysctl.c static int proc_sys_setattr(struct dentry *dentry, struct iattr *attr) iattr 2076 fs/quota/dquot.c int dquot_transfer(struct inode *inode, struct iattr *iattr) iattr 2086 fs/quota/dquot.c if (iattr->ia_valid & ATTR_UID && !uid_eq(iattr->ia_uid, inode->i_uid)){ iattr 2087 fs/quota/dquot.c dquot = dqget(sb, make_kqid_uid(iattr->ia_uid)); iattr 2097 fs/quota/dquot.c if (iattr->ia_valid & ATTR_GID && !gid_eq(iattr->ia_gid, inode->i_gid)){ iattr 2098 fs/quota/dquot.c dquot = dqget(sb, make_kqid_gid(iattr->ia_gid)); iattr 25 fs/ramfs/file-nommu.c static int ramfs_nommu_setattr(struct dentry *, struct iattr *); iattr 161 fs/ramfs/file-nommu.c static int ramfs_nommu_setattr(struct dentry *dentry, struct iattr *ia) iattr 3290 fs/reiserfs/inode.c int reiserfs_setattr(struct dentry *dentry, struct iattr *attr) iattr 3105 fs/reiserfs/reiserfs.h int reiserfs_setattr(struct dentry *dentry, struct iattr *attr); iattr 345 fs/reiserfs/xattr.c struct iattr *attrs = data; iattr 373 fs/reiserfs/xattr.c int reiserfs_chown_xattrs(struct inode *inode, struct iattr *attrs) iattr 598 fs/reiserfs/xattr.c struct iattr newattrs = { iattr 10 fs/reiserfs/xattr.h struct iattr; iattr 18 fs/reiserfs/xattr.h int reiserfs_chown_xattrs(struct inode *inode, struct iattr *attrs); iattr 395 fs/sysfs/file.c struct iattr newattrs; iattr 32 fs/sysv/file.c static int sysv_setattr(struct dentry *dentry, struct iattr *attr) iattr 1077 fs/ubifs/file.c static void do_attr_changes(struct inode *inode, const struct iattr *attr) iattr 1109 fs/ubifs/file.c const struct iattr *attr) iattr 1215 fs/ubifs/file.c const struct iattr *attr) iattr 1260 fs/ubifs/file.c int ubifs_setattr(struct dentry *dentry, struct iattr *attr) iattr 1991 fs/ubifs/ubifs.h int ubifs_setattr(struct dentry *dentry, struct iattr *attr); iattr 257 fs/udf/file.c static int udf_setattr(struct dentry *dentry, struct iattr *attr) iattr 1214 fs/ufs/inode.c int ufs_setattr(struct dentry *dentry, struct iattr *attr) iattr 126 fs/ufs/ufs.h extern int ufs_setattr(struct dentry *dentry, struct iattr *attr); iattr 22 fs/utimes.c struct iattr newattrs; iattr 319 fs/verity/open.c int fsverity_prepare_setattr(struct dentry *dentry, struct iattr *attr) iattr 217 fs/xfs/xfs_acl.c struct iattr iattr; iattr 219 fs/xfs/xfs_acl.c iattr.ia_valid = ATTR_MODE | ATTR_CTIME; iattr 220 fs/xfs/xfs_acl.c iattr.ia_mode = mode; iattr 221 fs/xfs/xfs_acl.c iattr.ia_ctime = current_time(inode); iattr 223 fs/xfs/xfs_acl.c error = xfs_setattr_nonsize(XFS_I(inode), &iattr, XFS_ATTR_NOACL); iattr 920 fs/xfs/xfs_file.c struct iattr iattr; iattr 922 fs/xfs/xfs_file.c iattr.ia_valid = ATTR_SIZE; iattr 923 fs/xfs/xfs_file.c iattr.ia_size = new_size; iattr 924 fs/xfs/xfs_file.c error = xfs_vn_setattr_size(file_dentry(file), &iattr); iattr 598 fs/xfs/xfs_ioctl.c struct iattr iattr; iattr 697 fs/xfs/xfs_ioctl.c iattr.ia_valid = ATTR_SIZE; iattr 698 fs/xfs/xfs_ioctl.c iattr.ia_size = bf->l_start; iattr 700 fs/xfs/xfs_ioctl.c error = xfs_vn_setattr_size(file_dentry(filp), &iattr); iattr 566 fs/xfs/xfs_iops.c struct iattr *iattr) iattr 569 fs/xfs/xfs_iops.c umode_t mode = iattr->ia_mode; iattr 580 fs/xfs/xfs_iops.c struct iattr *iattr) iattr 586 fs/xfs/xfs_iops.c if (iattr->ia_valid & ATTR_ATIME) iattr 587 fs/xfs/xfs_iops.c inode->i_atime = iattr->ia_atime; iattr 588 fs/xfs/xfs_iops.c if (iattr->ia_valid & ATTR_CTIME) iattr 589 fs/xfs/xfs_iops.c inode->i_ctime = iattr->ia_ctime; iattr 590 fs/xfs/xfs_iops.c if (iattr->ia_valid & ATTR_MTIME) iattr 591 fs/xfs/xfs_iops.c inode->i_mtime = iattr->ia_mtime; iattr 597 fs/xfs/xfs_iops.c struct iattr *iattr) iattr 607 fs/xfs/xfs_iops.c return setattr_prepare(dentry, iattr); iattr 619 fs/xfs/xfs_iops.c struct iattr *iattr, iattr 624 fs/xfs/xfs_iops.c int mask = iattr->ia_valid; iattr 646 fs/xfs/xfs_iops.c uid = iattr->ia_uid; iattr 652 fs/xfs/xfs_iops.c gid = iattr->ia_gid; iattr 692 fs/xfs/xfs_iops.c gid = (mask & ATTR_GID) ? iattr->ia_gid : igid; iattr 693 fs/xfs/xfs_iops.c uid = (mask & ATTR_UID) ? iattr->ia_uid : iuid; iattr 754 fs/xfs/xfs_iops.c xfs_setattr_mode(ip, iattr); iattr 756 fs/xfs/xfs_iops.c xfs_setattr_time(ip, iattr); iattr 806 fs/xfs/xfs_iops.c struct iattr *iattr) iattr 813 fs/xfs/xfs_iops.c error = xfs_vn_change_ok(dentry, iattr); iattr 816 fs/xfs/xfs_iops.c return xfs_setattr_nonsize(ip, iattr, 0); iattr 828 fs/xfs/xfs_iops.c struct iattr *iattr) iattr 841 fs/xfs/xfs_iops.c ASSERT((iattr->ia_valid & (ATTR_UID|ATTR_GID|ATTR_ATIME|ATTR_ATIME_SET| iattr 845 fs/xfs/xfs_iops.c newsize = iattr->ia_size; iattr 851 fs/xfs/xfs_iops.c if (!(iattr->ia_valid & (ATTR_CTIME|ATTR_MTIME))) iattr 857 fs/xfs/xfs_iops.c iattr->ia_valid &= ~ATTR_SIZE; iattr 858 fs/xfs/xfs_iops.c return xfs_setattr_nonsize(ip, iattr, 0); iattr 953 fs/xfs/xfs_iops.c !(iattr->ia_valid & (ATTR_CTIME | ATTR_MTIME))) { iattr 954 fs/xfs/xfs_iops.c iattr->ia_ctime = iattr->ia_mtime = iattr 956 fs/xfs/xfs_iops.c iattr->ia_valid |= ATTR_CTIME | ATTR_MTIME; iattr 992 fs/xfs/xfs_iops.c if (iattr->ia_valid & ATTR_MODE) iattr 993 fs/xfs/xfs_iops.c xfs_setattr_mode(ip, iattr); iattr 994 fs/xfs/xfs_iops.c if (iattr->ia_valid & (ATTR_ATIME|ATTR_CTIME|ATTR_MTIME)) iattr 995 fs/xfs/xfs_iops.c xfs_setattr_time(ip, iattr); iattr 1018 fs/xfs/xfs_iops.c struct iattr *iattr) iattr 1025 fs/xfs/xfs_iops.c error = xfs_vn_change_ok(dentry, iattr); iattr 1028 fs/xfs/xfs_iops.c return xfs_setattr_size(ip, iattr); iattr 1034 fs/xfs/xfs_iops.c struct iattr *iattr) iattr 1038 fs/xfs/xfs_iops.c if (iattr->ia_valid & ATTR_SIZE) { iattr 1052 fs/xfs/xfs_iops.c error = xfs_vn_setattr_size(dentry, iattr); iattr 1055 fs/xfs/xfs_iops.c error = xfs_vn_setattr_nonsize(dentry, iattr); iattr 21 fs/xfs/xfs_iops.h extern void xfs_setattr_time(struct xfs_inode *ip, struct iattr *iattr); iattr 22 fs/xfs/xfs_iops.h extern int xfs_setattr_nonsize(struct xfs_inode *ip, struct iattr *vap, iattr 24 fs/xfs/xfs_iops.h extern int xfs_vn_setattr_nonsize(struct dentry *dentry, struct iattr *vap); iattr 25 fs/xfs/xfs_iops.h extern int xfs_vn_setattr_size(struct dentry *dentry, struct iattr *vap); iattr 230 fs/xfs/xfs_pnfs.c struct iattr *iattr) iattr 239 fs/xfs/xfs_pnfs.c ASSERT(iattr->ia_valid & (ATTR_ATIME|ATTR_CTIME|ATTR_MTIME)); iattr 244 fs/xfs/xfs_pnfs.c if ((iattr->ia_valid & ATTR_SIZE) && iattr->ia_size > size) { iattr 246 fs/xfs/xfs_pnfs.c size = iattr->ia_size; iattr 291 fs/xfs/xfs_pnfs.c xfs_setattr_time(ip, iattr); iattr 293 fs/xfs/xfs_pnfs.c i_size_write(inode, iattr->ia_size); iattr 294 fs/xfs/xfs_pnfs.c ip->i_d.di_size = iattr->ia_size; iattr 10 fs/xfs/xfs_pnfs.h struct iattr *iattr); iattr 24 include/linux/evm.h extern int evm_inode_setattr(struct dentry *dentry, struct iattr *attr); iattr 64 include/linux/evm.h static inline int evm_inode_setattr(struct dentry *dentry, struct iattr *attr) iattr 8 include/linux/exportfs.h struct iattr; iattr 210 include/linux/exportfs.h int nr_iomaps, struct iattr *iattr); iattr 1881 include/linux/fs.h int (*setattr) (struct dentry *, struct iattr *); iattr 2876 include/linux/fs.h extern int notify_change(struct dentry *, struct iattr *, struct inode **); iattr 3298 include/linux/fs.h extern int simple_setattr(struct dentry *, struct iattr *); iattr 3360 include/linux/fs.h extern int setattr_prepare(struct dentry *, struct iattr *); iattr 3362 include/linux/fs.h extern void setattr_copy(struct inode *inode, const struct iattr *attr); iattr 698 include/linux/fscrypt.h struct iattr *attr) iattr 128 include/linux/fsverity.h extern int fsverity_prepare_setattr(struct dentry *dentry, struct iattr *attr); iattr 167 include/linux/fsverity.h struct iattr *attr) iattr 22 include/linux/kernfs.h struct iattr; iattr 161 include/linux/kernfs.h struct kernfs_iattrs *iattr; iattr 369 include/linux/kernfs.h int kernfs_setattr(struct kernfs_node *kn, const struct iattr *iattr); iattr 476 include/linux/kernfs.h const struct iattr *iattr) iattr 1574 include/linux/lsm_hooks.h int (*inode_setattr)(struct dentry *dentry, struct iattr *attr); iattr 389 include/linux/nfs_fs.h extern int nfs_setattr(struct dentry *, struct iattr *); iattr 390 include/linux/nfs_fs.h extern void nfs_setattr_update_inode(struct inode *inode, struct iattr *attr, struct nfs_fattr *); iattr 460 include/linux/nfs_xdr.h struct iattr * attrs; /* UNCHECKED, GUARDED, EXCLUSIVE4_1 */ iattr 756 include/linux/nfs_xdr.h struct iattr * sattr; iattr 769 include/linux/nfs_xdr.h struct iattr * sattr; iattr 776 include/linux/nfs_xdr.h struct iattr * iap; iattr 830 include/linux/nfs_xdr.h struct iattr * sattr; iattr 870 include/linux/nfs_xdr.h struct iattr * sattr; iattr 890 include/linux/nfs_xdr.h struct iattr * sattr; iattr 899 include/linux/nfs_xdr.h struct iattr * sattr; iattr 908 include/linux/nfs_xdr.h struct iattr * sattr; iattr 916 include/linux/nfs_xdr.h struct iattr * sattr; iattr 1008 include/linux/nfs_xdr.h const struct iattr * attrs; iattr 1649 include/linux/nfs_xdr.h struct iattr *); iattr 1659 include/linux/nfs_xdr.h struct iattr *, int); iattr 1671 include/linux/nfs_xdr.h unsigned int, struct iattr *); iattr 1672 include/linux/nfs_xdr.h int (*mkdir) (struct inode *, struct dentry *, struct iattr *); iattr 1676 include/linux/nfs_xdr.h int (*mknod) (struct inode *, struct dentry *, struct iattr *, iattr 1704 include/linux/nfs_xdr.h struct iattr *iattr, iattr 23 include/linux/quotaops.h static inline bool is_quota_modification(struct inode *inode, struct iattr *ia) iattr 119 include/linux/quotaops.h int dquot_transfer(struct inode *inode, struct iattr *iattr); iattr 238 include/linux/quotaops.h static inline int dquot_transfer(struct inode *inode, struct iattr *iattr) iattr 49 include/linux/security.h struct iattr; iattr 340 include/linux/security.h int security_inode_setattr(struct dentry *dentry, struct iattr *attr); iattr 806 include/linux/security.h struct iattr *attr) iattr 14 include/linux/syscalls.h struct iattr; iattr 3852 kernel/cgroup/cgroup.c struct iattr iattr = { .ia_valid = ATTR_UID | ATTR_GID, iattr 3856 kernel/cgroup/cgroup.c if (uid_eq(iattr.ia_uid, GLOBAL_ROOT_UID) && iattr 3857 kernel/cgroup/cgroup.c gid_eq(iattr.ia_gid, GLOBAL_ROOT_GID)) iattr 3860 kernel/cgroup/cgroup.c return kernfs_setattr(kn, &iattr); iattr 1017 mm/shmem.c static int shmem_setattr(struct dentry *dentry, struct iattr *attr) iattr 524 net/socket.c static int sockfs_setattr(struct dentry *dentry, struct iattr *iattr) iattr 526 net/socket.c int err = simple_setattr(dentry, iattr); iattr 528 net/socket.c if (!err && (iattr->ia_valid & ATTR_UID)) { iattr 532 net/socket.c sock->sk->sk_uid = iattr->ia_uid; iattr 473 security/integrity/evm/evm_main.c int evm_inode_setattr(struct dentry *dentry, struct iattr *attr) iattr 180 security/integrity/evm/evm_secfs.c struct iattr newattrs; iattr 1205 security/security.c int security_inode_setattr(struct dentry *dentry, struct iattr *attr) iattr 3094 security/selinux/hooks.c static int selinux_inode_setattr(struct dentry *dentry, struct iattr *iattr) iattr 3098 security/selinux/hooks.c unsigned int ia_valid = iattr->ia_valid; iattr 1204 security/smack/smack_lsm.c static int smack_inode_setattr(struct dentry *dentry, struct iattr *iattr) iattr 1212 security/smack/smack_lsm.c if (iattr->ia_valid & ATTR_FORCE)