Home
last modified time | relevance | path

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

1234

/linux-5.19.10/kernel/
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-5.19.10/fs/
Dfs_struct.c121 fs->umask = old->umask; in copy_fs_struct()
158 return current->fs->umask; in current_umask()
167 .umask = 0022,
/linux-5.19.10/Documentation/x86/
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-5.19.10/fs/hpfs/
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-5.19.10/net/netfilter/
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()
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-5.19.10/Documentation/filesystems/
Dhfsplus.rst26 umask=n
27 Specifies the umask (in octal) used for files and directories
29 Default: umask of the mounting process.
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
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.
Disofs.rst12 umask=nnn The permission mask (see umask(1)) for the partition.
Dudf.rst28 umask= Set the default umask.
Dntfs3.rst50 * - umask=
55 - :rspan:`1` Instead of specifying umask which applies both to files and
/linux-5.19.10/fs/notify/fanotify/
Dfanotify_user.c1004 __u32 umask, int *destroy) in fanotify_mark_remove_from_mask() argument
1009 mask &= ~umask; in fanotify_mark_remove_from_mask()
1024 *destroy = !((fsn_mark->mask | fsn_mark->ignored_mask) & ~umask); in fanotify_mark_remove_from_mask()
1032 unsigned int flags, __u32 umask) in fanotify_remove_mark() argument
1046 umask, &destroy_mark); in fanotify_remove_mark()
1062 unsigned int flags, __u32 umask) in fanotify_remove_vfsmount_mark() argument
1065 mask, flags, umask); in fanotify_remove_vfsmount_mark()
1070 unsigned int flags, __u32 umask) in fanotify_remove_sb_mark() argument
1073 flags, umask); in fanotify_remove_sb_mark()
1078 unsigned int flags, __u32 umask) in fanotify_remove_inode_mark() argument
[all …]
/linux-5.19.10/fs/hfsplus/
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-5.19.10/fs/jfs/
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()
506 sbi->umask = -1; in jfs_fill_super()
699 if (sbi->umask != -1) in jfs_show_options()
700 seq_printf(seq, ",umask=%03o", sbi->umask); in jfs_show_options()
/linux-5.19.10/include/linux/
Dfs_struct.h13 int umask; member
/linux-5.19.10/tools/testing/selftests/resctrl/
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-5.19.10/Documentation/admin-guide/
Djfs.rst47 umask=value
48 Override on-disk umask with specified octal value. For
/linux-5.19.10/fs/proc/
Darray.c149 int g, umask = -1; in task_state() local
169 umask = p->fs->umask; in task_state()
175 if (umask >= 0) in task_state()
176 seq_printf(m, "Umask:\t%#04o\n", umask); in task_state()
/linux-5.19.10/include/uapi/linux/
Dfuse.h609 uint32_t umask; member
615 uint32_t umask; member
659 uint32_t umask; member
/linux-5.19.10/arch/x86/events/zhaoxin/
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-5.19.10/arch/ia64/kernel/
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-5.19.10/tools/testing/selftests/kvm/x86_64/
Dpmu_event_filter_test.c60 #define EVENT(select, umask) ((select & 0xf00UL) << 24 | (select & 0xff) | \ argument
61 (umask & 0xff) << 8)
/linux-5.19.10/tools/perf/pmu-events/
Djevents.c554 char *umask = NULL; in json_events() local
579 addfield(map, &umask, "", "umask=", val); in json_events()
700 if (umask) in json_events()
701 addfield(map, &event, ",", umask, NULL); in json_events()
731 free(umask); in json_events()
/linux-5.19.10/arch/x86/kernel/cpu/resctrl/
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()

1234