• Home
  • Raw
  • Download

Lines Matching refs:slavename

58 	char *slavename;  in test1()  local
64 slavename = ptsname(masterfd); in test1()
65 if (slavename == NULL) { in test1()
77 if ((slavefd = open(slavename, O_RDWR)) < 0) { in test1()
78 tst_brkm(TFAIL, NULL, "Could not open %s", slavename); in test1()
136 char *slavename; in test2() local
143 slavename = ptsname(masterfd); in test2()
144 if (slavename == NULL) { in test2()
156 if ((slavefd = open(slavename, O_RDWR)) < 0) { in test2()
157 tst_brkm(TBROK, NULL, "Could not open %s", slavename); in test2()
217 char *slavename; in test3() local
221 slavename = ptsname(masterfd); in test3()
222 if (slavename == NULL) { in test3()
234 if ((slavefd = open(slavename, O_RDWR)) < 0) { in test3()
235 tst_brkm(TBROK, NULL, "Could not open %s", slavename); in test3()
265 char *slavename; in test4() local
269 slavename = ptsname(masterfd); in test4()
270 if (slavename == NULL) { in test4()
282 if ((slavefd = open(slavename, O_RDWR)) < 0) { in test4()
283 tst_brkm(TBROK, NULL, "Could not open %s", slavename); in test4()
286 if ((slavefd2 = open(slavename, O_RDWR)) < 0) { in test4()
287 tst_brkm(TFAIL, NULL, "Could not open %s (again)", slavename); in test4()
290 if ((slavefd3 = open(slavename, O_RDWR)) < 0) { in test4()
292 slavename); in test4()
322 char *slavename; in test5() local
341 slavename = ptsname(masterfd[i]); in test5()
342 if (slavename == NULL) { in test5()
356 if ((slavefd[i] = open(slavename, O_RDWR)) < 0) { in test5()
359 slavename); in test5()
385 char *slavename; in test6() local
390 slavename = ptsname(masterfd); in test6()
391 if (slavename == NULL) { in test6()
403 if ((slavefd = open(slavename, O_RDWR)) < 0) { in test6()
404 tst_brkm(TBROK, NULL, "Could not open %s", slavename); in test6()