Lines Matching refs:iattr
43 int configfs_setattr(struct dentry * dentry, struct iattr * iattr) in configfs_setattr() argument
47 struct iattr * sd_iattr; in configfs_setattr()
48 unsigned int ia_valid = iattr->ia_valid; in configfs_setattr()
57 sd_iattr = kzalloc(sizeof(struct iattr), GFP_KERNEL); in configfs_setattr()
70 error = simple_setattr(dentry, iattr); in configfs_setattr()
75 sd_iattr->ia_uid = iattr->ia_uid; in configfs_setattr()
77 sd_iattr->ia_gid = iattr->ia_gid; in configfs_setattr()
79 sd_iattr->ia_atime = iattr->ia_atime; in configfs_setattr()
81 sd_iattr->ia_mtime = iattr->ia_mtime; in configfs_setattr()
83 sd_iattr->ia_ctime = iattr->ia_ctime; in configfs_setattr()
85 umode_t mode = iattr->ia_mode; in configfs_setattr()
102 static inline void set_inode_attr(struct inode * inode, struct iattr * iattr) in set_inode_attr() argument
104 inode->i_mode = iattr->ia_mode; in set_inode_attr()
105 inode->i_uid = iattr->ia_uid; in set_inode_attr()
106 inode->i_gid = iattr->ia_gid; in set_inode_attr()
107 inode->i_atime = iattr->ia_atime; in set_inode_attr()
108 inode->i_mtime = iattr->ia_mtime; in set_inode_attr()
109 inode->i_ctime = iattr->ia_ctime; in set_inode_attr()