Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/linux/
Dlinux-obdo.c78 dst->o_mode = (dst->o_mode & S_IALLUGO) | in obdo_from_la()
84 (la->la_mode & S_IALLUGO); in obdo_from_la()
127 dst->la_mode = (dst->la_mode & S_IALLUGO) | in la_from_obdo()
133 (obdo->o_mode & S_IALLUGO); in la_from_obdo()
/linux-4.1.27/security/tomoyo/
Dtomoyo.c192 mode & S_IALLUGO); in tomoyo_path_mkdir()
240 const unsigned int perm = mode & S_IALLUGO; in tomoyo_path_mknod()
363 mode & S_IALLUGO); in tomoyo_path_chmod()
Daudit.c200 stat->mode & S_IALLUGO); in tomoyo_print_header()
210 mode & S_IALLUGO, tomoyo_filetype(mode)); in tomoyo_print_header()
Dcondition.c1011 value = stat->mode & S_IALLUGO; in tomoyo_condition()
/linux-4.1.27/include/linux/
Dstat.h9 #define S_IALLUGO (S_ISUID|S_ISGID|S_ISVTX|S_IRWXUGO) macro
/linux-4.1.27/fs/9p/
Dacl.c340 iattr.ia_mode = ((mode & S_IALLUGO) | in v9fs_xattr_set_acl()
341 (inode->i_mode & ~S_IALLUGO)); in v9fs_xattr_set_acl()
Dvfs_inode_dotl.c629 mode = stat->st_mode & S_IALLUGO; in v9fs_stat2inode_dotl()
630 mode |= inode->i_mode & ~S_IALLUGO; in v9fs_stat2inode_dotl()
Dvfs_inode.c104 res = mode & S_IALLUGO; in p9mode2perm()
1196 mode |= inode->i_mode & ~S_IALLUGO; in v9fs_stat2inode()
/linux-4.1.27/security/
Dinode.c93 mode = (mode & S_IALLUGO) | S_IFREG; in securityfs_create_file()
/linux-4.1.27/fs/sysfs/
Dfile.c390 newattrs.ia_mode = (mode & S_IALLUGO) | (kn->mode & ~S_IALLUGO); in sysfs_chmod_file()
/linux-4.1.27/fs/nfs/
Dinode.c603 int mode = attr->ia_mode & S_IALLUGO; in nfs_setattr_update_inode()
604 mode |= inode->i_mode & ~S_IALLUGO; in nfs_setattr_update_inode()
1252 … ((fattr->valid & NFS_ATTR_FATTR_MODE) && (inode->i_mode & S_IALLUGO) != (fattr->mode & S_IALLUGO)) in nfs_check_inode_attributes()
1752 if ((inode->i_mode & S_IALLUGO) != (fattr->mode & S_IALLUGO)) { in nfs_update_inode()
1754 newmode |= fattr->mode & S_IALLUGO; in nfs_update_inode()
Dproc.c134 sattr->ia_mode &= S_IALLUGO; in nfs_proc_setattr()
Dnfs3xdr.c589 *p++ = cpu_to_be32(attr->ia_mode & S_IALLUGO); in encode_sattr3()
Dnfs4xdr.c1090 *p++ = cpu_to_be32(iap->ia_mode & S_IALLUGO); in encode_attrs()
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
Dobdo.c93 dst->o_mode = (dst->o_mode & S_IALLUGO) | in obdo_from_inode()
99 (src->i_mode & S_IALLUGO); in obdo_from_inode()
/linux-4.1.27/fs/tracefs/
Dinode.c201 opts->mode = option & S_IALLUGO; in tracefs_parse_options()
219 inode->i_mode &= ~S_IALLUGO; in tracefs_apply_options()
/linux-4.1.27/fs/debugfs/
Dinode.c112 opts->mode = option & S_IALLUGO; in debugfs_parse_options()
130 inode->i_mode &= ~S_IALLUGO; in debugfs_apply_options()
/linux-4.1.27/fs/ramfs/
Dinode.c193 opts->mode = option & S_IALLUGO; in ramfs_parse_options()
/linux-4.1.27/fs/devpts/
Dinode.c209 opts->mode = option & S_IALLUGO; in parse_mount_options()
215 opts->ptmxmode = option & S_IALLUGO; in parse_mount_options()
/linux-4.1.27/fs/configfs/
Dfile.c326 umode_t mode = (attr->ca_mode & S_IALLUGO) | S_IFREG; in configfs_create_file()
Ddir.c425 error = configfs_create(dentry, (attr->ca_mode & S_IALLUGO) | S_IFREG, in configfs_attach_attr()
/linux-4.1.27/fs/
Dopen.c515 newattrs.ia_mode = (mode & S_IALLUGO) | (inode->i_mode & ~S_IALLUGO); in chmod_common()
885 op->mode = (mode & S_IALLUGO) | S_IFREG; in build_open_flags()
Dnamei.c2592 mode &= S_IALLUGO; in vfs_create()
/linux-4.1.27/fs/afs/
Dfsclient.c86 status->mode &= S_IALLUGO; in xdr_decode_AFSFetchStatus()
102 mode &= ~S_IALLUGO; in xdr_decode_AFSFetchStatus()
200 mode = attr->ia_mode & S_IALLUGO; in xdr_encode_AFS_StoreStatus()
710 *bp++ = htonl(mode & S_IALLUGO); /* unix mode */ in afs_fs_create()
/linux-4.1.27/fs/ncpfs/
Dinode.c344 tmp = server->m.file_mode & S_IALLUGO; in ncp_show_options()
347 tmp = server->m.dir_mode & S_IALLUGO; in ncp_show_options()
/linux-4.1.27/fs/nfsd/
Dvfs.c343 iap->ia_mode &= S_IALLUGO; in nfsd_sanitize_attrs()
344 iap->ia_mode |= (inode->i_mode & ~S_IALLUGO); in nfsd_sanitize_attrs()
1261 iap->ia_mode = (iap->ia_mode & S_IALLUGO) | type; in nfsd_create()
Dnfs3xdr.c168 *p++ = htonl((u32) (stat->mode & S_IALLUGO)); in encode_fattr3()
Dnfs4xdr.c350 iattr->ia_mode &= (S_IFMT | S_IALLUGO); in nfsd4_decode_fattr()
2617 *p++ = cpu_to_be32(stat.mode & S_IALLUGO); in nfsd4_encode_fattr()
/linux-4.1.27/fs/proc/
Dgeneric.c497 if ((mode & S_IALLUGO) == 0) in proc_create_data()
/linux-4.1.27/fs/kernfs/
Dfile.c922 kn = kernfs_new_node(parent, name, (mode & S_IALLUGO) | S_IFREG, flags); in __kernfs_create_file()
/linux-4.1.27/fs/hfsplus/
Dinode.c198 mode = mode ? (mode & S_IALLUGO) : (S_IRWXUGO & ~(sbi->umask)); in hfsplus_get_perms()
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
Dnamei.c618 it->it_create_mode = (mode & S_IALLUGO) | S_IFREG; in ll_atomic_open()
/linux-4.1.27/fs/cifs/
Dconnect.c1396 (S_IALLUGO & ~(S_ISUID | S_IXGRP))) in cifs_parse_mount_options()
1397 vol->file_mode = S_IALLUGO; in cifs_parse_mount_options()
Dinode.c2351 attrs->ia_mode &= ~(S_IALLUGO);