Home
last modified time | relevance | path

Searched refs:fifo (Results 1 – 25 of 57) sorted by relevance

123

/openbsd/regress/sbin/isakmpd/exchange/
H A Dmm-1-setup.sh6 echo "C set [Phase 1]:127.0.0.1=localhost 1">/tmp/fifo
7 echo "C set [localhost]:phase=1 1">/tmp/fifo
8 echo "C set [localhost]:transport=udp 1">/tmp/fifo
9 echo "C set [localhost]:address=127.0.0.1 1">/tmp/fifo
10 echo "C set [localhost]:port=1501 1">/tmp/fifo
11 echo "C set [localhost]:configuration=default-main-mode 1">/tmp/fifo
12 echo "C set [localhost]:authentication=mekmitasdigoat 1">/tmp/fifo
/openbsd/regress/sys/fifofs/
H A Dfifotest.c83 runtest(char *fifo, int flags, int timeout) in runtest() argument
89 (void)unlink(fifo); in runtest()
90 if (mkfifo(fifo, 0644) != 0) { in runtest()
102 (void)unlink(fifo); in runtest()
103 printf("\nOpened fifo %s%s\n", fifo, in runtest()
140 eof_writer(const char *fifo, int flags) in eof_writer() argument
171 fd = open(fifo, O_WRONLY | flags); in eof_writer()
206 (void)unlink(fifo); in eoftest()
207 if (mkfifo(fifo, 0644) != 0) { in eoftest()
230 writer = eof_writer(fifo, flags); in eoftest()
[all …]
H A Dfifotest.out2 Opened fifo fi.fo.fum
41 Opened fifo fi.fo.fum
80 Opened fifo fi.fo.fum (nonblocking)
119 Opened fifo fi.fo.fum (nonblocking)
158 Opened fifo for reading fi.fo.fum (nonblocking)
170 Opened fifo for reading fi.fo.fum (nonblocking)
182 Opened fifo for reading fi.fo.fum (nonblocking)
194 Opened fifo for reading fi.fo.fum (nonblocking)
206 Opened fifo for reading fi.fo.fum (nonblocking)
218 Opened fifo for reading fi.fo.fum (nonblocking)
[all …]
/openbsd/gnu/usr.bin/perl/ext/POSIX/t/
H A Dsysconf.t135 my $fifo = "fifo$$";
138 eval { mkfifo($fifo, 0666) }
139 or skip("could not create fifo $fifo ($!)", 2 * 2 * @path_consts_fifo);
142 my $fd = POSIX::open($fifo, O_RDONLY | O_NONBLOCK)
143 or skip("could not open $fifo ($!)", 2 * @path_consts_fifo);
147 "calling fpathconf($fd, $constant) ($fifo)");
155 _check_and_report(sub { pathconf($fifo, shift) }, $constant,
156 "calling pathconf($fifo, $constant");
161 if ($fifo) {
162 1 while unlink($fifo);
/openbsd/regress/sys/ffs/tests/link/
H A D00.t50 expect fifo,0644,1 lstat ${n0} type,mode,nlink
53 expect fifo,0644,2 lstat ${n0} type,mode,nlink
54 expect fifo,0644,2 lstat ${n1} type,mode,nlink
57 expect fifo,0644,3 lstat ${n0} type,mode,nlink
58 expect fifo,0644,3 lstat ${n1} type,mode,nlink
59 expect fifo,0644,3 lstat ${n2} type,mode,nlink
64 expect fifo,0201,3,65534,65533 lstat ${n0} type,mode,nlink,uid,gid
65 expect fifo,0201,3,65534,65533 lstat ${n1} type,mode,nlink,uid,gid
66 expect fifo,0201,3,65534,65533 lstat ${n2} type,mode,nlink,uid,gid
70 expect fifo,0201,2,65534,65533 lstat ${n1} type,mode,nlink,uid,gid
[all …]
/openbsd/regress/sys/ffs/tests/mkfifo/
H A D00.t17 expect fifo,0755 lstat ${n0} type,mode
20 expect fifo,0151 lstat ${n0} type,mode
23 expect fifo,0100 lstat ${n0} type,mode
26 expect fifo,0305 lstat ${n0} type,mode
29 expect fifo,0244 lstat ${n0} type,mode
/openbsd/regress/usr.sbin/bgpd/integrationtests/
H A Dapi-exabgp.c33 const char *errstr, *fifo; in main() local
54 fifo = argv[0]; in main()
58 pfd[1].fd = fd = fifo_open(fifo); in main()
94 pfd[1].fd = fd = fifo_open(fifo); in main()
H A Dmed.sh54 echo "${1+"$@"}" > med.fifo
96 [ -p med.fifo ] || mkfifo med.fifo
H A Deval_all.sh54 echo "${1+"$@"}" > eval_all.fifo
96 [ -p eval_all.fifo ] || mkfifo eval_all.fifo
H A Dattr.sh88 [ -p attr.fifo ] || mkfifo attr.fifo
H A Das0.sh88 [ -p as0.fifo ] || mkfifo as0.fifo
H A Dexabgp.as0.test1.in2 run "##OBJDIR##/api-exabgp" -t 10 "##OBJDIR##/as0.fifo";
/openbsd/sys/dev/pci/drm/amd/amdkfd/
H A Dkfd_smi_events.c35 struct kfifo fifo; member
73 if (!kfifo_is_empty(&client->fifo)) in kfd_smi_ev_poll()
97 to_copy = kfifo_len(&client->fifo); in kfd_smi_ev_read()
104 ret = kfifo_out(&client->fifo, buf, to_copy); in kfd_smi_ev_read()
145 kfifo_free(&ev->fifo); in kfd_smi_ev_client_free()
185 if (kfifo_avail(&client->fifo) >= len) { in add_event_to_kfifo()
186 kfifo_in(&client->fifo, event_msg, len); in add_event_to_kfifo()
346 ret = kfifo_alloc(&client->fifo, MAX_KFIFO_SIZE, GFP_KERNEL); in kfd_smi_event_open()
372 kfifo_free(&client->fifo); in kfd_smi_event_open()
/openbsd/sys/dev/usb/dwc2/
H A Ddwc2_params.c740 int fifo; in dwc2_check_param_tx_fifo_sizes() local
748 for (fifo = 1; fifo <= fifo_count; fifo++) in dwc2_check_param_tx_fifo_sizes()
749 total += hsotg->params.g_tx_fifo_size[fifo]; in dwc2_check_param_tx_fifo_sizes()
757 for (fifo = 1; fifo <= fifo_count; fifo++) { in dwc2_check_param_tx_fifo_sizes()
760 if (hsotg->params.g_tx_fifo_size[fifo] < min || in dwc2_check_param_tx_fifo_sizes()
763 __func__, fifo, in dwc2_check_param_tx_fifo_sizes()
764 hsotg->params.g_tx_fifo_size[fifo]); in dwc2_check_param_tx_fifo_sizes()
888 int fifo, fifo_count; in dwc2_get_dev_hwparams() local
899 for (fifo = 1; fifo <= fifo_count; fifo++) { in dwc2_get_dev_hwparams()
900 hw->g_tx_fifo_size[fifo] = in dwc2_get_dev_hwparams()
[all …]
/openbsd/sys/kern/
H A Dkern_bufq.c383 struct bufq_nscan_head fifo; member
418 struct bufq_nscan_head *fifo = &data->fifo; in bufq_nscan_resort() local
424 bp = SIMPLEQ_FIRST(fifo); in bufq_nscan_resort()
427 SIMPLEQ_REMOVE_HEAD(fifo, dsentries); in bufq_nscan_resort()
442 SIMPLEQ_INIT(&data->fifo); in bufq_nscan_create()
473 SIMPLEQ_INSERT_TAIL(&data->fifo, bp, dsentries); in bufq_nscan_queue()
499 SIMPLEQ_INSERT_HEAD(&data->fifo, bp, dsentries); in bufq_nscan_requeue()
508 (SIMPLEQ_FIRST(&data->fifo) != NULL); in bufq_nscan_peek()
/openbsd/regress/sys/ffs/tests/rename/
H A D00.t40 expect fifo,0644,1 lstat ${n0} type,mode,nlink
44 expect fifo,${inode},0644,1 lstat ${n1} type,inode,mode,nlink
46 expect fifo,${inode},0644,2 lstat ${n0} type,inode,mode,nlink
47 expect fifo,${inode},0644,2 lstat ${n1} type,inode,mode,nlink
49 expect fifo,${inode},0644,2 lstat ${n0} type,inode,mode,nlink
51 expect fifo,${inode},0644,2 lstat ${n2} type,inode,mode,nlink
H A D13.t20 expect fifo lstat ${n1} type
/openbsd/sys/dev/ic/
H A Dcom.c318 fifo |= FIFO_TRIGGER_1; in comopen()
320 fifo |= FIFO_TRIGGER_4; in comopen()
322 fifo |= FIFO_TRIGGER_8; in comopen()
324 fifo |= FIFO_ENABLE_64BYTE; in comopen()
562 fifo |= FIFO_TRIGGER_1; in com_resume()
564 fifo |= FIFO_TRIGGER_4; in com_resume()
566 fifo |= FIFO_TRIGGER_8; in com_resume()
568 fifo |= FIFO_ENABLE_64BYTE; in com_resume()
1303 u_int8_t lcr, fifo; in com_attach_subr() local
1571 u_int8_t fifo, ier; in com_fifo_probe() local
[all …]
/openbsd/sbin/isakmpd/
H A DREADME29 -d -n -p5000 -DA=99 -f/tmp/isakmpd.fifo -csamples/VPN-east.conf
34 called /tmp/isakmpd.fifo and reading its configuration from the
49 and another fifo (let's say /tmp/other.fifo). Then edit the config
53 $ echo "c IPsec-east-west" >/tmp/other.fifo
/openbsd/gnu/usr.bin/binutils/gdb/
H A Dser-go32.c200 int fifo; member
511 port->fifo = ((inb (port, com_iir) & IIR_FIFO_MASK) == IIR_FIFO_MASK); in dos_open()
595 port->fifo ? "cannot" : "needs a 16550 to", in dos_close()
683 if (port->fifo) in dos_flush_input()
783 int fifosize = port->fifo ? 16 : 1; in dos_write()
878 printf_filtered ("16550:\t%s\n", port->fifo ? "yes" : "no"); in dos_info()
/openbsd/sys/arch/armv7/sunxi/
H A Dsxie.c477 uint32_t fifo; in sxie_start() local
511 fifo = 1; in sxie_start()
514 fifo = 0; in sxie_start()
516 SXIWRITE4(sc, SXIE_TXINS, fifo); in sxie_start()
519 SXIWRITE4(sc, SXIE_TXPKTLEN0 + (fifo * 4), m->m_pkthdr.len); in sxie_start()
528 SXISET4(sc, SXIE_TXCR0 + (fifo * 4), 1); in sxie_start()
/openbsd/gnu/llvm/libcxx/include/__filesystem/
H A Dfile_type.h34 fifo = 6, enumerator
/openbsd/sbin/ipsecctl/
H A Dike.c894 ike_ipsec_establish(int action, struct ipsec_rule *r, const char *fifo) in ike_ipsec_establish() argument
900 if ((fd = open(fifo, O_WRONLY)) == -1) in ike_ipsec_establish()
901 err(1, "ike_ipsec_establish: open(%s)", fifo); in ike_ipsec_establish()
903 err(1, "ike_ipsec_establish: fstat(%s)", fifo); in ike_ipsec_establish()
905 errx(1, "ike_ipsec_establish: %s not a fifo", fifo); in ike_ipsec_establish()
907 err(1, "ike_ipsec_establish: fdopen(%s)", fifo); in ike_ipsec_establish()
/openbsd/regress/sys/kern/select/
H A DMakefile10 IOCOND_TESTS= fifo pipe pty socket-tcp socket-udp socket-unix
/openbsd/regress/sys/kern/poll/
H A DMakefile12 IOCOND_TESTS= fifo pipe pty socket-tcp socket-udp socket-unix

123