/illumos-gate/usr/src/uts/intel/io/mc-amd/ |
H A D | mcamd_pcicfg.c | 56 mc_pcicfg_setup(mc_t *mc, enum mc_funcnum func, mc_pcicfg_hdl_t *cookiep) argument 60 *cookiep = hdlp = kmem_alloc(sizeof (struct _mc_pcicfg_hdl), KM_SLEEP);
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | dma_engine.c | 192 ddi_dma_cookie_t *cookiep = NULL; local 198 cookiep = dmae_stat[chnl].proc(dmae_stat[chnl].procparms); 204 return (cookiep);
|
/illumos-gate/usr/src/uts/sun4/io/efcode/ |
H A D | fc_ddi.c | 59 ddi_dma_cookie_t *cookiep, uint_t *ccountp) 110 return ((*funcp)(dip, dip, handle, &dmareq, cookiep, ccountp)); 57 fc_ddi_dma_buf_bind_handle(ddi_dma_handle_t handle, struct buf *bp, uint_t flags, int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument
|
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/ |
H A D | enx_main.c | 503 char *name, ddi_eventcookie_t *cookiep) 506 cookiep, NDI_EVENT_NOPASS)); 502 eibnx_get_eventcookie(dev_info_t *dip, dev_info_t *rdip, char *name, ddi_eventcookie_t *cookiep) argument
|
/illumos-gate/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_fhistory.c | 1643 dp_readdir(DIR *dirp, unsigned long *cookiep, char *name, int *n_namep, argument 1660 *cookiep = telldir(dirp);
|
/illumos-gate/usr/src/uts/common/inet/kssl/ |
H A D | ksslfilter.c | 73 struct sockaddr *faddr, socklen_t faddrlen, void **cookiep) 111 *cookiep = new; 71 kssl_attach_passive_cb(sof_handle_t handle, sof_handle_t ph, void *parg, struct sockaddr *laddr, socklen_t laddrlen, struct sockaddr *faddr, socklen_t faddrlen, void **cookiep) argument
|
/illumos-gate/usr/src/uts/sun4/io/px/ |
H A D | px.c | 964 ddi_dma_cookie_t *cookiep, uint_t *ccountp) 1001 MAKE_DMA_COOKIE(cookiep, mp->dmai_mapping, mp->dmai_size); 1008 *cookiep = 1017 cookiep->dmac_address, cookiep->dmac_size); 1091 size_t *lenp, ddi_dma_cookie_t *cookiep, uint_t *ccountp) 1118 if (cookiep) 1119 MAKE_DMA_COOKIE(cookiep, mp->dmai_mapping, 1132 *cookiep = *ck_p; 1148 if (cookiep) 962 px_dma_bindhdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle, ddi_dma_req_t *dmareq, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument 1089 px_dma_win(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle, uint_t win, off_t *offp, size_t *lenp, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument [all...] |
/illumos-gate/usr/src/uts/common/io/comstar/port/qlt/ |
H A D | qlt_dma.c | 612 qlt_ddi_dma_nextcookie(stmf_data_buf_t *dbuf, ddi_dma_cookie_t *cookiep) argument 620 *cookiep = qsgl->cookie[qsgl->cookie_next_fetch++]; 630 *cookiep = fetch->first_cookie; 632 ddi_dma_nextcookie(fetch->dma_handle, cookiep);
|
/illumos-gate/usr/src/uts/sun4v/io/niumx/ |
H A D | niumx.c | 69 ddi_dma_cookie_t *cookiep, uint_t *ccountp); 724 ddi_dma_cookie_t *cookiep, uint_t *ccountp) 779 *cookiep = *mp->dmai_cookie; 781 cookiep->dmac_address, cookiep->dmac_size, *ccountp); 722 niumx_dma_bindhdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle, ddi_dma_req_t *dmareq, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument
|
/illumos-gate/usr/src/uts/sun4u/io/pci/ |
H A D | pci.c | 694 ddi_dma_cookie_t *cookiep, uint_t *ccountp) 731 MAKE_DMA_COOKIE(cookiep, mp->dmai_mapping, mp->dmai_size); 738 *cookiep = *(ddi_dma_cookie_t *)(WINLST(mp) + 1); /* wholeobj */ 745 DEBUG2(DBG_DMA_BINDH, dip, "cookie %x+%x\n", cookiep->dmac_address, 746 cookiep->dmac_size); 821 size_t *lenp, ddi_dma_cookie_t *cookiep, uint_t *ccountp) 841 if (cookiep) 842 MAKE_DMA_COOKIE(cookiep, mp->dmai_mapping, 856 *cookiep = *ck_p; 872 if (cookiep) 692 pci_dma_bindhdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle, ddi_dma_req_t *dmareq, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument 819 pci_dma_win(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle, uint_t win, off_t *offp, size_t *lenp, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument [all...] |
/illumos-gate/usr/src/uts/intel/io/ |
H A D | iommulib.c | 675 ddi_dma_cookie_t *cookiep, uint_t *ccountp) 684 dmareq, cookiep, ccountp)); 719 ddi_dma_cookie_t *cookiep, uint_t *ccountp) 728 win, offp, lenp, cookiep, ccountp)); 781 ddi_dma_cookie_t *cookiep, uint_t *ccountp) 787 cookiep, ccountp)); 821 ddi_dma_cookie_t *cookiep, uint_t ccount) 826 return (nexops->nops_dma_set_cookies(dip, handle, cookiep, ccount)); 861 ddi_dma_cookie_t *cookiep, uint_t *ccountp) 867 cookiep, ccount 673 iommulib_nexdma_bindhdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, struct ddi_dma_req *dmareq, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument 717 iommulib_nexdma_win(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, uint_t win, off_t *offp, size_t *lenp, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument 779 iommulib_iommu_dma_bindhdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle, struct ddi_dma_req *dmareq, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument 820 iommulib_iommu_dma_set_cookies(dev_info_t *dip, ddi_dma_handle_t handle, ddi_dma_cookie_t *cookiep, uint_t ccount) argument 859 iommulib_iommu_dma_win(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle, uint_t win, off_t *offp, size_t *lenp, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument [all...] |
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | pmem.c | 280 devmap_pmem_alloc(size_t size, uint_t flags, devmap_pmem_cookie_t *cookiep) argument 297 *cookiep = NULL; 386 *cookiep = (devmap_pmem_cookie_t)pcp;
|
/illumos-gate/usr/src/uts/i86pc/io/xsvc/ |
H A D | xsvc.c | 125 ddi_umem_cookie_t *cookiep); 126 static void xsvc_umem_cookie_free(ddi_umem_cookie_t *cookiep); 946 ddi_umem_cookie_t *cookiep) 952 *cookiep = NULL; 959 *cookiep = (ddi_umem_cookie_t *)umem_cookiep; 969 xsvc_umem_cookie_free(ddi_umem_cookie_t *cookiep) argument 971 kmem_free(*cookiep, sizeof (struct ddi_umem_cookie)); 972 *cookiep = NULL; 945 xsvc_umem_cookie_alloc(caddr_t kva, size_t size, int flags, ddi_umem_cookie_t *cookiep) argument
|
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/ |
H A D | dbtab.c | 112 int *linksizep, linkinfo_ent *linkp, void **cookiep, 759 linkinfo_ent *linkp, void **cookiep, int *errorp, char *msg) 790 lnp->next = *(struct link_keys **)cookiep; 791 *cookiep = (void *)lnp; 758 get_next_link(struct db_list *dbp, char *linkkey, int *linksizep, linkinfo_ent *linkp, void **cookiep, int *errorp, char *msg) argument
|
/illumos-gate/usr/src/uts/i86pc/io/amd_iommu/ |
H A D | amd_iommu_impl.c | 51 struct ddi_dma_req *dmareq, ddi_dma_cookie_t *cookiep, 60 off_t *offp, size_t *lenp, ddi_dma_cookie_t *cookiep, 1617 struct ddi_dma_req *dmareq, ddi_dma_cookie_t *cookiep, 1634 dmareq, cookiep, ccountp); 1652 (void *)cookiep->dmac_cookie_addr, 1684 *cookiep = cookie_array[0]; 1689 (void *)(uintptr_t)cookiep->dmac_cookie_addr, 1806 off_t *offp, size_t *lenp, ddi_dma_cookie_t *cookiep, 1841 offp, lenp, cookiep, ccountp) != DDI_SUCCESS) { 1881 *cookiep 1615 amd_iommu_bindhdl(iommulib_handle_t handle, dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, struct ddi_dma_req *dmareq, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument 1804 amd_iommu_win(iommulib_handle_t handle, dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, uint_t win, off_t *offp, size_t *lenp, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument [all...] |
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | iommu.c | 1192 size_t *lenp, ddi_dma_cookie_t *cookiep, uint_t *ccountp) 1216 ASSERT(cookiep); 1217 cookiep->dmac_notused = 0; 1218 cookiep->dmac_type = 0; 1219 cookiep->dmac_address = (ioaddr_t)mp->dmai_mapping; 1220 cookiep->dmac_size = mp->dmai_size; 1238 cookiep->dmac_size = mp->dmai_size; 1190 iommu_dma_win(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle, uint_t win, off_t *offp, size_t *lenp, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument
|
/illumos-gate/usr/src/uts/intel/ia32/os/ |
H A D | ddi_i86.c | 77 ddi_dma_cookie_t *cookiep, int chnl) 80 (size_t *)cookiep, (caddr_t *)(uintptr_t)chnl, 0)); 85 ddi_dma_cookie_t *cookiep, int chnl) 88 (size_t *)cookiep, (caddr_t *)(uintptr_t)chnl, 0)); 76 ddi_dmae_prog(dev_info_t *dip, struct ddi_dmae_req *dmaereqp, ddi_dma_cookie_t *cookiep, int chnl) argument 84 ddi_dmae_swsetup(dev_info_t *dip, struct ddi_dmae_req *dmaereqp, ddi_dma_cookie_t *cookiep, int chnl) argument
|
/illumos-gate/usr/src/cmd/zoneadm/ |
H A D | zfs.c | 1395 * mounts. cookiep should point to an initialized zone_mounts_t structure. 1400 zone_mounts_cb(const struct mnttab *mountp, void *cookiep) argument 1406 assert(cookiep != NULL); 1408 mounts = (zone_mounts_t *)cookiep;
|
/illumos-gate/usr/src/uts/common/io/cardbus/ |
H A D | cardbus.c | 110 size_t *lenp, ddi_dma_cookie_t *cookiep, uint_t *ccountp); 119 char *eventname, ddi_eventcookie_t *cookiep); 2019 size_t *lenp, ddi_dma_cookie_t *cookiep, uint_t *ccountp) 2035 handle, win, offp, lenp, cookiep, ccountp)); 2062 char *eventname, ddi_eventcookie_t *cookiep) 2092 bus_get_eventcookie(pdip, rdip, eventname, cookiep)); 2099 cookiep, NDI_EVENT_NOPASS); 2102 "cardbus_get_eventcookie rc %d cookie %p\n", rc, (void *)*cookiep); 2017 cardbus_dma_win(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle, uint_t win, off_t *offp, size_t *lenp, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument 2061 cardbus_get_eventcookie(dev_info_t *dip, dev_info_t *rdip, char *eventname, ddi_eventcookie_t *cookiep) argument
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | driver_lyr.c | 3076 ldi_ev_get_cookie(ldi_handle_t lh, char *evname, ldi_ev_cookie_t *cookiep) argument 3090 strlen(evname) == 0 || cookiep == NULL) { 3095 *cookiep = NULL; 3103 *cookiep = tcookie; 3136 *cookiep = (ldi_ev_cookie_t)ddi_cookie;
|
H A D | sunndi.c | 1601 ddi_eventcookie_t *cookiep, 1620 *cookiep = (ddi_eventcookie_t)cookie_list; 1635 ndi_event_hdl->ndi_evthdl_dip, rdip, eventname, cookiep)); 2438 char *eventname, ddi_eventcookie_t *cookiep) 2443 cookiep, NDI_EVENT_NOPASS)); 1598 ndi_event_retrieve_cookie(ndi_event_hdl_t handle, dev_info_t *rdip, char *eventname, ddi_eventcookie_t *cookiep, uint_t flag) argument 2437 i_ddi_rootnex_get_eventcookie(dev_info_t *dip, dev_info_t *rdip, char *eventname, ddi_eventcookie_t *cookiep) argument
|
/illumos-gate/usr/src/uts/i86pc/io/ |
H A D | immu_dvma.c | 97 ddi_dma_cookie_t *cookiep, uint_t *ccountp); 105 off_t *offp, size_t *lenp, ddi_dma_cookie_t *cookiep, uint_t *ccountp); 3109 struct ddi_dma_req *dma_req, ddi_dma_cookie_t *cookiep, 3116 dma_req, cookiep, ccountp); 3148 off_t *offp, size_t *lenp, ddi_dma_cookie_t *cookiep, 3152 lenp, cookiep, ccountp)); 3107 immu_bindhdl(iommulib_handle_t handle, dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, struct ddi_dma_req *dma_req, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument 3146 immu_win(iommulib_handle_t handle, dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, uint_t win, off_t *offp, size_t *lenp, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument
|
H A D | rootnex.c | 205 ddi_dma_cookie_t *cookiep, uint_t *ccountp); 212 ddi_dma_cookie_t *cookiep, uint_t *ccountp); 233 ddi_dma_cookie_t *cookiep, uint_t *ccountp); 242 ddi_dma_cookie_t *cookiep, uint_t ccount); 251 ddi_dma_cookie_t *cookiep, uint_t *ccountp); 1967 ddi_dma_cookie_t *cookiep, uint_t *ccountp) 2189 *cookiep = dma->dp_cookies[0]; 2264 *cookiep = dma->dp_cookies[0]; 2281 ddi_dma_cookie_t *cookiep, uint_t *ccountp) 2287 cookiep, ccount 1965 rootnex_coredma_bindhdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle, struct ddi_dma_req *dmareq, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument 2279 rootnex_dma_bindhdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle, struct ddi_dma_req *dmareq, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument 2465 rootnex_coredma_set_cookies(dev_info_t *dip, ddi_dma_handle_t handle, ddi_dma_cookie_t *cookiep, uint_t ccount) argument 4726 rootnex_coredma_win(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle, uint_t win, off_t *offp, size_t *lenp, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument 4950 rootnex_dma_win(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle, uint_t win, off_t *offp, size_t *lenp, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument [all...] |
/illumos-gate/usr/src/uts/common/io/skd/ |
H A D | skd.c | 662 ddi_dma_cookie_t *cookiep = &xfer->x_dmac; local 664 uint32_t cnt = (uint32_t)cookiep->dmac_size; 671 sgd->host_side_addr = cookiep->dmac_laddress;
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_vfsops.c | 668 uint64_t *cookiep, void *vbuf, uint64_t *bufsizep) 685 for (zap_cursor_init_serialized(&zc, zfsvfs->z_os, obj, *cookiep); 703 *cookiep = zap_cursor_serialize(&zc); 667 zfs_userspace_many(zfsvfs_t *zfsvfs, zfs_userquota_prop_t type, uint64_t *cookiep, void *vbuf, uint64_t *bufsizep) argument
|