Lines Matching full:grant

109 /* Default length for stack-allocated grant tables */
133 * Predefined array type of grant table copy descriptors. Used to pass around
336 * Grant table handles, one per-ring page, returned by the
346 * The grant references, one per-ring page, supplied by the
457 * Preallocated grant table copy descriptor for RX operations.
463 * Preallocated grant table copy descriptor for TX operations.
514 printf("NULL grant table pointer\n"); in xnb_dump_gnttab_copy()
672 KASSERT(error == 0, ("Grant table unmap op failed (%d)", error)); in xnb_disconnect()
677 * grant refs contained therein are no longer valid. in xnb_disconnect()
716 panic("netback: Ring page grant table op failed (%d)", error); in xnb_connect_ring()
814 * via grant table operations. We will map the netif tx and rx rings in xnb_alloc_communication_mem()
1692 * \param[out] gnttab Storage for the returned grant table
1704 int gnt_idx = 0; /* index into grant table */ in xnb_txpkt2gnttab()
1719 * grant table's next entry in xnb_txpkt2gnttab()
1724 KASSERT(gnt_idx < GNTTAB_LEN, ("Grant table is too short")); in xnb_txpkt2gnttab()
1757 * Check the status of the grant copy operations, and update mbufs various
1761 * \param[in] gnttab A grant table for a just completed copy op
1762 * \param[in] n_entries The number of valid entries in the grant table
1799 * \param[in,out] gnttab Pointer to enough memory for a grant table. We make
1944 * \param[out] gnttab Storage for the returned grant table
1956 int gnt_idx = 0; /* index into grant table */ in xnb_rxpkt2gnttab()
1973 * grant table's next entry in xnb_rxpkt2gnttab()
1978 KASSERT(gnt_idx < GNTTAB_LEN, ("Grant table is too short")); in xnb_rxpkt2gnttab()
2016 * \param[in] gnttab The grant copy table corresponding to this packet.
2019 * \param[in] n_entries Number of relevant entries in the grant table
2048 * Since we're looping through the grant table anyway, we'll count the in xnb_rxpkt2rsp()
2384 * \param[in,out] gnttab Pointer to enough memory for a grant table. We make