Lines Matching refs:expected
241 u8 expected; in simple_check_buf() local
249 expected = 0; in simple_check_buf()
257 expected = i % 63; in simple_check_buf()
261 expected = !*buf; in simple_check_buf()
264 if (*buf == expected) in simple_check_buf()
266 ERROR(tdev, "buf[%d] = %d (not %d)\n", i, *buf, expected); in simple_check_buf()
284 int expected, in simple_io() argument
322 if (expected != retval) in simple_io()
325 label, iterations, retval, expected); in simple_io()
584 int expected = udev->actconfig->desc.bConfigurationValue; in ch9_postconfig() local
594 if (retval != 1 || dev->buf [0] != expected) { in ch9_postconfig()
596 retval, dev->buf[0], expected); in ch9_postconfig()
713 int expected; member
747 if (status == subcase->expected) in ctrl_complete()
754 if (subcase->expected > 0 && ( in ctrl_complete()
755 ((status == -subcase->expected /* happened */ in ctrl_complete()
862 int expected = 0; in test_ctrl_queue() local
886 expected = EPIPE; in test_ctrl_queue()
903 expected = EPIPE; in test_ctrl_queue()
914 expected = -EPIPE; in test_ctrl_queue()
925 expected = EPIPE; in test_ctrl_queue()
936 expected = -EREMOTEIO; in test_ctrl_queue()
943 expected = EPIPE; in test_ctrl_queue()
951 expected = EREMOTEIO; // or EPIPE, if no strings in test_ctrl_queue()
957 expected = -EREMOTEIO; in test_ctrl_queue()
967 expected = -EREMOTEIO; in test_ctrl_queue()
985 reqp->expected = expected; in test_ctrl_queue()