Lines Matching refs:result
130 struct handshake_req *result;
135 result = handshake_req_alloc(param->proto, param->gfp);
139 KUNIT_EXPECT_NOT_NULL(test, result);
141 KUNIT_EXPECT_NULL(test, result);
143 kfree(result);
149 int err, result;
157 result = handshake_req_submit(sock, NULL, GFP_KERNEL);
160 KUNIT_EXPECT_EQ(test, result, -EINVAL);
168 int result;
175 result = handshake_req_submit(NULL, req, GFP_KERNEL);
178 KUNIT_EXPECT_EQ(test, result, -EINVAL);
187 int err, result;
199 result = handshake_req_submit(sock, req, GFP_KERNEL);
202 KUNIT_EXPECT_EQ(test, result, -EINVAL);
210 struct handshake_req *req, *result;
231 result = handshake_req_hash_lookup(sock->sk);
234 KUNIT_EXPECT_NOT_NULL(test, result);
235 KUNIT_EXPECT_PTR_EQ(test, req, result);
317 bool result;
338 result = handshake_req_cancel(sock->sk);
341 KUNIT_EXPECT_TRUE(test, result);
353 bool result;
380 result = handshake_req_cancel(sock->sk);
383 KUNIT_EXPECT_TRUE(test, result);
395 bool result;
425 result = handshake_req_cancel(sock->sk);
428 KUNIT_EXPECT_FALSE(test, result);
475 * completion before checking the result.