Home
last modified time | relevance | path

Searched refs:ia_mode (Results 1 – 25 of 28) sorted by relevance

12

/linux-2.4.37.9/fs/nfsd/
Dvfs.c278 iap->ia_mode &= S_IALLUGO; in nfsd_setattr()
279 imode = iap->ia_mode |= (imode & ~S_IALLUGO); in nfsd_setattr()
288 iap->ia_mode = imode &= ~S_ISUID; in nfsd_setattr()
295 iap->ia_mode = imode &= ~S_ISGID; in nfsd_setattr()
748 ia.ia_mode = inode->i_mode & ~(S_ISUID | S_ISGID); in nfsd_write()
905 iap->ia_mode = 0; in nfsd_create()
906 iap->ia_mode = (iap->ia_mode & S_IALLUGO) | type; in nfsd_create()
914 err = vfs_create(dirp, dchild, iap->ia_mode); in nfsd_create()
917 err = vfs_mkdir(dirp, dchild, iap->ia_mode); in nfsd_create()
923 err = vfs_mknod(dirp, dchild, iap->ia_mode, rdev); in nfsd_create()
[all …]
Dnfs3proc.c261 attr->ia_mode &= ~S_IFMT; in nfsd3_proc_create()
264 attr->ia_mode = S_IFREG; in nfsd3_proc_create()
266 attr->ia_mode = (attr->ia_mode & ~S_IFMT) | S_IFREG; in nfsd3_proc_create()
Dnfsproc.c248 type = attr->ia_mode & S_IFMT; in nfsd_proc_create()
249 mode = attr->ia_mode & ~S_IFMT; in nfsd_proc_create()
287 attr->ia_mode = mode; in nfsd_proc_create()
Dnfsxdr.c107 iap->ia_mode = tmp; in decode_sattr()
Dnfs3xdr.c121 iap->ia_mode = ntohl(*p++); in decode_sattr3()
/linux-2.4.37.9/fs/hfs/
Dinode.c140 (attr->ia_mode != inode->i_mode))|| in __hfs_notify_change()
141 (attr->ia_mode & ~HFS_VALID_MODE_BITS)))) { in __hfs_notify_change()
149 if (attr->ia_mode & S_IWUSR) { in __hfs_notify_change()
150 attr->ia_mode = inode->i_mode | S_IWUGO; in __hfs_notify_change()
152 attr->ia_mode = inode->i_mode & ~S_IWUGO; in __hfs_notify_change()
154 attr->ia_mode &= ~hsb->s_umask; in __hfs_notify_change()
/linux-2.4.37.9/fs/
Dattr.c48 attr->ia_mode &= ~S_ISGID; in inode_change_ok()
84 inode->i_mode = attr->ia_mode; in inode_setattr()
Dopen.c502 newattrs.ia_mode = (mode & S_IALLUGO) | (inode->i_mode & ~S_IALLUGO); in sys_fchmod()
534 newattrs.ia_mode = (mode & S_IALLUGO) | (inode->i_mode & ~S_IALLUGO); in sys_chmod()
565 newattrs.ia_mode = inode->i_mode; in chown_common()
582 newattrs.ia_mode &= ~S_ISUID; in chown_common()
596 newattrs.ia_mode &= ~S_ISGID; in chown_common()
/linux-2.4.37.9/fs/nfs/
Dproc.c196 mode = sattr->ia_mode; in nfs_proc_mknod()
198 sattr->ia_mode = (mode & ~S_IFMT) | S_IFCHR; in nfs_proc_mknod()
209 sattr->ia_mode = mode; in nfs_proc_mknod()
Ddir.c657 attr.ia_mode = mode; in nfs_create()
689 attr.ia_mode = mode; in nfs_mknod()
716 attr.ia_mode = mode | S_IFDIR; in nfs_mkdir()
932 attr.ia_mode = S_IFLNK | S_IRWXUGO; in nfs_symlink()
Dnfs3proc.c468 switch (sattr->ia_mode & S_IFMT) { in nfs3_proc_mknod()
Dnfs2xdr.c129 SATTR(p, attr, ATTR_MODE, ia_mode); in xdr_encode_sattr()
Dnfs3xdr.c192 *p++ = htonl(attr->ia_mode); in xdr_encode_sattr()
/linux-2.4.37.9/fs/coda/
Dcoda_linux.c196 mode = iattr->ia_mode; in coda_iattr_to_vattr()
212 vattr->va_mode = iattr->ia_mode; in coda_iattr_to_vattr()
/linux-2.4.37.9/fs/smbfs/
Ddir.c515 attr.ia_mode = mode; in smb_create()
540 attr.ia_mode = mode; in smb_mkdir()
636 attr.ia_mode = mode; in smb_make_node()
Dinode.c605 if ((attr->ia_valid & ATTR_MODE) && (attr->ia_mode & ~mask)) in smb_notify_change()
669 DENTRY_PATH(dentry), fattr.f_mode, attr->ia_mode); in smb_notify_change()
671 if (attr->ia_mode & S_IWUSR) { in smb_notify_change()
/linux-2.4.37.9/fs/ncpfs/
Dinode.c576 (attr->ia_mode & in ncp_notify_change()
590 newmode = attr->ia_mode; in ncp_notify_change()
610 newmode=attr->ia_mode; in ncp_notify_change()
/linux-2.4.37.9/fs/intermezzo/
Dvfs.c475 name, iattr->ia_valid, iattr->ia_mode, iattr->ia_uid, in lento_setattr()
505 int set_mode = iattr->ia_mode; in lento_setattr()
506 iattr->ia_mode = (iattr->ia_mode & S_IALLUGO) | in lento_setattr()
509 dentry->d_inode->i_mode, set_mode, iattr->ia_mode); in lento_setattr()
2319 iattr.ia_mode = mode; in presto_setmode()
Dkml_reint.c310 iattr.ia_mode = (umode_t)rec->mode; in reint_setattr()
Ddir.c355 iattr->ia_valid, iattr->ia_mode, iattr->ia_uid, iattr->ia_gid, in presto_setattr()
/linux-2.4.37.9/fs/umsdos/
Dinode.c282 entry->mode = cpu_to_le16(attr->ia_mode); in umsdos_notify_change_locked()
/linux-2.4.37.9/fs/xfs/linux-2.4/
Dxfs_iops.c524 vattr.va_mode = attr->ia_mode; in linvfs_setattr()
/linux-2.4.37.9/fs/jffs2/
Dfile.c150 ri->mode = (ivalid & ATTR_MODE)?iattr->ia_mode:inode->i_mode; in jffs2_setattr()
/linux-2.4.37.9/fs/jffs/
Dinode-v23.c265 raw_inode.mode = iattr->ia_mode; in jffs_setattr()
266 inode->i_mode = iattr->ia_mode; in jffs_setattr()
/linux-2.4.37.9/fs/fat/
Dinode.c1056 (attr->ia_mode & ~MSDOS_VALID_MODE))) in fat_notify_change()

12