/linux/kernel/ |
A D | compat.c | 193 long compat_get_bitmap(unsigned long *mask, const compat_ulong_t __user *umask, in compat_get_bitmap() argument 202 if (!user_read_access_begin(umask, bitmap_size / 8)) in compat_get_bitmap() 207 unsafe_get_user(l1, umask++, Efault); in compat_get_bitmap() 208 unsafe_get_user(l2, umask++, Efault); in compat_get_bitmap() 213 unsafe_get_user(*mask, umask++, Efault); in compat_get_bitmap() 222 long compat_put_bitmap(compat_ulong_t __user *umask, unsigned long *mask, in compat_put_bitmap() argument 231 if (!user_write_access_begin(umask, bitmap_size / 8)) in compat_put_bitmap() 236 unsafe_put_user((compat_ulong_t)m, umask++, Efault); in compat_put_bitmap() 237 unsafe_put_user(m >> BITS_PER_COMPAT_LONG, umask++, Efault); in compat_put_bitmap() 241 unsafe_put_user((compat_ulong_t)*mask, umask++, Efault); in compat_put_bitmap()
|
/linux/Documentation/x86/ |
A D | tlb.rst | 68 cpu/event=0x8,umask=0x84,name=dtlb_load_misses_walk_duration/, 69 cpu/event=0x8,umask=0x82,name=dtlb_load_misses_walk_completed/, 70 cpu/event=0x49,umask=0x4,name=dtlb_store_misses_walk_duration/, 71 cpu/event=0x49,umask=0x2,name=dtlb_store_misses_walk_completed/, 72 cpu/event=0x85,umask=0x4,name=itlb_misses_walk_duration/, 73 cpu/event=0x85,umask=0x2,name=itlb_misses_walk_completed/
|
/linux/fs/ |
A D | fs_struct.c | 121 fs->umask = old->umask; in copy_fs_struct() 158 return current->fs->umask; in current_umask() 167 .umask = 0022,
|
/linux/fs/hpfs/ |
A 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()
|
/linux/fs/notify/fanotify/ |
A D | fanotify_user.c | 959 __u32 umask, int *destroy) in fanotify_mark_remove_from_mask() argument 964 mask &= ~umask; in fanotify_mark_remove_from_mask() 1000 umask, &destroy_mark); in fanotify_remove_mark() 1019 mask, flags, umask); in fanotify_remove_vfsmount_mark() 1027 flags, umask); in fanotify_remove_sb_mark() 1035 flags, umask); in fanotify_remove_inode_mark() 1442 u32 umask = 0; in do_fanotify_mark() local 1582 umask = FAN_EVENT_ON_CHILD; in do_fanotify_mark() 1608 flags, umask); in do_fanotify_mark() 1611 flags, umask); in do_fanotify_mark() [all …]
|
/linux/net/netfilter/ |
A D | xt_ipvs.c | 34 const union nf_inet_addr *umask, in ipvs_mt_addrcmp() argument 38 return ((kaddr->ip ^ uaddr->ip) & umask->ip) == 0; in ipvs_mt_addrcmp() 41 return ipv6_masked_addr_cmp(&kaddr->in6, &umask->in6, in ipvs_mt_addrcmp()
|
A D | xt_conntrack.c | 28 const union nf_inet_addr *umask, unsigned int l3proto) in conntrack_addrcmp() argument 31 return ((kaddr->ip ^ uaddr->ip) & umask->ip) == 0; in conntrack_addrcmp() 33 return ipv6_masked_addr_cmp(&kaddr->in6, &umask->in6, in conntrack_addrcmp()
|
/linux/Documentation/filesystems/ |
A D | hfsplus.rst | 26 umask=n 27 Specifies the umask (in octal) used for files and directories 29 Default: umask of the mounting process.
|
A D | omfs.rst | 39 umask=xxx set permission umask to xxx 40 fmask=xxx set umask to xxx for files 41 dmask=xxx set umask to xxx for directories
|
A D | hfs.rst | 32 dir_umask=n, file_umask=n, umask=n 33 Specifies the umask used for all files , all directories or all 34 files and directories. Defaults to the umask of the mounting process.
|
A D | isofs.rst | 12 umask=nnn The permission mask (see umask(1)) for the partition.
|
A D | udf.rst | 28 umask= Set the default umask.
|
A D | ntfs3.rst | 50 * - umask= 55 - :rspan:`1` Instead of specifying umask which applies both to files and
|
A D | vfat.rst | 27 **umask=###** 28 The permission mask (for files and directories, see *umask(1)*). 29 The default is the umask of current process. 33 The default is the umask of current process. 37 The default is the umask of current process.
|
/linux/fs/hfsplus/ |
A D | options.c | 56 opts->umask = current_umask(); in hfsplus_fill_defaults() 132 sbi->umask = (umode_t)tmp; in hfsplus_parse_options() 225 seq_printf(seq, ",umask=%o,uid=%u,gid=%u", sbi->umask, in hfsplus_show_options()
|
/linux/fs/jfs/ |
A D | super.c | 362 char *umask = args[0].from; in parse_options() local 363 int rc = kstrtouint(umask, 8, &sbi->umask); in parse_options() 367 if (sbi->umask & ~0777) { in parse_options() 510 sbi->umask = -1; in jfs_fill_super() 703 if (sbi->umask != -1) in jfs_show_options() 704 seq_printf(seq, ",umask=%03o", sbi->umask); in jfs_show_options()
|
/linux/tools/testing/selftests/resctrl/ |
A D | resctrl_val.c | 56 __u64 umask; member 76 imc_counters_config[i][j].umask << 8 | in membw_initialize_perf_event_attr() 124 imc_counters_config[count][READ].umask = in get_event_and_umask() 127 imc_counters_config[count][WRITE].umask = in get_event_and_umask()
|
/linux/fs/proc/ |
A D | array.c | 147 int g, umask = -1; in task_state() local 167 umask = p->fs->umask; in task_state() 173 if (umask >= 0) in task_state() 174 seq_printf(m, "Umask:\t%#04o\n", umask); in task_state()
|
/linux/Documentation/admin-guide/ |
A D | jfs.rst | 47 umask=value 48 Override on-disk umask with specified octal value. For
|
/linux/include/uapi/linux/ |
A D | fuse.h | 590 uint32_t umask; member 596 uint32_t umask; member 640 uint32_t umask; member
|
/linux/include/linux/ |
A D | fs_struct.h | 13 int umask; member
|
/linux/arch/x86/events/zhaoxin/ |
A D | core.c | 438 PMU_FORMAT_ATTR(umask, "config:8-15"); 564 X86_CONFIG(.event = 0x01, .umask = 0x01, .inv = 0x01, .cmask = 0x01); in zhaoxin_pmu_init() 567 X86_CONFIG(.event = 0x0f, .umask = 0x04, .inv = 0, .cmask = 0); in zhaoxin_pmu_init()
|
/linux/arch/ia64/kernel/ |
A D | ptrace.c | 253 unsigned long umask = 0, mask, m; in get_rnat() local 281 umask = MASK(ia64_rse_slot_num(ubspstore)) & mask; in get_rnat() 282 urnat = (pt->ar_rnat & umask); in get_rnat() 283 mask &= ~umask; in get_rnat() 312 unsigned long rnat0 = 0, rnat1 = 0, *slot0_kaddr, umask = 0, mask, m; in put_rnat() local 355 umask = MASK(ia64_rse_slot_num(ubspstore)) & mask; in put_rnat() 356 pt->ar_rnat = (pt->ar_rnat & ~umask) | (urnat & umask); in put_rnat() 357 mask &= ~umask; in put_rnat()
|
/linux/arch/x86/kernel/cpu/resctrl/ |
A D | pseudo_lock.c | 1068 .umask = 0x10); in measure_l2_residency() 1070 .umask = 0x2); in measure_l2_residency() 1107 .umask = 0x4f); in measure_l3_residency() 1109 .umask = 0x41); in measure_l3_residency()
|
/linux/tools/perf/Documentation/ |
A D | perf-list.txt | 103 registers: event, umask, edge, inv, cmask. Esp. guest/host only and 146 perf stat -e cpu/event=0xa8,umask=0x1,name=LSD.UOPS_CYCLES,cmask=0x1/ ... 150 perf stat -e cpu/event=0xa8,umask=0x1,cmask=0x1,name=\'LSD.UOPS_CYCLES:cmask=0x1\'/ ... 225 perf stat -e cpu/event=0,umask=0x3,percore=1/
|