Home
last modified time | relevance | path

Searched refs:handlep (Results 1 – 25 of 56) sorted by relevance

123

/titanic_41/usr/src/psm/stand/boot/sparc/common/
H A Dwanboot.c604 establish_http_connection(const char *what, http_handle_t *handlep, in establish_http_connection() argument
640 *handlep = http_srv_init(url); in establish_http_connection()
641 if (*handlep == NULL) { in establish_http_connection()
655 if (http_set_random_file(*handlep, "/dev/urandom") < 0) { in establish_http_connection()
656 print_errors("http_set_random_file", *handlep); in establish_http_connection()
657 (void) http_srv_close(*handlep); in establish_http_connection()
670 *handlep); in establish_http_connection()
671 (void) http_srv_close(*handlep); in establish_http_connection()
690 if (http_set_client_certificate_file(*handlep, in establish_http_connection()
693 *handlep); in establish_http_connection()
[all …]
/titanic_41/usr/src/uts/common/os/
H A Ddriver_lyr.c1674 struct ldi_handle *handlep = (struct ldi_handle *)lh; in ldi_close() local
1695 ASSERT(handlep->lh_events == NULL); in ldi_close()
1702 while ((lep = handlep->lh_events) != NULL) { in ldi_close()
1707 struct ldi_ident *lip = handlep->lh_ident; in ldi_close()
1716 err = VOP_CLOSE(handlep->lh_vp, flag | FKLYR, 1, (offset_t)0, cr, NULL); in ldi_close()
1735 if (handlep->lh_flags & LH_FLAGS_NOTIFY) in ldi_close()
1739 if (lecp->lec_lhp != handlep) in ldi_close()
1751 handlep->lh_flags &= ~LH_FLAGS_NOTIFY; in ldi_close()
1765 handle_release(handlep); in ldi_close()
1772 struct ldi_handle *handlep = (struct ldi_handle *)lh; in ldi_read() local
[all …]
H A Dmodhash.c628 mod_hash_reserve(mod_hash_t *hash, mod_hash_hndl_t *handlep) in mod_hash_reserve() argument
630 *handlep = kmem_cache_alloc(mh_e_cache, hash->mh_sleep); in mod_hash_reserve()
631 if (*handlep == NULL) { in mod_hash_reserve()
640 mod_hash_reserve_nosleep(mod_hash_t *hash, mod_hash_hndl_t *handlep) in mod_hash_reserve_nosleep() argument
642 *handlep = kmem_cache_alloc(mh_e_cache, KM_NOSLEEP); in mod_hash_reserve_nosleep()
643 if (*handlep == NULL) { in mod_hash_reserve_nosleep()
654 mod_hash_cancel(mod_hash_t *hash, mod_hash_hndl_t *handlep) in mod_hash_cancel() argument
656 kmem_cache_free(mh_e_cache, *handlep); in mod_hash_cancel()
657 *handlep = (mod_hash_hndl_t)0; in mod_hash_cancel()
/titanic_41/usr/src/lib/libdevinfo/
H A Ddevinfo_finddev.c100 finddev_readdir_alt(const char *path, finddevhdl_t *handlep) in finddev_readdir_alt() argument
107 *handlep = NULL; in finddev_readdir_alt()
162 *handlep = (finddevhdl_t)handle; in finddev_readdir_alt()
178 finddev_readdir_devfs(const char *path, finddevhdl_t *handlep) in finddev_readdir_devfs() argument
188 *handlep = NULL; in finddev_readdir_devfs()
233 *handlep = (finddevhdl_t)handle; in finddev_readdir_devfs()
251 finddev_readdir(const char *path, finddevhdl_t *handlep) in finddev_readdir() argument
254 return (finddev_readdir_devfs(path, handlep)); in finddev_readdir()
256 return (finddev_readdir_alt(path, handlep)); in finddev_readdir()
/titanic_41/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_fm.c1209 struct i_hca_acc_handle *handlep = in hermon_PIO_start() local
1211 ASSERT(handlep != NULL); in hermon_PIO_start()
1212 return (i_hca_pio_start(state->hs_dip, handlep, tst)); in hermon_PIO_start()
1251 struct i_hca_acc_handle *handlep = in hermon_PIO_end() local
1253 ASSERT(handlep != NULL); in hermon_PIO_end()
1254 return (i_hca_pio_end(state->hs_dip, handlep, cnt, tst)); in hermon_PIO_end()
2006 struct i_hca_acc_handle *handlep, *hdlp, *last; in i_hca_regs_map_setup() local
2015 handlep = kmem_cache_alloc(hca_fm->fm_acc_cache, KM_SLEEP); in i_hca_regs_map_setup()
2018 _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*handlep)) in i_hca_regs_map_setup()
2019 handlep->next = NULL; in i_hca_regs_map_setup()
[all …]
/titanic_41/usr/src/uts/sun4/io/efcode/
H A Dfc_ddi.c47 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep) in fc_ddi_dma_alloc_handle() argument
53 return ((*funcp)(dip, dip, attr, waitfp, arg, handlep)); in fc_ddi_dma_alloc_handle()
127 fc_ddi_dma_free_handle(ddi_dma_handle_t *handlep) in fc_ddi_dma_free_handle() argument
133 hp = (ddi_dma_impl_t *)*handlep; in fc_ddi_dma_free_handle()
136 (void) (*funcp)(dip, dip, *handlep); in fc_ddi_dma_free_handle()
/titanic_41/usr/src/uts/sun4/os/
H A Dddi_impl.c1162 caddr_t *kaddrp, size_t *real_length, ddi_acc_hdl_t *handlep) in i_ddi_mem_alloc() argument
1169 *handlep = *handlep; in i_ddi_mem_alloc()
1228 if (handlep) { in i_ddi_mem_alloc()
1232 impl_acc_hdl_init(handlep); in i_ddi_mem_alloc()
1376 impl_acc_err_init(ddi_acc_hdl_t *handlep) in impl_acc_err_init() argument
1381 ddi_acc_impl_t *hp = (ddi_acc_impl_t *)handlep; in impl_acc_err_init()
1383 fmcap = ddi_fm_capable(handlep->ah_dip); in impl_acc_err_init()
1385 if (handlep->ah_acc.devacc_attr_version < DDI_DEVICE_ATTR_V1 || in impl_acc_err_init()
1387 handlep->ah_acc.devacc_attr_access = DDI_DEFAULT_ACC; in impl_acc_err_init()
1389 if (handlep->ah_acc.devacc_attr_access == DDI_DEFAULT_ACC) { in impl_acc_err_init()
[all …]
H A Ddvma.c56 ddi_dma_handle_t *handlep) in dvma_reserve() argument
85 0, (caddr_t *)handlep, 0); in dvma_reserve()
88 mp = (ddi_dma_impl_t *)(*handlep); in dvma_reserve()
/titanic_41/usr/src/lib/libipmp/common/
H A Dipmp.c44 ipmp_open(ipmp_handle_t *handlep) in ipmp_open() argument
56 *handlep = statep; in ipmp_open()
/titanic_41/usr/src/uts/common/io/hotplug/hpcsvc/
H A Dhpcsvc.c440 hpc_slot_t *handlep, hpc_slot_ops_t *opsp, in hpc_slot_register() argument
455 if (handlep == NULL || infop == NULL || opsp == NULL || hpc_dip == NULL) in hpc_slot_register()
526 *handlep = (hpc_slot_t)slotp; in hpc_slot_register()
548 hpc_slot_unregister(hpc_slot_t *handlep) in hpc_slot_unregister() argument
561 ASSERT(handlep != NULL); in hpc_slot_unregister()
564 slotp = (hpc_slot_entry_t *)*handlep; in hpc_slot_unregister()
565 if ((slotp == NULL) || slotp->slot_handle != *handlep) in hpc_slot_unregister()
574 DEBUG2("hpc_slot_unregister: handlep=%x, slotp=%x", handlep, slotp); in hpc_slot_unregister()
663 *handlep = NULL; in hpc_slot_unregister()
/titanic_41/usr/src/uts/intel/ia32/os/
H A Dddi_i86.c228 impl_acc_err_init(ddi_acc_hdl_t *handlep) in impl_acc_err_init() argument
233 ddi_acc_impl_t *hp = (ddi_acc_impl_t *)handlep; in impl_acc_err_init()
235 fmcap = ddi_fm_capable(handlep->ah_dip); in impl_acc_err_init()
237 if (handlep->ah_acc.devacc_attr_version < DDI_DEVICE_ATTR_V1 || in impl_acc_err_init()
239 handlep->ah_acc.devacc_attr_access = DDI_DEFAULT_ACC; in impl_acc_err_init()
240 } else if (handlep->ah_acc.devacc_attr_access == DDI_FLAGERR_ACC && in impl_acc_err_init()
242 handlep->ah_acc.devacc_attr_access = DDI_DEFAULT_ACC; in impl_acc_err_init()
244 if (handlep->ah_acc.devacc_attr_access == DDI_DEFAULT_ACC) { in impl_acc_err_init()
245 if (handlep->ah_xfermodes) in impl_acc_err_init()
247 i_ddi_drv_ereport_post(handlep->ah_dip, DVR_EFMCAP, in impl_acc_err_init()
[all …]
/titanic_41/usr/src/uts/common/sys/
H A Ddnlc.h322 dcret_t dnlc_dir_lookup(dcanchor_t *dcap, const char *name, uint64_t *handlep);
337 uint64_t *handlep);
346 uint64_t *handlep);
/titanic_41/usr/src/uts/sun4u/starcat/io/
H A Dfcgp2.c933 ddi_acc_handle_t *handlep) in gp2_map_phys() argument
940 *handlep = impl_acc_hdl_alloc(KM_SLEEP, NULL); in gp2_map_phys()
941 hp = impl_acc_hdl_get(*handlep); in gp2_map_phys()
963 impl_acc_hdl_free(*handlep); in gp2_map_phys()
964 *handlep = (ddi_acc_handle_t)NULL; in gp2_map_phys()
973 gp2_unmap_phys(ddi_acc_handle_t *handlep) in gp2_unmap_phys() argument
979 hp = impl_acc_hdl_get(*handlep); in gp2_unmap_phys()
994 impl_acc_hdl_free(*handlep); in gp2_unmap_phys()
996 *handlep = (ddi_acc_handle_t)NULL; in gp2_unmap_phys()
H A Daxq.c1674 ddi_acc_handle_t *handlep) in axq_map_phys() argument
1681 *handlep = impl_acc_hdl_alloc(KM_SLEEP, NULL); in axq_map_phys()
1682 hp = impl_acc_hdl_get(*handlep); in axq_map_phys()
1704 impl_acc_hdl_free(*handlep); in axq_map_phys()
1705 *handlep = NULL; in axq_map_phys()
1714 axq_unmap_phys(ddi_acc_handle_t *handlep) in axq_unmap_phys() argument
1720 hp = impl_acc_hdl_get(*handlep); in axq_unmap_phys()
1735 impl_acc_hdl_free(*handlep); in axq_unmap_phys()
1737 *handlep = NULL; in axq_unmap_phys()
/titanic_41/usr/src/lib/libwrap/
H A Dtli.c186 void *handlep; local
199 if ((handlep = setnetconfig()) == 0) {
203 while (config = getnetconfig(handlep)) {
/titanic_41/usr/src/uts/sun4/io/px/
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_fdvma.h37 struct ddi_dma_req *dmareq, ddi_dma_handle_t *handlep);
H A Dpx.c840 ddi_dma_handle_t *handlep) in px_dma_setup() argument
849 handlep ? "alloc" : "advisory"); in px_dma_setup()
862 if ((ret = px_dvma_win(px_p, dmareq, mp)) || !handlep) in px_dma_setup()
877 if ((ret = px_dma_physwin(px_p, dmareq, mp)) || !handlep) in px_dma_setup()
887 *handlep = (ddi_dma_handle_t)mp; in px_dma_setup()
906 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep) in px_dma_allochdl() argument
931 *handlep = NULL; in px_dma_allochdl()
934 *handlep = (ddi_dma_handle_t)mp; in px_dma_allochdl()
/titanic_41/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);
/titanic_41/usr/src/uts/i86pc/io/gfx_private/
H A Dgfxp_vm.c183 ddi_acc_handle_t *handlep) in gfxp_ddi_dma_mem_alloc() argument
205 arg, kaddrp, real_length, handlep); in gfxp_ddi_dma_mem_alloc()
/titanic_41/usr/src/uts/sun4u/io/pci/
H A Dpci.c570 ddi_dma_handle_t *handlep) in pci_dma_setup() argument
579 handlep ? "alloc" : "advisory"); in pci_dma_setup()
592 if ((ret = pci_dvma_win(pci_p, dmareq, mp)) || !handlep) in pci_dma_setup()
607 if ((ret = pci_dma_physwin(pci_p, dmareq, mp)) || !handlep) in pci_dma_setup()
617 *handlep = (ddi_dma_handle_t)mp; in pci_dma_setup()
636 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep) in pci_dma_allochdl() argument
661 *handlep = NULL; in pci_dma_allochdl()
664 *handlep = (ddi_dma_handle_t)mp; in pci_dma_allochdl()
/titanic_41/usr/src/uts/i86pc/os/
H A Ddvma.c47 ddi_dma_handle_t *handlep) in dvma_reserve() argument
/titanic_41/usr/src/uts/common/io/drm/
H A Ddrm_gem.c93 int *handlep) in idr_list_get_new_above() argument
102 *handlep = obj->name; in idr_list_get_new_above()
429 int *handlep) in drm_gem_handle_create() argument
441 ret = idr_list_get_new_above(&file_priv->object_idr, obj, handlep); in drm_gem_handle_create()
/titanic_41/usr/src/uts/common/io/pciex/
H A Dpcie.c147 caddr_t *addrp, ddi_acc_handle_t *handlep);
148 static void pcie_unmap_phys(ddi_acc_handle_t *handlep, pci_regspec_t *ph);
2034 caddr_t *addrp, ddi_acc_handle_t *handlep) in pcie_map_phys() argument
2046 *handlep = impl_acc_hdl_alloc(KM_SLEEP, NULL); in pcie_map_phys()
2047 hp = impl_acc_hdl_get(*handlep); in pcie_map_phys()
2066 impl_acc_hdl_free(*handlep); in pcie_map_phys()
2067 *handlep = (ddi_acc_handle_t)NULL; in pcie_map_phys()
2079 pcie_unmap_phys(ddi_acc_handle_t *handlep, pci_regspec_t *ph) in pcie_unmap_phys() argument
2084 hp = impl_acc_hdl_get(*handlep); in pcie_unmap_phys()
2098 impl_acc_hdl_free(*handlep); in pcie_unmap_phys()
[all …]

123