Lines Matching defs:thread_args

758 	struct wait_args thread_args;
783 thread_args.fd = fd;
784 thread_args.args = &wait_args;
785 thread_args.request = NTSYNC_IOC_WAIT_ANY;
786 ret = pthread_create(&thread, NULL, wait_thread, &thread_args);
800 EXPECT_EQ(0, thread_args.ret);
812 ret = pthread_create(&thread, NULL, wait_thread, &thread_args);
832 EXPECT_EQ(0, thread_args.ret);
845 ret = pthread_create(&thread, NULL, wait_thread, &thread_args);
858 EXPECT_EQ(0, thread_args.ret);
862 ret = pthread_create(&thread, NULL, wait_thread, &thread_args);
875 EXPECT_EQ(0, thread_args.ret);
886 ret = pthread_create(&thread, NULL, wait_thread, &thread_args);
899 EXPECT_EQ(0, thread_args.ret);
907 ret = pthread_create(&thread, NULL, wait_thread, &thread_args);
920 EXPECT_EQ(0, thread_args.ret);
927 ret = pthread_create(&thread, NULL, wait_thread, &thread_args);
938 EXPECT_EQ(-1, thread_args.ret);
939 EXPECT_EQ(ETIMEDOUT, thread_args.err);
951 struct wait_args thread_args;
983 thread_args.fd = fd;
984 thread_args.args = &wait_args;
985 thread_args.request = NTSYNC_IOC_WAIT_ALL;
986 ret = pthread_create(&thread, NULL, wait_thread, &thread_args);
1044 EXPECT_EQ(0, thread_args.ret);
1050 ret = pthread_create(&thread, NULL, wait_thread, &thread_args);
1063 EXPECT_EQ(-1, thread_args.ret);
1064 EXPECT_EQ(ETIMEDOUT, thread_args.err);
1075 struct wait_args thread_args;
1130 thread_args.fd = fd;
1131 thread_args.args = &wait_args;
1132 thread_args.request = NTSYNC_IOC_WAIT_ANY;
1133 ret = pthread_create(&thread, NULL, wait_thread, &thread_args);
1144 EXPECT_EQ(0, thread_args.ret);
1185 struct wait_args thread_args;
1227 thread_args.fd = fd;
1228 thread_args.args = &wait_args;
1229 thread_args.request = NTSYNC_IOC_WAIT_ALL;
1230 ret = pthread_create(&thread, NULL, wait_thread, &thread_args);
1241 EXPECT_EQ(0, thread_args.ret);