Home
last modified time | relevance | path

Searched refs:used_ports (Results 1 – 4 of 4) sorted by relevance

/external/autotest/site_utils/deployment/
Dinstall.py632 used_ports = []
640 used_ports.append(int(servo_port))
641 return used_ports
656 used_ports = []
668 used_ports = _get_used_servo_ports(servo_hostname, afe)
670 used_ports = used_servo_ports[servo_hostname]
671 used_ports.sort()
672 if used_ports:
678 if port not in used_ports:
681 used_ports.append(servo_port)
[all …]
/external/libnl/lib/
Dsocket.c141 void _nl_socket_used_ports_release_all(const uint32_t *used_ports) in _nl_socket_used_ports_release_all() argument
146 if (used_ports[i] != 0) { in _nl_socket_used_ports_release_all()
149 BUG_ON((used_ports_map[i] & used_ports[i]) != used_ports[i]); in _nl_socket_used_ports_release_all()
150 used_ports_map[i] &= ~(used_ports[i]); in _nl_socket_used_ports_release_all()
158 void _nl_socket_used_ports_set(uint32_t *used_ports, uint32_t port) in _nl_socket_used_ports_set() argument
172 used_ports[nr] |= mask; in _nl_socket_used_ports_set()
Dnl.c125 uint32_t used_ports[32] = { 0 }; in nl_connect() local
132 _nl_socket_used_ports_release_all(used_ports); in nl_connect()
144 _nl_socket_used_ports_set(used_ports, port); in nl_connect()
147 _nl_socket_used_ports_release_all(used_ports); in nl_connect()
152 _nl_socket_used_ports_release_all(used_ports); in nl_connect()
/external/libnl/include/netlink-private/
Dsocket.h24 void _nl_socket_used_ports_release_all(const uint32_t *used_ports);
25 void _nl_socket_used_ports_set(uint32_t *used_ports, uint32_t port);