/fs/ |
D | attr.c | 74 attr->ia_mode &= ~S_ISGID; in setattr_prepare() 173 umode_t mode = attr->ia_mode; in setattr_copy() 234 umode_t amode = attr->ia_mode; in notify_change2() 269 attr->ia_mode = (inode->i_mode & ~S_ISUID); in notify_change2() 276 attr->ia_mode = inode->i_mode; in notify_change2() 278 attr->ia_mode &= ~S_ISGID; in notify_change2()
|
/fs/configfs/ |
D | inode.c | 75 sd_iattr->ia_mode = sd->s_mode; in configfs_setattr() 102 umode_t mode = iattr->ia_mode; in configfs_setattr() 106 sd_iattr->ia_mode = sd->s_mode = mode; in configfs_setattr() 121 inode->i_mode = iattr->ia_mode; in set_inode_attr()
|
/fs/nfsd/ |
D | vfs.c | 331 iap->ia_mode &= S_IALLUGO; in nfsd_sanitize_attrs() 332 iap->ia_mode |= (inode->i_mode & ~S_IALLUGO); in nfsd_sanitize_attrs() 341 iap->ia_mode &= ~S_ISUID; in nfsd_sanitize_attrs() 342 if (iap->ia_mode & S_IXGRP) in nfsd_sanitize_attrs() 343 iap->ia_mode &= ~S_ISGID; in nfsd_sanitize_attrs() 1213 iap->ia_mode = 0; in nfsd_create_locked() 1214 iap->ia_mode = (iap->ia_mode & S_IALLUGO) | type; in nfsd_create_locked() 1220 host_err = vfs_create(dirp, dchild, iap->ia_mode, true); in nfsd_create_locked() 1225 host_err = vfs_mkdir(dirp, dchild, iap->ia_mode); in nfsd_create_locked() 1231 host_err = vfs_mknod(dirp, dchild, iap->ia_mode, rdev); in nfsd_create_locked() [all …]
|
D | nfs3proc.c | 228 attr->ia_mode &= ~S_IFMT; in nfsd3_proc_create() 231 attr->ia_mode = S_IFREG; in nfsd3_proc_create() 233 attr->ia_mode = (attr->ia_mode & ~S_IFMT) | S_IFREG; in nfsd3_proc_create()
|
D | nfsproc.c | 291 type = attr->ia_mode & S_IFMT; in nfsd_proc_create() 292 mode = attr->ia_mode & ~S_IFMT; in nfsd_proc_create() 331 attr->ia_mode = mode; in nfsd_proc_create()
|
/fs/hfs/ |
D | inode.c | 620 (attr->ia_mode != inode->i_mode)) || in hfs_inode_setattr() 621 (attr->ia_mode & ~HFS_VALID_MODE_BITS)))) { in hfs_inode_setattr() 627 if (attr->ia_mode & S_IWUSR) in hfs_inode_setattr() 628 attr->ia_mode = inode->i_mode | S_IWUGO; in hfs_inode_setattr() 630 attr->ia_mode = inode->i_mode & ~S_IWUGO; in hfs_inode_setattr() 631 attr->ia_mode &= S_ISDIR(inode->i_mode) ? ~hsb->s_dir_umask: ~hsb->s_file_umask; in hfs_inode_setattr()
|
/fs/fat/ |
D | file.c | 68 ia.ia_mode = fat_make_mode(sbi, attr, S_IRWXUGO); in fat_ioctl_set_attributes() 70 ia.ia_mode = fat_make_mode(sbi, attr, in fat_ioctl_set_attributes() 483 (attr->ia_mode & ~FAT_VALID_MODE))) in fat_setattr() 497 if (fat_sanitize_mode(sbi, inode, &attr->ia_mode) < 0) in fat_setattr()
|
/fs/coda/ |
D | coda_linux.c | 149 mode = iattr->ia_mode; in coda_iattr_to_vattr() 165 vattr->va_mode = iattr->ia_mode; in coda_iattr_to_vattr()
|
/fs/kernfs/ |
D | inode.c | 51 iattrs->ia_mode = kn->mode; in kernfs_iattrs() 89 umode_t mode = iattr->ia_mode; in __kernfs_setattr() 90 iattrs->ia_mode = kn->mode = mode; in __kernfs_setattr()
|
/fs/ceph/ |
D | acl.c | 134 newattrs.ia_mode = new_mode; in ceph_set_acl() 144 newattrs.ia_mode = old_mode; in ceph_set_acl()
|
D | inode.c | 1963 attr->ia_mode); in __ceph_setattr() 1965 inode->i_mode = attr->ia_mode; in __ceph_setattr() 1968 attr->ia_mode != inode->i_mode) { in __ceph_setattr() 1969 inode->i_mode = attr->ia_mode; in __ceph_setattr() 1970 req->r_args.setattr.mode = cpu_to_le32(attr->ia_mode); in __ceph_setattr() 2122 err = posix_acl_chmod(inode, attr->ia_mode); in ceph_setattr()
|
/fs/nfs/ |
D | proc.c | 134 sattr->ia_mode &= S_IALLUGO; in nfs_proc_setattr() 270 mode = sattr->ia_mode; in nfs_proc_mknod() 272 sattr->ia_mode = (mode & ~S_IFMT) | S_IFCHR; in nfs_proc_mknod() 289 sattr->ia_mode = mode; in nfs_proc_mknod()
|
D | nfs3proc.c | 345 status = posix_acl_create(dir, &sattr->ia_mode, &default_acl, &acl); in nfs3_proc_create() 559 status = posix_acl_create(dir, &sattr->ia_mode, &default_acl, &acl); in nfs3_proc_mkdir() 685 status = posix_acl_create(dir, &sattr->ia_mode, &default_acl, &acl); in nfs3_proc_mknod() 696 switch (sattr->ia_mode & S_IFMT) { in nfs3_proc_mknod()
|
D | dir.c | 1533 attr.ia_mode = mode & ~current_umask(); in nfs_atomic_open() 1727 attr.ia_mode = mode; in nfs_create() 1754 attr.ia_mode = mode; in nfs_mknod() 1781 attr.ia_mode = mode | S_IFDIR; in nfs_mkdir() 1932 attr.ia_mode = S_IFLNK | S_IRWXUGO; in nfs_symlink()
|
/fs/ncpfs/ |
D | inode.c | 899 (attr->ia_mode & in ncp_notify_change() 909 umode_t newmode = attr->ia_mode; in ncp_notify_change() 938 attr->ia_mode, 0); in ncp_notify_change() 947 tmpattr.ia_mode = attr->ia_mode; in ncp_notify_change()
|
/fs/hostfs/ |
D | hostfs_user.c | 202 if (fchmod(fd, attrs->ia_mode) != 0) in set_attr() 204 } else if (chmod(file, attrs->ia_mode) != 0) { in set_attr()
|
D | hostfs.h | 42 unsigned short ia_mode; member
|
/fs/xfs/ |
D | xfs_acl.c | 238 iattr.ia_mode = mode; in xfs_set_mode()
|
/fs/orangefs/ |
D | orangefs-utils.c | 190 tmp_mode = iattr->ia_mode; in copy_attributes_from_inode() 478 wbattr.ia_mode = inode->i_mode; in orangefs_flush_inode()
|
/fs/cifs/ |
D | inode.c | 2233 args->mode = attrs->ia_mode; 2391 mode = attrs->ia_mode; 2411 attrs->ia_mode = inode->i_mode & ~S_IWUGO; 2422 attrs->ia_mode &= ~(S_IALLUGO); 2424 attrs->ia_mode |= 2427 attrs->ia_mode |=
|
/fs/jffs2/ |
D | acl.c | 245 attr.ia_mode = mode; in jffs2_set_acl()
|
D | fs.c | 108 ri->mode = cpu_to_jemode(iattr->ia_mode); in jffs2_do_setattr() 383 iattr.ia_mode = inode->i_mode; in jffs2_dirty_inode()
|
/fs/9p/ |
D | acl.c | 282 retval = posix_acl_update_mode(inode, &iattr.ia_mode, &acl); in v9fs_xattr_set_acl()
|
/fs/ocfs2/ |
D | ocfs2_trace.h | 1407 unsigned int ia_valid, unsigned int ia_mode, 1410 ia_valid, ia_mode, ia_uid, ia_gid), 1418 __field(unsigned int, ia_mode) 1429 __entry->ia_mode = ia_mode; 1435 __get_str(d_name), __entry->ia_valid, __entry->ia_mode,
|
/fs/fuse/ |
D | dir.c | 1534 arg->valid |= FATTR_MODE, arg->mode = iattr->ia_mode; in iattr_to_fattr() 1797 attr->ia_mode = inode->i_mode; in fuse_setattr() 1800 attr->ia_mode &= ~S_ISUID; in fuse_setattr() 1804 attr->ia_mode &= ~S_ISGID; in fuse_setattr()
|