Searched refs:S_IALLUGO (Results 1 – 25 of 25) sorted by relevance
10 #define S_IALLUGO (S_ISUID|S_ISGID|S_ISVTX|S_IRWXUGO) macro
632 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()
104 res = mode & S_IALLUGO; in p9mode2perm()1218 mode |= inode->i_mode & ~S_IALLUGO; in v9fs_stat2inode()
537 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()
468 error = configfs_create(dentry, (attr->ca_mode & S_IALLUGO) | S_IFREG, in configfs_attach_attr()
403 newattrs.ia_mode = (mode & S_IALLUGO) | (kn->mode & ~S_IALLUGO); in sysfs_chmod_file()
301 opts->mode = option & S_IALLUGO; in parse_mount_options()306 opts->ptmxmode = option & S_IALLUGO; in parse_mount_options()
688 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()
136 sattr->ia_mode &= S_IALLUGO; in nfs_proc_setattr()
592 *p++ = cpu_to_be32(attr->ia_mode & S_IALLUGO); in encode_sattr3()
1153 *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()
275 opts->mode = option & S_IALLUGO; in tracefs_parse_options()301 inode->i_mode &= ~S_IALLUGO; in tracefs_apply_options()
206 opts->mode = option & S_IALLUGO; in ramfs_parse_options()
106 opts->mode = option & S_IALLUGO; in debugfs_parse_options()124 inode->i_mode &= ~S_IALLUGO; in debugfs_apply_options()
558 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()
2928 mode &= S_IALLUGO; in vfs_create()2949 mode &= S_IALLUGO; in vfs_mkobj()
332 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()
170 *p++ = htonl((u32) (stat->mode & S_IALLUGO)); in encode_fattr3()
393 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()
198 mode = mode ? (mode & S_IALLUGO) : (S_IRWXUGO & ~(sbi->umask)); in hfsplus_get_perms()
545 if ((mode & S_IALLUGO) == 0) in proc_create_reg()
90 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()
992 kn = kernfs_new_node(parent, name, (mode & S_IALLUGO) | S_IFREG, in __kernfs_create_file()
1642 (S_IALLUGO & ~(S_ISUID | S_IXGRP))) in cifs_parse_mount_options()1643 vol->file_mode = S_IALLUGO; in cifs_parse_mount_options()
2501 attrs->ia_mode &= ~(S_IALLUGO);