Home
last modified time | relevance | path

Searched refs:iattr (Results 1 – 25 of 62) sorted by relevance

123

/linux-2.4.37.9/include/linux/
Dnfs_xdr.h119 struct iattr * sattr;
132 struct iattr * sattr;
157 struct iattr * sattr;
180 struct iattr * sattr;
200 struct iattr * sattr;
209 struct iattr * sattr;
218 struct iattr * sattr;
226 struct iattr * sattr;
298 struct iattr *);
313 int (*create) (struct inode *, struct qstr *, struct iattr *,
[all …]
Dquotaops.h35 extern int dquot_transfer(struct inode *inode, struct iattr *iattr);
153 static __inline__ int DQUOT_TRANSFER(struct inode *inode, struct iattr *iattr) in DQUOT_TRANSFER() argument
158 if (inode->i_sb->dq_op->transfer(inode, iattr) == NO_QUOTA) { in DQUOT_TRANSFER()
196 #define DQUOT_TRANSFER(inode, iattr) (0) argument
Dcoda_linux.h44 int coda_notify_change(struct dentry *, struct iattr *);
62 void coda_iattr_to_vattr(struct iattr *, struct coda_vattr *);
Dhfs_fs.h293 extern int hfs_notify_change(struct dentry *, struct iattr *);
294 extern int hfs_notify_change_cap(struct dentry *, struct iattr *);
295 extern int hfs_notify_change_hdr(struct dentry *, struct iattr *);
Dintermezzo_fs.h360 int presto_setattr(struct dentry *de, struct iattr *iattr);
507 struct iattr *iattr, struct lento_vfs_context *info);
533 int lento_setattr(const char *name, struct iattr *iattr,
564 struct izo_rollback_data *, struct iattr *iattr);
Dintermezzo_kml.h134 struct iattr iattr; member
Dumsdos_fs.p37 int UMSDOS_notify_change (struct dentry *, struct iattr *attr);
38 int umsdos_notify_change_locked(struct dentry *, struct iattr *attr);
/linux-2.4.37.9/fs/coda/
Dcoda_linux.c170 void coda_iattr_to_vattr(struct iattr *iattr, struct coda_vattr *vattr) in coda_iattr_to_vattr() argument
196 mode = iattr->ia_mode; in coda_iattr_to_vattr()
210 valid = iattr->ia_valid; in coda_iattr_to_vattr()
212 vattr->va_mode = iattr->ia_mode; in coda_iattr_to_vattr()
215 vattr->va_uid = (vuid_t) iattr->ia_uid; in coda_iattr_to_vattr()
218 vattr->va_gid = (vgid_t) iattr->ia_gid; in coda_iattr_to_vattr()
221 vattr->va_size = iattr->ia_size; in coda_iattr_to_vattr()
224 vattr->va_atime.tv_sec = iattr->ia_atime; in coda_iattr_to_vattr()
228 vattr->va_mtime.tv_sec = iattr->ia_mtime; in coda_iattr_to_vattr()
232 vattr->va_ctime.tv_sec = iattr->ia_ctime; in coda_iattr_to_vattr()
Dinode.c214 int coda_notify_change(struct dentry *de, struct iattr *iattr) in coda_notify_change() argument
223 coda_iattr_to_vattr(iattr, &vattr); in coda_notify_change()
/linux-2.4.37.9/fs/intermezzo/
Dkml_reint.c126 struct iattr iattr; in reint_close() local
128 iattr.ia_valid = ATTR_CTIME | ATTR_MTIME | ATTR_SIZE; in reint_close()
129 iattr.ia_mtime = (time_t)rec->new_objectv->pv_mtime; in reint_close()
130 iattr.ia_ctime = (time_t)rec->new_objectv->pv_ctime; in reint_close()
131 iattr.ia_size = (time_t)rec->new_objectv->pv_size; in reint_close()
140 error = lento_setattr(rec->path, &iattr, &info); in reint_close()
304 struct iattr iattr; in reint_setattr() local
309 iattr.ia_valid = rec->valid; in reint_setattr()
310 iattr.ia_mode = (umode_t)rec->mode; in reint_setattr()
311 iattr.ia_uid = (uid_t)rec->uid; in reint_setattr()
[all …]
Dvfs.c232 struct iattr iattr; in presto_settime() local
240 iattr.ia_ctime = ctx->updated_time; in presto_settime()
241 iattr.ia_mtime = ctx->updated_time; in presto_settime()
242 iattr.ia_valid = valid; in presto_settime()
278 error = iops->setattr(dentry, &iattr); in presto_settime()
281 inode_setattr(dentry->d_inode, &iattr); in presto_settime()
362 struct iattr *iattr, struct lento_vfs_context *info) in presto_do_setattr() argument
396 if (iattr->ia_valid & ATTR_SIZE) { in presto_do_setattr()
414 error = iops->setattr(dentry, iattr); in presto_do_setattr()
416 error = inode_change_ok(dentry->d_inode, iattr); in presto_do_setattr()
[all …]
Ddir.c335 int presto_setattr(struct dentry *de, struct iattr *iattr) in presto_setattr() argument
350 if (!iattr->ia_valid) in presto_setattr()
355 iattr->ia_valid, iattr->ia_mode, iattr->ia_uid, iattr->ia_gid, in presto_setattr()
356 iattr->ia_size, iattr->ia_atime, iattr->ia_mtime, in presto_setattr()
357 iattr->ia_ctime, iattr->ia_attr_flags); in presto_setattr()
367 error = presto_do_setattr(fset, de, iattr, &info); in presto_setattr()
Djournal.c128 struct iattr newattrs; in izo_do_truncate()
1505 struct izo_rollback_data *rb, struct iattr *iattr) in presto_journal_setattr() argument
1543 if (iattr->ia_valid & ATTR_MTIME_SET) in presto_journal_setattr()
1544 iattr->ia_valid = iattr->ia_valid | ATTR_MTIME; in presto_journal_setattr()
1545 valid = cpu_to_le32(iattr->ia_valid & ~(ATTR_ATIME | ATTR_MTIME_SET | in presto_journal_setattr()
1547 mode = iattr->ia_valid & ATTR_MODE ? cpu_to_le32(iattr->ia_mode): 0; in presto_journal_setattr()
1548 uid = iattr->ia_valid & ATTR_UID ? cpu_to_le32(iattr->ia_uid): 0; in presto_journal_setattr()
1549 gid = iattr->ia_valid & ATTR_GID ? cpu_to_le32(iattr->ia_gid): 0; in presto_journal_setattr()
1550 fsize = iattr->ia_valid & ATTR_SIZE ? cpu_to_le64(iattr->ia_size): 0; in presto_journal_setattr()
1551 mtime = iattr->ia_valid & ATTR_MTIME ? cpu_to_le64(iattr->ia_mtime): 0; in presto_journal_setattr()
[all …]
/linux-2.4.37.9/fs/jffs/
Dinode-v23.c192 jffs_setattr(struct dentry *dentry, struct iattr *iattr) in jffs_setattr() argument
204 if ((res = inode_change_ok(inode, iattr))) in jffs_setattr()
226 update_all = iattr->ia_valid & ATTR_FORCE; in jffs_setattr()
228 if ( (update_all || iattr->ia_valid & ATTR_SIZE) in jffs_setattr()
229 && (iattr->ia_size + 128 < f->size) ) { in jffs_setattr()
264 if (update_all || iattr->ia_valid & ATTR_MODE) { in jffs_setattr()
265 raw_inode.mode = iattr->ia_mode; in jffs_setattr()
266 inode->i_mode = iattr->ia_mode; in jffs_setattr()
268 if (update_all || iattr->ia_valid & ATTR_UID) { in jffs_setattr()
269 raw_inode.uid = iattr->ia_uid; in jffs_setattr()
[all …]
/linux-2.4.37.9/include/linux/nfsd/
Dnfsd.h85 struct iattr *, int, time_t);
87 char *name, int len, struct iattr *attrs,
92 char *name, int len, struct iattr *attrs,
109 struct svc_fh *res, struct iattr *);
127 int nfsd_notify_change(struct inode *, struct iattr *);
Dxdr.h19 struct iattr attrs;
48 struct iattr attrs;
73 struct iattr attrs;
Dxdr3.h16 struct iattr attrs;
52 struct iattr attrs;
62 struct iattr attrs;
87 struct iattr attrs;
/linux-2.4.37.9/fs/jffs2/
Dfile.c82 int jffs2_setattr (struct dentry *dentry, struct iattr *iattr) in jffs2_setattr() argument
96 ret = inode_change_ok(inode, iattr); in jffs2_setattr()
140 ivalid = iattr->ia_valid; in jffs2_setattr()
150 ri->mode = (ivalid & ATTR_MODE)?iattr->ia_mode:inode->i_mode; in jffs2_setattr()
151 ri->uid = (ivalid & ATTR_UID)?iattr->ia_uid:inode->i_uid; in jffs2_setattr()
152 ri->gid = (ivalid & ATTR_GID)?iattr->ia_gid:inode->i_gid; in jffs2_setattr()
158 ri->isize = (ivalid & ATTR_SIZE)?iattr->ia_size:inode->i_size; in jffs2_setattr()
159 ri->atime = (ivalid & ATTR_ATIME)?iattr->ia_atime:inode->i_atime; in jffs2_setattr()
160 ri->mtime = (ivalid & ATTR_MTIME)?iattr->ia_mtime:inode->i_mtime; in jffs2_setattr()
161 ri->ctime = (ivalid & ATTR_CTIME)?iattr->ia_ctime:inode->i_ctime; in jffs2_setattr()
/linux-2.4.37.9/fs/
Dattr.c19 int inode_change_ok(struct inode *inode, struct iattr *attr) in inode_change_ok()
62 int inode_setattr(struct inode * inode, struct iattr * attr) in inode_setattr()
115 int notify_change(struct dentry * dentry, struct iattr * attr) in notify_change()
Dopen.c102 struct iattr newattrs; in do_truncate()
265 struct iattr newattrs; in sys_utime()
315 struct iattr newattrs; in sys_utimes()
485 struct iattr newattrs; in sys_fchmod()
517 struct iattr newattrs; in sys_chmod()
548 struct iattr newattrs; in chown_common()
/linux-2.4.37.9/fs/nfs/
Dproc.c81 struct iattr *sattr) in nfs_proc_setattr()
167 nfs_proc_create(struct inode *dir, struct qstr *name, struct iattr *sattr, in nfs_proc_create()
186 nfs_proc_mknod(struct inode *dir, struct qstr *name, struct iattr *sattr, in nfs_proc_mknod()
287 struct iattr *sattr, struct nfs_fh *fhandle, in nfs_proc_symlink()
302 nfs_proc_mkdir(struct inode *dir, struct qstr *name, struct iattr *sattr, in nfs_proc_mkdir()
Dnfs3proc.c85 struct iattr *sattr) in nfs3_proc_setattr()
220 nfs3_proc_create(struct inode *dir, struct qstr *name, struct iattr *sattr, in nfs3_proc_create()
378 struct iattr *sattr, struct nfs_fh *fhandle, in nfs3_proc_symlink()
397 nfs3_proc_mkdir(struct inode *dir, struct qstr *name, struct iattr *sattr, in nfs3_proc_mkdir()
459 nfs3_proc_mknod(struct inode *dir, struct qstr *name, struct iattr *sattr, in nfs3_proc_mknod()
/linux-2.4.37.9/fs/smbfs/
Dproto.h27 extern int smb_proc_setattr_unix(struct dentry *dentry, struct iattr *attr, unsigned int major, uns…
60 extern int smb_notify_change(struct dentry *dentry, struct iattr *attr);
/linux-2.4.37.9/fs/hfs/
Dinode.c114 static int __hfs_notify_change(struct dentry *dentry, struct iattr * attr, int kind) in __hfs_notify_change()
210 int hfs_notify_change(struct dentry *dentry, struct iattr * attr) in hfs_notify_change()
215 int hfs_notify_change_cap(struct dentry *dentry, struct iattr * attr) in hfs_notify_change_cap()
220 int hfs_notify_change_hdr(struct dentry *dentry, struct iattr * attr) in hfs_notify_change_hdr()
/linux-2.4.37.9/fs/umsdos/
Dinode.c160 int UMSDOS_notify_change (struct dentry *dentry, struct iattr *attr) in UMSDOS_notify_change()
225 int umsdos_notify_change_locked(struct dentry *dentry, struct iattr *attr) in umsdos_notify_change_locked()
315 struct iattr newattrs; in UMSDOS_write_inode()

123