Searched refs:drain (Results 1 - 19 of 19) sorted by relevance

/freebsd-12-stable/sys/dev/iwm/
H A Dif_iwm_sta.h171 * that case, we need to drain all the frames for that client from the AC queues
221 boolean_t drain);
H A Dif_iwm_sta.c211 iwm_drain_sta(struct iwm_softc *sc, struct iwm_vap *ivp, boolean_t drain) argument
221 cmd.station_flags = drain ? htole32(IWM_STA_FLG_DRAIN_FLOW) : 0;
239 "Couldn't drain frames for staid %d\n", IWM_STATION_ID);
/freebsd-12-stable/sys/dev/cxgbe/
H A Dt4_mp_ring.h48 ring_drain_t drain; member in struct:mp_ring
H A Dt4_mp_ring.c141 n = r->drain(r, cidx, pidx, &coalescing);
241 r->drain(r, cidx, pidx, &coalescing);
261 mp_ring_alloc(struct mp_ring **pr, int size, void *cookie, ring_drain_t drain, argument
269 if (pr == NULL || size < 2 || size > 65536 || drain == NULL ||
282 r->drain = drain;
342 * Enqueue n items and maybe drain the ring for some time.
/freebsd-12-stable/sys/net/
H A Dmp_ring.h53 mp_ring_drain_t drain; member in struct:ifmp_ring
H A Dmp_ring.c114 n = r->drain(r, cidx, pidx);
189 n = r->drain(r, cidx, pidx);
252 ifmp_ring_alloc(struct ifmp_ring **pr, int size, void *cookie, mp_ring_drain_t drain, argument
258 if (pr == NULL || size < 2 || size > 65536 || drain == NULL ||
271 r->drain = drain;
317 * Enqueue n items and maybe drain the ring for some time.
487 (os.flags != ABDICATED && r->can_drain(r) == 0)) // Can either drain, or everyone left
H A Diflib.c625 &iflib_txq_drain_flushing, 0, "# drain flushes");
627 &iflib_txq_drain_oactive, 0, "# drain oactives");
629 &iflib_txq_drain_notready, 0, "# drain notready");
2991 /* make sure that we can refill faster than drain */
3883 r->drain = iflib_txq_drain_free;
3888 r->drain = iflib_txq_drain;
5254 /* XXX drain any dependent tasks */
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dlocal_cache.h64 drain();
97 drain(C, ClassId);
105 void drain() { function in struct:scudo::SizeClassAllocatorLocalCache
109 drain(C, I);
166 NOINLINE void drain(PerClass *C, uptr ClassId) { function in struct:scudo::SizeClassAllocatorLocalCache
H A Dquarantine.h200 drain(C, Cb);
203 void NOINLINE drain(CacheT *C, Callback Cb) { function in class:scudo::GlobalQuarantine
H A Dcombined.h193 Quarantine.drain(&TSD->QuarantineCache,
/freebsd-12-stable/contrib/netbsd-tests/lib/libcurses/director/
H A Dtestlang_parse.y724 char check_file[PATH_MAX], drain[100], ref, data;
839 result = read(check_fd, drain, sizeof(drain));
844 excess(check_file, 0, __func__, "", drain,
961 /* drain any trailing output */
1548 char *new_data, drain[MAX_DRAIN];
1558 if ((result = read(master, drain, result)) < 0) {
1587 saved_output.count + i, drain[i],
1588 (drain[i] >= ' ')? drain[
[all...]
/freebsd-12-stable/sys/kern/
H A Dkern_timeout.c650 callout_func_t *c_func, *drain; local
760 drain = cc_exec_drain(cc, direct);
763 drain(c_arg);
1180 _callout_stop_safe(struct callout *c, int flags, callout_func_t *drain) argument
1191 KASSERT((flags & CS_DRAIN) == 0 || drain == NULL,
1192 ("Cannot set drain callback and CS_DRAIN flag at the same time"));
1258 * If the callout is running, try to stop it or drain it.
1329 !cc_exec_cancel(cc, direct) && (drain == NULL)) {
1384 if (drain) {
1386 ("callout drain functio
[all...]
/freebsd-12-stable/usr.bin/mkuzip/
H A Dmkuzip.c277 drain:
322 goto drain;
335 goto drain;
/freebsd-12-stable/sys/compat/linuxkpi/common/src/
H A Dlinux_usb.c474 struct urb *urb, uint8_t drain)
481 if (drain) {
493 usb_unlink_urb_sub(struct urb *urb, uint8_t drain) argument
506 if (drain)
538 usb_unlink_bsd(uhe->bsd_xfer[0], urb, drain);
539 usb_unlink_bsd(uhe->bsd_xfer[1], urb, drain);
543 if (drain)
473 usb_unlink_bsd(struct usb_xfer *xfer, struct urb *urb, uint8_t drain) argument
H A Dlinux_work.c369 [WORK_ST_TASK] = WORK_ST_IDLE, /* cancel and drain */
370 [WORK_ST_EXEC] = WORK_ST_IDLE, /* too late, drain */
371 [WORK_ST_CANCEL] = WORK_ST_IDLE, /* cancel and drain */
404 linux_cancel_timer(struct delayed_work *dwork, bool drain) argument
412 /* check if we should drain */
413 if (drain)
468 [WORK_ST_TIMER] = WORK_ST_IDLE, /* cancel and drain */
469 [WORK_ST_TASK] = WORK_ST_IDLE, /* cancel and drain */
470 [WORK_ST_EXEC] = WORK_ST_IDLE, /* too late, drain */
471 [WORK_ST_CANCEL] = WORK_ST_IDLE, /* cancel and drain */
[all...]
/freebsd-12-stable/sys/arm/arm/
H A Dbusdma_machdep-v4.c1351 goto drain;
1362 drain:
/freebsd-12-stable/sys/contrib/ncsw/Peripherals/QM/
H A Dqm_portal_fqr.c277 bool drain)
300 if (drain)
303 (uint8_t)((drain)?QM_MCC_VERB_ALTER_RETIRE_CTXB:QM_MCC_VERB_ALTER_RETIRE));
306 (drain)?QM_MCR_VERB_ALTER_RETIRE_CTXB:QM_MCR_VERB_ALTER_RETIRE);
484 RETURN_ERROR(MAJOR, E_INVALID_STATE, ("drain with volatile failed"));
1166 /* quiesce SDQCR/VDQCR, then drain till h/w wraps up anything it
274 qman_retire_fq(t_QmPortal *p_QmPortal, struct qman_fq *p_Fq, uint32_t *p_Flags, bool drain) argument
/freebsd-12-stable/contrib/libpcap/
H A Dpcap-linux.c7395 char drain[1]; local
7404 * non-blocking mode; we drain it by reading packets
7421 while (recv(handle->fd, &drain, sizeof drain, MSG_TRUNC) >= 0)
/freebsd-12-stable/sys/contrib/octeon-sdk/
H A Dcvmx-gmxx-defs.h10348 uint64_t drain : 16; /**< Per port drain control member in struct:cvmx_gmxx_tx_spi_drain::cvmx_gmxx_tx_spi_drain_s
10356 uint64_t drain : 16;
10532 PKO to drain their FIFOs

Completed in 479 milliseconds