Home
last modified time | relevance | path

Searched full:pipe (Results 1 – 25 of 1295) sorted by relevance

12345678910>>...52

/freebsd/sys/contrib/dev/athk/ath12k/
H A Dce.c222 static int ath12k_ce_rx_buf_enqueue_pipe(struct ath12k_ce_pipe *pipe, in ath12k_ce_rx_buf_enqueue_pipe() argument
225 struct ath12k_base *ab = pipe->ab; in ath12k_ce_rx_buf_enqueue_pipe()
226 struct ath12k_ce_ring *ring = pipe->dest_ring; in ath12k_ce_rx_buf_enqueue_pipe()
260 pipe->rx_buf_needed--; in ath12k_ce_rx_buf_enqueue_pipe()
271 static int ath12k_ce_rx_post_pipe(struct ath12k_ce_pipe *pipe) in ath12k_ce_rx_post_pipe() argument
273 struct ath12k_base *ab = pipe->ab; in ath12k_ce_rx_post_pipe()
278 if (!(pipe->dest_ring || pipe->status_ring)) in ath12k_ce_rx_post_pipe()
282 while (pipe->rx_buf_needed) { in ath12k_ce_rx_post_pipe()
283 skb = dev_alloc_skb(pipe->buf_sz); in ath12k_ce_rx_post_pipe()
303 ret = ath12k_ce_rx_buf_enqueue_pipe(pipe, skb, paddr); in ath12k_ce_rx_post_pipe()
[all …]
/freebsd/sys/contrib/dev/athk/ath11k/
H A Dce.c271 static int ath11k_ce_rx_buf_enqueue_pipe(struct ath11k_ce_pipe *pipe, in ath11k_ce_rx_buf_enqueue_pipe() argument
274 struct ath11k_base *ab = pipe->ab; in ath11k_ce_rx_buf_enqueue_pipe()
275 struct ath11k_ce_ring *ring = pipe->dest_ring; in ath11k_ce_rx_buf_enqueue_pipe()
309 pipe->rx_buf_needed--; in ath11k_ce_rx_buf_enqueue_pipe()
320 static int ath11k_ce_rx_post_pipe(struct ath11k_ce_pipe *pipe) in ath11k_ce_rx_post_pipe() argument
322 struct ath11k_base *ab = pipe->ab; in ath11k_ce_rx_post_pipe()
327 if (!(pipe->dest_ring || pipe->status_ring)) in ath11k_ce_rx_post_pipe()
331 while (pipe->rx_buf_needed) { in ath11k_ce_rx_post_pipe()
332 skb = dev_alloc_skb(pipe->buf_sz); in ath11k_ce_rx_post_pipe()
352 ret = ath11k_ce_rx_buf_enqueue_pipe(pipe, skb, paddr); in ath11k_ce_rx_post_pipe()
[all …]
/freebsd/sys/contrib/dev/athk/ath10k/
H A Dusb.c34 /* pipe/urb operations */
36 ath10k_usb_alloc_urb_from_pipe(struct ath10k_usb_pipe *pipe) in ath10k_usb_alloc_urb_from_pipe() argument
41 /* bail if this pipe is not initialized */ in ath10k_usb_alloc_urb_from_pipe()
42 if (!pipe->ar_usb) in ath10k_usb_alloc_urb_from_pipe()
45 spin_lock_irqsave(&pipe->ar_usb->cs_lock, flags); in ath10k_usb_alloc_urb_from_pipe()
46 if (!list_empty(&pipe->urb_list_head)) { in ath10k_usb_alloc_urb_from_pipe()
47 urb_context = list_first_entry(&pipe->urb_list_head, in ath10k_usb_alloc_urb_from_pipe()
50 pipe->urb_cnt--; in ath10k_usb_alloc_urb_from_pipe()
52 spin_unlock_irqrestore(&pipe->ar_usb->cs_lock, flags); in ath10k_usb_alloc_urb_from_pipe()
57 static void ath10k_usb_free_urb_to_pipe(struct ath10k_usb_pipe *pipe, in ath10k_usb_free_urb_to_pipe() argument
[all …]
/freebsd/share/man/man4/
H A Dauditpipe.446 The audit facility provides an audit pipe facility for applications requiring
58 The audit pipe device provides discrete BSM audit records; if the read buffer
63 In particular, when an audit pipe queue fills, records will be dropped.
64 Audit pipe devices are blocking by default, but support non-blocking I/O,
74 .Ss Audit Pipe Queue Ioctls
75 The following ioctls retrieve and set various audit pipe record queue
79 Query the current number of records available for reading on the pipe.
82 on the pipe.
85 the pipe.
90 reading on the pipe.
[all …]
/freebsd/sys/sys/
H A Dpipe.h26 * Pipe buffer size, keep moderate in value, pipes take kva space.
59 * Pipe buffer information.
87 #define PIPE_WANT 0x020 /* Pipe is wanted to be run-down. */
88 #define PIPE_SEL 0x040 /* Pipe has a select active. */
89 #define PIPE_EOF 0x080 /* Pipe is in EOF condition. */
92 #define PIPE_DIRECTW 0x400 /* Pipe direct write active. */
98 #define PIPE_TYPE_NAMED 0x001 /* Is a named pipe. */
101 * Per-pipe data structure.
104 struct pipe { struct
112 struct pipe *pipe_peer; /* link with other direction */ argument
[all …]
/freebsd/lib/libsys/
H A Dpipe.232 .Nm pipe ,
40 .Fn pipe "int fildes[2]"
45 .Fn pipe
48 .Em pipe ,
68 Set the non-blocking flag for the ends of the pipe.
74 .Fn pipe .
78 of the pipe,
89 the write end of the pipe,
91 the read end of the pipe.
92 The pipe itself persists until all its associated descriptors are
[all …]
/freebsd/sys/kern/
H A Dsys_pipe.c32 * "normal" pipe buffering is done. If the buffer is between PIPE_MINDIRECT
39 * is returned back to the user-mode side. In that case, the pipe code
85 * both directions of a pipe.
112 #include <sys/pipe.h>
138 #define PIPE_PEER(pipe) \ argument
139 (((pipe)->pipe_type & PIPE_TYPE_NAMED) ? (pipe) : ((pipe)->pipe_peer))
196 * Default pipe buffer size(s), this can be kind-of large now because pipe
197 * space is pageable. The pipe code will try to maintain locality of
213 &maxpipekva, 0, "Pipe KVA limit");
215 &amountpipekva, 0, "Pipe KVA usage");
[all …]
/freebsd/contrib/wpa/wpa_supplicant/
H A Dctrl_iface_named_pipe.c2 * WPA Supplicant / Windows Named Pipe -based control interface
44 #define NAMED_PIPE_PREFIX TEXT("\\\\.\\pipe\\") TEXT(WPA_SUPPLICANT_NAMED_PIPE)
65 HANDLE pipe; member
100 static int ctrl_broken_pipe(HANDLE pipe, int used) in ctrl_broken_pipe() argument
104 if (PeekNamedPipe(pipe, NULL, 0, NULL, NULL, NULL)) in ctrl_broken_pipe()
122 if (ctrl_broken_pipe(dst->pipe, dst->used)) { in ctrl_flush_broken_pipes()
123 wpa_printf(MSG_DEBUG, "CTRL: closing broken pipe %p", in ctrl_flush_broken_pipes()
141 wpa_printf(MSG_DEBUG, "CTRL: Open pipe %p", dst); in ctrl_open_pipe()
145 dst->pipe = INVALID_HANDLE_VALUE; in ctrl_open_pipe()
166 /* TODO: add support for configuring access list for the pipe */ in ctrl_open_pipe()
[all …]
/freebsd/lib/libpmc/pmu-events/arch/x86/amdzen1/
H A Dfloating-point.json5 "BriefDescription": "Total number multi-pipe uOps assigned to all pipes.",
6pipe uOps dispatched to each of the 4 FPU execution pipelines. This event reflects how busy the FP…
12 "BriefDescription": "Total number multi-pipe uOps assigned to pipe 3.",
13pipe uOps dispatched to each of the 4 FPU execution pipelines. This event reflects how busy the FP…
19 "BriefDescription": "Total number multi-pipe uOps assigned to pipe 2.",
20pipe uOps dispatched to each of the 4 FPU execution pipelines. This event reflects how busy the FP…
26 "BriefDescription": "Total number multi-pipe uOps assigned to pipe 1.",
27pipe uOps dispatched to each of the 4 FPU execution pipelines. This event reflects how busy the FP…
33 "BriefDescription": "Total number multi-pipe uOps assigned to pipe 0.",
34pipe uOps dispatched to each of the 4 FPU execution pipelines. This event reflects how busy the FP…
[all …]
/freebsd/share/doc/psd/04.uprog/
H A Dp5347 pipe
350 one process writes into the pipe,
366 the pipe connection is established and used.
369 .UL pipe
370 creates a pipe.
371 Since a pipe is used for both reading and writing,
377 stat = pipe(fd);
384 is the read side of the pipe and
394 If a process reads a pipe which is empty,
396 if a process writes into a pipe which
[all …]
/freebsd/tools/tools/netmap/
H A Dlb.836 .Op Fl p Ar pipe-group
45 trying to balance the packets received by each pipe.
47 same connection will always be sent to the same pipe.
55 Any netmap port type (e.g., physical interface, VALE switch, pipe,
58 Add a new pipe group of the given number of pipes.
59 The pipe group will receive all the packets read from the input port, balanced
70 This option can be supplied multiple times to define a sequence of pipe groups,
78 The pipe numbering in each
83 all pipes in all groups and work as an extension of the pipe rings.
84 If a pipe ring is full for whatever reason,
[all …]
/freebsd/tests/sys/ses/
H A Dnondestructive.c47 FILE *pipe; in do_getelmdesc() local
64 pipe = popen(cmd, "r"); in do_getelmdesc()
65 ATF_REQUIRE(pipe != NULL); in do_getelmdesc()
66 while(NULL != fgets(line, sizeof(line), pipe)) { in do_getelmdesc()
98 r = pclose(pipe); in do_getelmdesc()
250 FILE *pipe; in do_getelmmap() local
266 pipe = popen(cmd, "r"); in do_getelmmap()
267 ATF_REQUIRE(pipe != NULL); in do_getelmmap()
268 while(NULL != fgets(line, sizeof(line), pipe)) { in do_getelmmap()
300 r = pclose(pipe); in do_getelmmap()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/clock/
H A Dqcom,gcc-sc8280xp.yaml32 - description: Primary USB SuperSpeed pipe clock
36 - description: USB4 PHY PCIe pipe clock
37 - description: USB4 PHY router max pipe clock
40 - description: Secondary USB SuperSpeed pipe clock
44 - description: Second USB4 PHY PCIe pipe clock
45 - description: Second USB4 PHY router max pipe clock
48 - description: Multiport USB first SuperSpeed pipe clock
49 - description: Multiport USB second SuperSpeed pipe clock
50 - description: PCIe 2a pipe clock
51 - description: PCIe 2b pipe clock
[all …]
/freebsd/sys/netpfil/ipfw/
H A Ddummynet.txt19 Add a pipe
24 Delete a pipe
44 with a tag such as "pipe 10" or "queue 5" which tells what to
179 (plus one for each 'pipe X config').
184 (plus one for each 'pipe X config').
292 TRADITIONAL DUMMYNET QUEUES "queue N config ... pipe M ..."
295 TRADITIONAL DUMMYNET PIPES "pipe N config ..."
303 DELAY PROFILE "pipe N config profile ..."
310 "pipe N config ..." configures:
352 To create a pipe, queue or scheduler, the user should type commands like:
[all …]
/freebsd/sys/contrib/device-tree/Bindings/phy/
H A Dphy-rockchip-naneng-combphy.yaml25 - description: pipe clock
31 - const: pipe
64 rockchip,pipe-grf:
69 rockchip,pipe-phy-grf:
72 Some additional pipe settings are accessed through GRF regs.
83 - rockchip,pipe-grf
84 - rockchip,pipe-phy-grf
120 compatible = "rockchip,rk3568-pipe-grf", "syscon";
125 compatible = "rockchip,rk3568-pipe-phy-grf", "syscon";
135 clock-names = "ref", "apb", "pipe";
[all …]
/freebsd/contrib/netbsd-tests/lib/libcurses/slave/
H A Dcommands.c115 * Report the type back to the director via the command pipe
124 err(1, "command pipe write for status type failed"); in report_type()
129 * Report the number of returns back to the director via the command pipe
138 err(1, "command pipe write for count type failed"); in report_count()
141 err(1, "command pipe write for count"); in report_count()
145 * Report the status back to the director via the command pipe
154 * Report an error message back to the director via the command pipe.
164 * command pipe.
174 err(1, "command pipe write for message type failed"); in report_message()
177 err(1, "command pipe write for message length failed"); in report_message()
[all …]
/freebsd/sys/security/audit/
H A Daudit_pipe.c68 "Audit pipe entries and buffers");
70 "Audit pipe preselection structure");
73 * Audit pipe buffer parameters.
90 * that are delivered via the pipe. They do this in a similar manner to the
94 * pipe data structure.
118 * Per-pipe mutex protecting most fields in this data structure.
123 * Per-pipe sleep lock serializing user-generated reads and flushes.
132 * pipe.
149 * Per-pipe operation statistics.
156 * Fields relating to pipe interest: global masks for unmatched
[all …]
/freebsd/sys/contrib/device-tree/Bindings/pci/
H A Dqcom,pcie.yaml329 - const: pipe # PIPE reset
335 - const: pipe_sticky # PIPE sticky reset
353 - const: pipe # Pipe Clock driving internal logic
384 - const: pipe # PIPE reset
416 - const: pipe # PIPE reset
450 - const: pipe_sticky # PIPE stick
[all...]
H A Dqcom,pcie.txt114 - "pipe" Pipe Clock driving internal logic
159 - "pipe" PIPE clock
172 - "pipe" PIPE clock
185 - "pipe" PIPE clock
186 - "pipe_mux" PIPE MUX
187 - "phy_pipe" PIPE output clock
220 - "pipe" PIPE reset
226 - "pipe_sticky" PIPE sticky reset
236 - "pipe" PIPE reset
248 - "pipe" PIPE reset
[all …]
/freebsd/tools/test/stress2/misc/
H A Dpipe.sh39 sed '1,/^EOF/d' < $odir/$0 > $dir/pipe.c
40 mycc -o pipe -Wall -Wextra -O0 -g pipe.c || exit 1
41 rm -f pipe.c
51 /tmp/pipe &
64 rm -rf /tmp/pipe pipe.core
86 if (pipe(fds[i]) == -1)
87 err(1, "pipe");
91 err(1, "pipe write");
96 err(1, "pipe read");
105 err(1, "pipe write");
/freebsd/contrib/unbound/util/
H A Dtube.h2 * util/tube.h - pipe service
39 * This file contains pipe service functions.
54 * Callback from pipe listen function
61 * A pipe
65 /** pipe end to read from */
67 /** pipe end to write on */
98 /** the windows sockets event (signaled if items in pipe) */
105 /** list of outstanding results on pipe */
125 * Create a pipe
131 * Delete and destroy a pipe
[all …]
/freebsd/contrib/netbsd-tests/kernel/kqueue/read/
H A Dt_pipe.c46 ATF_TC(pipe);
47 ATF_TC_HEAD(pipe, tc) in ATF_TC_HEAD() argument
51 ATF_TC_BODY(pipe, tc) in ATF_TC_BODY() argument
58 RL(pipe(fds)); in ATF_TC_BODY()
64 /* make sure there is something in the pipe */ in ATF_TC_BODY()
66 (void)printf("pipe: wrote 'foo' to pipe\n"); in ATF_TC_BODY()
79 (void)printf("pipe: read '%s'\n", buffer); in ATF_TC_BODY()
80 (void)printf("pipe: successful end\n"); in ATF_TC_BODY()
85 ATF_TP_ADD_TC(tp, pipe); in ATF_TP_ADD_TCS()
/freebsd/tests/sys/file/
H A Dflock_helper.c183 * test. We use a pipe to communicate with the child. in test2()
191 if (pipe(pfd) < 0) in test2()
192 err(1, "pipe"); in test2()
212 err(1, "writing to pipe (child)"); in test2()
222 err(1, "reading from pipe (child)"); in test2()
254 * test. We use a pipe to communicate with the child. in test3()
262 if (pipe(pfd) < 0) in test3()
263 err(1, "pipe"); in test3()
283 err(1, "writing to pipe (child)"); in test3()
293 err(1, "reading from pipe (child)"); in test3()
[all …]
/freebsd/sys/contrib/xen/io/
H A Dusbif.h161 * | pipe | 8
180 * pipe - uint32_t, bit field with multiple information:
276 * USB pipe in usbif_request
293 * - pipe type: bits 30-31
312 #define usbif_pipeportnum(pipe) ((pipe) & USBIF_PIPE_PORT_MASK) argument
313 #define usbif_setportnum_pipe(pipe, portnum) ((pipe) | (portnum)) argument
315 #define usbif_pipeunlink(pipe) ((pipe) & USBIF_PIPE_UNLINK) argument
316 #define usbif_pipesubmit(pipe) (!usbif_pipeunlink(pipe)) argument
317 #define usbif_setunlink_pipe(pipe) ((pipe) | USBIF_PIPE_UNLINK) argument
319 #define usbif_pipein(pipe) ((pipe) & USBIF_PIPE_DIR) argument
[all …]
/freebsd/tests/sys/netpfil/common/
H A Ddummynet.sh51 jexec alcatraz dnctl pipe 1 config delay 1500
55 "ipfw add 1000 pipe 1 ip from any to any" \
79 atf_set descr 'Basic pipe test'
98 jexec alcatraz dnctl pipe 1 config bw 30Byte/s
102 "ipfw add 1000 pipe 1 ip from any to any" \
123 atf_set descr 'Basic IPv6 pipe test'
142 jexec alcatraz dnctl pipe 1 config bw 100Byte/s
146 "ipfw add 1000 pipe 1 ip6 from any to any" \
186 jexec alcatraz dnctl pipe 1 config bw 10Mb queue 100 droptail
187 …jexec alcatraz dnctl sched 1 config pipe 1 type fq_codel target 0ms interval 0ms quantum 1514 limi…
[all …]

12345678910>>...52