Home
last modified time | relevance | path

Searched defs:cmd (Results 1 – 25 of 143) sorted by relevance

123456

/tools/testing/selftests/membarrier/
A Dmembarrier_test_impl.h14 static int sys_membarrier(int cmd, int flags) in sys_membarrier()
19 static int test_membarrier_get_registrations(int cmd) in test_membarrier_get_registrations()
46 int cmd = -1, flags = 0; in test_membarrier_cmd_fail() local
69 int cmd = MEMBARRIER_CMD_QUERY, flags = 1; in test_membarrier_flags_fail() local
92 int cmd = MEMBARRIER_CMD_GLOBAL, flags = 0; in test_membarrier_global_success() local
108 int cmd = MEMBARRIER_CMD_PRIVATE_EXPEDITED, flags = 0; in test_membarrier_private_expedited_fail() local
131 int cmd = MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED, flags = 0; in test_membarrier_register_private_expedited_success() local
150 int cmd = MEMBARRIER_CMD_PRIVATE_EXPEDITED, flags = 0; in test_membarrier_private_expedited_success() local
209 int cmd = MEMBARRIER_CMD_PRIVATE_EXPEDITED, flags = 0; in test_membarrier_private_expedited_sync_core_success() local
226 int cmd = MEMBARRIER_CMD_REGISTER_GLOBAL_EXPEDITED, flags = 0; in test_membarrier_register_global_expedited_success() local
[all …]
/tools/testing/selftests/kvm/lib/arm64/
A Dgic_v3_its.c105 static inline void its_fixup_cmd(struct its_cmd_block *cmd) in its_fixup_cmd()
121 static void its_encode_cmd(struct its_cmd_block *cmd, u8 cmd_nr) in its_encode_cmd()
126 static void its_encode_devid(struct its_cmd_block *cmd, u32 devid) in its_encode_devid()
131 static void its_encode_event_id(struct its_cmd_block *cmd, u32 id) in its_encode_event_id()
141 static void its_encode_size(struct its_cmd_block *cmd, u8 size) in its_encode_size()
146 static void its_encode_itt(struct its_cmd_block *cmd, u64 itt_addr) in its_encode_itt()
151 static void its_encode_valid(struct its_cmd_block *cmd, int valid) in its_encode_valid()
203 struct its_cmd_block cmd = {}; in its_send_mapd_cmd() local
216 struct its_cmd_block cmd = {}; in its_send_mapc_cmd() local
229 struct its_cmd_block cmd = {}; in its_send_mapti_cmd() local
[all …]
/tools/lib/subcmd/
A Drun-command.c31 int start_command(struct child_process *cmd) in start_command()
170 static int wait_or_whine(struct child_process *cmd, bool block) in wait_or_whine()
230 int check_if_command_finished(struct child_process *cmd) in check_if_command_finished()
268 int finish_command(struct child_process *cmd) in finish_command()
273 int run_command(struct child_process *cmd) in run_command()
281 static void prepare_run_command_v_opt(struct child_process *cmd, in prepare_run_command_v_opt()
294 struct child_process cmd; in run_command_v_opt() local
/tools/testing/cxl/test/
A Dmem.c673 struct cxl_mbox_cmd *cmd) in mock_sanitize()
729 struct cxl_mbox_cmd *cmd) in mock_get_security_state()
892 struct cxl_mbox_cmd *cmd) in mock_freeze_security()
908 struct cxl_mbox_cmd *cmd) in mock_unlock_security()
949 struct cxl_mbox_cmd *cmd) in mock_passphrase_secure_erase()
1047 struct cxl_mbox_cmd *cmd) in mock_get_lsa()
1067 struct cxl_mbox_cmd *cmd) in mock_set_lsa()
1166 struct cxl_mbox_cmd *cmd) in mock_get_poison()
1316 struct cxl_mbox_cmd *cmd) in mock_fw_info()
1416 struct cxl_mbox_cmd *cmd) in mock_get_test_feature()
[all …]
/tools/perf/
A Dperf.c46 const char *cmd; member
101 const char *cmd; member
120 static int check_pager_config(const char *cmd) in check_pager_config()
144 static int check_browser_config(const char *cmd) in check_browser_config()
202 const char *cmd = (*argv)[0]; in handle_options() local
386 const char *cmd = argv[0]; in handle_internal_command() local
407 char *cmd; in execv_dashed_external() local
461 const char *cmd; in main() local
A Dbuiltin-daemon.c638 union cmd { union
639 int cmd; member
643 int cmd; member
650 int cmd; member
657 int cmd; member
814 union cmd cmd; in handle_server_socket() local
1125 static int lockf(int fd, int cmd, off_t len) in lockf()
1405 union cmd cmd; in send_cmd_list() local
1425 union cmd cmd; in __cmd_signal() local
1451 union cmd cmd; in __cmd_stop() local
[all …]
A Dbuiltin-data.c21 #define for_each_cmd(cmd) \ argument
102 struct data_cmd *cmd; in cmd_data() local
/tools/testing/selftests/bpf/progs/
A Dtest_cgroup1_hierarchy.c17 static int bpf_link_create_verify(int cmd) in bpf_link_create_verify()
54 int BPF_PROG(lsm_run, int cmd, union bpf_attr *attr, unsigned int size, bool kernel) in BPF_PROG()
60 int BPF_PROG(lsm_s_run, int cmd, union bpf_attr *attr, unsigned int size, bool kernel) in BPF_PROG()
A Dtest_kfunc_dynptr_param.c39 int BPF_PROG(not_valid_dynptr, int cmd, union bpf_attr *attr, unsigned int size, bool kernel) in BPF_PROG()
49 int BPF_PROG(not_ptr_to_stack, int cmd, union bpf_attr *attr, unsigned int size, bool kernel) in BPF_PROG()
58 int BPF_PROG(dynptr_data_null, int cmd, union bpf_attr *attr, unsigned int size, bool kernel) in BPF_PROG()
/tools/testing/selftests/kvm/arm64/
A Dvgic_irq.c65 kvm_inject_cmd cmd; member
83 #define KVM_INJECT_MULTI(cmd, intid, num) \ argument
86 #define _KVM_INJECT(cmd, intid, expect_failure) \ argument
89 #define KVM_INJECT(cmd, intid) \ argument
92 #define KVM_ACTIVATE(cmd, intid) \ argument
96 kvm_inject_cmd cmd; member
245 uint32_t intid, kvm_inject_cmd cmd) in test_inject_fail()
258 kvm_inject_cmd cmd) in guest_inject()
295 kvm_inject_cmd cmd) in guest_restore_active()
363 kvm_inject_cmd cmd) in test_inject_preemption()
[all …]
/tools/testing/selftests/bpf/
A Dtest_select_reuseport_common.h19 struct cmd { struct
20 __u32 reuseport_index;
21 __u32 pass_on_failure;
/tools/include/nolibc/sys/
A Dreboot.h23 ssize_t sys_reboot(int magic1, int magic2, int cmd, void *arg) in sys_reboot()
29 int reboot(int cmd) in reboot()
A Dioctl.h22 long sys_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg) in sys_ioctl()
27 #define ioctl(fd, cmd, arg) __sysret(sys_ioctl(fd, cmd, (unsigned long)(arg))) argument
/tools/usb/usbip/src/
A Dusbip.c95 const struct command *cmd; in usbip_help() local
127 static int run_command(const struct command *cmd, int argc, char *argv[]) in run_command()
142 char *cmd; in main() local
/tools/bpf/bpftool/
A Dmain.h129 struct cmd { struct
130 const char *cmd; member
134 int cmd_select(const struct cmd *cmds, int argc, char **argv, argument
/tools/testing/selftests/iommu/
A Diommufd_utils.h103 struct iommu_test_cmd cmd = { in _test_cmd_mock_domain() local
134 struct iommu_test_cmd cmd = { in _test_cmd_mock_domain_flags() local
165 struct iommu_test_cmd cmd = { in _test_cmd_mock_domain_replace() local
194 struct iommu_hwpt_alloc cmd = { in _test_cmd_hwpt_alloc() local
359 struct iommu_test_cmd cmd = { in _test_cmd_access_replace_ioas() local
422 struct iommu_test_cmd cmd = { in _test_cmd_mock_domain_set_dirty() local
508 struct iommu_test_cmd cmd = { in _test_cmd_create_access() local
536 struct iommu_test_cmd cmd = { in _test_cmd_destroy_access_pages() local
553 struct iommu_destroy cmd = { in _test_ioctl_destroy() local
583 struct iommu_ioas_map cmd = { in _test_ioctl_ioas_map() local
[all …]
/tools/testing/selftests/kvm/lib/
A Ducall_common.c82 void ucall_assert(uint64_t cmd, const char *exp, const char *file, in ucall_assert()
104 void ucall_fmt(uint64_t cmd, const char *fmt, ...) in ucall_fmt()
121 void ucall(uint64_t cmd, int nargs, ...) in ucall()
/tools/testing/selftests/bpf/prog_tests/
A Dselect_reuseport.c227 static void check_data(int type, sa_family_t family, const struct cmd *cmd, in check_data()
386 static void do_test(int type, sa_family_t family, struct cmd *cmd, in do_test()
446 struct cmd cmd = { in test_err_inner_map() local
463 struct cmd cmd = { in test_err_sk_select_port() local
474 struct cmd cmd; in test_pass() local
488 struct cmd cmd = { in test_syncookie() local
522 struct cmd cmd = { in test_pass_on_err() local
537 struct cmd cmd = {}; in test_detach_bpf() local
A Dtest_ima.c19 const char *cmd) in _run_measured_process()
71 char cmd[256]; in test_test_ima() local
/tools/perf/scripts/python/
A Dparallel-perf.py41 def __init__(self, cmd, pipe_to, output_dir="."): argument
142 def InsertOptionAfter(cmd, option, after): argument
149 def CreateWorkList(cmd, pipe_to, output_dir, cpus, time_ranges_by_cpu): argument
362 def DetermineInputFileName(cmd): argument
389 def PerfDoubleQuickCommands(cmd, file_name): argument
437 def ProcessCommandOutputLines(cmd, per_cpu, fn, *x): argument
490 def SplitTimeRangesByTraceDataDensity(time_ranges, cpus, nr, cmd, file_name, per_cpu, min_size, min… argument
/tools/testing/selftests/mm/
A Dgup_test.c26 static unsigned long cmd = GUP_FAST_BENCHMARK; variable
32 static char *cmd_to_str(unsigned long cmd) in cmd_to_str()
A Dhugetlb-soft-offline.c83 char cmd[256] = {0}; in set_enable_soft_offline() local
107 char cmd[256] = {0}; in read_nr_hugepages() local
/tools/hv/
A Dhv_vss_daemon.c34 static int vss_do_freeze(char *dir, unsigned int cmd) in vss_do_freeze()
121 unsigned int cmd; in vss_operate() local
/tools/testing/selftests/kvm/include/x86/
A Dsev.h79 #define __vm_sev_ioctl(vm, cmd, arg) \ argument
96 #define vm_sev_ioctl(vm, cmd, arg) \ argument
/tools/power/cpupower/utils/
A Dcpupower.c47 const char *cmd; member
177 const char *cmd; in main() local

Completed in 33 milliseconds

123456