/openbmc/linux/fs/ |
H A D | attr.c | 209 attr->ia_mode &= ~S_ISGID; in setattr_prepare() 317 umode_t mode = attr->ia_mode; in setattr_copy() 415 if (is_sxid(attr->ia_mode)) in notify_change() 453 attr->ia_mode = (inode->i_mode & ~S_ISUID); in notify_change() 460 attr->ia_mode = inode->i_mode; in notify_change() 462 attr->ia_mode &= ~S_ISGID; in notify_change()
|
/openbmc/linux/fs/configfs/ |
H A D | inode.c | 54 sd_iattr->ia_mode = sd->s_mode; in configfs_setattr() 78 umode_t mode = iattr->ia_mode; in configfs_setattr() 82 sd_iattr->ia_mode = sd->s_mode = mode; in configfs_setattr() 96 inode->i_mode = iattr->ia_mode; in set_inode_attr()
|
/openbmc/linux/fs/adfs/ |
H A D | inode.c | 133 umode_t ia_mode) in adfs_mode2atts() argument 148 mode = ia_mode & asb->s_owner_mask; in adfs_mode2atts() 154 mode = ia_mode & asb->s_other_mask; in adfs_mode2atts() 336 ADFS_I(inode)->attr = adfs_mode2atts(sb, inode, attr->ia_mode); in adfs_notify_change()
|
/openbmc/linux/fs/orangefs/ |
H A D | acl.c | 140 &iattr.ia_mode, &acl); in orangefs_set_acl() 148 if (inode->i_mode != iattr.ia_mode) in orangefs_set_acl()
|
H A D | inode.c | 772 if (iattr->ia_mode & (S_ISVTX)) { in __orangefs_setattr() 779 iattr->ia_mode -= S_ISVTX; in __orangefs_setattr() 787 if (iattr->ia_mode & (S_ISUID)) { in __orangefs_setattr() 1154 .ia_mode = mode, in orangefs_new_inode()
|
/openbmc/u-boot/fs/yaffs2/ |
H A D | yaffs_attribs.c | 106 obj->yst_mode = attr->ia_mode; in yaffs_set_attribs() 132 attr->ia_mode = obj->yst_mode; in yaffs_get_attribs()
|
H A D | yportenv.h | 59 unsigned ia_mode; member
|
/openbmc/linux/fs/coda/ |
H A D | coda_linux.c | 169 mode = iattr->ia_mode; in coda_iattr_to_vattr() 185 vattr->va_mode = iattr->ia_mode; in coda_iattr_to_vattr()
|
/openbmc/linux/fs/hfs/ |
H A D | inode.c | 636 (attr->ia_mode != inode->i_mode)) || in hfs_inode_setattr() 637 (attr->ia_mode & ~HFS_VALID_MODE_BITS)))) { in hfs_inode_setattr() 643 if (attr->ia_mode & S_IWUSR) in hfs_inode_setattr() 644 attr->ia_mode = inode->i_mode | S_IWUGO; in hfs_inode_setattr() 646 attr->ia_mode = inode->i_mode & ~S_IWUGO; in hfs_inode_setattr() 647 attr->ia_mode &= S_ISDIR(inode->i_mode) ? ~hsb->s_dir_umask: ~hsb->s_file_umask; in hfs_inode_setattr()
|
/openbmc/linux/fs/fat/ |
H A D | file.c | 69 ia.ia_mode = fat_make_mode(sbi, attr, S_IRWXUGO); in fat_ioctl_set_attributes() 71 ia.ia_mode = fat_make_mode(sbi, attr, in fat_ioctl_set_attributes() 527 (attr->ia_mode & ~FAT_VALID_MODE))) in fat_setattr() 541 if (fat_sanitize_mode(sbi, inode, &attr->ia_mode) < 0) in fat_setattr()
|
/openbmc/linux/fs/ceph/ |
H A D | acl.c | 141 newattrs.ia_mode = new_mode; in ceph_set_acl() 152 newattrs.ia_mode = old_mode; in ceph_set_acl()
|
/openbmc/linux/fs/nfsd/ |
H A D | vfs.c | 377 iap->ia_mode &= S_IALLUGO; in nfsd_sanitize_attrs() 378 iap->ia_mode |= (inode->i_mode & ~S_IALLUGO); in nfsd_sanitize_attrs() 387 iap->ia_mode &= ~S_ISUID; in nfsd_sanitize_attrs() 388 if (iap->ia_mode & S_IXGRP) in nfsd_sanitize_attrs() 389 iap->ia_mode &= ~S_ISGID; in nfsd_sanitize_attrs() 1429 iap->ia_mode = 0; in nfsd_create_locked() 1430 iap->ia_mode = (iap->ia_mode & S_IALLUGO) | type; in nfsd_create_locked() 1433 iap->ia_mode &= ~current_umask(); in nfsd_create_locked() 1439 iap->ia_mode, true); in nfsd_create_locked() 1444 host_err = vfs_mkdir(&nop_mnt_idmap, dirp, dchild, iap->ia_mode); in nfsd_create_locked() [all …]
|
H A D | nfsproc.c | 313 type = attr->ia_mode & S_IFMT; in nfsd_proc_create() 314 mode = attr->ia_mode & ~S_IFMT; in nfsd_proc_create() 353 attr->ia_mode = mode; in nfsd_proc_create()
|
/openbmc/linux/fs/hostfs/ |
H A D | hostfs.h | 47 unsigned short ia_mode; member
|
H A D | hostfs_user.c | 204 if (fchmod(fd, attrs->ia_mode) != 0) in set_attr() 206 } else if (chmod(file, attrs->ia_mode) != 0) { in set_attr()
|
/openbmc/linux/fs/nfs/ |
H A D | proc.c | 142 sattr->ia_mode &= S_IALLUGO; in nfs_proc_setattr() 282 mode = sattr->ia_mode; in nfs_proc_mknod() 284 sattr->ia_mode = (mode & ~S_IFMT) | S_IFCHR; in nfs_proc_mknod() 301 sattr->ia_mode = mode; in nfs_proc_mknod()
|
H A D | nfs3proc.c | 365 status = posix_acl_create(dir, &sattr->ia_mode, &default_acl, &acl); in nfs3_proc_create() 595 status = posix_acl_create(dir, &sattr->ia_mode, &default_acl, &acl); in nfs3_proc_mkdir() 727 status = posix_acl_create(dir, &sattr->ia_mode, &default_acl, &acl); in nfs3_proc_mknod() 738 switch (sattr->ia_mode & S_IFMT) { in nfs3_proc_mknod()
|
/openbmc/linux/fs/exfat/ |
H A D | file.c | 278 (attr->ia_mode & ~(S_IFREG | S_IFLNK | S_IFDIR | 0777)))) { in exfat_setattr() 288 if (exfat_sanitize_mode(sbi, inode, &attr->ia_mode) < 0) in exfat_setattr()
|
/openbmc/linux/drivers/base/ |
H A D | devtmpfs.c | 224 newattrs.ia_mode = mode; in handle_create() 333 newattrs.ia_mode = stat.mode & ~0777; in handle_remove()
|
/openbmc/linux/fs/vboxsf/ |
H A D | utils.c | 282 #define mode_set(r) ((iattr->ia_mode & (S_##r)) ? SHFL_UNIX_##r : 0) in vboxsf_setattr() 300 if (iattr->ia_mode & S_IFDIR) in vboxsf_setattr()
|
/openbmc/linux/security/integrity/evm/ |
H A D | evm_secfs.c | 227 newattrs.ia_mode = S_IFREG | 0440; in evm_write_xattrs()
|
/openbmc/linux/fs/udf/ |
H A D | file.c | 243 udf_update_extra_perms(inode, attr->ia_mode); in udf_setattr()
|
/openbmc/linux/arch/x86/kernel/cpu/resctrl/ |
H A D | rdtgroup.c | 1940 iattr.ia_mode = S_IFDIR; in rdtgroup_kn_mode_restrict() 1943 iattr.ia_mode = S_IFREG; in rdtgroup_kn_mode_restrict() 1946 iattr.ia_mode = S_IFLNK; in rdtgroup_kn_mode_restrict() 1979 iattr.ia_mode = rft->mode & mask; in rdtgroup_kn_mode_restore() 1990 iattr.ia_mode |= parent->mode; in rdtgroup_kn_mode_restore() 1993 iattr.ia_mode |= S_IFDIR; in rdtgroup_kn_mode_restore() 1996 iattr.ia_mode |= S_IFREG; in rdtgroup_kn_mode_restore() 1999 iattr.ia_mode |= S_IFLNK; in rdtgroup_kn_mode_restore()
|
/openbmc/linux/fs/jffs2/ |
H A D | acl.c | 252 attr.ia_mode = mode; in jffs2_set_acl()
|
/openbmc/linux/fs/smb/client/ |
H A D | inode.c | 2922 args->mode = attrs->ia_mode; 3103 mode = attrs->ia_mode; 3119 if (mode != attrs->ia_mode) 3120 attrs->ia_mode = mode; 3129 attrs->ia_mode = inode->i_mode & ~S_IWUGO; 3140 attrs->ia_mode &= ~(S_IALLUGO); 3142 attrs->ia_mode |= 3145 attrs->ia_mode |=
|