| /linux/tools/perf/trace/beauty/ |
| H A D | mode_t.c | 10 #ifndef S_IALLUGO 11 #define S_IALLUGO (S_ISUID|S_ISGID|S_ISVTX|S_IRWXUGO) macro
|
| /linux/security/tomoyo/ |
| H A D | tomoyo.c | 180 mode & S_IALLUGO); in tomoyo_path_mkdir() 230 const unsigned int perm = mode & S_IALLUGO; in tomoyo_path_mknod() 364 mode & S_IALLUGO); in tomoyo_path_chmod()
|
| H A D | audit.c | 202 stat->ino, stat->mode & S_IALLUGO); in tomoyo_print_header() 211 mode & S_IALLUGO, tomoyo_filetype(mode)); in tomoyo_print_header()
|
| H A D | condition.c | 1037 value = stat->mode & S_IALLUGO; in tomoyo_condition()
|
| /linux/fs/9p/ |
| H A D | vfs_inode_dotl.c | 633 mode = stat->st_mode & S_IALLUGO; in v9fs_stat2inode_dotl() 634 mode |= inode->i_mode & ~S_IALLUGO; in v9fs_stat2inode_dotl() 663 mode = stat->st_mode & S_IALLUGO; in v9fs_stat2inode_dotl() 664 mode |= inode->i_mode & ~S_IALLUGO; in v9fs_stat2inode_dotl()
|
| H A D | vfs_inode.c | 1147 mode |= inode->i_mode & ~S_IALLUGO; in v9fs_stat2inode()
|
| /linux/kernel/bpf/ |
| H A D | inode.c | 420 if ((dir->i_mode & S_IALLUGO) && in bpf_iter_link_pin_kernel() 781 umode_t mode = inode->i_mode & S_IALLUGO & ~S_ISVTX; 1049 opts->mode = result.uint_32 & S_IALLUGO; in bpf_init_fs_context() 1220 inode->i_mode &= ~S_IALLUGO;
|
| /linux/fs/afs/ |
| H A D | inode.c | 98 inode->i_mode = S_IFREG | (status->mode & S_IALLUGO); in afs_inode_init_from_status() 105 inode->i_mode = S_IFDIR | (status->mode & S_IALLUGO); in afs_inode_init_from_status() 202 mode &= ~S_IALLUGO; in afs_apply_status() 203 mode |= status->mode & S_IALLUGO; in afs_apply_status()
|
| H A D | fsclient.c | 105 status->mode = ntohl(xdr->mode) & S_IALLUGO; in xdr_decode_AFSFetchStatus() 198 mode = attr->ia_mode & S_IALLUGO; in xdr_encode_AFS_StoreStatus() 570 *bp++ = htonl(op->create.mode & S_IALLUGO); /* unix mode */ in afs_fs_create_file() 624 *bp++ = htonl(op->create.mode & S_IALLUGO); /* unix mode */ in afs_fs_make_dir()
|
| H A D | yfsclient.c | 90 mode_t masked_mode = mode ? *mode & S_IALLUGO : 0; in xdr_encode_YFSStoreStatus() 205 status->mode = ntohl(xdr->mode) & S_IALLUGO; in xdr_decode_YFSFetchStatus() 289 mode = attr->ia_mode & S_IALLUGO; in xdr_encode_YFS_StoreStatus()
|
| /linux/fs/devpts/ |
| H A D | inode.c | 242 opts->mode = result.uint_32 & S_IALLUGO; in devpts_parse_param() 245 opts->ptmxmode = result.uint_32 & S_IALLUGO; in devpts_parse_param()
|
| /linux/fs/configfs/ |
| H A D | file.c | 450 umode_t mode = (attr->ca_mode & S_IALLUGO) | S_IFREG; in configfs_create_file() 472 umode_t mode = (bin_attr->cb_attr.ca_mode & S_IALLUGO) | S_IFREG; in configfs_create_bin_file()
|
| H A D | dir.c | 465 umode_t mode = (attr->ca_mode & S_IALLUGO) | S_IFREG; in configfs_lookup()
|
| /linux/security/ |
| H A D | inode.c | 120 mode = (mode & S_IALLUGO) | S_IFREG; in securityfs_create_dentry()
|
| /linux/fs/nfs/ |
| H A D | inode.c | 865 int mode = attr->ia_mode & S_IALLUGO; in nfs_setattr_update_inode() 866 mode |= inode->i_mode & ~S_IALLUGO; in nfs_setattr_update_inode() 1723 if ((fattr->valid & NFS_ATTR_FATTR_MODE) && (inode->i_mode & S_IALLUGO) != (fattr->mode & S_IALLUGO)) in nfs_check_inode_attributes() 2437 if ((inode->i_mode & S_IALLUGO) != (fattr->mode & S_IALLUGO)) { in nfs_update_inode() 2439 newmode |= fattr->mode & S_IALLUGO; in nfs_update_inode()
|
| H A D | nfs3xdr.c | 562 *p++ = cpu_to_be32(attr->ia_mode & S_IALLUGO); in encode_sattr3()
|
| /linux/fs/debugfs/ |
| H A D | inode.c | 129 opts->mode = result.uint_32 & S_IALLUGO; in debugfs_parse_param() 159 inode->i_mode &= ~S_IALLUGO; in _debugfs_apply_options()
|
| /linux/fs/sysfs/ |
| H A D | file.c | 446 newattrs.ia_mode = (mode & S_IALLUGO) | (kn->mode & ~S_IALLUGO); in sysfs_chmod_file()
|
| /linux/fs/tracefs/ |
| H A D | inode.c | 297 opts->mode = result.uint_32 & S_IALLUGO; in tracefs_parse_param() 325 tmp_mode = READ_ONCE(inode->i_mode) & ~S_IALLUGO; in tracefs_apply_options()
|
| /linux/fs/ramfs/ |
| H A D | inode.c | 253 fsi->mount_opts.mode = result.uint_32 & S_IALLUGO; in ramfs_parse_param()
|
| /linux/arch/powerpc/platforms/cell/spufs/ |
| H A D | inode.c | 589 if ((inode->i_mode & S_IALLUGO) != 0775) in spufs_show_options() 623 ctx->mode = result.uint_32 & S_IALLUGO; in spufs_parse_param()
|
| /linux/fs/smb/client/ |
| H A D | fs_context.c | 1795 (S_IALLUGO & ~(S_ISUID | S_IXGRP))) in smb3_fs_context_parse_param() 1796 ctx->file_mode = S_IALLUGO; in smb3_fs_context_parse_param()
|
| /linux/fs/kernfs/ |
| H A D | file.c | 1050 kn = kernfs_new_node(parent, name, (mode & S_IALLUGO) | S_IFREG, in __kernfs_create_file()
|
| /linux/fs/ |
| H A D | namei.c | 4195 mode = vfs_prepare_mode(idmap, dir, mode, S_IALLUGO, S_IFREG); in vfs_create() 4218 mode &= S_IALLUGO; in vfs_mkobj() 5042 mode = vfs_prepare_mode(idmap, dir_inode, mode, S_IALLUGO, S_IFREG); in dentry_create()
|
| /linux/fs/nfsd/ |
| H A D | nfs4xdr.c | 528 iattr->ia_mode &= (S_IFMT | S_IALLUGO); in nfsd4_decode_fattr4() 620 iattr->ia_mode = mode & (S_IFMT | S_IALLUGO); in nfsd4_decode_fattr4() 3460 return nfsd4_encode_mode4(xdr, args->stat.mode & S_IALLUGO); in nfsd4_encode_fattr4_space_avail()
|