Lines Matching refs:master
484 _cleanup_close_ int master = -1;
505 master = machine_openpt(m, O_RDWR|O_NOCTTY|O_CLOEXEC);
506 if (master < 0)
507 return master;
509 r = ptsname_namespace(master, &pty_name);
517 r = sd_bus_message_append(reply, "hs", master, pty_name);
574 _cleanup_close_ int master = -1;
597 master = machine_openpt(m, O_RDWR|O_NOCTTY|O_CLOEXEC);
598 if (master < 0)
599 return master;
601 r = ptsname_namespace(master, &pty_name);
632 r = sd_bus_message_append(reply, "hs", master, pty_name);
644 _cleanup_close_ int master = -1, slave = -1;
696 master = machine_openpt(m, O_RDWR|O_NOCTTY|O_CLOEXEC);
697 if (master < 0)
698 return master;
700 r = ptsname_namespace(master, &pty_name);
857 r = sd_bus_message_append(reply, "hs", master, pty_name);