Lines Matching refs:did
60 int did = -1; in server_main() local
66 if ((did = door_create(server_procedure, (void*)&exit_now, 0)) < 0) { in server_main()
72 if (fattach(did, door_file) < 0) { in server_main()
92 if (did >= 0 && door_revoke(did)) in server_main()
101 int did; in client_main() local
110 if ((did = open(door_file, O_RDWR)) >= 0) in client_main()
111 if (!door_info(did, &info)) in client_main()
114 close(did); in client_main()
137 if (door_call(did, ¶ms)) { in client_main()
139 close(did); in client_main()
143 close(did); in client_main()