Searched refs:pidx (Results 26 - 50 of 74) sorted by relevance

123

/freebsd-13-stable/sys/dev/xen/privcmd/
H A Dprivcmd.c164 vm_pindex_t pidx; local
170 pidx = OFF_TO_IDX(offset);
171 if (pidx >= map->size || BIT_ISSET(map->size, pidx, map->err))
187 vm_page_replace(page, object, pidx, *mres);
189 vm_page_insert(page, object, pidx);
/freebsd-13-stable/sys/net/
H A Diflib.h118 qidx_t ipi_pidx; /* start pidx for encap */
119 qidx_t ipi_new_pidx; /* next available pidx post-encap */
182 void (*ift_txd_flush) (void *, uint16_t, qidx_t pidx);
185 int (*ift_rxd_available) (void *, uint16_t qsidx, qidx_t pidx, qidx_t budget);
188 void (*ift_rxd_flush) (void *, uint16_t qsidx, uint8_t flidx, qidx_t pidx);
H A Diflib.c400 get_inuse(int size, qidx_t cidx, qidx_t pidx, uint8_t gen) argument
404 if (pidx > cidx)
405 used = pidx - cidx;
406 else if (pidx < cidx)
407 used = size - cidx + pidx;
408 else if (gen == 0 && pidx == cidx)
410 else if (gen == 1 && pidx == cidx)
2036 int err, frag_idx, i, idx, n, pidx; local
2045 pidx = fl->ifl_pidx;
2046 idx = pidx;
3327 int ntxd, pidx; local
3422 int err, nsegs, ndesc, max_segs, pidx, cidx, next, ntxd; local
3748 iflib_txq_drain(struct ifmp_ring *r, uint32_t cidx, uint32_t pidx) argument
3862 iflib_txq_drain_free(struct ifmp_ring *r, uint32_t cidx, uint32_t pidx) argument
[all...]
/freebsd-13-stable/sys/dev/ntb/
H A Dntb.h98 int ntb_peer_port_number(device_t ntb, int pidx);
H A Dntb.c267 ntb_peer_port_number(device_t ntb, int pidx) argument
269 return (NTB_PEER_PORT_NUMBER(device_get_parent(ntb), pidx));
/freebsd-13-stable/sys/dev/mgb/
H A Dif_mgb.c979 qidx_t pidx, nsegs; local
988 pidx = ipi->ipi_pidx;
995 txd = &rdata->ring[pidx];
1011 pidx = MGB_NEXT_RING_IDX(pidx);
1013 ipi->ipi_new_pidx = pidx;
1018 mgb_isc_txd_flush(void *xsc, uint16_t txqid, qidx_t pidx) argument
1027 if (rdata->last_tail != pidx) {
1028 rdata->last_tail = pidx;
1185 mgb_isc_rxd_flush(void *xsc, uint16_t rxqid, uint8_t flid, qidx_t pidx) argument
[all...]
/freebsd-13-stable/sys/contrib/openzfs/module/zfs/
H A Ddmu_traverse.c303 int32_t i, ptidx, pidx; local
331 * pidx: Index for which next prefetch to be issued.
335 pidx = 1;
339 ASSERT3S(ptidx, <=, pidx);
340 for (uint32_t prefetched = 0; pidx < epb &&
341 prefetched < prefetchlimit; pidx++) {
344 zb->zb_blkid * epb + pidx);
346 &((blkptr_t *)buf->b_data)[pidx],
351 ptidx = pidx;
/freebsd-13-stable/sys/net/route/
H A Dnhop_utils.h190 void bitmask_swap(struct bitmask_head *bh, void *new_idx, uint32_t new_items, void **pidx);
193 int bitmask_alloc_idx(struct bitmask_head *bi, uint16_t *pidx);
/freebsd-13-stable/sys/vm/
H A Ddevice_pager.c70 static int dev_pager_populate(vm_object_t object, vm_pindex_t pidx,
325 dev_pager_populate(vm_object_t object, vm_pindex_t pidx, int fault_type, argument
332 return (object->un_pager.devp.ops->cdev_pg_populate(object, pidx,
H A Dvm_fault.c404 vm_pindex_t pidx; local
408 for (pidx = first, m = vm_page_lookup(object, pidx);
409 pidx <= last; pidx++, m = vm_page_next(m)) {
421 vm_pindex_t map_first, map_last, pager_first, pager_last, pidx; local
541 for (pidx = pager_first, m = vm_page_lookup(fs->first_object, pidx);
542 pidx <= pager_last;
543 pidx
[all...]
/freebsd-13-stable/sys/dev/axgbe/
H A Dxgbe-txrx.c66 axgbe_printf(1, "pi len: %d qsidx: %d nsegs: %d ndescs: %d flags: %x pidx: %d\n",
203 axgbe_error("--> %s: cur(%d) ne pidx(%d)\n", __func__,
371 axgbe_isc_txd_flush(void *arg, uint16_t txqid, qidx_t pidx) argument
377 struct xgbe_ring_data *rdata = XGBE_GET_DESC_DATA(ring, pidx);
379 axgbe_printf(1, "--> %s: flush txq %d pidx %d cur %d dirty %d\n",
380 __func__, txqid, pidx, ring->cur, ring->dirty);
460 axgbe_printf(1, "--> %s: rxq %d fl %d pidx %d count %d ring cur %d "
475 "pidx %d\n", __func__, ring->cur, ring->dirty, j, i);
536 axgbe_isc_rxd_flush(void *arg, uint16_t qsidx, uint8_t flidx, qidx_t pidx) argument
544 axgbe_printf(1, "--> %s: rxq %d fl %d pidx
[all...]
/freebsd-13-stable/sys/dev/vmware/vmxnet3/
H A Dif_vmx.c1308 int pidx; local
1318 pidx = pi->ipi_pidx;
1323 sop = &txr->vxtxr_txd[pidx];
1327 txd = &txr->vxtxr_txd[pidx];
1341 if (++pidx == txr->vxtxr_ndesc) {
1342 pidx = 0;
1349 pi->ipi_new_pidx = pidx;
1385 vmxnet3_isc_txd_flush(void *vsc, uint16_t txqid, qidx_t pidx) argument
1394 * pidx is what we last set ipi_new_pidx to in
1402 if (txq->vxtxq_last_flush == pidx)
1729 vmxnet3_isc_rxd_flush(void *vsc, uint16_t rxqid, uint8_t flid, qidx_t pidx) argument
[all...]
/freebsd-13-stable/crypto/openssl/ssl/
H A Dssl_cert.c973 int ssl_cert_lookup_by_nid(int nid, size_t *pidx) argument
979 *pidx = i;
987 const SSL_CERT_LOOKUP *ssl_cert_lookup_by_pkey(const EVP_PKEY *pk, size_t *pidx) argument
998 if (pidx != NULL)
999 *pidx = tmpidx;
/freebsd-13-stable/contrib/ofed/libcxgb4/
H A Dcq.c108 while (idx != wq->sq.pidx) {
136 while (cidx != wq->sq.pidx) {
182 while (rptr != wq->sq.pidx) {
/freebsd-13-stable/sys/netpfil/ipfw/
H A Dip_fw_sockopt.c166 struct tid_info *ti, struct obj_idx *pidx, int *unresolved);
2539 struct obj_idx *oib, struct obj_idx *pidx, struct tid_info *ti)
2550 for (p = oib; p < pidx; p++) {
2576 unref_oib_objects(ch, cmd, oib, pidx);
2717 * Saves object info in @pidx, sets
2724 struct obj_idx *pidx, int *unresolved)
2736 pidx->uidx = ti->uidx;
2737 pidx->type = ti->type;
2776 struct obj_idx *pidx; local
2780 pidx
2538 create_objects_compat(struct ip_fw_chain *ch, ipfw_insn *cmd, struct obj_idx *oib, struct obj_idx *pidx, struct tid_info *ti) argument
2723 ref_opcode_object(struct ip_fw_chain *ch, ipfw_insn *cmd, struct tid_info *ti, struct obj_idx *pidx, int *unresolved) argument
4668 ipfw_objhash_alloc_idx(void *n, uint16_t *pidx) argument
[all...]
/freebsd-13-stable/sys/dev/cxgbe/common/
H A Dt4_hw.h105 volatile __be16 pidx; member in struct:sge_qstat
/freebsd-13-stable/usr.sbin/bhyve/
H A Dvirtio.h487 int vq_getchain(struct vqueue_info *vq, uint16_t *pidx,
H A Dvirtio.c266 vq_getchain(struct vqueue_info *vq, uint16_t *pidx, argument
314 *pidx = next = vq->vq_avail->va_ring[idx & (vq->vq_qsize - 1)];
/freebsd-13-stable/sys/x86/iommu/
H A Dintel_idpgtbl.c342 vm_pindex_t idx, pidx; local
348 for (pidx = idx = 0, i = 0; i < lvl; i++, pidx = idx) {
350 pidx * DMAR_NPTEPG + 1;
/freebsd-13-stable/sys/dev/oce/
H A Doce_if.h296 ring->pidx = GET_Q_NEXT(ring->pidx, n, ring->num_items)
303 (void *)(((type *)DBUF_VA(&ring->dma)) + ring->pidx)
305 (uint64_t)(((type *)DBUF_PA(ring->dbuf)) + ring->pidx)
325 uint16_t pidx; /* Put Ptr */ member in struct:oce_ring_buffer_s
/freebsd-13-stable/sys/dev/cxgb/
H A Dcxgb_adapter.h209 uint32_t pidx; member in struct:sge_fl
237 uint32_t pidx; member in struct:sge_txq
/freebsd-13-stable/sys/dev/xen/gntdev/
H A Dgntdev.c808 vm_pindex_t pidx, ridx; local
817 pidx = OFF_TO_IDX(offset);
835 vm_page_replace(page, object, pidx, *mres);
837 vm_page_insert(page, object, pidx);
/freebsd-13-stable/sys/sys/
H A Dmbuf.h401 m_epg_pagelen(const struct mbuf *m, int pidx, int pgoff) argument
404 KASSERT(pgoff == 0 || pidx == 0,
405 ("page %d with non-zero offset %d in %p", pidx, pgoff, m));
407 if (pidx == m->m_epg_npgs - 1) {
/freebsd-13-stable/sys/dev/cxgbe/
H A Dadapter.h453 uint16_t pidx; /* producer idx (desc idx) */ member in struct:sge_eq
454 uint16_t equeqidx; /* EQUEQ last requested at this pidx */
455 uint16_t dbidx; /* pidx of the most recent doorbell */
523 uint16_t dbidx; /* hw pidx after last doorbell */
529 uint32_t pidx; /* producer index */ member in struct:sge_fl
673 int pidx; member in struct:wrq_cookie
766 uint16_t pidx; member in struct:sge_nm_txq
768 uint16_t equiqidx; /* EQUIQ last requested at this pidx */
769 uint16_t equeqidx; /* EQUEQ last requested at this pidx */
770 uint16_t dbidx; /* pidx o
[all...]
/freebsd-13-stable/sys/dev/ntb/ntb_hw/
H A Dntb_hw_amd.c188 amd_ntb_peer_port_number(device_t dev, int pidx) argument
192 amd_ntb_printf(1, "%s: pidx %d conn type %d\n",
193 __func__, pidx, ntb->conn_type);
195 if (pidx != NTB_DEF_PEER_IDX)

Completed in 316 milliseconds

123