| /onnv-gate/usr/src/psm/stand/boot/sparc/common/ |
| H A D | wanboot.c | 605 establish_http_connection(const char *what, http_handle_t *handlep, in establish_http_connection() argument 641 *handlep = http_srv_init(url); in establish_http_connection() 642 if (*handlep == NULL) { in establish_http_connection() 656 if (http_set_random_file(*handlep, "/dev/urandom") < 0) { in establish_http_connection() 657 print_errors("http_set_random_file", *handlep); in establish_http_connection() 658 (void) http_srv_close(*handlep); in establish_http_connection() 671 *handlep); in establish_http_connection() 672 (void) http_srv_close(*handlep); in establish_http_connection() 691 if (http_set_client_certificate_file(*handlep, in establish_http_connection() 694 *handlep); in establish_http_connection() [all …]
|
| /onnv-gate/usr/src/uts/common/os/ |
| H A D | driver_lyr.c | 1665 struct ldi_handle *handlep = (struct ldi_handle *)lh; in ldi_close() local 1686 ASSERT(handlep->lh_events == NULL); in ldi_close() 1693 while ((lep = handlep->lh_events) != NULL) { in ldi_close() 1698 struct ldi_ident *lip = handlep->lh_ident; in ldi_close() 1707 err = VOP_CLOSE(handlep->lh_vp, flag | FKLYR, 1, (offset_t)0, cr, NULL); in ldi_close() 1726 if (handlep->lh_flags & LH_FLAGS_NOTIFY) in ldi_close() 1730 if (lecp->lec_lhp != handlep) in ldi_close() 1742 handlep->lh_flags &= ~LH_FLAGS_NOTIFY; in ldi_close() 1756 handle_release(handlep); in ldi_close() 1763 struct ldi_handle *handlep = (struct ldi_handle *)lh; in ldi_read() local [all …]
|
| H A D | modhash.c | 628 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()
|
| /onnv-gate/usr/src/lib/libdevinfo/ |
| H A D | devinfo_finddev.c | 100 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()
|
| /onnv-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
| H A D | hermon_fm.c | 1209 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 …]
|
| /onnv-gate/usr/src/uts/sun4/io/efcode/ |
| H A D | fc_ddi.c | 47 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()
|
| /onnv-gate/usr/src/uts/sun4/os/ |
| H A D | ddi_impl.c | 1135 caddr_t *kaddrp, size_t *real_length, ddi_acc_hdl_t *handlep) in i_ddi_mem_alloc() argument 1142 *handlep = *handlep; in i_ddi_mem_alloc() 1202 if (handlep) { in i_ddi_mem_alloc() 1206 impl_acc_hdl_init(handlep); in i_ddi_mem_alloc() 1388 impl_acc_err_init(ddi_acc_hdl_t *handlep) in impl_acc_err_init() argument 1393 ddi_acc_impl_t *hp = (ddi_acc_impl_t *)handlep; in impl_acc_err_init() 1395 fmcap = ddi_fm_capable(handlep->ah_dip); in impl_acc_err_init() 1397 if (handlep->ah_acc.devacc_attr_version < DDI_DEVICE_ATTR_V1 || in impl_acc_err_init() 1399 handlep->ah_acc.devacc_attr_access = DDI_DEFAULT_ACC; in impl_acc_err_init() 1401 if (handlep->ah_acc.devacc_attr_access == DDI_DEFAULT_ACC) { in impl_acc_err_init() [all …]
|
| H A D | dvma.c | 56 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()
|
| /onnv-gate/usr/src/lib/libdhcpsvc/modules/templates/ |
| H A D | dhcptab.c | 43 open_dt(void **handlep, const char *location, uint_t flags) in open_dt() argument 52 close_dt(void **handlep) in close_dt() argument
|
| H A D | dhcp_network.c | 43 open_dn(void **handlep, const char *location, uint_t flags, in open_dn() argument 53 close_dn(void **handlep) in close_dn() argument
|
| /onnv-gate/usr/src/lib/libipmp/common/ |
| H A D | ipmp.c | 44 ipmp_open(ipmp_handle_t *handlep) in ipmp_open() argument 56 *handlep = statep; in ipmp_open()
|
| /onnv-gate/usr/src/uts/common/io/hotplug/hpcsvc/ |
| H A D | hpcsvc.c | 440 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()
|
| /onnv-gate/usr/src/uts/intel/ia32/os/ |
| H A D | ddi_i86.c | 232 impl_acc_err_init(ddi_acc_hdl_t *handlep) in impl_acc_err_init() argument 237 ddi_acc_impl_t *hp = (ddi_acc_impl_t *)handlep; in impl_acc_err_init() 239 fmcap = ddi_fm_capable(handlep->ah_dip); in impl_acc_err_init() 241 if (handlep->ah_acc.devacc_attr_version < DDI_DEVICE_ATTR_V1 || in impl_acc_err_init() 243 handlep->ah_acc.devacc_attr_access = DDI_DEFAULT_ACC; in impl_acc_err_init() 244 } else if (handlep->ah_acc.devacc_attr_access == DDI_FLAGERR_ACC && in impl_acc_err_init() 246 handlep->ah_acc.devacc_attr_access = DDI_DEFAULT_ACC; in impl_acc_err_init() 248 if (handlep->ah_acc.devacc_attr_access == DDI_DEFAULT_ACC) { in impl_acc_err_init() 249 if (handlep->ah_xfermodes) in impl_acc_err_init() 251 i_ddi_drv_ereport_post(handlep->ah_dip, DVR_EFMCAP, in impl_acc_err_init() [all …]
|
| /onnv-gate/usr/src/uts/common/sys/ |
| H A D | dnlc.h | 323 dcret_t dnlc_dir_lookup(dcanchor_t *dcap, const char *name, uint64_t *handlep); 338 uint64_t *handlep); 347 uint64_t *handlep);
|
| /onnv-gate/usr/src/lib/libwrap/ |
| H A D | tli.c | 190 void *handlep; local 203 if ((handlep = setnetconfig()) == 0) { 207 while (config = getnetconfig(handlep)) {
|
| /onnv-gate/usr/src/uts/sun4u/starcat/io/ |
| H A D | fcgp2.c | 933 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 D | axq.c | 1674 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()
|
| /onnv-gate/usr/src/lib/libdhcpsvc/modules/files0/ |
| H A D | dhcptab.c | 55 open_dt(void **handlep, const char *location, uint_t flags) in open_dt() argument 82 *handlep = dhp; in open_dt() 87 close_dt(void **handlep) in close_dt() argument 89 free(*handlep); in close_dt()
|
| /onnv-gate/usr/src/uts/sun4/io/px/ |
| H A D | px_var.h | 160 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 D | px_fdvma.h | 37 struct ddi_dma_req *dmareq, ddi_dma_handle_t *handlep);
|
| /onnv-gate/usr/src/uts/intel/sys/ |
| H A D | iommulib.h | 145 ddi_dma_handle_t *handlep); 178 struct ddi_dma_req *dmareq, ddi_dma_handle_t *handlep); 293 ddi_dma_handle_t *handlep); 326 struct ddi_dma_req *dmareq, ddi_dma_handle_t *handlep);
|
| /onnv-gate/usr/src/uts/sun4u/sys/pci/ |
| H A D | pci_fdvma.h | 39 struct ddi_dma_req *dmareq, ddi_dma_handle_t *handlep);
|
| /onnv-gate/usr/src/lib/libdhcpsvc/modules/files/ |
| H A D | dhcptab.c | 55 open_dt(void **handlep, const char *location, uint_t flags) in open_dt() argument 116 *handlep = dhp; in open_dt() 121 close_dt(void **handlep) in close_dt() argument 123 free(*handlep); in close_dt()
|
| /onnv-gate/usr/src/uts/i86pc/io/gfx_private/ |
| H A D | gfxp_vm.c | 183 ddi_acc_handle_t *handlep) in gfxp_ddi_dma_mem_alloc() argument 205 arg, kaddrp, real_length, handlep); in gfxp_ddi_dma_mem_alloc()
|
| /onnv-gate/usr/src/uts/i86pc/os/ |
| H A D | dvma.c | 47 ddi_dma_handle_t *handlep) in dvma_reserve() argument
|