Searched refs:sp_fd (Results 1 – 7 of 7) sorted by relevance
| /freebsd-head/contrib/openbsm/bin/auditdistd/ |
| HD | proto_socketpair.c | 46 int sp_fd[2]; member 73 if (socketpair(PF_UNIX, SOCK_STREAM, 0, spctx->sp_fd) == -1) { in sp_connect() 99 spctx->sp_fd[0] = fd; in sp_wrap() 100 spctx->sp_fd[1] = -1; in sp_wrap() 103 spctx->sp_fd[0] = -1; in sp_wrap() 104 spctx->sp_fd[1] = fd; in sp_wrap() 130 close(spctx->sp_fd[1]); in sp_send() 131 spctx->sp_fd[1] = -1; in sp_send() 133 PJDLOG_ASSERT(spctx->sp_fd[0] >= 0); in sp_send() 134 sock = spctx->sp_fd[0]; in sp_send() [all …]
|
| /freebsd-head/sbin/hastd/ |
| HD | proto_socketpair.c | 47 int sp_fd[2]; member 71 if (socketpair(PF_UNIX, SOCK_STREAM, 0, spctx->sp_fd) == -1) { in sp_client() 102 close(spctx->sp_fd[1]); in sp_send() 103 spctx->sp_fd[1] = -1; in sp_send() 105 PJDLOG_ASSERT(spctx->sp_fd[0] >= 0); in sp_send() 106 sock = spctx->sp_fd[0]; in sp_send() 109 PJDLOG_ASSERT(spctx->sp_fd[1] >= 0); in sp_send() 110 sock = spctx->sp_fd[1]; in sp_send() 141 close(spctx->sp_fd[0]); in sp_recv() 142 spctx->sp_fd[0] = -1; in sp_recv() [all …]
|
| /freebsd-head/sys/sys/ |
| HD | socket.h | 681 int sp_fd; /* drain socket file descriptor */ member
|
| /freebsd-head/tools/tools/so_splice/ |
| HD | proxy.c | 131 sp.sp_fd = s2; in splice()
|
| /freebsd-head/sys/kern/ |
| HD | uipc_socket.c | 229 int32_t sp_fd; member 3983 splice.sp_fd = splice32.sp_fd; 4007 if (splice.sp_fd >= 0) { 4016 error = getsock(sopt->sopt_td, splice.sp_fd,
|
| /freebsd-head/tests/sys/kern/ |
| HD | socket_splice.c | 157 sp->sp_fd = fd; in splice_init()
|
| /freebsd-head/usr.bin/kdump/ |
| HD | kdump.c | 1967 sp->sp_fd, (uintmax_t)sp->sp_max, (intmax_t)sp->sp_idle.tv_sec, in ktrsplice()
|