umask 257 arch/ia64/kernel/ptrace.c unsigned long umask = 0, mask, m; umask 285 arch/ia64/kernel/ptrace.c umask = MASK(ia64_rse_slot_num(ubspstore)) & mask; umask 286 arch/ia64/kernel/ptrace.c urnat = (pt->ar_rnat & umask); umask 287 arch/ia64/kernel/ptrace.c mask &= ~umask; umask 316 arch/ia64/kernel/ptrace.c unsigned long rnat0 = 0, rnat1 = 0, *slot0_kaddr, umask = 0, mask, m; umask 359 arch/ia64/kernel/ptrace.c umask = MASK(ia64_rse_slot_num(ubspstore)) & mask; umask 360 arch/ia64/kernel/ptrace.c pt->ar_rnat = (pt->ar_rnat & ~umask) | (urnat & umask); umask 361 arch/ia64/kernel/ptrace.c mask &= ~umask; umask 718 arch/x86/events/amd/core.c PMU_FORMAT_ATTR(umask, "config:8-15" ); umask 292 arch/x86/events/amd/uncore.c AMD_FORMAT_ATTR(umask, , "config:8-15"); umask 1739 arch/x86/events/core.c u64 umask = (config & ARCH_PERFMON_EVENTSEL_UMASK) >> 8; umask 1753 arch/x86/events/core.c if (umask) umask 1754 arch/x86/events/core.c ret += sprintf(page + ret, ",umask=0x%02llx", umask); umask 3165 arch/x86/events/intel/core.c u64 alt_config = X86_CONFIG(.event=0xc2, .umask=0x01, .inv=1, .cmask=16); umask 3189 arch/x86/events/intel/core.c u64 alt_config = X86_CONFIG(.event=0xc0, .umask=0x01, .inv=1, .cmask=16); umask 3575 arch/x86/events/intel/core.c X86_CONFIG(.event=0xc0, .umask=0x01)) { umask 3589 arch/x86/events/intel/core.c PMU_FORMAT_ATTR(umask, "config:8-15" ); umask 4638 arch/x86/events/intel/core.c X86_CONFIG(.event=0x0e, .umask=0x01, .inv=1, .cmask=1); umask 4641 arch/x86/events/intel/core.c X86_CONFIG(.event=0xb1, .umask=0x3f, .inv=1, .cmask=1); umask 4795 arch/x86/events/intel/core.c X86_CONFIG(.event=0x0e, .umask=0x01, .inv=1, .cmask=1); umask 4798 arch/x86/events/intel/core.c X86_CONFIG(.event=0xb1, .umask=0x3f, .inv=1, .cmask=1); umask 4835 arch/x86/events/intel/core.c X86_CONFIG(.event=0x0e, .umask=0x01, .inv=1, .cmask=1); umask 4838 arch/x86/events/intel/core.c X86_CONFIG(.event=0xb1, .umask=0x01, .inv=1, .cmask=1); umask 4876 arch/x86/events/intel/core.c X86_CONFIG(.event=0x0e, .umask=0x01, .inv=1, .cmask=1); umask 5060 arch/x86/events/intel/core.c x86_pmu.rtm_abort_event = X86_CONFIG(.event=0xca, .umask=0x02); umask 276 arch/x86/events/intel/knc.c PMU_FORMAT_ATTR(umask, "config:8-15" ); umask 185 arch/x86/events/intel/p6.c PMU_FORMAT_ATTR(umask, "config:8-15" ); umask 192 arch/x86/events/intel/uncore_nhmex.c DEFINE_UNCORE_FORMAT_ATTR(umask, umask, "config:8-15"); umask 114 arch/x86/events/intel/uncore_snb.c DEFINE_UNCORE_FORMAT_ATTR(umask, umask, "config:8-15"); umask 389 arch/x86/events/intel/uncore_snbep.c DEFINE_UNCORE_FORMAT_ATTR(umask, umask, "config:8-15"); umask 390 arch/x86/events/intel/uncore_snbep.c DEFINE_UNCORE_FORMAT_ATTR(umask_ext, umask, "config:8-15,32-43,45-55"); umask 391 arch/x86/events/intel/uncore_snbep.c DEFINE_UNCORE_FORMAT_ATTR(umask_ext2, umask, "config:8-15,32-57"); umask 392 arch/x86/events/intel/uncore_snbep.c DEFINE_UNCORE_FORMAT_ATTR(umask_ext3, umask, "config:8-15,32-39"); umask 536 arch/x86/events/perf_event.h umask:8, umask 1064 arch/x86/kernel/cpu/resctrl/pseudo_lock.c .umask = 0x10); umask 1066 arch/x86/kernel/cpu/resctrl/pseudo_lock.c .umask = 0x2); umask 1103 arch/x86/kernel/cpu/resctrl/pseudo_lock.c .umask = 0x4f); umask 1105 arch/x86/kernel/cpu/resctrl/pseudo_lock.c .umask = 0x41); umask 36 drivers/gpu/drm/amd/amdgpu/df_v3_6.c AMDGPU_PMU_ATTR(umask, "config:16-23"); umask 7434 drivers/net/ethernet/sun/niu.c struct ethtool_usrip4_spec *umask = &fsp->m_u.usr_ip4_spec; umask 7471 drivers/net/ethernet/sun/niu.c umask->tos); umask 3677 drivers/staging/exfat/exfat_super.c opts->fs_fmask = opts->fs_dmask = current->fs->umask; umask 121 fs/fs_struct.c fs->umask = old->umask; umask 158 fs/fs_struct.c return current->fs->umask; umask 167 fs/fs_struct.c .umask = 0022, umask 467 fs/fuse/dir.c inarg.umask = current_umask(); umask 640 fs/fuse/dir.c inarg.umask = current_umask(); umask 667 fs/fuse/dir.c inarg.umask = current_umask(); umask 183 fs/hfsplus/hfsplus_fs.h umode_t umask; umask 198 fs/hfsplus/inode.c mode = mode ? (mode & S_IALLUGO) : (S_IRWXUGO & ~(sbi->umask)); umask 201 fs/hfsplus/inode.c mode = S_IFREG | ((S_IRUGO|S_IWUGO) & ~(sbi->umask)); umask 56 fs/hfsplus/options.c opts->umask = current_umask(); umask 132 fs/hfsplus/options.c sbi->umask = (umode_t)tmp; umask 225 fs/hfsplus/options.c seq_printf(seq, ",umask=%o,uid=%u,gid=%u", sbi->umask, umask 314 fs/hpfs/super.c static int parse_opts(char *opts, kuid_t *uid, kgid_t *gid, umode_t *umask, umask 353 fs/hpfs/super.c *umask = option; umask 447 fs/hpfs/super.c umode_t umask; umask 458 fs/hpfs/super.c umask = 0777 & ~sbi->sb_mode; umask 463 fs/hpfs/super.c if (!(o = parse_opts(data, &uid, &gid, &umask, &lowercase, umask 480 fs/hpfs/super.c sbi->sb_mode = 0777 & ~umask; umask 549 fs/hpfs/super.c umode_t umask; umask 569 fs/hpfs/super.c umask = current_umask(); umask 577 fs/hpfs/super.c if (!(o = parse_opts(options, &uid, &gid, &umask, &lowercase, umask 628 fs/hpfs/super.c sbi->sb_mode = 0777 & ~umask; umask 3036 fs/jfs/jfs_imap.c if (sbi->umask != -1) { umask 3037 fs/jfs/jfs_imap.c ip->i_mode = (ip->i_mode & ~0777) | (0777 & ~sbi->umask); umask 3136 fs/jfs/jfs_imap.c if (sbi->umask == -1) umask 190 fs/jfs/jfs_incore.h uint umask; /* umask to override on-disk umask */ umask 363 fs/jfs/super.c char *umask = args[0].from; umask 364 fs/jfs/super.c int rc = kstrtouint(umask, 8, &sbi->umask); umask 368 fs/jfs/super.c if (sbi->umask & ~0777) { umask 511 fs/jfs/super.c sbi->umask = -1; umask 705 fs/jfs/super.c if (sbi->umask != -1) umask 706 fs/jfs/super.c seq_printf(seq, ",umask=%03o", sbi->umask); umask 1307 fs/nfs/nfs4proc.c p->o_arg.umask = current_umask(); umask 4739 fs/nfs/nfs4proc.c data->arg.umask = current_umask(); umask 1071 fs/nfs/nfs4xdr.c const umode_t *umask, umask 1092 fs/nfs/nfs4xdr.c if (umask && (attrmask[2] & FATTR4_WORD2_MODE_UMASK)) { umask 1185 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(*umask); umask 1241 fs/nfs/nfs4xdr.c encode_attrs(xdr, create->attrs, create->label, &create->umask, umask 1427 fs/nfs/nfs4xdr.c encode_attrs(xdr, arg->u.attrs, arg->label, &arg->umask, umask 1432 fs/nfs/nfs4xdr.c encode_attrs(xdr, arg->u.attrs, arg->label, &arg->umask, umask 1442 fs/nfs/nfs4xdr.c encode_attrs(xdr, arg->u.attrs, arg->label, &arg->umask, umask 257 fs/nfsd/nfs4proc.c current->fs->umask = open->op_umask; umask 263 fs/nfsd/nfs4proc.c current->fs->umask = 0; umask 609 fs/nfsd/nfs4proc.c current->fs->umask = create->cr_umask; umask 678 fs/nfsd/nfs4proc.c current->fs->umask = 0; umask 323 fs/nfsd/nfs4xdr.c struct xdr_netobj *label, int *umask) umask 486 fs/nfsd/nfs4xdr.c if (!umask) umask 493 fs/nfsd/nfs4xdr.c *umask = dummy32 & S_IRWXUGO; umask 888 fs/nfsd/nfssvc.c current->fs->umask = 0; umask 157 fs/proc/array.c int g, umask = -1; umask 177 fs/proc/array.c umask = p->fs->umask; umask 183 fs/proc/array.c if (umask >= 0) umask 184 fs/proc/array.c seq_printf(m, "Umask:\t%#04o\n", umask); umask 218 fs/udf/super.c umode_t umask; umask 529 fs/udf/super.c uopt->umask = option; umask 617 fs/udf/super.c uopt.umask = sbi->s_umask; umask 629 fs/udf/super.c sbi->s_umask = uopt.umask; umask 2120 fs/udf/super.c uopt.umask = 0; umask 2157 fs/udf/super.c sbi->s_umask = uopt.umask; umask 141 include/linux/compat.h int set_compat_user_sigmask(const compat_sigset_t __user *umask, umask 417 include/linux/compat.h long compat_get_bitmap(unsigned long *mask, const compat_ulong_t __user *umask, umask 419 include/linux/compat.h long compat_put_bitmap(compat_ulong_t __user *umask, unsigned long *mask, umask 13 include/linux/fs_struct.h int umask; umask 473 include/linux/nfs_xdr.h umode_t umask; umask 1012 include/linux/nfs_xdr.h umode_t umask; umask 477 include/linux/sched/signal.h extern int set_user_sigmask(const sigset_t __user *umask, size_t sigsetsize); umask 537 include/uapi/linux/fuse.h uint32_t umask; umask 543 include/uapi/linux/fuse.h uint32_t umask; umask 587 include/uapi/linux/fuse.h uint32_t umask; umask 281 kernel/compat.c long compat_get_bitmap(unsigned long *mask, const compat_ulong_t __user *umask, umask 290 kernel/compat.c if (!user_access_begin(umask, bitmap_size / 8)) umask 295 kernel/compat.c unsafe_get_user(l1, umask++, Efault); umask 296 kernel/compat.c unsafe_get_user(l2, umask++, Efault); umask 301 kernel/compat.c unsafe_get_user(*mask, umask++, Efault); umask 310 kernel/compat.c long compat_put_bitmap(compat_ulong_t __user *umask, unsigned long *mask, umask 319 kernel/compat.c if (!user_access_begin(umask, bitmap_size / 8)) umask 324 kernel/compat.c unsafe_put_user((compat_ulong_t)m, umask++, Efault); umask 325 kernel/compat.c unsafe_put_user(m >> BITS_PER_COMPAT_LONG, umask++, Efault); umask 329 kernel/compat.c unsafe_put_user((compat_ulong_t)*mask, umask++, Efault); umask 2973 kernel/signal.c int set_user_sigmask(const sigset_t __user *umask, size_t sigsetsize) umask 2977 kernel/signal.c if (!umask) umask 2981 kernel/signal.c if (copy_from_user(&kmask, umask, sizeof(sigset_t))) umask 2992 kernel/signal.c int set_compat_user_sigmask(const compat_sigset_t __user *umask, umask 2997 kernel/signal.c if (!umask) umask 3001 kernel/signal.c if (get_compat_sigset(&kmask, umask)) umask 1806 kernel/sys.c SYSCALL_DEFINE1(umask, int, mask) umask 1808 kernel/sys.c mask = xchg(¤t->fs->umask, mask & S_IRWXUGO); umask 28 net/netfilter/xt_conntrack.c const union nf_inet_addr *umask, unsigned int l3proto) umask 31 net/netfilter/xt_conntrack.c return ((kaddr->ip ^ uaddr->ip) & umask->ip) == 0; umask 33 net/netfilter/xt_conntrack.c return ipv6_masked_addr_cmp(&kaddr->in6, &umask->in6, umask 34 net/netfilter/xt_ipvs.c const union nf_inet_addr *umask, umask 38 net/netfilter/xt_ipvs.c return ((kaddr->ip ^ uaddr->ip) & umask->ip) == 0; umask 41 net/netfilter/xt_ipvs.c return ipv6_masked_addr_cmp(&kaddr->in6, &umask->in6, umask 358 tools/thermal/tmon/tmon.c umask(S_IWGRP | S_IWOTH); umask 510 tools/usb/usbip/src/usbipd.c umask(0);