• Home
  • Raw
  • Download

Lines Matching refs:slavename

57 	char *slavename;  in test1()  local
66 slavename = ptsname(masterfd); in test1()
67 if (slavename == NULL) { in test1()
79 if ((slavefd = open(slavename, O_RDWR)) < 0) { in test1()
80 tst_brkm(TFAIL, NULL, "Could not open %s", slavename); in test1()
138 char *slavename; in test2() local
148 slavename = ptsname(masterfd); in test2()
149 if (slavename == NULL) { in test2()
161 if ((slavefd = open(slavename, O_RDWR)) < 0) { in test2()
162 tst_brkm(TBROK, NULL, "Could not open %s", slavename); in test2()
222 char *slavename; in test3() local
229 slavename = ptsname(masterfd); in test3()
230 if (slavename == NULL) { in test3()
242 if ((slavefd = open(slavename, O_RDWR)) < 0) { in test3()
243 tst_brkm(TBROK, NULL, "Could not open %s", slavename); in test3()
273 char *slavename; in test4() local
280 slavename = ptsname(masterfd); in test4()
281 if (slavename == NULL) { in test4()
293 if ((slavefd = open(slavename, O_RDWR)) < 0) { in test4()
294 tst_brkm(TBROK, NULL, "Could not open %s", slavename); in test4()
297 if ((slavefd2 = open(slavename, O_RDWR)) < 0) { in test4()
298 tst_brkm(TFAIL, NULL, "Could not open %s (again)", slavename); in test4()
301 if ((slavefd3 = open(slavename, O_RDWR)) < 0) { in test4()
303 slavename); in test4()
333 char *slavename; in test5() local
352 slavename = ptsname(masterfd[i]); in test5()
353 if (slavename == NULL) { in test5()
367 if ((slavefd[i] = open(slavename, O_RDWR)) < 0) { in test5()
370 slavename); in test5()
396 char *slavename; in test6() local
404 slavename = ptsname(masterfd); in test6()
405 if (slavename == NULL) { in test6()
417 if ((slavefd = open(slavename, O_RDWR)) < 0) { in test6()
418 tst_brkm(TBROK, NULL, "Could not open %s", slavename); in test6()