Home
last modified time | relevance | path

Searched defs:mode (Results 1 – 25 of 66) sorted by relevance

123

/tools/testing/selftests/arm64/mte/
Dcheck_tags_inclusion.c22 static int verify_mte_pointer_validity(char *ptr, int mode) in verify_mte_pointer_validity()
43 static int check_single_included_tags(int mem_type, int mode) in check_single_included_tags()
73 static int check_multiple_included_tags(int mem_type, int mode) in check_multiple_included_tags()
105 static int check_all_included_tags(int mem_type, int mode) in check_all_included_tags()
129 static int check_none_included_tags(int mem_type, int mode) in check_none_included_tags()
Dcheck_buffer_fill.c28 static int check_buffer_by_byte(int mem_type, int mode) in check_buffer_by_byte()
63 static int check_buffer_underflow_by_byte(int mem_type, int mode, in check_buffer_underflow_by_byte()
158 static int check_buffer_overflow_by_byte(int mem_type, int mode, in check_buffer_overflow_by_byte()
261 static int check_buffer_by_block_iterate(int mem_type, int mode, size_t size) in check_buffer_by_block_iterate()
336 static int check_buffer_by_block(int mem_type, int mode) in check_buffer_by_block()
365 static int check_memory_initial_tags(int mem_type, int mode, int mapping) in check_memory_initial_tags()
Dcheck_mmap_options.c33 static int check_mte_memory(char *ptr, int size, int mode, int tag_check) in check_mte_memory()
60 static int check_anonymous_memory_mapping(int mem_type, int mode, int mapping, int tag_check) in check_anonymous_memory_mapping()
92 static int check_file_memory_mapping(int mem_type, int mode, int mapping, int tag_check) in check_file_memory_mapping()
131 static int check_clear_prot_mte_flag(int mem_type, int mode, int mapping) in check_clear_prot_mte_flag()
Dcheck_child_memory.c29 static int check_child_tag_inheritance(char *ptr, int size, int mode) in check_child_tag_inheritance()
84 static int check_child_memory_mapping(int mem_type, int mode, int mapping) in check_child_memory_mapping()
106 static int check_child_file_mapping(int mem_type, int mode, int mapping) in check_child_file_mapping()
Dcheck_user_mem.c22 static int check_usermem_access_fault(int mem_type, int mode, int mapping) in check_usermem_access_fault()
/tools/perf/util/
Dparse-branch-options.c16 int mode; member
38 int parse_branch_str(const char *str, __u64 *mode) in parse_branch_str()
96 __u64 *mode = (__u64 *)opt->value; in parse_branch_stack() local
Dcopyfile.c73 static int copyfile_mode_ns(const char *from, const char *to, mode_t mode, in copyfile_mode_ns()
138 int copyfile_mode(const char *from, const char *to, mode_t mode) in copyfile_mode()
Dparse-regs-options.c15 uint64_t *mode = (uint64_t *)opt->value; in __parse_regs() local
Ddemangle-java.c45 __demangle_java_sym(const char *str, const char *end, char *buf, int maxlen, int mode) in __demangle_java_sym()
/tools/testing/selftests/kvm/
Ddirty_log_test.c224 struct log_mode *mode = &log_modes[host_log_mode]; in log_mode_supported() local
234 struct log_mode *mode = &log_modes[host_log_mode]; in log_mode_create_vm_done() local
243 struct log_mode *mode = &log_modes[host_log_mode]; in log_mode_collect_dirty_pages() local
290 static void vm_dirty_log_verify(enum vm_guest_mode mode, unsigned long *bmap) in vm_dirty_log_verify()
357 static struct kvm_vm *create_vm(enum vm_guest_mode mode, uint32_t vcpuid, in create_vm()
378 static void run_test(enum vm_guest_mode mode, unsigned long iterations, in run_test()
497 #define guest_mode_init(mode, supported, enabled) ({ \ argument
536 unsigned int mode; in main() local
Ddirty_log_perf_test.c95 static void run_test(enum vm_guest_mode mode, unsigned long iterations, in run_test()
242 #define guest_mode_init(mode, supported, enabled) ({ \ argument
283 unsigned int mode; in main() local
Ddemand_paging_test.c251 static void run_test(enum vm_guest_mode mode, bool use_uffd, in run_test()
378 #define guest_mode_init(mode, supported, enabled) ({ \ argument
414 unsigned int mode; in main() local
/tools/perf/examples/bpf/
Detcsnoop.c61 long mode; member
71 long mode; member
Dsys_enter_openat.c25 long mode; member
Daugmented_syscalls.c69 long mode; member
79 long mode; member
/tools/testing/selftests/bpf/progs/
Dtest_vmlinux.c74 const enum hrtimer_mode mode) in BPF_KPROBE()
83 const enum hrtimer_mode mode) in BPF_PROG()
/tools/bpf/bpftool/
Dnetlink_dumper.c15 const char *mode, in xdp_dump_prog_id()
33 unsigned char mode; in do_xdp_dump_one() local
/tools/include/uapi/linux/
Dopenat2.h21 __u64 mode; member
/tools/perf/trace/beauty/
Dmode_t.c27 int printed = 0, mode = arg->val; in syscall_arg__scnprintf_mode_t() local
/tools/testing/vsock/
Dutil.h17 enum test_mode mode; member
/tools/perf/ui/
Dsetup.c71 const char *mode, int unset __maybe_unused) in stdio__config_color()
/tools/power/cpupower/debug/i386/
Dcentrino-decode.c96 unsigned int cpu, mode = 0; in main() local
/tools/include/nolibc/
Dnolibc.h216 #define S_ISDIR(mode) (((mode) & S_IFDIR) == S_IFDIR) argument
217 #define S_ISCHR(mode) (((mode) & S_IFCHR) == S_IFCHR) argument
218 #define S_ISBLK(mode) (((mode) & S_IFBLK) == S_IFBLK) argument
219 #define S_ISREG(mode) (((mode) & S_IFREG) == S_IFREG) argument
220 #define S_ISFIFO(mode) (((mode) & S_IFIFO) == S_IFIFO) argument
221 #define S_ISLNK(mode) (((mode) & S_IFLNK) == S_IFLNK) argument
222 #define S_ISSOCK(mode) (((mode) & S_IFSOCK) == S_IFSOCK) argument
1479 int sys_chmod(const char *path, mode_t mode) in sys_chmod()
1593 int sys_mkdir(const char *path, mode_t mode) in sys_mkdir()
1603 long sys_mknod(const char *path, mode_t mode, dev_t dev) in sys_mknod()
[all …]
/tools/perf/
Dbuiltin-mem.c311 int mode; member
328 int *mode = (int *)opt->value; in parse_mem_ops() local
/tools/spi/
Dspidev_fdx.c83 __u32 mode, speed; in dumpstat() local

123