umask
void __user *umask;
umask = (void __user *)start.cpumask;
if (copy_from_user(&preq->mask, umask, len)) {
PMU_FORMAT_ATTR(umask, "config:8-15" );
DEFINE_UNCORE_FORMAT_ATTR(umask8, umask, "config:8-15");
DEFINE_UNCORE_FORMAT_ATTR(umask12, umask, "config:8-15,24-27"); /* PerfMonV2 DF */
u64 umask = (config & ARCH_PERFMON_EVENTSEL_UMASK) >> 8;
if (umask)
ret += sprintf(page + ret, ",umask=0x%02llx", umask);
u64 alt_config = X86_CONFIG(.event=0xc2, .umask=0x01, .inv=1, .cmask=16);
u64 alt_config = X86_CONFIG(.event=0xc0, .umask=0x01, .inv=1, .cmask=16);
return (event->attr.config & INTEL_ARCH_EVENT_MASK) == X86_CONFIG(.event=0xcd, .umask=0x01);
return (event->attr.config & INTEL_ARCH_EVENT_MASK) == X86_CONFIG(.event=0x03, .umask=0x82);
X86_CONFIG(.event=0xc0, .umask=0x01);
PMU_FORMAT_ATTR(umask, "config:8-15" );
__ATTR(umask, 0444, umask2_show, NULL);
x86_pmu.rtm_abort_event = X86_CONFIG(.event=0xc9, .umask=0x04);
X86_CONFIG(.event=0x0e, .umask=0x01, .inv=1, .cmask=1);
X86_CONFIG(.event=0xb1, .umask=0x3f, .inv=1, .cmask=1);
X86_CONFIG(.event=0x0e, .umask=0x01, .inv=1, .cmask=1);
X86_CONFIG(.event=0xb1, .umask=0x3f, .inv=1, .cmask=1);
X86_CONFIG(.event=0x0e, .umask=0x01, .inv=1, .cmask=1);
X86_CONFIG(.event=0xb1, .umask=0x01, .inv=1, .cmask=1);
X86_CONFIG(.event=0x0e, .umask=0x01, .inv=1, .cmask=1);
x86_pmu.rtm_abort_event = X86_CONFIG(.event=0xc9, .umask=0x04);
PMU_FORMAT_ATTR(umask, "config:8-15" );
PMU_FORMAT_ATTR(umask, "config:8-15" );
DEFINE_UNCORE_FORMAT_ATTR(umask, umask, "config:8-15");
DEFINE_UNCORE_FORMAT_ATTR(umask, umask, "config:8-15");
DEFINE_UNCORE_FORMAT_ATTR(umask, umask, "config:8-15");
#define INTEL_UNCORE_FR_EVENT_DESC(name, umask, scl) \
"event=0xff,umask=" __stringify(umask)),\
DEFINE_UNCORE_FORMAT_ATTR(umask, umask, "config:8-15");
DEFINE_UNCORE_FORMAT_ATTR(umask_ext, umask, "config:8-15,32-43,45-55");
DEFINE_UNCORE_FORMAT_ATTR(umask_ext2, umask, "config:8-15,32-57");
DEFINE_UNCORE_FORMAT_ATTR(umask_ext3, umask, "config:8-15,32-39");
DEFINE_UNCORE_FORMAT_ATTR(umask_ext4, umask, "config:8-15,32-55");
DEFINE_UNCORE_FORMAT_ATTR(umask_ext5, umask, "config:8-15,32-63");
umask:8,
PMU_FORMAT_ATTR(umask, "config:8-15");
X86_CONFIG(.event = 0x01, .umask = 0x01, .inv = 0x01, .cmask = 0x01);
X86_CONFIG(.event = 0x0f, .umask = 0x04, .inv = 0, .cmask = 0);
.umask = 0x10);
.umask = 0x2);
.umask = 0x4f);
.umask = 0x41);
static bool is_filter_entry_match(u64 filter_event, u64 umask)
return (umask & mask) == match;
u64 umask = eventsel & ARCH_PERFMON_EVENTSEL_UMASK;
if (is_filter_entry_match(events[i], umask))
if (is_filter_entry_match(events[i], umask))
struct ethtool_usrip4_spec *umask = &fsp->m_u.usr_ip4_spec;
umask->tos);
sbi->options.fs_fmask = current->fs->umask;
sbi->options.fs_dmask = current->fs->umask;
fs->umask = old->umask;
.umask = 0022,
inarg.umask = current_umask();
inarg.umask = current_umask();
inarg.umask = current_umask();
umode_t umask;
mode = mode ? (mode & S_IALLUGO) : (S_IRWXUGO & ~(sbi->umask));
mode = S_IFREG | ((S_IRUGO|S_IWUGO) & ~(sbi->umask));
seq_printf(seq, ",umask=%o,uid=%u,gid=%u", sbi->umask,
opts->umask = current_umask();
sbi->umask = (umode_t)result.uint_32;
umode_t umask;
ctx->umask = result.uint_32;
sbi->sb_mode = 0777 & ~ctx->umask;
sbi->sb_mode = 0777 & ~ctx->umask;
ctx->umask = 0777 & ~sbi->sb_mode;
ctx->umask = current_umask();
if (sbi->umask != -1) {
ip->i_mode = (ip->i_mode & ~0777) | (0777 & ~sbi->umask);
if (sbi->umask == -1)
uint umask; /* umask to override on-disk umask */
uint umask;
ctx->umask = result.uint_32;
JFS_SBI(sb)->umask = ctx->umask;
sbi->umask = ctx->umask;
if (sbi->umask != -1)
seq_printf(seq, ",umask=%03o", sbi->umask);
ctx->umask = JFS_SBI(sb)->umask;
ctx->umask = -1;
p->o_arg.umask = current_umask();
data->arg.umask = current_umask();
const umode_t *umask,
if (umask && (attrmask[2] & FATTR4_WORD2_MODE_UMASK)) {
*p++ = cpu_to_be32(*umask);
encode_attrs(xdr, create->attrs, create->label, &create->umask,
encode_attrs(xdr, arg->u.attrs, arg->label, &arg->umask,
encode_attrs(xdr, arg->u.attrs, arg->label, &arg->umask,
encode_attrs(xdr, arg->u.attrs, arg->label, &arg->umask,
current->fs->umask = open->op_umask;
current->fs->umask = 0;
current->fs->umask = create->cr_umask;
current->fs->umask = 0;
struct xdr_netobj *label, int *umask,
if (!umask)
*umask = mask & S_IRWXUGO;
current->fs->umask = 0;
__u32 umask, int *destroy)
mask &= ~umask;
*destroy = !((fsn_mark->mask | fsn_mark->ignore_mask) & ~umask);
unsigned int flags, __u32 umask)
umask, &destroy_mark);
u32 umask = 0;
umask = FANOTIFY_EVENT_FLAGS;
umask = FAN_EVENT_ON_CHILD;
umask);
int g, umask = -1;
umask = p->fs->umask;
if (umask >= 0)
seq_printf(m, "Umask:\t%#04o\n", umask);
sbi->s_umask = uopt->umask;
umode_t umask;
uopt->umask = sbi->s_umask;
uopt->umask = 0;
uopt->umask = result.uint_32;
sbi->s_umask = uopt->umask;
int set_compat_user_sigmask(const compat_sigset_t __user *umask,
long compat_get_bitmap(unsigned long *mask, const compat_ulong_t __user *umask,
long compat_put_bitmap(compat_ulong_t __user *umask, unsigned long *mask,
int umask;
return current->fs->umask;
umode_t umask;
umode_t umask;
extern int set_user_sigmask(const sigset_t __user *umask, size_t sigsetsize);
uint32_t umask;
uint32_t umask;
uint32_t umask;
long compat_get_bitmap(unsigned long *mask, const compat_ulong_t __user *umask,
if (!user_read_access_begin(umask, bitmap_size / 8))
unsafe_get_user(l1, umask++, Efault);
unsafe_get_user(l2, umask++, Efault);
unsafe_get_user(*mask, umask++, Efault);
long compat_put_bitmap(compat_ulong_t __user *umask, unsigned long *mask,
if (!user_write_access_begin(umask, bitmap_size / 8))
unsafe_put_user((compat_ulong_t)m, umask++, Efault);
unsafe_put_user(m >> BITS_PER_COMPAT_LONG, umask++, Efault);
unsafe_put_user((compat_ulong_t)*mask, umask++, Efault);
int set_user_sigmask(const sigset_t __user *umask, size_t sigsetsize)
if (!umask)
if (copy_from_user(&kmask, umask, sizeof(sigset_t)))
int set_compat_user_sigmask(const compat_sigset_t __user *umask,
if (!umask)
if (get_compat_sigset(&kmask, umask))
SYSCALL_DEFINE1(umask, int, mask)
mask = xchg(¤t->fs->umask, mask & S_IRWXUGO);
current->fs->umask = 0022;
const union nf_inet_addr *umask, unsigned int l3proto)
return ((kaddr->ip ^ uaddr->ip) & umask->ip) == 0;
return ipv6_masked_addr_cmp(&kaddr->in6, &umask->in6,
const union nf_inet_addr *umask,
return ((kaddr->ip ^ uaddr->ip) & umask->ip) == 0;
return ipv6_masked_addr_cmp(&kaddr->in6, &umask->in6,
umask(0);
umask(027);
#define PCE(ext_umask, umask) (((unsigned long long) ext_umask) << 40 | umask << 8 | 0x24)
unsigned int umask;
if (sscanf(pconfig_str, "umask=%x", &umask) == 1) {
umask = 0;
ret = (umask << 8) | config;
#define RAW_EVENT(eventsel, umask) (((eventsel & 0xf00UL) << 24) | \
((umask) & 0xff) << 8)
umask(0077);
umask(0077);
__u64 umask;
imc_counters_config[i].umask << 8 |
imc_counters_config[count].umask = strtol(token[i + 1], NULL, 16);
umask(S_IWGRP | S_IWOTH);
umask(0);