Searched refs:handlep (Results 1 - 25 of 60) sorted by relevance

123

/illumos-gate/usr/src/uts/sun4u/sys/pci/
H A Dpci_fdvma.h39 struct ddi_dma_req *dmareq, ddi_dma_handle_t *handlep);
H A Dpci_var.h220 ddi_dma_req_t *dmareq, ddi_dma_handle_t *handlep);
223 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep);
/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx_fdvma.h37 struct ddi_dma_req *dmareq, ddi_dma_handle_t *handlep);
H A Dpx_var.h160 ddi_dma_req_t *dmareq, ddi_dma_handle_t *handlep);
163 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep);
H A Dpx.c840 ddi_dma_handle_t *handlep)
849 handlep ? "alloc" : "advisory");
862 if ((ret = px_dvma_win(px_p, dmareq, mp)) || !handlep)
877 if ((ret = px_dma_physwin(px_p, dmareq, mp)) || !handlep)
887 *handlep = (ddi_dma_handle_t)mp;
906 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep)
931 *handlep = NULL;
934 *handlep = (ddi_dma_handle_t)mp;
839 px_dma_setup(dev_info_t *dip, dev_info_t *rdip, ddi_dma_req_t *dmareq, ddi_dma_handle_t *handlep) argument
905 px_dma_allochdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_attr_t *attrp, int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep) argument
H A Dpx_fdvma.c132 ddi_dma_req_t *dmareq, ddi_dma_handle_t *handlep)
221 *handlep = (ddi_dma_handle_t)mp;
131 px_fdvma_reserve(dev_info_t *dip, dev_info_t *rdip, px_t *px_p, ddi_dma_req_t *dmareq, ddi_dma_handle_t *handlep) argument
/illumos-gate/usr/src/lib/libipmp/common/
H A Dipmp.c40 * Allocate a handle and store it in `*handlep' upon success. Returns an IPMP
44 ipmp_open(ipmp_handle_t *handlep) argument
56 *handlep = statep;
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_finddev.c100 finddev_readdir_alt(const char *path, finddevhdl_t *handlep) argument
107 *handlep = NULL;
162 *handlep = (finddevhdl_t)handle;
178 finddev_readdir_devfs(const char *path, finddevhdl_t *handlep) argument
188 *handlep = NULL;
233 *handlep = (finddevhdl_t)handle;
251 finddev_readdir(const char *path, finddevhdl_t *handlep) argument
254 return (finddev_readdir_devfs(path, handlep));
256 return (finddev_readdir_alt(path, handlep));
/illumos-gate/usr/src/psm/stand/boot/sparc/common/
H A Dwanboot.c604 establish_http_connection(const char *what, http_handle_t *handlep, argument
640 *handlep = http_srv_init(url);
641 if (*handlep == NULL) {
655 if (http_set_random_file(*handlep, "/dev/urandom") < 0) {
656 print_errors("http_set_random_file", *handlep);
657 (void) http_srv_close(*handlep);
670 *handlep);
671 (void) http_srv_close(*handlep);
690 if (http_set_client_certificate_file(*handlep,
693 *handlep);
[all...]
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_fm.c793 * hermon_regs_map_free(hermon_state_t *state, ddi_acc_handle_t *handlep)
1209 struct i_hca_acc_handle *handlep = local
1211 ASSERT(handlep != NULL);
1212 return (i_hca_pio_start(state->hs_dip, handlep, tst));
1251 struct i_hca_acc_handle *handlep = local
1253 ASSERT(handlep != NULL);
1254 return (i_hca_pio_end(state->hs_dip, handlep, cnt, tst));
2006 struct i_hca_acc_handle *handlep, *hdlp, *last; local
2015 handlep = kmem_cache_alloc(hca_fm->fm_acc_cache, KM_SLEEP);
2018 _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*handlep))
2065 struct i_hca_acc_handle *handlep, *hdlp, *prev; local
2123 struct i_hca_acc_handle *handlep, *hdlp, *last; local
2183 struct i_hca_acc_handle *handlep, *hdlp, *prev; local
[all...]
/illumos-gate/usr/src/uts/i86pc/os/
H A Ddvma.c47 ddi_dma_handle_t *handlep)
46 dvma_reserve(dev_info_t *dip, ddi_dma_lim_t *limp, u_int pages, ddi_dma_handle_t *handlep) argument
/illumos-gate/usr/src/uts/common/os/
H A Ddriver_lyr.c1674 struct ldi_handle *handlep = (struct ldi_handle *)lh; local
1695 ASSERT(handlep->lh_events == NULL);
1702 while ((lep = handlep->lh_events) != NULL) {
1707 struct ldi_ident *lip = handlep->lh_ident;
1716 err = VOP_CLOSE(handlep->lh_vp, flag | FKLYR, 1, (offset_t)0, cr, NULL);
1735 if (handlep->lh_flags & LH_FLAGS_NOTIFY)
1739 if (lecp->lec_lhp != handlep)
1751 handlep->lh_flags &= ~LH_FLAGS_NOTIFY;
1765 handle_release(handlep);
1772 struct ldi_handle *handlep local
1795 struct ldi_handle *handlep = (struct ldi_handle *)lh; local
1821 struct ldi_handle *handlep = (struct ldi_handle *)lh; local
1929 struct ldi_handle *handlep = (struct ldi_handle *)lh; local
1979 struct ldi_handle *handlep = (struct ldi_handle *)lh; local
2004 struct ldi_handle *handlep = (struct ldi_handle *)lh; local
2045 struct ldi_handle *handlep = (struct ldi_handle *)lh; local
2064 struct ldi_handle *handlep = (struct ldi_handle *)lh; local
2082 struct ldi_handle *handlep = (struct ldi_handle *)lh; local
2099 struct ldi_handle *handlep = (struct ldi_handle *)lh; local
2127 struct ldi_handle *handlep = (struct ldi_handle *)lh; local
2155 struct ldi_handle *handlep = (struct ldi_handle *)lh; local
2183 struct ldi_handle *handlep = (struct ldi_handle *)lh; local
2216 struct ldi_handle *handlep = (struct ldi_handle *)lh; local
2228 struct ldi_handle *handlep = (struct ldi_handle *)lh; local
2240 struct ldi_handle *handlep = (struct ldi_handle *)lh; local
2259 struct ldi_handle *handlep = (struct ldi_handle *)lh; local
2280 struct ldi_handle *handlep = (struct ldi_handle *)lh; local
2336 struct ldi_handle *handlep = (struct ldi_handle *)lh; local
2393 struct ldi_handle *handlep = (struct ldi_handle *)lh; local
2468 struct ldi_handle *handlep = (struct ldi_handle *)lh; local
2546 struct ldi_handle *handlep = (struct ldi_handle *)lh; local
2603 struct ldi_handle *handlep = (struct ldi_handle *)lh; local
2664 struct ldi_handle *handlep = (struct ldi_handle *)lh; local
2724 struct ldi_handle *handlep = (struct ldi_handle *)lh; local
2776 struct ldi_handle *handlep = (struct ldi_handle *)lh; local
2817 struct ldi_handle *handlep = (struct ldi_handle *)lh; local
3078 struct ldi_handle *handlep = (struct ldi_handle *)lh; local
[all...]
H A Dmodhash.c632 mod_hash_reserve(mod_hash_t *hash, mod_hash_hndl_t *handlep) argument
634 *handlep = kmem_cache_alloc(mh_e_cache, hash->mh_sleep);
635 if (*handlep == NULL) {
644 mod_hash_reserve_nosleep(mod_hash_t *hash, mod_hash_hndl_t *handlep) argument
646 *handlep = kmem_cache_alloc(mh_e_cache, KM_NOSLEEP);
647 if (*handlep == NULL) {
658 mod_hash_cancel(mod_hash_t *hash, mod_hash_hndl_t *handlep) argument
660 kmem_cache_free(mh_e_cache, *handlep);
661 *handlep = (mod_hash_hndl_t)0;
/illumos-gate/usr/src/uts/sun4/io/efcode/
H A Dfc_ddi.c47 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep)
53 return ((*funcp)(dip, dip, attr, waitfp, arg, handlep));
127 fc_ddi_dma_free_handle(ddi_dma_handle_t *handlep) argument
133 hp = (ddi_dma_impl_t *)*handlep;
136 (void) (*funcp)(dip, dip, *handlep);
46 fc_ddi_dma_alloc_handle(dev_info_t *dip, ddi_dma_attr_t *attr, int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep) argument
/illumos-gate/usr/src/uts/common/sys/
H A Ddnlc.h321 * in "handlep". Returns DFOUND, DNOENT, DNOCACHE.
323 dcret_t dnlc_dir_lookup(dcanchor_t *dcap, const char *name, uint64_t *handlep);
334 * Returns the handle if "handlep" non null.
338 uint64_t *handlep);
342 * directory cache of at least the given "len". Returns in "handlep"
347 uint64_t *handlep);
/illumos-gate/usr/src/uts/sun4/os/
H A Dddi_impl.c1162 caddr_t *kaddrp, size_t *real_length, ddi_acc_hdl_t *handlep)
1169 *handlep = *handlep;
1228 if (handlep) {
1232 impl_acc_hdl_init(handlep);
1376 impl_acc_err_init(ddi_acc_hdl_t *handlep) argument
1381 ddi_acc_impl_t *hp = (ddi_acc_impl_t *)handlep;
1383 fmcap = ddi_fm_capable(handlep->ah_dip);
1385 if (handlep->ah_acc.devacc_attr_version < DDI_DEVICE_ATTR_V1 ||
1387 handlep
1159 i_ddi_mem_alloc(dev_info_t *dip, ddi_dma_attr_t *attr, size_t length, int cansleep, int flags, ddi_device_acc_attr_t *accattrp, caddr_t *kaddrp, size_t *real_length, ddi_acc_hdl_t *handlep) argument
1414 impl_acc_hdl_init(ddi_acc_hdl_t *handlep) argument
[all...]
H A Ddvma.c56 ddi_dma_handle_t *handlep)
85 0, (caddr_t *)handlep, 0);
88 mp = (ddi_dma_impl_t *)(*handlep);
55 dvma_reserve(dev_info_t *dip, ddi_dma_lim_t *limp, uint_t pages, ddi_dma_handle_t *handlep) argument
/illumos-gate/usr/src/uts/common/io/hotplug/hpcsvc/
H A Dhpcsvc.c440 hpc_slot_t *handlep, hpc_slot_ops_t *opsp,
455 if (handlep == NULL || infop == NULL || opsp == NULL || hpc_dip == NULL)
526 *handlep = (hpc_slot_t)slotp;
548 hpc_slot_unregister(hpc_slot_t *handlep) argument
561 ASSERT(handlep != NULL);
564 slotp = (hpc_slot_entry_t *)*handlep;
565 if ((slotp == NULL) || slotp->slot_handle != *handlep)
574 DEBUG2("hpc_slot_unregister: handlep=%x, slotp=%x", handlep, slotp);
663 *handlep
439 hpc_slot_register(dev_info_t *hpc_dip, char *bus, hpc_slot_info_t *infop, hpc_slot_t *handlep, hpc_slot_ops_t *opsp, caddr_t ops_arg, uint_t flags) argument
[all...]
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Def10_nic.c574 __out efx_piobuf_handle_t *handlep)
581 if (handlep == NULL) {
605 *handlep = MCDI_OUT_DWORD(req, ALLOC_PIOBUF_OUT_PIOBUF_HANDLE);
728 efx_piobuf_handle_t *handlep; local
737 handlep = &enp->en_arch.ef10.ena_piobuf_handle[i];
739 if (efx_mcdi_alloc_piobuf(enp, handlep) != 0)
750 handlep = &enp->en_arch.ef10.ena_piobuf_handle[i];
752 (void) efx_mcdi_free_piobuf(enp, *handlep);
753 *handlep = EFX_PIOBUF_HANDLE_INVALID;
763 efx_piobuf_handle_t *handlep; local
572 efx_mcdi_alloc_piobuf( __in efx_nic_t *enp, __out efx_piobuf_handle_t *handlep) argument
777 ef10_nic_pio_alloc( __inout efx_nic_t *enp, __out uint32_t *bufnump, __out efx_piobuf_handle_t *handlep, __out uint32_t *blknump, __out uint32_t *offsetp, __out size_t *sizep) argument
[all...]
/illumos-gate/usr/src/lib/libwrap/
H A Dtli.c186 void *handlep; local
199 if ((handlep = setnetconfig()) == 0) {
203 while (config = getnetconfig(handlep)) {
/illumos-gate/usr/src/uts/intel/ia32/os/
H A Dddi_i86.c228 impl_acc_err_init(ddi_acc_hdl_t *handlep) argument
233 ddi_acc_impl_t *hp = (ddi_acc_impl_t *)handlep;
235 fmcap = ddi_fm_capable(handlep->ah_dip);
237 if (handlep->ah_acc.devacc_attr_version < DDI_DEVICE_ATTR_V1 ||
239 handlep->ah_acc.devacc_attr_access = DDI_DEFAULT_ACC;
240 } else if (handlep->ah_acc.devacc_attr_access == DDI_FLAGERR_ACC &&
242 handlep->ah_acc.devacc_attr_access = DDI_DEFAULT_ACC;
244 if (handlep->ah_acc.devacc_attr_access == DDI_DEFAULT_ACC) {
245 if (handlep->ah_xfermodes)
247 i_ddi_drv_ereport_post(handlep
270 impl_acc_hdl_init(ddi_acc_hdl_t *handlep) argument
[all...]
/illumos-gate/usr/src/uts/common/io/drm/
H A Ddrm_gem.c93 int *handlep)
102 *handlep = obj->name;
429 int *handlep)
441 ret = idr_list_get_new_above(&file_priv->object_idr, obj, handlep);
91 idr_list_get_new_above(struct idr_list *head, struct drm_gem_object *obj, int *handlep) argument
427 drm_gem_handle_create(struct drm_file *file_priv, struct drm_gem_object *obj, int *handlep) argument
/illumos-gate/usr/src/uts/sun4u/starcat/io/
H A Dfcgp2.c933 ddi_acc_handle_t *handlep)
940 *handlep = impl_acc_hdl_alloc(KM_SLEEP, NULL);
941 hp = impl_acc_hdl_get(*handlep);
963 impl_acc_hdl_free(*handlep);
964 *handlep = (ddi_acc_handle_t)NULL;
973 gp2_unmap_phys(ddi_acc_handle_t *handlep) argument
979 hp = impl_acc_hdl_get(*handlep);
994 impl_acc_hdl_free(*handlep);
996 *handlep = (ddi_acc_handle_t)NULL;
931 gp2_map_phys(dev_info_t *dip, struct regspec *phys_spec, caddr_t *addrp, ddi_device_acc_attr_t *accattrp, ddi_acc_handle_t *handlep) argument
/illumos-gate/usr/src/uts/i86pc/io/gfx_private/
H A Dgfxp_vm.c183 ddi_acc_handle_t *handlep)
205 arg, kaddrp, real_length, handlep);
180 gfxp_ddi_dma_mem_alloc(ddi_dma_handle_t handle, size_t length, ddi_device_acc_attr_t *accattrp, uint_t flags, int (*waitfp) (caddr_t), caddr_t arg, caddr_t *kaddrp, size_t *real_length, ddi_acc_handle_t *handlep) argument
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci.c570 ddi_dma_handle_t *handlep)
579 handlep ? "alloc" : "advisory");
592 if ((ret = pci_dvma_win(pci_p, dmareq, mp)) || !handlep)
607 if ((ret = pci_dma_physwin(pci_p, dmareq, mp)) || !handlep)
617 *handlep = (ddi_dma_handle_t)mp;
636 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep)
661 *handlep = NULL;
664 *handlep = (ddi_dma_handle_t)mp;
569 pci_dma_setup(dev_info_t *dip, dev_info_t *rdip, ddi_dma_req_t *dmareq, ddi_dma_handle_t *handlep) argument
635 pci_dma_allochdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_attr_t *attrp, int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep) argument

Completed in 1819 milliseconds

123