| /tools/testing/selftests/membarrier/ |
| D | membarrier_test_impl.h | 12 static int sys_membarrier(int cmd, int flags) in sys_membarrier() 19 int cmd = -1, flags = 0; in test_membarrier_cmd_fail() local 42 int cmd = MEMBARRIER_CMD_QUERY, flags = 1; in test_membarrier_flags_fail() local 65 int cmd = MEMBARRIER_CMD_GLOBAL, flags = 0; in test_membarrier_global_success() local 81 int cmd = MEMBARRIER_CMD_PRIVATE_EXPEDITED, flags = 0; in test_membarrier_private_expedited_fail() local 104 int cmd = MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED, flags = 0; in test_membarrier_register_private_expedited_success() local 121 int cmd = MEMBARRIER_CMD_PRIVATE_EXPEDITED, flags = 0; in test_membarrier_private_expedited_success() local 138 int cmd = MEMBARRIER_CMD_PRIVATE_EXPEDITED_SYNC_CORE, flags = 0; in test_membarrier_private_expedited_sync_core_fail() local 161 int cmd = MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED_SYNC_CORE, flags = 0; in test_membarrier_register_private_expedited_sync_core_success() local 178 int cmd = MEMBARRIER_CMD_PRIVATE_EXPEDITED, flags = 0; in test_membarrier_private_expedited_sync_core_success() local [all …]
|
| /tools/testing/cxl/test/ |
| D | mem.c | 68 static int mock_gsl(struct cxl_mbox_cmd *cmd) in mock_gsl() 79 static int mock_get_log(struct cxl_dev_state *cxlds, struct cxl_mbox_cmd *cmd) in mock_get_log() 103 static int mock_id(struct cxl_dev_state *cxlds, struct cxl_mbox_cmd *cmd) in mock_id() 123 struct cxl_mbox_cmd *cmd) in mock_partition_info() 140 static int mock_get_lsa(struct cxl_dev_state *cxlds, struct cxl_mbox_cmd *cmd) in mock_get_lsa() 159 static int mock_set_lsa(struct cxl_dev_state *cxlds, struct cxl_mbox_cmd *cmd) in mock_set_lsa() 177 struct cxl_mbox_cmd *cmd) in mock_health_info() 206 static int cxl_mock_mbox_send(struct cxl_dev_state *cxlds, struct cxl_mbox_cmd *cmd) in cxl_mock_mbox_send()
|
| /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/perf/ |
| D | perf.c | 52 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 361 const char *cmd = argv[0]; in handle_internal_command() local 382 char *cmd; in execv_dashed_external() local 454 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 101 struct data_cmd *cmd; in cmd_data() local
|
| /tools/testing/selftests/bpf/progs/ |
| D | test_kfunc_dynptr_param.c | 36 int BPF_PROG(dynptr_type_not_supp, int cmd, union bpf_attr *attr, in BPF_PROG() 48 int BPF_PROG(not_valid_dynptr, int cmd, union bpf_attr *attr, unsigned int size) in BPF_PROG() 57 int BPF_PROG(not_ptr_to_stack, int cmd, union bpf_attr *attr, unsigned int size) in BPF_PROG() 66 int BPF_PROG(dynptr_data_null, 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/kvm/aarch64/ |
| D | vgic_irq.c | 72 kvm_inject_cmd cmd; member 87 #define _KVM_INJECT_MULTI(cmd, intid, num, expect_failure) \ argument 90 #define KVM_INJECT_MULTI(cmd, intid, num) \ argument 93 #define _KVM_INJECT(cmd, intid, expect_failure) \ argument 96 #define KVM_INJECT(cmd, intid) \ argument 99 #define KVM_ACTIVATE(cmd, intid) \ argument 103 kvm_inject_cmd cmd; member 198 static void kvm_inject_call(kvm_inject_cmd cmd, uint32_t first_intid, in kvm_inject_call() 252 uint32_t intid, kvm_inject_cmd cmd) in test_inject_fail() 265 kvm_inject_cmd cmd) in guest_inject() [all …]
|
| /tools/testing/selftests/bpf/ |
| D | test_select_reuseport_common.h | 19 struct cmd { struct 20 __u32 reuseport_index; 21 __u32 pass_on_failure;
|
| /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 | 129 struct cmd { struct 130 const char *cmd; argument 134 int cmd_select(const struct cmd *cmds, int argc, char **argv, argument
|
| /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
|
| D | xdp_synproxy.c | 11 #define SYS(cmd) ({ \ argument 16 #define SYS_OUT(cmd, ...) ({ \ argument
|
| /tools/testing/selftests/vm/ |
| 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 176 const char *cmd; in main() local
|
| /tools/testing/selftests/kvm/include/ |
| D | kvm_util_base.h | 195 #define kvm_do_ioctl(fd, cmd, arg) \ argument 201 #define __kvm_ioctl(kvm_fd, cmd, arg) \ argument 205 #define _kvm_ioctl(kvm_fd, cmd, name, arg) \ argument 212 #define kvm_ioctl(kvm_fd, cmd, arg) \ argument 217 #define __vm_ioctl(vm, cmd, arg) \ argument 223 #define _vm_ioctl(vm, cmd, name, arg) \ argument 230 #define vm_ioctl(vm, cmd, arg) \ argument 236 #define __vcpu_ioctl(vcpu, cmd, arg) \ argument 242 #define _vcpu_ioctl(vcpu, cmd, name, arg) \ argument 249 #define vcpu_ioctl(vcpu, cmd, arg) \ argument
|
| /tools/include/uapi/linux/ |
| D | ethtool.h | 40 __u32 cmd; member 88 __u32 cmd; member
|
| /tools/perf/tests/ |
| D | python-use.c | 14 char *cmd; in test__python_use() local
|
| /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/perf/trace/beauty/ |
| D | ioctl.c | 126 static size_t ioctl__scnprintf_cmd(unsigned long cmd, char *bf, size_t size, bool show_prefix) in ioctl__scnprintf_cmd() 177 unsigned long cmd = arg->val; in syscall_arg__scnprintf_ioctl_cmd() local
|
| D | flock.c | 31 #define P_CMD(cmd) \ in syscall_arg__scnprintf_flock() argument
|
| /tools/lib/thermal/ |
| D | commands.c | 186 struct genl_cmd *cmd, in handle_netlink() 264 static thermal_error_t thermal_genl_auto(struct thermal_handler *th, int id, int cmd, in thermal_genl_auto()
|