Searched refs:doorh (Results 1 – 2 of 2) sorted by relevance
911 int doorh; in daemon_exists() local914 doorh = open(PICLD_DOOR, O_RDONLY); in daemon_exists()915 if (doorh < 0) in daemon_exists()918 if (door_info(doorh, &dinfo) < 0) { in daemon_exists()919 (void) close(doorh); in daemon_exists()925 (void) close(doorh); in daemon_exists()930 (void) close(doorh); in daemon_exists()943 if (door_call(doorh, &darg) < 0) { in daemon_exists()944 (void) close(doorh); in daemon_exists()948 (void) close(doorh); in daemon_exists()
2776 int doorh; in server_exists() local2780 doorh = open(smedia_service, O_RDONLY); in server_exists()2781 if (doorh < 0) in server_exists()2783 if (door_info(doorh, &dinfo) < 0) { in server_exists()2784 (void) close(doorh); in server_exists()2788 (void) close(doorh); in server_exists()2801 if (door_call(doorh, &darg) < 0) { in server_exists()2802 (void) close(doorh); in server_exists()2807 (void) close(doorh); in server_exists()2811 (void) close(doorh); in server_exists()