/illumos-gate/usr/src/lib/librcm/ |
H A D | librcm_event.h | 47 int revoke_event_service(int door_fd);
|
/illumos-gate/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) { 168 (void) door_revoke(door_fd); 169 door_fd = -1; 203 door_fd = door_create(bridge_door_server, NULL, 205 if (door_fd == -1) { 212 if (fattach(door_fd, doorname) == -1) {
|
/illumos-gate/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) { 139 if (door_fd >= 0) { 149 (void) close(door_fd); 152 door_fd = open(PICLEVENT_DOOR, O_RDONLY); 155 "picl_slm: opened door %s door_fd: %d\n", 156 PICLEVENT_DOOR, door_fd); 157 if (door_fd < 0 || door_call(door_fd, [all...] |
/illumos-gate/usr/src/cmd/fs.d/smbclnt/smbiod/ |
H A D | smbiod.c | 77 int door_fd = -1; local 98 err = smb_iod_open_door(&door_fd); 100 close(door_fd); 101 door_fd = -1; 115 door_fd = door_create(iod_dispatch, NULL, 117 if (door_fd == -1) { 122 if (fattach(door_fd, door_path) < 0) { 174 if (door_fd != -1) 175 door_revoke(door_fd);
|
/illumos-gate/usr/src/lib/libsmedia/library/common/ |
H A D | l_misc.c | 88 int door_fd; local 111 door_fd = open(smedia_service, O_RDONLY, 0644); 112 if (door_fd < 0) { 127 ret_val = door_call(door_fd, &door_args); 128 (void) close(door_fd); 166 door_fd = open(smedia_service, O_RDONLY, 0644); 167 if (door_fd < 0) { 181 ret_val = door_call(door_fd, &door_args); 182 (void) close(door_fd); 343 int door_fd, door_serve local [all...] |
/illumos-gate/usr/src/cmd/drd/ |
H A D | drd.c | 198 int door_fd; local 205 if ((door_fd = door_create(drd_door_server, NULL, 0)) == -1) { 212 setup.did = door_fd; 217 (void) door_revoke(door_fd); 242 (void) door_revoke(door_fd); 248 if (fattach(door_fd, DRD_DOOR_FILE) == -1) { 252 (void) door_revoke(door_fd);
|
/illumos-gate/usr/src/cmd/ibd_upgrade/ |
H A D | ibd_delete_link.c | 42 int door_fd; local 53 if ((status = dladm_door_fd(handle, &door_fd)) != DLADM_STATUS_OK) 56 if (door_call(door_fd, &darg) == -1)
|
/illumos-gate/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, 118 if (fattach(door_fd, HOTPLUGD_DOOR) != 0) { 121 (void) door_revoke(door_fd); 123 door_fd = -1; 138 if (door_fd != -1) { 139 (void) door_revoke(door_fd);
|
/illumos-gate/usr/src/cmd/fs.d/smbclnt/smbiod-svc/ |
H A D | smbiod-svc.c | 190 int door_fd = -1, tmp_fd = -1, pfd = -1; local 278 door_fd = door_create(svc_dispatch, NULL, 280 if (door_fd == -1) { 285 if (fattach(door_fd, door_path) < 0) { 337 if (door_fd != -1) 338 door_revoke(door_fd);
|
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | libdladm_impl.h | 50 int door_fd; /* file descriptor to DLMGMT_DOOR */ member in struct:dladm_handle
|
H A D | libdladm.c | 123 (*handle)->door_fd = -1; 133 if (handle->door_fd != -1) 134 (void) close(handle->door_fd); 149 dladm_door_fd(dladm_handle_t handle, int *door_fd) argument 153 if (handle->door_fd == -1) { 156 handle->door_fd = fd; 158 *door_fd = handle->door_fd;
|
H A D | libdlmgmt.c | 58 int door_fd; local 71 if ((status = dladm_door_fd(handle, &door_fd)) != DLADM_STATUS_OK) 73 if (door_call(door_fd, &darg) == -1) { 76 * since last door_fd open so try re-opening door file. 79 (void) close(handle->door_fd); 80 handle->door_fd = -1;
|
/illumos-gate/usr/src/cmd/vscan/vscand/ |
H A D | vs_main.c | 494 int door_fd = -1; local 522 if (((door_fd = vs_door_init()) < 0) || 523 (vscand_kernel_enable(door_fd) < 0)) { 761 vscand_kernel_enable(int door_fd) argument 763 if (ioctl(vscand_kdrv_fd, VS_IOCTL_ENABLE, door_fd) < 0) {
|
/illumos-gate/usr/src/lib/libvscan/common/ |
H A D | libvscan.c | 1346 int door_fd, rc = VS_ERR_NONE; local 1359 if ((door_fd = open(VS_STATS_DOOR_NAME, O_RDONLY)) < 0) { 1375 rc = vs_door_call(door_fd, &arg); 1382 (void) close(door_fd); 1396 int door_fd, rc; local 1407 if ((door_fd = open(VS_STATS_DOOR_NAME, O_RDONLY)) < 0) { 1422 rc = vs_door_call(door_fd, &arg); 1424 (void) close(door_fd);
|
/illumos-gate/usr/src/lib/libhotplug/common/ |
H A D | libhotplug.c | 1176 int door_fd; local 1183 if ((door_fd = open(HOTPLUGD_DOOR, O_RDONLY)) < 0) { 1205 if (door_call(door_fd, &door_arg) != 0) { 1209 (void) close(door_fd); 1261 (void) door_call(door_fd, &door_arg); 1269 (void) close(door_fd);
|