Home
last modified time | relevance | path

Searched refs:nport (Results 1 – 25 of 308) sorted by relevance

12345678910>>...13

/dports/net-mgmt/lldpd/lldpd-1.0.8/tests/
H A Ddecode.c99 struct lldpd_port *nport = NULL; in main() local
177 printf(" ID: %s\n", tohex(nport->p_id, nport->p_id_len)); in main()
178 printf(" Description: %s\n", nport->p_descr?nport->p_descr:"(null)"); in main()
179 printf(" MFS: %" PRIu16 "\n", nport->p_mfs); in main()
180 printf(" TTL: %" PRIu16 "\n", nport->p_ttl); in main()
202 if (nport->p_med_policy[i].type == 0) continue; in main()
214 nport->p_med_location[i].data_len)); in main()
222 printf(" Dot1 PVID: %" PRIu16 "\n", nport->p_pvid); in main()
224 TAILQ_FOREACH(vlan, &nport->p_vlans, v_entries) { in main()
228 TAILQ_FOREACH(ppvid, &nport->p_ppvids, p_entries) { in main()
[all …]
H A Dcheck_lldp.c173 &nchassis, &nport) != -1); in START_TEST()
174 if (!nchassis || !nport) { in START_TEST()
249 &nchassis, &nport) != -1); in START_TEST()
250 if (!nchassis || !nport) { in START_TEST()
321 &nchassis, &nport) != -1); in START_TEST()
322 if (!nchassis || !nport) { in START_TEST()
457 &nchassis, &nport) != -1); in START_TEST()
458 if (!nchassis || !nport) { in START_TEST()
518 if (!nchassis || !nport) { in START_TEST()
574 if (!nchassis || !nport) { in START_TEST()
[all …]
H A Dcheck_edp.c514 struct lldpd_port *nport = NULL; in START_TEST() local
520 &nchassis, &nport) != -1); in START_TEST()
521 if (!nchassis || !nport) { in START_TEST()
532 fail_unless(memcmp(nport->p_id, in START_TEST()
542 nport->p_chassis = nchassis; in START_TEST()
543 nport->p_protocol = LLDPD_MODE_EDP; in START_TEST()
546 nchassis = NULL; nport = NULL; in START_TEST()
548 &nchassis, &nport) == -1); in START_TEST()
550 if (!nport) { in START_TEST()
556 if (TAILQ_EMPTY(&nport->p_vlans)) { in START_TEST()
[all …]
H A Dcheck_cdp.c397 struct lldpd_port *nport = NULL; in START_TEST() local
401 &nchassis, &nport) != -1); in START_TEST()
402 if (!nchassis || !nport) { in START_TEST()
414 ck_assert_int_eq(nport->p_id_subtype, in START_TEST()
417 fail_unless(memcmp(nport->p_id, in START_TEST()
419 ck_assert_str_eq(nport->p_descr, "Ethernet0"); in START_TEST()
540 struct lldpd_port *nport = NULL; in START_TEST() local
544 &nchassis, &nport) != -1); in START_TEST()
545 if (!nchassis || !nport) { in START_TEST()
558 ck_assert_int_eq(nport->p_id_subtype, in START_TEST()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/nvme/target/
H A Dfcloop.c1000 kfree(nport); in fcloop_nport_free()
1266 nport = NULL; in fcloop_alloc_nport()
1297 return nport; in fcloop_alloc_nport()
1311 if (!nport) in fcloop_create_remote_port()
1333 nport->tport->lport = nport->lport; in fcloop_create_remote_port()
1335 rport->nport = nport; in fcloop_create_remote_port()
1394 if (!nport) in fcloop_delete_remote_port()
1413 if (!nport) in fcloop_create_target_port()
1433 tport->nport = nport; in fcloop_create_target_port()
1492 if (!nport) in fcloop_delete_target_port()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/nvme/target/
H A Dfcloop.c1000 kfree(nport); in fcloop_nport_free()
1266 nport = NULL; in fcloop_alloc_nport()
1297 return nport; in fcloop_alloc_nport()
1311 if (!nport) in fcloop_create_remote_port()
1333 nport->tport->lport = nport->lport; in fcloop_create_remote_port()
1335 rport->nport = nport; in fcloop_create_remote_port()
1394 if (!nport) in fcloop_delete_remote_port()
1413 if (!nport) in fcloop_create_target_port()
1433 tport->nport = nport; in fcloop_create_target_port()
1492 if (!nport) in fcloop_delete_target_port()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/nvme/target/
H A Dfcloop.c1000 kfree(nport); in fcloop_nport_free()
1266 nport = NULL; in fcloop_alloc_nport()
1297 return nport; in fcloop_alloc_nport()
1311 if (!nport) in fcloop_create_remote_port()
1333 nport->tport->lport = nport->lport; in fcloop_create_remote_port()
1335 rport->nport = nport; in fcloop_create_remote_port()
1394 if (!nport) in fcloop_delete_remote_port()
1413 if (!nport) in fcloop_create_target_port()
1433 tport->nport = nport; in fcloop_create_target_port()
1492 if (!nport) in fcloop_delete_target_port()
[all …]
/dports/emulators/qemu42/qemu-4.2.1/hw/dma/
H A Di82374.c66 static uint32_t i82374_read_isr(void *opaque, uint32_t nport) in i82374_read_isr() argument
70 BADF("%s: %08x\n", __func__, nport); in i82374_read_isr()
72 DPRINTF("%s: %08x=%08x\n", __func__, nport, val); in i82374_read_isr()
78 DPRINTF("%s: %08x=%08x\n", __func__, nport, data); in i82374_write_command()
82 BADF("%s: %08x=%08x\n", __func__, nport, data); in i82374_write_command()
90 BADF("%s: %08x\n", __func__, nport); in i82374_read_status()
92 DPRINTF("%s: %08x=%08x\n", __func__, nport, val); in i82374_read_status()
98 DPRINTF("%s: %08x=%08x\n", __func__, nport, data); in i82374_write_descriptor()
100 BADF("%s: %08x=%08x\n", __func__, nport, data); in i82374_write_descriptor()
107 BADF("%s: %08x\n", __func__, nport); in i82374_read_descriptor()
[all …]
H A Di8257.c76 ichan = channels[nport & 7]; in i8257_write_page()
89 ichan = channels[nport & 7]; in i8257_write_pageh()
102 ichan = channels[nport & 7]; in i8257_read_page()
104 dolog ("invalid channel read %#x\n", nport); in i8257_read_page()
115 ichan = channels[nport & 7]; in i8257_read_pageh()
117 dolog ("invalid channel read %#x\n", nport); in i8257_read_pageh()
147 iport = (nport >> d->dshift) & 0x0f; in i8257_read_chan()
170 iport = (nport >> d->dshift) & 0x0f; in i8257_write_chan()
188 iport = (nport >> d->dshift) & 0x0f; in i8257_write_cont()
267 nport, ichan, data); in i8257_write_cont()
[all …]
/dports/emulators/qemu/qemu-6.2.0/hw/dma/
H A Di82374.c67 static uint32_t i82374_read_isr(void *opaque, uint32_t nport) in i82374_read_isr() argument
71 BADF("%s: %08x\n", __func__, nport); in i82374_read_isr()
73 DPRINTF("%s: %08x=%08x\n", __func__, nport, val); in i82374_read_isr()
79 DPRINTF("%s: %08x=%08x\n", __func__, nport, data); in i82374_write_command()
83 BADF("%s: %08x=%08x\n", __func__, nport, data); in i82374_write_command()
91 BADF("%s: %08x\n", __func__, nport); in i82374_read_status()
93 DPRINTF("%s: %08x=%08x\n", __func__, nport, val); in i82374_read_status()
99 DPRINTF("%s: %08x=%08x\n", __func__, nport, data); in i82374_write_descriptor()
101 BADF("%s: %08x=%08x\n", __func__, nport, data); in i82374_write_descriptor()
108 BADF("%s: %08x\n", __func__, nport); in i82374_read_descriptor()
[all …]
H A Di8257.c75 ichan = channels[nport & 7]; in i8257_write_page()
88 ichan = channels[nport & 7]; in i8257_write_pageh()
101 ichan = channels[nport & 7]; in i8257_read_page()
103 dolog ("invalid channel read %#x\n", nport); in i8257_read_page()
114 ichan = channels[nport & 7]; in i8257_read_pageh()
116 dolog ("invalid channel read %#x\n", nport); in i8257_read_pageh()
146 iport = (nport >> d->dshift) & 0x0f; in i8257_read_chan()
169 iport = (nport >> d->dshift) & 0x0f; in i8257_write_chan()
187 iport = (nport >> d->dshift) & 0x0f; in i8257_write_cont()
266 nport, ichan, data); in i8257_write_cont()
[all …]
/dports/emulators/qemu60/qemu-6.0.0/hw/dma/
H A Di82374.c67 static uint32_t i82374_read_isr(void *opaque, uint32_t nport) in i82374_read_isr() argument
71 BADF("%s: %08x\n", __func__, nport); in i82374_read_isr()
73 DPRINTF("%s: %08x=%08x\n", __func__, nport, val); in i82374_read_isr()
79 DPRINTF("%s: %08x=%08x\n", __func__, nport, data); in i82374_write_command()
83 BADF("%s: %08x=%08x\n", __func__, nport, data); in i82374_write_command()
91 BADF("%s: %08x\n", __func__, nport); in i82374_read_status()
93 DPRINTF("%s: %08x=%08x\n", __func__, nport, val); in i82374_read_status()
99 DPRINTF("%s: %08x=%08x\n", __func__, nport, data); in i82374_write_descriptor()
101 BADF("%s: %08x=%08x\n", __func__, nport, data); in i82374_write_descriptor()
108 BADF("%s: %08x\n", __func__, nport); in i82374_read_descriptor()
[all …]
H A Di8257.c75 ichan = channels[nport & 7]; in i8257_write_page()
88 ichan = channels[nport & 7]; in i8257_write_pageh()
101 ichan = channels[nport & 7]; in i8257_read_page()
103 dolog ("invalid channel read %#x\n", nport); in i8257_read_page()
114 ichan = channels[nport & 7]; in i8257_read_pageh()
116 dolog ("invalid channel read %#x\n", nport); in i8257_read_pageh()
146 iport = (nport >> d->dshift) & 0x0f; in i8257_read_chan()
169 iport = (nport >> d->dshift) & 0x0f; in i8257_write_chan()
187 iport = (nport >> d->dshift) & 0x0f; in i8257_write_cont()
266 nport, ichan, data); in i8257_write_cont()
[all …]
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/hw/dma/
H A Di82374.c63 static uint32_t i82374_read_isr(void *opaque, uint32_t nport) in i82374_read_isr() argument
67 BADF("%s: %08x\n", __func__, nport); in i82374_read_isr()
69 DPRINTF("%s: %08x=%08x\n", __func__, nport, val); in i82374_read_isr()
75 DPRINTF("%s: %08x=%08x\n", __func__, nport, data); in i82374_write_command()
79 BADF("%s: %08x=%08x\n", __func__, nport, data); in i82374_write_command()
87 BADF("%s: %08x\n", __func__, nport); in i82374_read_status()
89 DPRINTF("%s: %08x=%08x\n", __func__, nport, val); in i82374_read_status()
95 DPRINTF("%s: %08x=%08x\n", __func__, nport, data); in i82374_write_descriptor()
97 BADF("%s: %08x=%08x\n", __func__, nport, data); in i82374_write_descriptor()
104 BADF("%s: %08x\n", __func__, nport); in i82374_read_descriptor()
[all …]
H A Di8257.c72 ichan = channels[nport & 7]; in i8257_write_page()
85 ichan = channels[nport & 7]; in i8257_write_pageh()
98 ichan = channels[nport & 7]; in i8257_read_page()
100 dolog ("invalid channel read %#x\n", nport); in i8257_read_page()
111 ichan = channels[nport & 7]; in i8257_read_pageh()
113 dolog ("invalid channel read %#x\n", nport); in i8257_read_pageh()
143 iport = (nport >> d->dshift) & 0x0f; in i8257_read_chan()
166 iport = (nport >> d->dshift) & 0x0f; in i8257_write_chan()
184 iport = (nport >> d->dshift) & 0x0f; in i8257_write_cont()
262 nport, ichan, data); in i8257_write_cont()
[all …]
/dports/emulators/qemu5/qemu-5.2.0/hw/dma/
H A Di82374.c67 static uint32_t i82374_read_isr(void *opaque, uint32_t nport) in i82374_read_isr() argument
71 BADF("%s: %08x\n", __func__, nport); in i82374_read_isr()
73 DPRINTF("%s: %08x=%08x\n", __func__, nport, val); in i82374_read_isr()
79 DPRINTF("%s: %08x=%08x\n", __func__, nport, data); in i82374_write_command()
83 BADF("%s: %08x=%08x\n", __func__, nport, data); in i82374_write_command()
91 BADF("%s: %08x\n", __func__, nport); in i82374_read_status()
93 DPRINTF("%s: %08x=%08x\n", __func__, nport, val); in i82374_read_status()
99 DPRINTF("%s: %08x=%08x\n", __func__, nport, data); in i82374_write_descriptor()
101 BADF("%s: %08x=%08x\n", __func__, nport, data); in i82374_write_descriptor()
108 BADF("%s: %08x\n", __func__, nport); in i82374_read_descriptor()
[all …]
/dports/emulators/qemu-utils/qemu-4.2.1/hw/dma/
H A Di82374.c66 static uint32_t i82374_read_isr(void *opaque, uint32_t nport) in i82374_read_isr() argument
70 BADF("%s: %08x\n", __func__, nport); in i82374_read_isr()
72 DPRINTF("%s: %08x=%08x\n", __func__, nport, val); in i82374_read_isr()
78 DPRINTF("%s: %08x=%08x\n", __func__, nport, data); in i82374_write_command()
82 BADF("%s: %08x=%08x\n", __func__, nport, data); in i82374_write_command()
90 BADF("%s: %08x\n", __func__, nport); in i82374_read_status()
92 DPRINTF("%s: %08x=%08x\n", __func__, nport, val); in i82374_read_status()
98 DPRINTF("%s: %08x=%08x\n", __func__, nport, data); in i82374_write_descriptor()
100 BADF("%s: %08x=%08x\n", __func__, nport, data); in i82374_write_descriptor()
107 BADF("%s: %08x\n", __func__, nport); in i82374_read_descriptor()
[all …]
H A Di8257.c76 ichan = channels[nport & 7]; in i8257_write_page()
89 ichan = channels[nport & 7]; in i8257_write_pageh()
102 ichan = channels[nport & 7]; in i8257_read_page()
104 dolog ("invalid channel read %#x\n", nport); in i8257_read_page()
115 ichan = channels[nport & 7]; in i8257_read_pageh()
117 dolog ("invalid channel read %#x\n", nport); in i8257_read_pageh()
147 iport = (nport >> d->dshift) & 0x0f; in i8257_read_chan()
170 iport = (nport >> d->dshift) & 0x0f; in i8257_write_chan()
188 iport = (nport >> d->dshift) & 0x0f; in i8257_write_cont()
267 nport, ichan, data); in i8257_write_cont()
[all …]
/dports/emulators/qemu-guest-agent/qemu-5.0.1/hw/dma/
H A Di82374.c66 static uint32_t i82374_read_isr(void *opaque, uint32_t nport) in i82374_read_isr() argument
70 BADF("%s: %08x\n", __func__, nport); in i82374_read_isr()
72 DPRINTF("%s: %08x=%08x\n", __func__, nport, val); in i82374_read_isr()
78 DPRINTF("%s: %08x=%08x\n", __func__, nport, data); in i82374_write_command()
82 BADF("%s: %08x=%08x\n", __func__, nport, data); in i82374_write_command()
90 BADF("%s: %08x\n", __func__, nport); in i82374_read_status()
92 DPRINTF("%s: %08x=%08x\n", __func__, nport, val); in i82374_read_status()
98 DPRINTF("%s: %08x=%08x\n", __func__, nport, data); in i82374_write_descriptor()
100 BADF("%s: %08x=%08x\n", __func__, nport, data); in i82374_write_descriptor()
107 BADF("%s: %08x\n", __func__, nport); in i82374_read_descriptor()
[all …]
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/hw/dma/
H A Di82374.c66 static uint32_t i82374_read_isr(void *opaque, uint32_t nport) in i82374_read_isr() argument
70 BADF("%s: %08x\n", __func__, nport); in i82374_read_isr()
72 DPRINTF("%s: %08x=%08x\n", __func__, nport, val); in i82374_read_isr()
78 DPRINTF("%s: %08x=%08x\n", __func__, nport, data); in i82374_write_command()
82 BADF("%s: %08x=%08x\n", __func__, nport, data); in i82374_write_command()
90 BADF("%s: %08x\n", __func__, nport); in i82374_read_status()
92 DPRINTF("%s: %08x=%08x\n", __func__, nport, val); in i82374_read_status()
98 DPRINTF("%s: %08x=%08x\n", __func__, nport, data); in i82374_write_descriptor()
100 BADF("%s: %08x=%08x\n", __func__, nport, data); in i82374_write_descriptor()
107 BADF("%s: %08x\n", __func__, nport); in i82374_read_descriptor()
[all …]
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/hw/dma/
H A Di82374.c67 static uint32_t i82374_read_isr(void *opaque, uint32_t nport) in i82374_read_isr() argument
71 BADF("%s: %08x\n", __func__, nport); in i82374_read_isr()
73 DPRINTF("%s: %08x=%08x\n", __func__, nport, val); in i82374_read_isr()
79 DPRINTF("%s: %08x=%08x\n", __func__, nport, data); in i82374_write_command()
83 BADF("%s: %08x=%08x\n", __func__, nport, data); in i82374_write_command()
91 BADF("%s: %08x\n", __func__, nport); in i82374_read_status()
93 DPRINTF("%s: %08x=%08x\n", __func__, nport, val); in i82374_read_status()
99 DPRINTF("%s: %08x=%08x\n", __func__, nport, data); in i82374_write_descriptor()
101 BADF("%s: %08x=%08x\n", __func__, nport, data); in i82374_write_descriptor()
108 BADF("%s: %08x\n", __func__, nport); in i82374_read_descriptor()
[all …]
/dports/biology/ncbi-toolkit/ncbi/connect/test/
H A Dsocket_io_bouncer.c50 unsigned short nport; in s_DoServer() local
55 if (sscanf(sport, "%hu%n", &nport, &i) < 1 || sport[i]) { in s_DoServer()
56 nport = 0; in s_DoServer()
59 status = LSOCK_Create(nport, 1, &lsock); in s_DoServer()
60 if (status == eIO_Success && !nport && sport[i]) { in s_DoServer()
62 nport = LSOCK_GetPort(lsock, eNH_HostByteOrder); in s_DoServer()
63 if (nport && (fp = fopen(sport, "w")) != 0) { in s_DoServer()
64 if (fprintf(fp, "%hu", nport) < 1 || fflush(fp) != 0) in s_DoServer()
71 fprintf(s_LogFile, "DoServer(port = %hu, n_cycle = %u)\n", nport, n_cycle); in s_DoServer()
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/connect/test/
H A Dsocket_io_bouncer.c50 unsigned short nport; in s_DoServer() local
55 if (sscanf(sport, "%hu%n", &nport, &i) < 1 || sport[i]) { in s_DoServer()
56 nport = 0; in s_DoServer()
59 status = LSOCK_Create(nport, 1, &lsock); in s_DoServer()
60 if (status == eIO_Success && !nport && sport[i]) { in s_DoServer()
62 nport = LSOCK_GetPort(lsock, eNH_HostByteOrder); in s_DoServer()
63 if (nport && (fp = fopen(sport, "w")) != 0) { in s_DoServer()
64 if (fprintf(fp, "%hu", nport) < 1 || fflush(fp) != 0) in s_DoServer()
71 fprintf(s_LogFile, "DoServer(port = %hu, n_cycle = %u)\n", nport, n_cycle); in s_DoServer()
/dports/lang/guile1/guile-1.8.8/ice-9/
H A Dr4rs.scm131 (let* ((nport (open-input-file file))
132 (ans (with-input-from-port nport thunk)))
133 (close-port nport)
146 (let* ((nport (open-output-file file))
147 (ans (with-output-to-port nport thunk)))
148 (close-port nport)
161 (let* ((nport (open-output-file file))
162 (ans (with-error-to-port nport thunk)))
163 (close-port nport)
/dports/cad/electric/electric-7.00/src/sc/
H A Dsc1.c1183 if (nport == NULL) in Sc_pull_inst()
1210 if (nport == NULL) in Sc_pull_inst()
1220 nport->port = iport; in Sc_pull_inst()
1247 if (eport == nport) in Sc_pull_inst()
1250 nport = eport->next; in Sc_pull_inst()
1257 nport = eport; in Sc_pull_inst()
1267 if (nport == NULL) in Sc_pull_inst()
1304 if (eport == nport) in Sc_pull_inst()
1314 nport = eport; in Sc_pull_inst()
1326 if (eport == nport) in Sc_pull_inst()
[all …]

12345678910>>...13