/freebsd-current/sys/dev/atkbdc/ |
H A D | atkbdc.c | 66 #define availq(q) ((q)->head != (q)->tail) 68 #define emptyq(q) ((q)->tail = (q)->head = (q)->qcount = 0) 70 #define emptyq(q) ((q)->tail = (q)->head = 0) 275 sc->kbd.head = sc->kbd.tail = 0; 276 sc->aux.head = sc->aux.tail = 0; 396 if (nextq(q->tail) != q->head) { 397 q->q[q->tail] = c; 398 q->tail = nextq(q->tail); 415 if (q->tail ! [all...] |
/freebsd-current/sys/contrib/zstd/lib/dictBuilder/ |
H A D | cover.c | 468 /* Trim off the zero frequency head and tail from the segment. */ 688 size_t tail = dictBufferCapacity; local 700 for (epoch = 0; tail > 0; epoch = (epoch + 1) % epochs.num) { 718 segmentSize = MIN(segment.end - segment.begin + parameters.d - 1, tail); 725 tail -= segmentSize; 726 memcpy(dict + tail, ctx->samples + segment.begin, segmentSize); 729 (unsigned)(((dictBufferCapacity - tail) * 100) / dictBufferCapacity)); 732 return tail; 777 const size_t tail = local 781 dict, dictBufferCapacity, dict + tail, dictBufferCapacit 1098 const size_t tail = COVER_buildDictionary(ctx, freqs, &activeDmers, dict, local [all...] |
/freebsd-current/contrib/ncurses/ncurses/base/ |
H A D | lib_getch.c | 248 if (tail < 0) 353 sp->_fifo[tail] = ch; 356 head = peek = tail; 358 TR(TRACE_IEVENT, ("pushed %s at %d", _nc_tracechar(sp, ch), tail)); 373 tail = peek = 0; 770 if (peek == tail) {
|
/freebsd-current/sys/dev/qat/qat_common/ |
H A D | adf_transport.c | 119 memcpy((void *)((uintptr_t)ring->base_addr + ring->tail), 123 ring->tail = adf_modulo(ring->tail + msg_size, 129 ring->tail); 130 ring->csr_tail_offset = ring->tail; 436 ring->tail = 0;
|
/freebsd-current/usr.sbin/config/ |
H A D | mkmakefile.cc | 55 static char *tail(char *); 662 sp = tail(tp->f_fn); 716 tail(char *fn) function 754 ftp->f_objprefix, tail(np), 760 ftp->f_objprefix, tail(np), 766 ftp->f_objprefix, tail(np),
|
/freebsd-current/lib/libc/amd64/string/ |
H A D | strlcpy.S | 142 tzcnt %r8d, %r8d # find tail length 144 movdqu (%rsi, %r8, 1), %xmm0 # load string tail 145 movdqu %xmm0, (%rdi, %r8, 1) # store string tail 176 3: tzcnt %eax, %eax # find length of string tail 177 movdqu -15(%rsi, %rax, 1), %xmm0 # load string tail (incl. NUL) 179 movdqu %xmm0, -15(%rdi, %rax, 1) # store string tail (incl. NUL)
|
/freebsd-current/tools/test/stress2/misc/ |
H A D | bench.sh | 48 [ -f $log ] && old=`tail -1 $log | awk '{print $2}'` 59 done | ministat -n | tail -1 | awk '{printf "%.3f %.3f\n",$6,$7}' > $tmp 62 tail -5 $log | cut -c 1-92
|
H A D | oovm.sh | 49 [ `df -k $(dirname $diskimage) | tail -1 | awk '{print int($4 / 1024)}'` -lt \
|
H A D | oovm2.sh | 47 [ `df -k $(dirname $diskimage) | tail -1 | awk '{print int($4 / 1024)}'` -lt \
|
H A D | symlink.sh | 59 i=`df -ik $mntpoint | tail -1 | awk '{printf "%d\n", ($7 - 500)/2}'`
|
H A D | linger.sh | 58 r=`df -hi $mntpoint | tail -1`
|
H A D | perf.sh | 58 inodes=`df -ik $mntpoint | tail -1 | \
|
/freebsd-current/sys/contrib/dev/iwlwifi/mvm/ |
H A D | phy-ctxt.c | 133 struct iwl_phy_context_cmd_tail *tail = local 139 iwl_mvm_phy_ctxt_set_rxchain(mvm, ctxt, &tail->rxchain_info, 142 tail->txchain_info = cpu_to_le32(iwl_mvm_get_valid_tx_ant(mvm));
|
/freebsd-current/contrib/one-true-awk/testdir/ |
H A D | T.misc | 493 awk '{ print NF, $0 }' foo0| tail -1 >foo2 498 awk '{ print NF, $0 }' foo0| tail -1 >foo2 503 awk '{ print NF, $0 }' foo0| tail -1 >foo2
|
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/predicates/ |
H A D | tst.predcache.ksh | 42 ctids=$(ps -p $pids -o ctid | tail +2 | sort | uniq)
|
/freebsd-current/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_srq.c | 145 srq->tail = srq->msrq.max - 1; 299 next = get_wqe(srq, srq->tail); 301 srq->tail = wqe_index; 333 if (unlikely(srq->head == srq->tail)) {
|
/freebsd-current/contrib/wpa/src/ap/ |
H A D | beacon.c | 1428 u8 *tail = NULL; local 1479 tailpos = tail = os_malloc(tail_len); 1480 if (head == NULL || tail == NULL) { 1483 os_free(tail); 1486 tailend = tail + tail_len; 1535 hapd->cs_c_off_beacon = csa_pos - tail - 1; 1553 hapd->cs_c_off_ecsa_beacon = csa_pos - tail - 1; 1649 tailpos = hostapd_eid_mbo(hapd, tailpos, tail + tail_len - tailpos); 1651 tail + tail_len - tailpos); 1652 tailpos = hostapd_eid_dpp_cc(hapd, tailpos, tail [all...] |
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zdb/ |
H A D | zdb_objset_id.ksh | 93 output=$(ls -1 /proc/spl/kstat/zfs/$TESTPOOL | grep objset- | tail -1)
|
/freebsd-current/crypto/openssl/apps/ |
H A D | fipsinstall.c | 302 const char *tail; local 403 tail = opt_path_end(module_fname); 404 if (tail != NULL) { 408 module_path[tail - module_fname] = '\0';
|
/freebsd-current/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_cq.c | 195 wc->wr_id = wq->wrid[wq->tail & (wq->wqe_cnt - 1)]; 196 ++wq->tail; 384 u16 tail, u16 head) 389 idx = tail & (qp->sq.wqe_cnt - 1); 394 tail = qp->sq.w_list[idx].next; 396 tail = qp->sq.w_list[idx].next; 397 qp->sq.last_poll = tail; 447 cur = wq->head - wq->tail; 458 wq->tail++; 476 cur = wq->head - wq->tail; 383 handle_atomics(struct mlx5_ib_qp *qp, struct mlx5_cqe64 *cqe64, u16 tail, u16 head) argument [all...] |
/freebsd-current/sys/net80211/ |
H A D | ieee80211_superg.h | 62 struct mbuf *tail; /* last frame in queue */ member in struct:ieee80211_stageq
|
/freebsd-current/sys/dev/bhnd/nvram/ |
H A D | bhnd_nvram_plist.h | 56 bhnd_nvram_plist *tail);
|
/freebsd-current/sys/dev/iavf/ |
H A D | iavf_adminq.c | 46 /* set head and tail registers in our local struct */ 47 hw->aq.asq.tail = IAVF_VF_ATQT1; 52 hw->aq.arq.tail = IAVF_VF_ARQT1; 290 wr32(hw, hw->aq.asq.tail, 0); 319 wr32(hw, hw->aq.arq.tail, 0); 327 /* Update tail in the HW to post pre-allocated buffers */ 328 wr32(hw, hw->aq.arq.tail, hw->aq.num_arq_entries - 1); 479 wr32(hw, hw->aq.asq.tail, 0); 513 wr32(hw, hw->aq.arq.tail, 0); 786 /* bump the tail */ [all...] |
/freebsd-current/sys/contrib/dev/mediatek/mt76/mt7996/ |
H A D | debugfs.c | 573 u32 ctrl, head, tail, queued; local 583 tail = mt76_get_field(dev, MT_FL_Q2_CTRL, 589 seq_printf(s, "queued:0x%03x head:0x%03x tail:0x%03x\n", 590 queued, head, tail); 658 u32 val, head, tail; local 663 tail = mt76_get_field(dev, MT_PLE_FREEPG_HEAD_TAIL, GENMASK(27, 16)); 666 "\tTotal free page: 0x%08x head: 0x%03x tail: 0x%03x\n", 667 val, head, tail); 671 tail = mt76_get_field(dev, MT_PLE_HIF_PG_INFO, GENMASK(27, 16)); 673 val, head, tail); [all...] |
/freebsd-current/sys/contrib/dev/mediatek/mt76/ |
H A D | dma.c | 193 q->tail = q->head; 366 while (q->queued > 0 && q->tail != last) { 367 mt76_dma_tx_cleanup_idx(dev, q, q->tail, &entry); 375 if (!flush && q->tail == last) 449 int idx = q->tail; 460 q->tail = (q->tail + 1) % q->ndesc; 839 if (q->tail == dma_idx) 842 if (q->tail == dma_idx)
|