Home
last modified time | relevance | path

Searched refs:NO_FD (Results 1 – 25 of 47) sorted by relevance

12

/dports/www/trafficserver/trafficserver-9.1.1/iocore/net/
H A DConnection.cc60 Connection::Connection() : fd(NO_FD) in Connection()
102 fd = NO_FD; in close()
105 fd = NO_FD; in close()
121 orig.fd = NO_FD; in move()
142 ink_assert(fd != NO_FD); in setup_fd_for_listen()
302 if (fd != NO_FD) { in setup_fd_for_listen()
312 ink_assert(fd == NO_FD); in listen()
349 if (fd != NO_FD) { in listen()
351 fd = NO_FD; in listen()
H A DUnixConnection.cc53 ink_assert(fd == NO_FD); in setup_mc_send()
106 if (fd != NO_FD) { in setup_mc_send()
116 ink_assert(fd == NO_FD); in setup_mc_receive()
163 if (fd != NO_FD) { in setup_mc_receive()
239 ink_assert(fd == NO_FD); in open()
338 ink_assert(fd != NO_FD); in connect()
H A DUnixUDPConnection.cc53 if (fd != NO_FD) { in ~UnixUDPConnection()
56 fd = NO_FD; in ~UnixUDPConnection()
H A DBIO_fastopen.cc114 ink_assert(fd != NO_FD); in fastopen_bwrite()
154 ink_assert(fd != NO_FD); in fastopen_bread()
H A DUnixNetProcessor.cc77 return ((UnixNetProcessor *)this)->accept_internal(cont, NO_FD, opt); in accept()
151 if (fd == ts::NO_FD && opt.local_port < 1024 && 0 != geteuid()) { in accept_internal()
245 ret = vc->connectUp(t, NO_FD); in connect_re_internal()
H A DUnixNetVConnection.cc1074 connectUp(e->ethread, NO_FD); in startEvent()
1223 ink_assert(this->con.fd != NO_FD); in populate()
1256 if (fd == NO_FD) { in connectUp()
1281 if (fd == NO_FD) { in connectUp()
1291 ink_release_assert(con.fd != NO_FD); in connectUp()
1307 if (fd != NO_FD) { in connectUp()
1308 con.fd = NO_FD; in connectUp()
1363 if (con.fd != NO_FD) { in free()
1370 ink_assert(con.fd == NO_FD); in free()
H A DI_Net.h55 static constexpr int NO_FD = -1; variable
H A DP_NetAccept.h87 int ifd = NO_FD;
H A DUnixNetAccept.cc72 if (na->server.fd != NO_FD && !na->action_->cancelled) { in net_accept()
271 if (server.fd != NO_FD) { in do_listen()
/dports/www/trafficserver/trafficserver-9.1.1/mgmt/
H A DProcessManager.cc107 if (local_manager_sockfd != ts::NO_FD) { in stop()
109 local_manager_sockfd = ts::NO_FD; in stop()
114 if (wakeup_fd != ts::NO_FD) { in stop()
116 wakeup_fd = ts::NO_FD; in stop()
195 local_manager_sockfd = ts::NO_FD; in ProcessManager()
197 wakeup_fd = ts::NO_FD; in ProcessManager()
290 if (wakeup_fd != ts::NO_FD && mh->msg_id != MGMT_SIGNAL_LIBRECORDS) { in signalManager()
391 if (local_manager_sockfd != ts::NO_FD) { in pollLMConnection()
396 if (wakeup_fd != ts::NO_FD) { in pollLMConnection()
415 …if (local_manager_sockfd != ts::NO_FD && FD_ISSET(local_manager_sockfd, &fdlist)) { /* Message fro… in pollLMConnection()
[all …]
H A DLocalManager.cc55 process_server_sockfd = ts::NO_FD; in mgmtCleanup()
58 if (wakeup_fd != ts::NO_FD) { in mgmtCleanup()
60 wakeup_fd = ts::NO_FD; in mgmtCleanup()
332 if (watched_process_fd != ts::NO_FD) { in pollMgmtProcessServer()
339 if (wccp_fd != ts::NO_FD && watched_process_fd != ts::NO_FD) { in pollMgmtProcessServer()
345 if (wccp_fd != ts::NO_FD) { in pollMgmtProcessServer()
352 if (wakeup_fd != ts::NO_FD) { in pollMgmtProcessServer()
881 if (ts::NO_FD != p.m_fd) { in startProxy()
924 if (ts::NO_FD != p.m_fd) { in closeProxyPorts()
926 p.m_fd = ts::NO_FD; in closeProxyPorts()
[all …]
H A DLocalManager.h121 int process_server_sockfd = ts::NO_FD;
122 int watched_process_fd = ts::NO_FD;
124 int wakeup_fd = ts::NO_FD; // external trigger to stop polling
/dports/www/trafficserver/trafficserver-9.1.1/iocore/dns/
H A DDNSConnection.cc52 …: fd(NO_FD), generator(static_cast<uint32_t>(static_cast<uintptr_t>(time(nullptr)) ^ (uintptr_t)th… in DNSConnection()
69 fd = NO_FD; in close()
72 fd = NO_FD; in close()
95 ink_assert(fd == NO_FD); in connect()
206 if (fd != NO_FD) { in connect()
/dports/www/trafficserver/trafficserver-9.1.1/src/traffic_server/
H A DCrash.cc40 static int crash_logger_fd = NO_FD;
109 crash_logger_fd = NO_FD; in crash_logger_init()
142 crash_logger_fd = NO_FD; in crash_logger_init()
165 crash_logger_fd = NO_FD; in crash_logger_invoke()
/dports/devel/glib20/glib-2.70.4/glib/tests/
H A Dspawn-singlethread.c191 NO_FD, /* pass fd -1 (unset) */ in test_spawn_async_with_fds() enumerator
196 { NO_FD, NO_FD, NO_FD }, /* Test with no fds passed */ in test_spawn_async_with_fds()
197 { NO_FD, FD_NEGATIVE, NO_FD }, /* Test another negative fd value */ in test_spawn_async_with_fds()
199 { NO_FD, PIPE, STDOUT_PIPE }, /* Test the same fd for stdout + stderr */ in test_spawn_async_with_fds()
226 case NO_FD: in test_spawn_async_with_fds()
/dports/sysutils/powerman/powerman-2.3.20/powermand/
H A Dclient.c727 if (c->fd != NO_FD) { in _destroy_client()
731 c->fd = NO_FD; in _destroy_client()
733 if (c->ofd != NO_FD) { in _destroy_client()
737 c->ofd = NO_FD; in _destroy_client()
820 listen_fds[i] = NO_FD; in _listen_client()
884 c->ofd = NO_FD; in _create_client_socket()
1043 if (listen_fds[i] != NO_FD) in cli_pre_poll()
1079 if (listen_fds[i] != NO_FD) in cli_post_poll()
1086 if (c->fd != NO_FD) { in cli_post_poll()
1102 if (c->ofd != NO_FD) { in cli_post_poll()
[all …]
H A Ddevice_serial.c206 assert(dev->fd == NO_FD); in serial_connect()
253 dev->fd = NO_FD; in serial_connect()
271 dev->fd = NO_FD; in serial_disconnect()
H A Ddevice_pipe.c99 assert(dev->fd == NO_FD); in pipe_connect()
138 dev->fd = NO_FD; in pipe_disconnect()
H A Ddevice_private.h4 #define NO_FD (-1) macro
H A Ddevice_tcp.c247 assert(dev->fd == NO_FD); in tcp_connect()
292 dev->fd = NO_FD; in tcp_disconnect()
/dports/sysutils/bulk_extractor/bulk_extractor-2.0.0-beta2/src/be13_api/
H A Dsbuf.cpp159 NO_FD, flags_t()); // fd, flags in sbuf_new()
219 NO_FD, flags_t()); in new_slice()
255 NO_FD, flags_t()); in slice()
279 int mfd = NO_FD; in map_file()
325 NO_FD, flags_t()); in sbuf_malloc()
/dports/www/trafficserver/trafficserver-9.1.1/mgmt/api/
H A DNetworkUtilsRemote.h74 return fd != ts::NO_FD; in is_connected()
/dports/www/trafficserver/trafficserver-9.1.1/src/wccp/
H A DWccpEndPoint.cc73 if (ts::NO_FD != m_fd) { in open()
78 if (ts::NO_FD == (fd = socket(PF_INET, SOCK_DGRAM, 0))) { in open()
132 if (ts::NO_FD != m_fd) { in close()
134 m_fd = ts::NO_FD; in close()
199 if (ts::NO_FD == m_fd) in handleMessage()
1143 return m_ptr ? m_ptr->m_fd : ts::NO_FD; in getSocket()
1151 return m_ptr && ts::NO_FD != m_ptr->m_fd ? m_ptr->housekeeping() : -ENOTCONN; in housekeeping()
/dports/www/trafficserver/trafficserver-9.1.1/plugins/experimental/ssl_session_reuse/src/
H A Dconfig.cc60 int fd = (this->m_filename.length() > 0 ? open(m_filename.c_str(), O_RDONLY) : ts::NO_FD); in loadConfig()
/dports/www/trafficserver/trafficserver-9.1.1/iocore/eventsystem/
H A DI_EThread.h334 int evfd = ts::NO_FD;

12