/fs/hpfs/ |
D | super.c | 313 static int parse_opts(char *opts, kuid_t *uid, kgid_t *gid, umode_t *umask, in parse_opts() argument 352 *umask = option; in parse_opts() 446 umode_t umask; in hpfs_remount_fs() local 457 umask = 0777 & ~sbi->sb_mode; in hpfs_remount_fs() 462 if (!(o = parse_opts(data, &uid, &gid, &umask, &lowercase, in hpfs_remount_fs() 479 sbi->sb_mode = 0777 & ~umask; in hpfs_remount_fs() 548 umode_t umask; in hpfs_fill_super() local 568 umask = current_umask(); in hpfs_fill_super() 576 if (!(o = parse_opts(options, &uid, &gid, &umask, &lowercase, in hpfs_fill_super() 627 sbi->sb_mode = 0777 & ~umask; in hpfs_fill_super()
|
/fs/ |
D | fs_struct.c | 122 fs->umask = old->umask; in copy_fs_struct() 160 return current->fs->umask; in current_umask() 169 .umask = 0022,
|
/fs/notify/fanotify/ |
D | fanotify_user.c | 1053 __u32 umask, int *destroy) in fanotify_mark_remove_from_mask() argument 1058 mask &= ~umask; in fanotify_mark_remove_from_mask() 1073 *destroy = !((fsn_mark->mask | fsn_mark->ignore_mask) & ~umask); in fanotify_mark_remove_from_mask() 1081 unsigned int flags, __u32 umask) in fanotify_remove_mark() argument 1095 umask, &destroy_mark); in fanotify_remove_mark() 1111 unsigned int flags, __u32 umask) in fanotify_remove_vfsmount_mark() argument 1114 mask, flags, umask); in fanotify_remove_vfsmount_mark() 1119 unsigned int flags, __u32 umask) in fanotify_remove_sb_mark() argument 1122 flags, umask); in fanotify_remove_sb_mark() 1127 unsigned int flags, __u32 umask) in fanotify_remove_inode_mark() argument [all …]
|
/fs/hfsplus/ |
D | options.c | 56 opts->umask = current_umask(); in hfsplus_fill_defaults() 132 sbi->umask = (umode_t)tmp; in hfsplus_parse_options() 229 seq_printf(seq, ",umask=%o,uid=%u,gid=%u", sbi->umask, in hfsplus_show_options()
|
D | inode.c | 203 mode = mode ? (mode & S_IALLUGO) : (S_IRWXUGO & ~(sbi->umask)); in hfsplus_get_perms() 206 mode = S_IFREG | ((S_IRUGO|S_IWUGO) & ~(sbi->umask)); in hfsplus_get_perms()
|
D | hfsplus_fs.h | 183 umode_t umask; member
|
/fs/jfs/ |
D | super.c | 363 char *umask = args[0].from; in parse_options() local 364 int rc = kstrtouint(umask, 8, &sbi->umask); in parse_options() 368 if (sbi->umask & ~0777) { in parse_options() 507 sbi->umask = -1; in jfs_fill_super() 700 if (sbi->umask != -1) in jfs_show_options() 701 seq_printf(seq, ",umask=%03o", sbi->umask); in jfs_show_options()
|
D | jfs_incore.h | 198 uint umask; /* umask to override on-disk umask */ member
|
D | jfs_imap.c | 3044 if (sbi->umask != -1) { in copy_from_dinode() 3045 ip->i_mode = (ip->i_mode & ~0777) | (0777 & ~sbi->umask); in copy_from_dinode() 3144 if (sbi->umask == -1) in copy_to_dinode()
|
/fs/proc/ |
D | array.c | 153 int g, umask = -1; in task_state() local 173 umask = p->fs->umask; in task_state() 179 if (umask >= 0) in task_state() 180 seq_printf(m, "Umask:\t%#04o\n", umask); in task_state()
|
/fs/udf/ |
D | super.c | 218 umode_t umask; member 531 uopt->umask = option; in udf_parse_options() 624 uopt.umask = sbi->s_umask; in udf_remount_fs() 636 sbi->s_umask = uopt.umask; in udf_remount_fs() 2101 uopt.umask = 0; in udf_fill_super() 2123 sbi->s_umask = uopt.umask; in udf_fill_super()
|
/fs/exfat/ |
D | super.c | 756 sbi->options.fs_fmask = current->fs->umask; in exfat_init_fs_context() 757 sbi->options.fs_dmask = current->fs->umask; in exfat_init_fs_context()
|
/fs/fuse/ |
D | backing.c | 1392 .umask = current_umask(), in fuse_mknod_initialize() 1430 mode &= ~fmi->umask; in fuse_mknod_backing() 1469 .umask = current_umask(), in fuse_mkdir_initialize() 1507 mode &= ~fmi->umask; in fuse_mkdir_backing()
|
D | dir.c | 854 inarg.umask = current_umask(); in fuse_create_open() 1073 inarg.umask = current_umask(); in fuse_mknod() 1129 inarg.umask = current_umask(); in fuse_mkdir()
|
/fs/nfsd/ |
D | nfs4proc.c | 446 current->fs->umask = open->op_umask; in do_open_lookup() 448 current->fs->umask = 0; in do_open_lookup() 808 current->fs->umask = create->cr_umask; in nfsd4_create() 873 current->fs->umask = 0; in nfsd4_create()
|
D | nfssvc.c | 941 current->fs->umask = 0; in nfsd()
|
D | nfs4xdr.c | 382 struct xdr_netobj *label, int *umask) in nfsd4_decode_fattr4() argument 513 if (!umask) in nfsd4_decode_fattr4() 520 *umask = mask & S_IRWXUGO; in nfsd4_decode_fattr4()
|
/fs/nfs/ |
D | nfs4xdr.c | 1083 const umode_t *umask, in encode_attrs() argument 1103 if (umask && (attrmask[2] & FATTR4_WORD2_MODE_UMASK)) { in encode_attrs() 1194 *p++ = cpu_to_be32(*umask); in encode_attrs() 1250 encode_attrs(xdr, create->attrs, create->label, &create->umask, in encode_create() 1436 encode_attrs(xdr, arg->u.attrs, arg->label, &arg->umask, in encode_createmode() 1441 encode_attrs(xdr, arg->u.attrs, arg->label, &arg->umask, in encode_createmode() 1451 encode_attrs(xdr, arg->u.attrs, arg->label, &arg->umask, in encode_createmode()
|
D | nfs4proc.c | 1391 p->o_arg.umask = current_umask(); in nfs4_opendata_alloc() 5000 data->arg.umask = current_umask(); in nfs4_alloc_createdata()
|