Home
last modified time | relevance | path

Searched refs:umask (Results 1 – 25 of 93) sorted by relevance

1234

/linux/kernel/
A Dcompat.c193 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 Dtlb.rst68 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 Dfs_struct.c121 fs->umask = old->umask; in copy_fs_struct()
158 return current->fs->umask; in current_umask()
167 .umask = 0022,
/linux/fs/hpfs/
A Dsuper.c313 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 Dfanotify_user.c959 __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 Dxt_ipvs.c34 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 Dxt_conntrack.c28 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 Dhfsplus.rst26 umask=n
27 Specifies the umask (in octal) used for files and directories
29 Default: umask of the mounting process.
A Domfs.rst39 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 Dhfs.rst32 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 Disofs.rst12 umask=nnn The permission mask (see umask(1)) for the partition.
A Dudf.rst28 umask= Set the default umask.
A Dntfs3.rst50 * - umask=
55 - :rspan:`1` Instead of specifying umask which applies both to files and
A Dvfat.rst27 **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 Doptions.c56 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 Dsuper.c362 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 Dresctrl_val.c56 __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 Darray.c147 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 Djfs.rst47 umask=value
48 Override on-disk umask with specified octal value. For
/linux/include/uapi/linux/
A Dfuse.h590 uint32_t umask; member
596 uint32_t umask; member
640 uint32_t umask; member
/linux/include/linux/
A Dfs_struct.h13 int umask; member
/linux/arch/x86/events/zhaoxin/
A Dcore.c438 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 Dptrace.c253 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 Dpseudo_lock.c1068 .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 Dperf-list.txt103 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/

Completed in 37 milliseconds

1234