/titanic_44/usr/src/cmd/picl/plugins/common/piclevent/ |
H A D | picl_slm.c | 51 static int door_fd = -1; variable 138 if (door_fd < 0 || door_call(door_fd, &darg) < 0) { in post_piclevent() 139 if (door_fd >= 0) { in post_piclevent() 149 (void) close(door_fd); in post_piclevent() 152 door_fd = open(PICLEVENT_DOOR, O_RDONLY); in post_piclevent() 156 PICLEVENT_DOOR, door_fd); in post_piclevent() 157 if (door_fd < 0 || door_call(door_fd, &darg) < 0) { in post_piclevent() 164 door_fd, pack_buf, nvl_size); in post_piclevent() 431 if (door_fd >= 0) in slm_fini() 432 (void) close(door_fd); in slm_fini() [all …]
|
/titanic_44/usr/src/cmd/fs.d/smbclnt/smbiod/ |
H A D | smbiod.c | 77 int door_fd = -1; in main() local 98 err = smb_iod_open_door(&door_fd); in main() 100 close(door_fd); in main() 101 door_fd = -1; in main() 115 door_fd = door_create(iod_dispatch, NULL, in main() 117 if (door_fd == -1) { in main() 122 if (fattach(door_fd, door_path) < 0) { in main() 174 if (door_fd != -1) in main() 175 door_revoke(door_fd); in main()
|
/titanic_44/usr/src/lib/libsmedia/library/common/ |
H A D | l_misc.c | 88 int door_fd; in is_server_running() local 111 door_fd = open(smedia_service, O_RDONLY, 0644); in is_server_running() 112 if (door_fd < 0) { in is_server_running() 127 ret_val = door_call(door_fd, &door_args); in is_server_running() 128 (void) close(door_fd); in is_server_running() 166 door_fd = open(smedia_service, O_RDONLY, 0644); in is_server_running() 167 if (door_fd < 0) { in is_server_running() 181 ret_val = door_call(door_fd, &door_args); in is_server_running() 182 (void) close(door_fd); in is_server_running() 343 int door_fd, door_server; in get_handle_from_fd() local [all …]
|
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/bridged/ |
H A D | door.c | 52 static int door_fd = -1; variable 167 if (door_fd != -1) { in cleanup_door() 168 (void) door_revoke(door_fd); in cleanup_door() 169 door_fd = -1; in cleanup_door() 203 door_fd = door_create(bridge_door_server, NULL, in init_door() 205 if (door_fd == -1) { in init_door() 212 if (fattach(door_fd, doorname) == -1) { in init_door()
|
/titanic_44/usr/src/cmd/drd/ |
H A D | drd.c | 198 int door_fd; in drd_init_door_server() local 205 if ((door_fd = door_create(drd_door_server, NULL, 0)) == -1) { in drd_init_door_server() 212 setup.did = door_fd; in drd_init_door_server() 217 (void) door_revoke(door_fd); in drd_init_door_server() 242 (void) door_revoke(door_fd); in drd_init_door_server() 248 if (fattach(door_fd, DRD_DOOR_FILE) == -1) { in drd_init_door_server() 252 (void) door_revoke(door_fd); in drd_init_door_server()
|
/titanic_44/usr/src/cmd/ibd_upgrade/ |
H A D | ibd_delete_link.c | 42 int door_fd; in ibd_dladm_door_call() local 53 if ((status = dladm_door_fd(handle, &door_fd)) != DLADM_STATUS_OK) in ibd_dladm_door_call() 56 if (door_call(door_fd, &darg) == -1) in ibd_dladm_door_call()
|
/titanic_44/usr/src/cmd/fs.d/smbclnt/smbiod-svc/ |
H A D | smbiod-svc.c | 190 int door_fd = -1, tmp_fd = -1, pfd = -1; in main() local 278 door_fd = door_create(svc_dispatch, NULL, in main() 280 if (door_fd == -1) { in main() 285 if (fattach(door_fd, door_path) < 0) { in main() 337 if (door_fd != -1) in main() 338 door_revoke(door_fd); in main()
|
/titanic_44/usr/src/cmd/hotplugd/ |
H A D | hotplugd_door.c | 65 static int door_fd = -1; variable 108 if ((door_fd = door_create(door_server, NULL, in door_server_init() 118 if (fattach(door_fd, HOTPLUGD_DOOR) != 0) { in door_server_init() 121 (void) door_revoke(door_fd); in door_server_init() 123 door_fd = -1; in door_server_init() 138 if (door_fd != -1) { in door_server_fini() 139 (void) door_revoke(door_fd); in door_server_fini()
|
/titanic_44/usr/src/cmd/vscan/vscand/ |
H A D | vs_main.c | 494 int door_fd = -1; in vscand_init() local 522 if (((door_fd = vs_door_init()) < 0) || in vscand_init() 523 (vscand_kernel_enable(door_fd) < 0)) { in vscand_init() 761 vscand_kernel_enable(int door_fd) in vscand_kernel_enable() argument 763 if (ioctl(vscand_kdrv_fd, VS_IOCTL_ENABLE, door_fd) < 0) { in vscand_kernel_enable()
|
/titanic_44/usr/src/lib/libdladm/common/ |
H A D | libdladm.c | 123 (*handle)->door_fd = -1; in dladm_open() 133 if (handle->door_fd != -1) in dladm_close() 134 (void) close(handle->door_fd); in dladm_close() 149 dladm_door_fd(dladm_handle_t handle, int *door_fd) in dladm_door_fd() argument 153 if (handle->door_fd == -1) { in dladm_door_fd() 156 handle->door_fd = fd; in dladm_door_fd() 158 *door_fd = handle->door_fd; in dladm_door_fd()
|
H A D | libdlmgmt.c | 58 int door_fd; in dladm_door_call() local 71 if ((status = dladm_door_fd(handle, &door_fd)) != DLADM_STATUS_OK) in dladm_door_call() 73 if (door_call(door_fd, &darg) == -1) { in dladm_door_call() 79 (void) close(handle->door_fd); in dladm_door_call() 80 handle->door_fd = -1; in dladm_door_call()
|
H A D | libdladm_impl.h | 50 int door_fd; /* file descriptor to DLMGMT_DOOR */ member
|
/titanic_44/usr/src/lib/librcm/ |
H A D | librcm_event.h | 47 int revoke_event_service(int door_fd);
|
/titanic_44/usr/src/lib/libvscan/common/ |
H A D | libvscan.c | 1346 int door_fd, rc = VS_ERR_NONE; in vs_statistics() local 1359 if ((door_fd = open(VS_STATS_DOOR_NAME, O_RDONLY)) < 0) { in vs_statistics() 1375 rc = vs_door_call(door_fd, &arg); in vs_statistics() 1382 (void) close(door_fd); in vs_statistics() 1396 int door_fd, rc; in vs_statistics_reset() local 1407 if ((door_fd = open(VS_STATS_DOOR_NAME, O_RDONLY)) < 0) { in vs_statistics_reset() 1422 rc = vs_door_call(door_fd, &arg); in vs_statistics_reset() 1424 (void) close(door_fd); in vs_statistics_reset()
|
/titanic_44/usr/src/lib/libhotplug/common/ |
H A D | libhotplug.c | 1176 int door_fd; in i_hp_call_hotplugd() local 1183 if ((door_fd = open(HOTPLUGD_DOOR, O_RDONLY)) < 0) { in i_hp_call_hotplugd() 1205 if (door_call(door_fd, &door_arg) != 0) { in i_hp_call_hotplugd() 1209 (void) close(door_fd); in i_hp_call_hotplugd() 1261 (void) door_call(door_fd, &door_arg); in i_hp_call_hotplugd() 1269 (void) close(door_fd); in i_hp_call_hotplugd()
|