Home
last modified time | relevance | path

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

123456

/tools/testing/selftests/membarrier/
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
167 int cmd = MEMBARRIER_CMD_PRIVATE_EXPEDITED_SYNC_CORE, flags = 0; in test_membarrier_private_expedited_sync_core_fail() local
190 int cmd = MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED_SYNC_CORE, flags = 0; in test_membarrier_register_private_expedited_sync_core_success() local
[all …]
/tools/testing/selftests/kvm/lib/aarch64/
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()
136 static void its_encode_phys_id(struct its_cmd_block *cmd, u32 phys_id) in its_encode_phys_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()
156 static void its_encode_target(struct its_cmd_block *cmd, u64 target_addr) in its_encode_target()
161 static void its_encode_collection(struct its_cmd_block *cmd, u16 col) in its_encode_collection()
[all …]
/tools/lib/subcmd/
Drun-command.c29 int start_command(struct child_process *cmd) in start_command()
168 static int wait_or_whine(struct child_process *cmd, bool block) in wait_or_whine()
218 int check_if_command_finished(struct child_process *cmd) in check_if_command_finished()
224 int finish_command(struct child_process *cmd) in finish_command()
229 int run_command(struct child_process *cmd) in run_command()
237 static void prepare_run_command_v_opt(struct child_process *cmd, in prepare_run_command_v_opt()
250 struct child_process cmd; in run_command_v_opt() local
/tools/testing/cxl/test/
Dmem.c233 static int mock_get_event(struct device *dev, struct cxl_mbox_cmd *cmd) in mock_get_event()
292 static int mock_clear_event(struct device *dev, struct cxl_mbox_cmd *cmd) in mock_clear_event()
464 struct cxl_mbox_cmd *cmd) in mock_set_timestamp()
525 static int mock_gsl(struct cxl_mbox_cmd *cmd) in mock_gsl()
536 static int mock_get_log(struct cxl_memdev_state *mds, struct cxl_mbox_cmd *cmd) in mock_get_log()
561 static int mock_rcd_id(struct cxl_mbox_cmd *cmd) in mock_rcd_id()
579 static int mock_id(struct cxl_mbox_cmd *cmd) in mock_id()
601 static int mock_partition_info(struct cxl_mbox_cmd *cmd) in mock_partition_info()
634 struct cxl_mbox_cmd *cmd) in mock_sanitize()
668 struct cxl_mbox_cmd *cmd) in mock_secure_erase()
[all …]
/tools/perf/
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
389 const char *cmd = argv[0]; in handle_internal_command() local
410 char *cmd; in execv_dashed_external() local
464 const char *cmd; in main() local
Dbuiltin-daemon.c638 union cmd { union
639 int cmd; member
643 int cmd; member
650 int cmd; member
657 int cmd; member
673 static int cmd_session_list(struct daemon *daemon, union cmd *cmd, FILE *out) in cmd_session_list()
764 static int cmd_session_kill(struct daemon *daemon, union cmd *cmd, FILE *out) in cmd_session_kill()
787 static int cmd_session_ping(struct daemon *daemon, union cmd *cmd, FILE *out) in cmd_session_ping()
814 union cmd cmd; in handle_server_socket() local
1125 static int lockf(int fd, int cmd, off_t len) in lockf()
[all …]
Dbuiltin-data.c21 #define for_each_cmd(cmd) \ argument
102 struct data_cmd *cmd; in cmd_data() local
/tools/testing/selftests/bpf/progs/
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) in BPF_PROG()
60 int BPF_PROG(lsm_s_run, int cmd, union bpf_attr *attr, unsigned int size) in BPF_PROG()
Dtest_kfunc_dynptr_param.c39 int BPF_PROG(not_valid_dynptr, int cmd, union bpf_attr *attr, unsigned int size) in BPF_PROG()
49 int BPF_PROG(not_ptr_to_stack, int cmd, union bpf_attr *attr, unsigned int size) in BPF_PROG()
58 int BPF_PROG(dynptr_data_null, int cmd, union bpf_attr *attr, unsigned int size) in BPF_PROG()
/tools/testing/selftests/kvm/aarch64/
Dvgic_irq.c65 kvm_inject_cmd cmd; member
80 #define _KVM_INJECT_MULTI(cmd, intid, num, expect_failure) \ argument
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
191 static void kvm_inject_call(kvm_inject_cmd cmd, uint32_t first_intid, in kvm_inject_call()
245 uint32_t intid, kvm_inject_cmd cmd) in test_inject_fail()
258 kvm_inject_cmd cmd) in guest_inject()
[all …]
/tools/testing/selftests/bpf/
Dtest_select_reuseport_common.h19 struct cmd { struct
20 __u32 reuseport_index;
21 __u32 pass_on_failure;
/tools/testing/selftests/iommu/
Diommufd_utils.h71 struct iommu_test_cmd cmd = { in _test_cmd_mock_domain() local
102 struct iommu_test_cmd cmd = { in _test_cmd_mock_domain_flags() local
133 struct iommu_test_cmd cmd = { in _test_cmd_mock_domain_replace() local
162 struct iommu_hwpt_alloc cmd = { in _test_cmd_hwpt_alloc() local
241 struct iommu_hwpt_invalidate cmd = { in _test_cmd_hwpt_invalidate() local
271 struct iommu_test_cmd cmd = { in _test_cmd_access_replace_ioas() local
289 struct iommu_hwpt_set_dirty_tracking cmd = { in _test_cmd_set_dirty_tracking() local
308 struct iommu_hwpt_get_dirty_bitmap cmd = { in _test_cmd_get_dirty_bitmap() local
334 struct iommu_test_cmd cmd = { in _test_cmd_mock_domain_set_dirty() local
420 struct iommu_test_cmd cmd = { in _test_cmd_create_access() local
[all …]
/tools/usb/usbip/src/
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/
Dmain.h128 struct cmd { struct
129 const char *cmd; argument
133 int cmd_select(const struct cmd *cmds, int argc, char **argv, argument
/tools/testing/selftests/kvm/lib/
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/
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
Dtest_ima.c19 const char *cmd) in _run_measured_process()
71 char cmd[256]; in test_test_ima() local
/tools/testing/selftests/kvm/include/x86_64/
Dsev.h47 #define __vm_sev_ioctl(vm, cmd, arg) \ argument
64 #define vm_sev_ioctl(vm, cmd, arg) \ argument
/tools/perf/scripts/python/
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/
Dhugetlb-soft-offline.c83 char cmd[256] = {0}; in set_enable_soft_offline() local
107 char cmd[256] = {0}; in read_nr_hugepages() local
Dgup_test.c26 static unsigned long cmd = GUP_FAST_BENCHMARK; variable
32 static char *cmd_to_str(unsigned long cmd) in cmd_to_str()
/tools/hv/
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/power/cpupower/utils/
Dcpupower.c47 const char *cmd; member
177 const char *cmd; in main() local
/tools/testing/selftests/net/tcp_ao/
Dsetsockopt-closed.c103 const char *cmd = NULL; in setsockopt_checked() local
126 static int prepare_defs(int cmd, void *optval) in prepare_defs()
182 static void test_extend(int cmd, bool get, const char *tst, socklen_t under_size) in test_extend()
/tools/perf/tests/
Dpython-use.c14 char *cmd; in test__python_use() local

123456