Home
last modified time | relevance | path

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

/linux-4.19.296/include/linux/
Dstat.h10 #define S_IALLUGO (S_ISUID|S_ISGID|S_ISVTX|S_IRWXUGO) macro
/linux-4.19.296/fs/9p/
Dvfs_inode_dotl.c632 mode = stat->st_mode & S_IALLUGO; in v9fs_stat2inode_dotl()
633 mode |= inode->i_mode & ~S_IALLUGO; in v9fs_stat2inode_dotl()
659 mode = stat->st_mode & S_IALLUGO; in v9fs_stat2inode_dotl()
660 mode |= inode->i_mode & ~S_IALLUGO; in v9fs_stat2inode_dotl()
Dvfs_inode.c104 res = mode & S_IALLUGO; in p9mode2perm()
1218 mode |= inode->i_mode & ~S_IALLUGO; in v9fs_stat2inode()
/linux-4.19.296/fs/configfs/
Dfile.c537 umode_t mode = (attr->ca_mode & S_IALLUGO) | S_IFREG; in configfs_create_file()
559 umode_t mode = (bin_attr->cb_attr.ca_mode & S_IALLUGO) | S_IFREG; in configfs_create_bin_file()
Ddir.c468 error = configfs_create(dentry, (attr->ca_mode & S_IALLUGO) | S_IFREG, in configfs_attach_attr()
/linux-4.19.296/fs/sysfs/
Dfile.c403 newattrs.ia_mode = (mode & S_IALLUGO) | (kn->mode & ~S_IALLUGO); in sysfs_chmod_file()
/linux-4.19.296/fs/devpts/
Dinode.c301 opts->mode = option & S_IALLUGO; in parse_mount_options()
306 opts->ptmxmode = option & S_IALLUGO; in parse_mount_options()
/linux-4.19.296/fs/nfs/
Dinode.c688 int mode = attr->ia_mode & S_IALLUGO; in nfs_setattr_update_inode()
689 mode |= inode->i_mode & ~S_IALLUGO; in nfs_setattr_update_inode()
1438 … ((fattr->valid & NFS_ATTR_FATTR_MODE) && (inode->i_mode & S_IALLUGO) != (fattr->mode & S_IALLUGO)) in nfs_check_inode_attributes()
1952 if ((inode->i_mode & S_IALLUGO) != (fattr->mode & S_IALLUGO)) { in nfs_update_inode()
1954 newmode |= fattr->mode & S_IALLUGO; in nfs_update_inode()
Dproc.c136 sattr->ia_mode &= S_IALLUGO; in nfs_proc_setattr()
Dnfs3xdr.c592 *p++ = cpu_to_be32(attr->ia_mode & S_IALLUGO); in encode_sattr3()
Dnfs4xdr.c1153 *p++ = cpu_to_be32(iap->ia_mode & S_IALLUGO); in encode_attrs()
1181 *p++ = cpu_to_be32(iap->ia_mode & S_IALLUGO); in encode_attrs()
/linux-4.19.296/fs/tracefs/
Dinode.c275 opts->mode = option & S_IALLUGO; in tracefs_parse_options()
301 inode->i_mode &= ~S_IALLUGO; in tracefs_apply_options()
/linux-4.19.296/fs/ramfs/
Dinode.c206 opts->mode = option & S_IALLUGO; in ramfs_parse_options()
/linux-4.19.296/fs/debugfs/
Dinode.c106 opts->mode = option & S_IALLUGO; in debugfs_parse_options()
124 inode->i_mode &= ~S_IALLUGO; in debugfs_apply_options()
/linux-4.19.296/fs/
Dopen.c558 newattrs.ia_mode = (mode & S_IALLUGO) | (inode->i_mode & ~S_IALLUGO); in chmod_common()
958 op->mode = (mode & S_IALLUGO) | S_IFREG; in build_open_flags()
Dnamei.c2928 mode &= S_IALLUGO; in vfs_create()
2949 mode &= S_IALLUGO; in vfs_mkobj()
/linux-4.19.296/fs/nfsd/
Dvfs.c332 iap->ia_mode &= S_IALLUGO; in nfsd_sanitize_attrs()
333 iap->ia_mode |= (inode->i_mode & ~S_IALLUGO); in nfsd_sanitize_attrs()
1207 iap->ia_mode = (iap->ia_mode & S_IALLUGO) | type; in nfsd_create_locked()
Dnfs3xdr.c170 *p++ = htonl((u32) (stat->mode & S_IALLUGO)); in encode_fattr3()
Dnfs4xdr.c393 iattr->ia_mode &= (S_IFMT | S_IALLUGO); in nfsd4_decode_fattr()
487 iattr->ia_mode = dummy32 & (S_IFMT | S_IALLUGO); in nfsd4_decode_fattr()
2755 *p++ = cpu_to_be32(stat.mode & S_IALLUGO); in nfsd4_encode_fattr()
/linux-4.19.296/fs/hfsplus/
Dinode.c198 mode = mode ? (mode & S_IALLUGO) : (S_IRWXUGO & ~(sbi->umask)); in hfsplus_get_perms()
/linux-4.19.296/fs/proc/
Dgeneric.c545 if ((mode & S_IALLUGO) == 0) in proc_create_reg()
/linux-4.19.296/fs/afs/
Dfsclient.c90 mode &= ~S_IALLUGO; in afs_update_inode_from_status()
350 mode = attr->ia_mode & S_IALLUGO; in xdr_encode_AFS_StoreStatus()
817 *bp++ = htonl(mode & S_IALLUGO); /* unix mode */ in afs_fs_create()
/linux-4.19.296/fs/kernfs/
Dfile.c992 kn = kernfs_new_node(parent, name, (mode & S_IALLUGO) | S_IFREG, in __kernfs_create_file()
/linux-4.19.296/fs/cifs/
Dconnect.c1642 (S_IALLUGO & ~(S_ISUID | S_IXGRP))) in cifs_parse_mount_options()
1643 vol->file_mode = S_IALLUGO; in cifs_parse_mount_options()
Dinode.c2501 attrs->ia_mode &= ~(S_IALLUGO);