/fs/ |
D | attr.c | 71 attr->ia_mode &= ~S_ISGID; in inode_change_ok() 160 umode_t mode = attr->ia_mode; in setattr_copy() 191 umode_t amode = attr->ia_mode; in notify_change2() 228 attr->ia_mode = (inode->i_mode & ~S_ISUID); in notify_change2() 235 attr->ia_mode = inode->i_mode; in notify_change2() 237 attr->ia_mode &= ~S_ISGID; in notify_change2()
|
/fs/configfs/ |
D | inode.c | 81 sd_iattr->ia_mode = sd->s_mode; in configfs_setattr() 107 umode_t mode = iattr->ia_mode; in configfs_setattr() 111 sd_iattr->ia_mode = sd->s_mode = mode; in configfs_setattr() 125 inode->i_mode = iattr->ia_mode; in set_inode_attr()
|
/fs/fat/ |
D | file.c | 67 ia.ia_mode = fat_make_mode(sbi, attr, S_IRWXUGO); in fat_ioctl_set_attributes() 69 ia.ia_mode = fat_make_mode(sbi, attr, in fat_ioctl_set_attributes() 419 (attr->ia_mode & ~FAT_VALID_MODE))) in fat_setattr() 433 if (fat_sanitize_mode(sbi, inode, &attr->ia_mode) < 0) in fat_setattr()
|
/fs/hfs/ |
D | inode.c | 618 (attr->ia_mode != inode->i_mode)) || in hfs_inode_setattr() 619 (attr->ia_mode & ~HFS_VALID_MODE_BITS)))) { in hfs_inode_setattr() 625 if (attr->ia_mode & S_IWUSR) in hfs_inode_setattr() 626 attr->ia_mode = inode->i_mode | S_IWUGO; in hfs_inode_setattr() 628 attr->ia_mode = inode->i_mode & ~S_IWUGO; in hfs_inode_setattr() 629 attr->ia_mode &= S_ISDIR(inode->i_mode) ? ~hsb->s_dir_umask: ~hsb->s_file_umask; in hfs_inode_setattr()
|
/fs/sysfs/ |
D | inode.c | 64 iattrs->ia_mode = sd->s_mode; in sysfs_init_inode_attrs() 101 umode_t mode = iattr->ia_mode; in sysfs_sd_setattr() 102 iattrs->ia_mode = sd->s_mode = mode; in sysfs_sd_setattr()
|
D | file.c | 645 newattrs.ia_mode = (mode & S_IALLUGO) | (sd->s_mode & ~S_IALLUGO); in sysfs_chmod_file()
|
/fs/nfsd/ |
D | vfs.c | 398 iap->ia_mode &= S_IALLUGO; in nfsd_setattr() 399 iap->ia_mode |= (inode->i_mode & ~S_IALLUGO); in nfsd_setattr() 409 iap->ia_mode &= ~S_ISUID; in nfsd_setattr() 410 if (iap->ia_mode & S_IXGRP) in nfsd_setattr() 411 iap->ia_mode &= ~S_ISGID; in nfsd_setattr() 1309 iap->ia_mode = 0; in nfsd_create() 1310 iap->ia_mode = (iap->ia_mode & S_IALLUGO) | type; in nfsd_create() 1326 host_err = vfs_create(dirp, dchild, iap->ia_mode, true); in nfsd_create() 1331 host_err = vfs_mkdir(dirp, dchild, iap->ia_mode); in nfsd_create() 1337 host_err = vfs_mknod(dirp, dchild, iap->ia_mode, rdev); in nfsd_create() [all …]
|
D | nfs3proc.c | 236 attr->ia_mode &= ~S_IFMT; in nfsd3_proc_create() 239 attr->ia_mode = S_IFREG; in nfsd3_proc_create() 241 attr->ia_mode = (attr->ia_mode & ~S_IFMT) | S_IFREG; in nfsd3_proc_create()
|
D | nfsproc.c | 248 type = attr->ia_mode & S_IFMT; in nfsd_proc_create() 249 mode = attr->ia_mode & ~S_IFMT; in nfsd_proc_create() 288 attr->ia_mode = mode; in nfsd_proc_create()
|
/fs/nfs/ |
D | nfs3proc.c | 320 umode_t mode = sattr->ia_mode; in nfs3_proc_create() 342 sattr->ia_mode &= ~current_umask(); in nfs3_proc_create() 575 umode_t mode = sattr->ia_mode; in nfs3_proc_mkdir() 580 sattr->ia_mode &= ~current_umask(); in nfs3_proc_mkdir() 694 umode_t mode = sattr->ia_mode; in nfs3_proc_mknod() 700 sattr->ia_mode &= ~current_umask(); in nfs3_proc_mknod() 713 switch (sattr->ia_mode & S_IFMT) { in nfs3_proc_mknod()
|
D | proc.c | 134 sattr->ia_mode &= S_IALLUGO; in nfs_proc_setattr() 269 mode = sattr->ia_mode; in nfs_proc_mknod() 271 sattr->ia_mode = (mode & ~S_IFMT) | S_IFCHR; in nfs_proc_mknod() 288 sattr->ia_mode = mode; in nfs_proc_mknod()
|
D | dir.c | 1416 attr.ia_mode = mode & ~current_umask(); in nfs_atomic_open() 1586 attr.ia_mode = mode; in nfs_create() 1614 attr.ia_mode = mode; in nfs_mknod() 1639 attr.ia_mode = mode | S_IFDIR; in nfs_mkdir() 1775 attr.ia_mode = S_IFLNK | S_IRWXUGO; in nfs_symlink()
|
/fs/coda/ |
D | coda_linux.c | 155 mode = iattr->ia_mode; in coda_iattr_to_vattr() 171 vattr->va_mode = iattr->ia_mode; in coda_iattr_to_vattr()
|
/fs/hostfs/ |
D | hostfs.h | 42 unsigned short ia_mode; member
|
D | hostfs_user.c | 206 if (fchmod(fd, attrs->ia_mode) != 0) in set_attr() 208 } else if (chmod(file, attrs->ia_mode) != 0) { in set_attr()
|
D | hostfs_kern.c | 807 attrs.ia_mode = attr->ia_mode; in hostfs_setattr()
|
/fs/ncpfs/ |
D | inode.c | 910 (attr->ia_mode & in ncp_notify_change() 920 umode_t newmode = attr->ia_mode; in ncp_notify_change() 949 attr->ia_mode, 0); in ncp_notify_change() 958 tmpattr.ia_mode = attr->ia_mode; in ncp_notify_change()
|
/fs/cifs/ |
D | inode.c | 2031 args->mode = attrs->ia_mode; 2190 mode = attrs->ia_mode; 2210 attrs->ia_mode = inode->i_mode & ~S_IWUGO; 2221 attrs->ia_mode &= ~(S_IALLUGO); 2223 attrs->ia_mode |= 2226 attrs->ia_mode |=
|
/fs/gfs2/ |
D | acl.c | 165 error = posix_acl_chmod(&acl, GFP_NOFS, attr->ia_mode); in gfs2_acl_chmod()
|
/fs/jffs2/ |
D | fs.c | 108 ri->mode = cpu_to_jemode(iattr->ia_mode); in jffs2_do_setattr() 384 iattr.ia_mode = inode->i_mode; in jffs2_dirty_inode()
|
D | acl.c | 255 attr.ia_mode = mode; in jffs2_set_acl()
|
/fs/xfs/ |
D | xfs_acl.c | 239 iattr.ia_mode = mode; in xfs_set_mode()
|
/fs/9p/ |
D | acl.c | 326 retval = posix_acl_update_mode(inode, &iattr.ia_mode, &acl); in v9fs_xattr_set_acl()
|
/fs/ocfs2/ |
D | ocfs2_trace.h | 1409 unsigned int ia_valid, unsigned int ia_mode, 1412 ia_valid, ia_mode, ia_uid, ia_gid), 1420 __field(unsigned int, ia_mode) 1431 __entry->ia_mode = ia_mode; 1437 __get_str(d_name), __entry->ia_valid, __entry->ia_mode,
|
/fs/ceph/ |
D | inode.c | 1638 attr->ia_mode); in ceph_setattr() 1640 inode->i_mode = attr->ia_mode; in ceph_setattr() 1643 attr->ia_mode != inode->i_mode) { in ceph_setattr() 1644 req->r_args.setattr.mode = cpu_to_le32(attr->ia_mode); in ceph_setattr()
|