/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | machrel.amd.c | 74 ld_find_got_ndx(Alist *alp, Gotref gref, Ofl_desc *ofl, Rel_desc *rdesc) in ld_find_got_ndx() argument 81 if ((gref == GOT_REF_TLSLD) && ofl->ofl_tlsldgotndx) in ld_find_got_ndx() 86 (gnp->gn_gotref == gref)) { in ld_find_got_ndx() 99 Gotref gref; in ld_calc_got_offset() local 103 gref = GOT_REF_TLSGD; in ld_calc_got_offset() 105 gref = GOT_REF_TLSLD; in ld_calc_got_offset() 107 gref = GOT_REF_TLSIE; in ld_calc_got_offset() 109 gref = GOT_REF_GENERIC; in ld_calc_got_offset() 111 gnp = ld_find_got_ndx(sdp->sd_GOTndxs, gref, ofl, rdesc); in ld_calc_got_offset() 786 Gotref gref; in ld_do_activerelocs() local [all …]
|
H A D | machrel.sparc.c | 54 ld_find_got_ndx(Alist *alp, Gotref gref, Ofl_desc *ofl, Rel_desc *rdesc) in ld_find_got_ndx() argument 61 if ((gref == GOT_REF_TLSLD) && ofl->ofl_tlsldgotndx) in ld_find_got_ndx() 66 (gref == gnp->gn_gotref)) in ld_find_got_ndx() 78 Gotref gref; in ld_calc_got_offset() local 82 gref = GOT_REF_TLSGD; in ld_calc_got_offset() 84 gref = GOT_REF_TLSLD; in ld_calc_got_offset() 86 gref = GOT_REF_TLSIE; in ld_calc_got_offset() 88 gref = GOT_REF_GENERIC; in ld_calc_got_offset() 90 gnp = ld_find_got_ndx(sdp->sd_GOTndxs, gref, ofl, rdesc); in ld_calc_got_offset() 1244 Gotref gref; in ld_do_activerelocs() local [all …]
|
H A D | machrel.intel.c | 47 ld_find_got_ndx(Alist *alp, Gotref gref, Ofl_desc *ofl, Rel_desc *rdesc) in ld_find_got_ndx() argument 52 if ((gref == GOT_REF_TLSLD) && ofl->ofl_tlsldgotndx) in ld_find_got_ndx() 56 if (gnp->gn_gotref == gref) in ld_find_got_ndx() 68 Gotref gref; in ld_calc_got_offset() local 72 gref = GOT_REF_TLSGD; in ld_calc_got_offset() 74 gref = GOT_REF_TLSLD; in ld_calc_got_offset() 76 gref = GOT_REF_TLSIE; in ld_calc_got_offset() 78 gref = GOT_REF_GENERIC; in ld_calc_got_offset() 80 gnp = ld_find_got_ndx(sdp->sd_GOTndxs, gref, ofl, NULL); in ld_calc_got_offset() 773 Gotref gref; in ld_do_activerelocs() local [all …]
|
H A D | relocate.c | 2856 Gotndx *gnp, Gotref gref, Word rflag, Word ortype, Word rtype1, Word rtype2) in ld_assign_got_TLS() argument 2861 gref, ofl, rsp, sdp) == S_ERROR) in ld_assign_got_TLS() 2872 if (local && (gref == GOT_REF_TLSIE)) { in ld_assign_got_TLS()
|
/illumos-gate/usr/src/uts/common/xen/io/ |
H A D | xnf.c | 410 grant_ref_t gref; in xnf_gref_get() local 415 gref = gnttab_claim_grant_reference(&xnfp->xnf_gref_head); in xnf_gref_get() 417 } while ((gref == INVALID_GRANT_REF) && in xnf_gref_get() 422 if (gref == INVALID_GRANT_REF) { in xnf_gref_get() 431 return (gref); in xnf_gref_get() 438 xnf_gref_put(xnf_t *xnfp, grant_ref_t gref) in xnf_gref_put() argument 440 ASSERT(gref != INVALID_GRANT_REF); in xnf_gref_put() 443 gnttab_release_grant_reference(&xnfp->xnf_gref_head, gref); in xnf_gref_put() 501 if (txp->tx_txreq.gref != INVALID_GRANT_REF) { in xnf_data_txbuf_free() 502 if (gnttab_query_foreign_access(txp->tx_txreq.gref) != in xnf_data_txbuf_free() [all …]
|
H A D | blk_common.c | 691 grant_ref_t gref; in blk_bindto_frontend() local 708 e = xenbus_gather(XBT_NULL, oename, "ring-ref", "%lu", &gref, in blk_bindto_frontend() 740 e = xvdi_map_ring(dip, ring->ri_nentry, ring->ri_entrysize, gref, in blk_bindto_frontend() 999 "last sec=%d", req->seg[i].gref, req->seg[i].first_sect, in blk_ring_request_dump()
|
H A D | xpvtap.c | 1187 grant_ref_t gref[BLKIF_MAX_SEGMENTS_PER_REQUEST]; in xpvtap_user_request_map() local 1245 gref[i] = req->seg[i].gref; in xpvtap_user_request_map() 1247 (void) segmf_add_grefs(seg, uaddr, flags, gref, req->nr_segments, in xpvtap_user_request_map()
|
H A D | xdb.c | 152 "last sec=%d", req->seg[i].gref, req->seg[i].first_sect, in xdb_dump_request_oe() 291 mapops[i].ref = ddi_get32(acchdl, &req->seg[i].gref); in xdb_get_buf() 734 grant_ref_t gref; in xdb_bindto_frontend() local 755 XBP_RING_REF, "%lu", &gref, in xdb_bindto_frontend() 805 gref, &vdp->xs_ring) != DDI_SUCCESS) in xdb_bindto_frontend()
|
H A D | xnb.c | 741 gop->ref = rxreq->gref; in xnb_to_peer() 1107 d_offset, part_len, rxreq->gref); in xnb_copy_to_peer() 1482 cop->source.u.ref = txreq->gref; in xnb_from_peer()
|
H A D | xdf.c | 1315 ddi_put32(acchdl, &rreq->seg[seg].gref, gr); in xdf_process_rreq() 1525 grant_ref_t gref; in xdf_setstate_init() local 1577 sizeof (union blkif_sring_entry), &gref, &vdp->xdf_xb_ring) != in xdf_setstate_init() 1604 XBP_RING_REF, "%u", gref)) != 0) || in xdf_setstate_init()
|
/illumos-gate/usr/src/uts/common/xen/public/io/ |
H A D | netif.h | 69 grant_ref_t gref; /* Reference to buffer page */ member 154 grant_ref_t gref; /* Reference to incoming granted frame */ member
|
H A D | blkif.h | 95 grant_ref_t gref; /* reference to I/O buffer frame */ member
|
/illumos-gate/usr/src/uts/common/xen/os/ |
H A D | xvdi.c | 524 grant_ref_t gref, xendev_ring_t **ringpp) in xvdi_map_ring() argument 547 mapop.ref = gref; in xvdi_map_ring() 561 ring->xr_gref = gref; in xvdi_map_ring() 632 xvdi_reinit_ring(dev_info_t *dip, grant_ref_t *gref, xendev_ring_t *ringp) in xvdi_reinit_ring() argument 643 *gref = ringp->xr_gref; in xvdi_reinit_ring() 658 grant_ref_t *gref, xendev_ring_t **ringpp) in xvdi_alloc_ring() argument 669 xvdi_reinit_ring(dip, gref, *ringpp); in xvdi_alloc_ring() 711 *gref = ring->xr_gref = ring_gref; in xvdi_alloc_ring()
|