Home
last modified time | relevance | path

Searched refs:ports (Results 1 – 13 of 13) sorted by relevance

/trusty/user/base/lib/tipc/
Dtipc_srv.c62 struct port_ctx ports[0]; member
73 for (i = 0, p = srv->ports; i < srv->port_cnt; i++, p++) { in set_ports_event_mask()
309 const struct tipc_port* ports, in tipc_add_service() argument
323 if (!hset || !ports || !num_ports || !ops) { in tipc_add_service()
344 srv->ports[i].handle = INVALID_IPC_HANDLE; in tipc_add_service()
349 TLOGD("Initialize port: %s\n", ports[i].name); in tipc_add_service()
351 port = &srv->ports[i]; in tipc_add_service()
353 if (!ports[i].acl) { in tipc_add_service()
360 rc = port_create(ports[i].name, ports[i].msg_queue_len, in tipc_add_service()
361 ports[i].msg_max_size, ports[i].acl->flags); in tipc_add_service()
[all …]
/trusty/user/base/lib/tipc/rust/src/service/
Dhandle_set.rs38 ports: [Rc<Channel<D>>; PORT_COUNT], field
47 pub fn try_new(ports: [Rc<Channel<D>>; PORT_COUNT]) -> Result<Self> { in try_new()
54 for port in &ports {
61 ports,
67 for port in &handle_set.ports {
144 for port in &self.ports { in mask_all_ports()
150 for port in &self.ports { in unmask_all_ports()
208 write!(f, "HandleSet: [{:?}", self.ports) in fmt()
/trusty/user/app/sample/spi/swspi-srv/
Dswspi-srv.c63 static const struct tipc_port ports[] = { variable
92 rc = add_spi_service(hset, ports, countof(ports)); in main()
/trusty/user/base/lib/line-coverage/
Dshm.c124 int setup_mailbox(const struct tipc_port* ports, uint32_t num_ports) { in setup_mailbox() argument
137 if (strcmp(ports[i].name, LINE_COVERAGE_AGGREGATOR_PORT) == 0 || in setup_mailbox()
138 strcmp(ports[i].name, LINE_COVERAGE_CLIENT_PORT) == 0) { in setup_mailbox()
188 int setup_mailbox(const struct tipc_port* ports, uint32_t num_ports) { in setup_mailbox() argument
/trusty/user/base/lib/spi/srv/tipc/include/lib/spi/srv/tipc/
Dtipc.h41 const struct tipc_port* ports,
/trusty/user/base/lib/line-coverage/include/lib/line-coverage/
Dshm.h56 int setup_mailbox(const struct tipc_port* ports, uint32_t num_ports);
/trusty/user/base/lib/tipc/include/lib/tipc/
Dtipc_srv.h184 const struct tipc_port* ports,
/trusty/user/base/lib/tipc/rust/src/
Dservice.rs645 ports: [PortCfg; 1], field
650 Self { service, ports: [port] } in new()
691 &self.ports in port_configurations()
698 ports: [PortCfg; 1], field
703 Self { service, ports: [port] } in new()
737 &self.ports in port_configurations()
793 ports: arrayvec::ArrayVec::<$crate::PortCfg, PORT_COUNT>,
800 ports: arrayvec::ArrayVec::<_, PORT_COUNT>::new(),
807 if self.ports.is_full() || self.services.is_full() {
812 self.ports.push_unchecked(port);
[all …]
/trusty/user/base/lib/spi/srv/tipc/
Dtipc.c301 const struct tipc_port* ports, in add_spi_service() argument
306 if (!ports[i].priv) { in add_spi_service()
310 rc = tipc_add_service(hset, &ports[i], 1, 1, &spi_dev_ops); in add_spi_service()
/trusty/kernel/
Dkerneltests-inc.mk29 trusty/kernel/app/list-ports \
/trusty/device/arm/generic-arm64/project/qemu/
Dqemu.py144 def forward_ports(ports): argument
148 for port in ports:
307 self.ports = None
857 self.session.ports = alloc_ports()
865 args += forward_ports(self.session.ports)
890 self.adb_up(self.session.ports[1])
930 self.adb_down(self.session.ports[1])
/trusty/user/base/lib/tipc/test/main/
Dmain.c307 handle_t ports[MAX_USER_HANDLES]; in TEST() local
314 ports[i] = (handle_t)rc; in TEST()
325 ports[i] = (handle_t)rc; in TEST()
340 rc = close(ports[i]); in TEST()
344 rc = close(ports[i]); in TEST()
347 ports[i] = INVALID_IPC_HANDLE; in TEST()
358 handle_t ports[MAX_USER_HANDLES]; in TEST() local
365 ports[i] = (handle_t)rc; in TEST()
367 rc = set_cookie(ports[i], (void*)(COOKIE_BASE + i)); in TEST()
374 rc = wait(ports[i], &event, 0); in TEST()
[all …]
/trusty/user/app/storage/
DREADME.md10 The server provides three client ports that provide various minimum
28 different ports, as it is device specific which ports share file systems.