Searched defs:handlep (Results 1 - 25 of 46) sorted by relevance

12

/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/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/lib/libwrap/
H A Dtli.c186 void *handlep; local
199 if ((handlep = setnetconfig()) == 0) {
203 while (config = getnetconfig(handlep)) {
/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/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/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/sun4/io/px/
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
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
/illumos-gate/usr/src/uts/sun4/os/
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/sun4u/io/pci/
H A Dpci_fdvma.c179 ddi_dma_req_t *dmareq, ddi_dma_handle_t *handlep)
266 *handlep = (ddi_dma_handle_t)mp;
178 pci_fdvma_reserve(dev_info_t *dip, dev_info_t *rdip, pci_t *pci_p, ddi_dma_req_t *dmareq, ddi_dma_handle_t *handlep) argument
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
/illumos-gate/usr/src/uts/common/io/1394/
H A Dnx1394.c52 ddi_dma_handle_t *handlep);
306 int (*waitfnp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep)
329 status = ddi_dma_allochdl(dip, rdip, attr, waitfnp, arg, handlep);
305 nx1394_dma_allochdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_attr_t *attr, int (*waitfnp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep) argument
/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/intel/io/drm/
H A Di915_drv.c796 i915_map_regs(dev_info_t *dip, caddr_t *save_addr, ddi_acc_handle_t *handlep) argument
822 0, 0x80000, &s3_attr, handlep)) {
831 i915_unmap_regs(ddi_acc_handle_t *handlep) argument
833 ddi_regs_map_free(handlep);
/illumos-gate/usr/src/lib/krb5/kadm5/clnt/
H A Dclient_init.c327 void *handlep; local
361 if ((handlep = setnetconfig()) == (void *) NULL) {
368 while (nconf = getnetconfig(handlep)) {
563 if (handlep != (void *) NULL)
564 (void) endnetconfig(handlep);
/illumos-gate/usr/src/cmd/krb5/kadmin/server/
H A Dovsec_kadmd.c426 void *handlep; local
687 if ((handlep = setnetconfig()) == (void *) NULL) {
694 while (nconf = getnetconfig(handlep)) {
702 (void) endnetconfig(handlep);
825 (void) endnetconfig(handlep);
/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/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/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/sun4v/io/niumx/
H A Dniumx.c64 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep);
66 ddi_dma_handle_t handlep);
647 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep)
676 *handlep = (ddi_dma_handle_t)mp;
646 niumx_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
/illumos-gate/usr/src/uts/intel/io/
H A Diommulib.c758 ddi_dma_handle_t *handlep)
764 handlep));
756 iommulib_iommu_dma_allochdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_attr_t *attr, int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep) argument
/illumos-gate/usr/src/uts/common/os/
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/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/uts/common/fs/
H A Ddnlc.c1587 dnlc_dir_rem_entry(dcanchor_t *dcap, const char *name, uint64_t *handlep) argument
1618 if (handlep != NULL) {
1619 *handlep = (*prevpp)->de_handle;
1663 dnlc_dir_rem_space_by_len(dcanchor_t *dcap, uint_t len, uint64_t *handlep) argument
1697 *handlep = (*prevpp)->df_handle;
/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...]

Completed in 118 milliseconds

12