Searched refs:ctl_fd (Results 1 – 3 of 3) sorted by relevance
/external/openssh/openbsd-compat/ |
D | port-solaris.c | 146 int r, ctl_fd = -1, stat_fd = -1; in solaris_contract_post_fork_parent() local 176 if ((ctl_fd = open64(ctl_path, O_WRONLY)) < 0) { in solaris_contract_post_fork_parent() 181 if (ct_ctl_abandon(ctl_fd) < 0) { in solaris_contract_post_fork_parent() 186 close(ctl_fd); in solaris_contract_post_fork_parent() 196 if (ctl_fd != -1) in solaris_contract_post_fork_parent() 197 close(ctl_fd); in solaris_contract_post_fork_parent()
|
/external/valgrind/coregrind/ |
D | vgdb-invoker-solaris.c | 83 static int ctl_fd = -1; variable 135 ctl_fd = open(procname, O_WRONLY, 0); in attach() 136 if (ctl_fd < 0) { in attach() 148 ssize_t written = write(ctl_fd, (void *) &ctl, bytes); in attach() 159 written = write(ctl_fd, (void *) &ctl, bytes); in attach() 205 if (ctl_fd != -1) { in detach() 206 close(ctl_fd); in detach() 207 ctl_fd = -1; in detach() 373 assert(ctl_fd != -1); in invoke_agent() 382 ssize_t written = write(ctl_fd, (void *) &ctl, bytes); in invoke_agent()
|
/external/ltp/lib/ |
D | tst_device.c | 68 int ctl_fd, dev_fd, rc, i; in find_free_loopdev() local 72 ctl_fd = open(LOOP_CONTROL_FILE, O_RDWR); in find_free_loopdev() 74 if (ctl_fd > 0) { in find_free_loopdev() 75 rc = ioctl(ctl_fd, LOOP_CTL_GET_FREE); in find_free_loopdev() 76 close(ctl_fd); in find_free_loopdev()
|