Searched refs:ia_mode (Results 1 - 25 of 60) sorted by relevance

123

/linux-master/fs/
H A Dattr.c207 attr->ia_mode &= ~S_ISGID;
315 umode_t mode = attr->ia_mode;
413 if (is_sxid(attr->ia_mode))
451 attr->ia_mode = (inode->i_mode & ~S_ISUID);
458 attr->ia_mode = inode->i_mode;
460 attr->ia_mode &= ~S_ISGID;
/linux-master/fs/orangefs/
H A Dacl.c140 &iattr.ia_mode, &acl);
148 if (inode->i_mode != iattr.ia_mode)
H A Dinode.c772 if (iattr->ia_mode & (S_ISVTX)) {
779 iattr->ia_mode -= S_ISVTX;
787 if (iattr->ia_mode & (S_ISUID)) {
1154 .ia_mode = mode,
/linux-master/fs/configfs/
H A Dinode.c54 sd_iattr->ia_mode = sd->s_mode;
78 umode_t mode = iattr->ia_mode;
82 sd_iattr->ia_mode = sd->s_mode = mode;
96 inode->i_mode = iattr->ia_mode;
/linux-master/fs/hostfs/
H A Dhostfs.h37 * is on, and remove the appropriate bits from attr->ia_mode (attr is a
47 unsigned short ia_mode; member in struct:hostfs_iattr
H A Dhostfs_user.c203 if (fchmod(fd, attrs->ia_mode) != 0)
205 } else if (chmod(file, attrs->ia_mode) != 0) {
/linux-master/fs/adfs/
H A Dinode.c136 umode_t ia_mode)
151 mode = ia_mode & asb->s_owner_mask;
157 mode = ia_mode & asb->s_other_mask;
342 ADFS_I(inode)->attr = adfs_mode2atts(sb, inode, attr->ia_mode);
135 adfs_mode2atts(struct super_block *sb, struct inode *inode, umode_t ia_mode) argument
/linux-master/fs/coda/
H A Dcoda_linux.c171 mode = iattr->ia_mode;
187 vattr->va_mode = iattr->ia_mode;
/linux-master/fs/ceph/
H A Dacl.c143 newattrs.ia_mode = new_mode;
154 newattrs.ia_mode = old_mode;
/linux-master/fs/fat/
H A Dfile.c69 ia.ia_mode = fat_make_mode(sbi, attr, S_IRWXUGO);
71 ia.ia_mode = fat_make_mode(sbi, attr,
428 * (attr->ia_mode & ~FAT_VALID_MODE)
527 (attr->ia_mode & ~FAT_VALID_MODE)))
541 if (fat_sanitize_mode(sbi, inode, &attr->ia_mode) < 0)
/linux-master/fs/exfat/
H A Dfile.c330 (attr->ia_mode & ~(S_IFREG | S_IFLNK | S_IFDIR | 0777)))) {
340 if (exfat_sanitize_mode(sbi, inode, &attr->ia_mode) < 0)
416 ia.ia_mode = exfat_make_mode(sbi, attr, 0777);
418 ia.ia_mode = exfat_make_mode(sbi, attr, 0666 | (inode->i_mode & 0111));
/linux-master/fs/hfs/
H A Dinode.c629 (attr->ia_mode != inode->i_mode)) ||
630 (attr->ia_mode & ~HFS_VALID_MODE_BITS)))) {
636 if (attr->ia_mode & S_IWUSR)
637 attr->ia_mode = inode->i_mode | S_IWUGO;
639 attr->ia_mode = inode->i_mode & ~S_IWUGO;
640 attr->ia_mode &= S_ISDIR(inode->i_mode) ? ~hsb->s_dir_umask: ~hsb->s_file_umask;
/linux-master/fs/nfsd/
H A Dvfs.c393 iap->ia_mode &= S_IALLUGO;
394 iap->ia_mode |= (inode->i_mode & ~S_IALLUGO);
403 iap->ia_mode &= ~S_ISUID;
404 if (iap->ia_mode & S_IXGRP)
405 iap->ia_mode &= ~S_ISGID;
1483 iap->ia_mode = 0;
1484 iap->ia_mode = (iap->ia_mode & S_IALLUGO) | type;
1487 iap->ia_mode &= ~current_umask();
1493 iap->ia_mode, tru
[all...]
H A Dnfsproc.c313 type = attr->ia_mode & S_IFMT;
314 mode = attr->ia_mode & ~S_IFMT;
353 attr->ia_mode = mode;
H A Dnfs3proc.c242 iap->ia_mode = 0;
311 iap->ia_mode &= ~current_umask();
316 host_err = vfs_create(&nop_mnt_idmap, inode, child, iap->ia_mode, true);
/linux-master/drivers/base/
H A Ddevtmpfs.c224 newattrs.ia_mode = mode;
333 newattrs.ia_mode = stat.mode & ~0777;
/linux-master/fs/jffs2/
H A Dacl.c252 attr.ia_mode = mode;
/linux-master/security/integrity/evm/
H A Devm_secfs.c227 newattrs.ia_mode = S_IFREG | 0440;
/linux-master/fs/udf/
H A Dfile.c241 udf_update_extra_perms(inode, attr->ia_mode);
/linux-master/fs/nfs/
H A Dproc.c141 /* Mask out the non-modebit related stuff from attr->ia_mode */
142 sattr->ia_mode &= S_IALLUGO;
282 mode = sattr->ia_mode;
284 sattr->ia_mode = (mode & ~S_IFMT) | S_IFCHR;
301 sattr->ia_mode = mode;
H A Dnfs3proc.c365 status = posix_acl_create(dir, &sattr->ia_mode, &default_acl, &acl);
596 status = posix_acl_create(dir, &sattr->ia_mode, &default_acl, &acl);
728 status = posix_acl_create(dir, &sattr->ia_mode, &default_acl, &acl);
739 switch (sattr->ia_mode & S_IFMT) {
/linux-master/fs/vboxsf/
H A Dutils.c283 #define mode_set(r) ((iattr->ia_mode & (S_##r)) ? SHFL_UNIX_##r : 0)
301 if (iattr->ia_mode & S_IFDIR)
/linux-master/fs/9p/
H A Dacl.c210 &iattr.ia_mode,
/linux-master/fs/ocfs2/
H A Docfs2_trace.h1408 unsigned int ia_valid, unsigned int ia_mode,
1411 ia_valid, ia_mode, ia_uid, ia_gid),
1419 __field(unsigned int, ia_mode)
1430 __entry->ia_mode = ia_mode;
1436 __get_str(d_name), __entry->ia_valid, __entry->ia_mode,
/linux-master/fs/kernfs/
H A Dinode.c88 kn->mode = iattr->ia_mode;

Completed in 444 milliseconds

123