| /tools/testing/selftests/membarrier/ |
| D | membarrier_test_impl.h | 14 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/lib/subcmd/ |
| D | run-command.c | 29 int start_command(struct child_process *cmd) in start_command() 200 int finish_command(struct child_process *cmd) in finish_command() 205 int run_command(struct child_process *cmd) in run_command() 213 static void prepare_run_command_v_opt(struct child_process *cmd, in prepare_run_command_v_opt() 226 struct child_process cmd; in run_command_v_opt() local
|
| /tools/testing/cxl/test/ |
| D | mem.c | 219 static int mock_get_event(struct device *dev, struct cxl_mbox_cmd *cmd) in mock_get_event() 272 static int mock_clear_event(struct device *dev, struct cxl_mbox_cmd *cmd) in mock_clear_event() 418 struct cxl_mbox_cmd *cmd) in mock_set_timestamp() 479 static int mock_gsl(struct cxl_mbox_cmd *cmd) in mock_gsl() 490 static int mock_get_log(struct cxl_memdev_state *mds, struct cxl_mbox_cmd *cmd) in mock_get_log() 514 static int mock_rcd_id(struct cxl_mbox_cmd *cmd) in mock_rcd_id() 532 static int mock_id(struct cxl_mbox_cmd *cmd) in mock_id() 554 static int mock_partition_info(struct cxl_mbox_cmd *cmd) in mock_partition_info() 572 struct cxl_mbox_cmd *cmd) in mock_sanitize() 593 struct cxl_mbox_cmd *cmd) in mock_secure_erase() [all …]
|
| /tools/perf/ |
| D | perf.c | 44 const char *cmd; member 98 const char *cmd; member 117 static int check_pager_config(const char *cmd) in check_pager_config() 141 static int check_browser_config(const char *cmd) in check_browser_config() 185 const char *cmd = (*argv)[0]; in handle_options() local 360 const char *cmd = argv[0]; in handle_internal_command() local 381 char *cmd; in execv_dashed_external() local 435 const char *cmd; in main() local
|
| D | builtin-daemon.c | 637 union cmd { union 638 int cmd; member 642 int cmd; member 649 int cmd; member 656 int cmd; member 672 static int cmd_session_list(struct daemon *daemon, union cmd *cmd, FILE *out) in cmd_session_list() 763 static int cmd_session_kill(struct daemon *daemon, union cmd *cmd, FILE *out) in cmd_session_kill() 786 static int cmd_session_ping(struct daemon *daemon, union cmd *cmd, FILE *out) in cmd_session_ping() 813 union cmd cmd; in handle_server_socket() local 1124 static int lockf(int fd, int cmd, off_t len) in lockf() [all …]
|
| D | builtin-data.c | 21 #define for_each_cmd(cmd) \ argument 102 struct data_cmd *cmd; in cmd_data() local
|
| /tools/testing/selftests/iommu/ |
| D | iommufd_utils.h | 50 struct iommu_test_cmd cmd = { in _test_cmd_mock_domain() local 80 struct iommu_test_cmd cmd = { in _test_cmd_mock_domain_replace() local 108 struct iommu_hwpt_alloc cmd = { in _test_cmd_hwpt_alloc() local 129 struct iommu_test_cmd cmd = { in _test_cmd_access_replace_ioas() local 148 struct iommu_test_cmd cmd = { in _test_cmd_create_access() local 176 struct iommu_test_cmd cmd = { in _test_cmd_destroy_access_pages() local 193 struct iommu_destroy cmd = { in _test_ioctl_destroy() local 203 struct iommu_ioas_alloc cmd = { in _test_ioctl_ioas_alloc() local 223 struct iommu_ioas_map cmd = { in _test_ioctl_ioas_map() local 284 struct iommu_ioas_unmap cmd = { in _test_ioctl_ioas_unmap() local [all …]
|
| D | iommufd.c | 75 struct iommu_destroy cmd = { .size = sizeof(cmd), .id = 0 }; in TEST_F() local 131 struct iommu_destroy cmd; in TEST_F() member 133 } cmd = { .cmd = { .size = sizeof(cmd), .id = 0 } }; in TEST_F() local 150 struct iommu_option cmd = { in TEST_F() local 935 struct iommu_option cmd = { in TEST_F() local 981 struct iommu_option cmd = { in TEST_F() local 1567 struct iommu_option cmd = { in TEST_F() local 1597 #define ioctl_check_buf(fd, cmd) \ argument
|
| /tools/testing/selftests/bpf/progs/ |
| D | test_kfunc_dynptr_param.c | 39 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()
|
| D | test_ptr_untrusted.c | 10 int BPF_PROG(lsm_run, int cmd, union bpf_attr *attr, unsigned int size) in BPF_PROG()
|
| D | test_lookup_key.c | 26 int BPF_PROG(bpf, int cmd, union bpf_attr *attr, unsigned int size) in BPF_PROG()
|
| /tools/testing/selftests/bpf/ |
| D | test_select_reuseport_common.h | 19 struct cmd { struct 20 __u32 reuseport_index; 21 __u32 pass_on_failure;
|
| /tools/testing/selftests/kvm/aarch64/ |
| D | vgic_irq.c | 71 kvm_inject_cmd cmd; member 86 #define _KVM_INJECT_MULTI(cmd, intid, num, expect_failure) \ argument 89 #define KVM_INJECT_MULTI(cmd, intid, num) \ argument 92 #define _KVM_INJECT(cmd, intid, expect_failure) \ argument 95 #define KVM_INJECT(cmd, intid) \ argument 98 #define KVM_ACTIVATE(cmd, intid) \ argument 102 kvm_inject_cmd cmd; member 197 static void kvm_inject_call(kvm_inject_cmd cmd, uint32_t first_intid, in kvm_inject_call() 251 uint32_t intid, kvm_inject_cmd cmd) in test_inject_fail() 264 kvm_inject_cmd cmd) in guest_inject() [all …]
|
| /tools/usb/usbip/src/ |
| D | usbip.c | 95 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/ |
| D | main.h | 128 struct cmd { struct 129 const char *cmd; member 133 int cmd_select(const struct cmd *cmds, int argc, char **argv, argument
|
| /tools/testing/selftests/kvm/lib/ |
| D | ucall_common.c | 78 void ucall_assert(uint64_t cmd, const char *exp, const char *file, in ucall_assert() 100 void ucall_fmt(uint64_t cmd, const char *fmt, ...) in ucall_fmt() 117 void ucall(uint64_t cmd, int nargs, ...) in ucall()
|
| /tools/testing/selftests/bpf/prog_tests/ |
| D | select_reuseport.c | 237 static void check_data(int type, sa_family_t family, const struct cmd *cmd, in check_data() 396 static void do_test(int type, sa_family_t family, struct cmd *cmd, in do_test() 456 struct cmd cmd = { in test_err_inner_map() local 473 struct cmd cmd = { in test_err_sk_select_port() local 484 struct cmd cmd; in test_pass() local 498 struct cmd cmd = { in test_syncookie() local 532 struct cmd cmd = { in test_pass_on_err() local 547 struct cmd cmd = {}; in test_detach_bpf() local
|
| D | test_ima.c | 19 const char *cmd) in _run_measured_process() 71 char cmd[256]; in test_test_ima() local
|
| /tools/testing/selftests/mm/ |
| D | gup_test.c | 26 static unsigned long cmd = GUP_FAST_BENCHMARK; variable 32 static char *cmd_to_str(unsigned long cmd) in cmd_to_str()
|
| /tools/hv/ |
| D | hv_vss_daemon.c | 34 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/ |
| D | cpupower.c | 47 const char *cmd; member 177 const char *cmd; in main() local
|
| /tools/perf/tests/ |
| D | python-use.c | 14 char *cmd; in test__python_use() local
|
| /tools/include/uapi/linux/ |
| D | ethtool.h | 40 __u32 cmd; member 88 __u32 cmd; member
|
| /tools/perf/ui/browsers/ |
| D | scripts.c | 156 void run_script(char *cmd) in run_script() 174 char *cmd, script_name[SCRIPT_FULLPATH_LEN]; in script_browse() local
|
| /tools/testing/selftests/kvm/include/ |
| D | kvm_util_base.h | 254 #define kvm_do_ioctl(fd, cmd, arg) \ argument 260 #define __kvm_ioctl(kvm_fd, cmd, arg) \ argument 264 #define _kvm_ioctl(kvm_fd, cmd, name, arg) \ argument 271 #define kvm_ioctl(kvm_fd, cmd, arg) \ argument 276 #define __vm_ioctl(vm, cmd, arg) \ argument 282 #define _vm_ioctl(vm, cmd, name, arg) \ argument 289 #define vm_ioctl(vm, cmd, arg) \ argument 295 #define __vcpu_ioctl(vcpu, cmd, arg) \ argument 301 #define _vcpu_ioctl(vcpu, cmd, name, arg) \ argument 308 #define vcpu_ioctl(vcpu, cmd, arg) \ argument
|