test_type
unsigned long test_type;
intel_dp->compliance.test_type = request;
if (intel_dp->compliance.test_type == DP_TEST_LINK_TRAINING) {
intel_dp->compliance.test_type != DP_TEST_LINK_PHY_TEST_PATTERN)
switch (intel_dp->compliance.test_type) {
if (intel_dp->compliance.test_type ==
else if (intel_dp->compliance.test_type ==
} else if (intel_dp->compliance.test_type ==
seq_printf(m, "%02lx\n", intel_dp->compliance.test_type);
static int run_test(struct intel_gt *gt, int test_type)
switch (test_type) {
if (test_type != SLPC_POWER) {
u16 test_type;
switch (test->test_type) {
switch (test->test_type) {
u8 test_type;
u8 test_type;
switch (test->test_type) {
u8 test_type;
switch (test->test_type) {
static int myri10ge_dma_test(struct myri10ge_priv *mgp, int test_type)
status = myri10ge_send_cmd(mgp, test_type, &cmd, 0);
status = myri10ge_send_cmd(mgp, test_type, &cmd, 0);
status = myri10ge_send_cmd(mgp, test_type, &cmd, 0);
if (status != 0 && test_type != MXGEFW_CMD_UNALIGNED_TEST)
struct rocker_wait *wait, u32 test_type,
rocker_write32(rocker, TEST_DMA_CTRL, test_type);
u32 test_type; // IFS test type
if (ifs_meta->test_type != test->test_num) {
ifs_meta->test_type);
static struct file_system_type test_type = {
ret = register_filesystem(&test_type);
test_mnt = kern_mount(&test_type);
unregister_filesystem(&test_type);
unregister_filesystem(&test_type);
#define DECLARE_TEST_OK(type, test_type) \
test_type { \
__u8 test_type = tests[which].aux & TEST_TYPE_MASK;
switch (test_type) {
__u8 test_type = tests[which].aux & TEST_TYPE_MASK;
switch (test_type) {
static bool type_code_in_range(u8 test_type, u8 min_code, u8 max_code,
return type == test_type && code >= min_code && code <= max_code;
static bool icmp_type_code_match(u8 test_type, u8 min_code, u8 max_code,
return (test_type == 0xFF ||
type_code_in_range(test_type, min_code, max_code, type, code))
static bool icmp6_type_code_match(u8 test_type, u8 min_code, u8 max_code,
return type_code_in_range(test_type, min_code, max_code, type, code) ^ invert;
static void do_test_lru(enum test_type test, int cpu)
static int check_test_flags(enum test_type t)
const char *test_name, *test_type;
test_type = conf_get_string(pcm_cfg, "type", NULL, "time");
if (strcmp(test_type, "time") == 0)
ksft_exit_fail_msg("unknown test type '%s'\n", test_type);
typedef void (*test_type)(struct vec_data *);
static const test_type tests[] = {
const char* test_type;
test_type = "read";
test_type = "write";
test_type = "readv";
test_type = "writev";
test_type, mte_type, map_type, len, offset);
enum test_type test_type)
switch (test_type) {
const struct btf_type *test_type, *expect_type;
test_type = btf__type_by_id(test_btf, i);
test_size = btf_type_size(test_type);
if (CHECK(btf_kind(test_type) != btf_kind(expect_type),
i, btf_kind(expect_type), btf_kind(test_type))) {
if (CHECK(test_type->info != expect_type->info,
i, expect_type->info, test_type->info)) {
if (CHECK(test_type->size != expect_type->size,
i, expect_type->size, test_type->size)) {
switch (param->test_type) {
switch (param->test_type) {
enum kfunc_test_type test_type;
.test_type = type, \
.test_type = type, \
static void do_test(int fd, size_t size, enum test_type type, bool shared)
int uffd, uffd_flags, finished, *pipefd, test_type;
if (features & UFFD_FEATURE_WP_UNPOPULATED && gopts->test_type == TEST_ANON)
gopts->test_type = TEST_ANON;
gopts->test_type = TEST_HUGETLB;
gopts->test_type = TEST_HUGETLB;
gopts->test_type = TEST_SHMEM;
gopts->test_type = TEST_SHMEM;
if (!gopts->test_type)
if (gopts->test_type == TEST_HUGETLB)
if (gopts->test_type != TEST_ANON && !(features & UFFD_FEATURE_WP_HUGETLBFS_SHMEM))
if (gopts->test_type == TEST_HUGETLB &&
enum test_type type, const char *func)
.test_type = TEST_PTY_TIOCSTI_BASIC,
.test_type = TEST_PTY_TIOCSTI_BASIC,
.test_type = TEST_PTY_TIOCSTI_BASIC,
.test_type = TEST_PTY_TIOCSTI_FD_PASSING,
.test_type = TEST_PTY_TIOCSTI_FD_PASSING,
.test_type = TEST_PTY_TIOCSTI_FD_PASSING,
.test_type = TEST_PTY_TIOCSTI_FD_PASSING,
.test_type = TEST_PTY_TIOCSTI_BASIC,
.test_type = TEST_PTY_TIOCSTI_BASIC,
.test_type = TEST_PTY_TIOCSTI_BASIC,
.test_type = TEST_PTY_TIOCSTI_BASIC,
.test_type = TEST_PTY_TIOCSTI_FD_PASSING,
.test_type = TEST_PTY_TIOCSTI_FD_PASSING,
.test_type = TEST_PTY_TIOCSTI_FD_PASSING,
.test_type = TEST_PTY_TIOCSTI_FD_PASSING,
if (variant->test_type == TEST_PTY_TIOCSTI_BASIC && !self->has_pty)
if (variant->test_type == TEST_PTY_TIOCSTI_FD_PASSING &&
if (variant->test_type == TEST_PTY_TIOCSTI_BASIC) {
const enum test_type test_type;
.test_type = TEST_PTY_TIOCSTI_BASIC,