/illumos-gate/usr/src/uts/common/os/ |
H A D | driver_lyr.c | 1782 handle_release(handlep); in ldi_close() 1797 vp = handlep->lh_vp; in ldi_read() 1820 vp = handlep->lh_vp; in ldi_write() 1968 vp = handlep->lh_vp; in ldi_ioctl() 2004 vp = handlep->lh_vp; in ldi_poll() 2042 csp = VTOCS(handlep->lh_vp); in ldi_prop_op() 2308 csp = VTOCS(handlep->lh_vp); in ldi_prop_lookup_int_array() 2364 csp = VTOCS(handlep->lh_vp); in ldi_prop_lookup_int64_array() 2421 csp = VTOCS(handlep->lh_vp); in ldi_prop_lookup_string_array() 2496 csp = VTOCS(handlep->lh_vp); in ldi_prop_lookup_string() [all …]
|
H A D | modhash.c | 632 mod_hash_reserve(mod_hash_t *hash, mod_hash_hndl_t *handlep) in mod_hash_reserve() argument 634 *handlep = kmem_cache_alloc(mh_e_cache, hash->mh_sleep); in mod_hash_reserve() 635 if (*handlep == NULL) { in mod_hash_reserve() 644 mod_hash_reserve_nosleep(mod_hash_t *hash, mod_hash_hndl_t *handlep) in mod_hash_reserve_nosleep() argument 646 *handlep = kmem_cache_alloc(mh_e_cache, KM_NOSLEEP); in mod_hash_reserve_nosleep() 647 if (*handlep == NULL) { in mod_hash_reserve_nosleep() 658 mod_hash_cancel(mod_hash_t *hash, mod_hash_hndl_t *handlep) in mod_hash_cancel() argument 660 kmem_cache_free(mh_e_cache, *handlep); in mod_hash_cancel() 661 *handlep = (mod_hash_hndl_t)0; in mod_hash_cancel()
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_fm.c | 1211 ASSERT(handlep != NULL); in hermon_PIO_start() 2019 handlep->next = NULL; in i_hca_regs_map_setup() 2021 handlep->thread_cnt = 0; in i_hca_regs_map_setup() 2030 hca_fm->hdl = handlep; in i_hca_regs_map_setup() 2032 last->next = handlep; in i_hca_regs_map_setup() 2080 handlep = hdlp; in i_hca_regs_map_free() 2135 handlep->next = NULL; in i_hca_pci_config_setup() 2137 handlep->thread_cnt = 0; in i_hca_pci_config_setup() 2146 hca_fm->hdl = handlep; in i_hca_pci_config_setup() 2148 last->next = handlep; in i_hca_pci_config_setup() [all …]
|
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devinfo_finddev.c | 98 finddev_readdir_alt(const char *path, finddevhdl_t *handlep) in finddev_readdir_alt() argument 105 *handlep = NULL; in finddev_readdir_alt() 160 *handlep = (finddevhdl_t)handle; in finddev_readdir_alt() 176 finddev_readdir_devfs(const char *path, finddevhdl_t *handlep) in finddev_readdir_devfs() argument 186 *handlep = NULL; in finddev_readdir_devfs() 231 *handlep = (finddevhdl_t)handle; in finddev_readdir_devfs() 249 finddev_readdir(const char *path, finddevhdl_t *handlep) in finddev_readdir() argument 252 return (finddev_readdir_devfs(path, handlep)); in finddev_readdir() 254 return (finddev_readdir_alt(path, handlep)); in finddev_readdir()
|
/illumos-gate/usr/src/uts/sun4/io/efcode/ |
H A D | fc_ddi.c | 48 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep) in fc_ddi_dma_alloc_handle() argument 54 return ((*funcp)(dip, dip, attr, waitfp, arg, handlep)); in fc_ddi_dma_alloc_handle() 128 fc_ddi_dma_free_handle(ddi_dma_handle_t *handlep) in fc_ddi_dma_free_handle() argument 134 hp = (ddi_dma_impl_t *)*handlep; in fc_ddi_dma_free_handle() 137 (void) (*funcp)(dip, dip, *handlep); in fc_ddi_dma_free_handle()
|
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | ddi_impl.c | 1170 *handlep = *handlep; in i_ddi_mem_alloc() 1229 if (handlep) { in i_ddi_mem_alloc() 1233 impl_acc_hdl_init(handlep); in i_ddi_mem_alloc() 1377 impl_acc_err_init(ddi_acc_hdl_t *handlep) in impl_acc_err_init() argument 1384 fmcap = ddi_fm_capable(handlep->ah_dip); in impl_acc_err_init() 1391 if (handlep->ah_xfermodes) in impl_acc_err_init() 1400 if (handlep->ah_acc.devacc_attr_access == in impl_acc_err_init() 1415 impl_acc_hdl_init(ddi_acc_hdl_t *handlep) in impl_acc_hdl_init() argument 1419 ASSERT(handlep); in impl_acc_hdl_init() 1421 hp = (ddi_acc_impl_t *)handlep; in impl_acc_hdl_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()
|
/illumos-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()
|
/illumos-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()
|
/illumos-gate/usr/src/uts/intel/os/ |
H A D | ddi_i86.c | 228 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() 245 if (handlep->ah_xfermodes) in impl_acc_err_init() 270 impl_acc_hdl_init(ddi_acc_hdl_t *handlep) in impl_acc_hdl_init() argument 276 if (!handlep) in impl_acc_hdl_init() 278 fmcap = ddi_fm_capable(handlep->ah_dip); in impl_acc_hdl_init() 329 if (handlep->ah_acc.devacc_attr_endian_flags == in impl_acc_hdl_init() 365 if (handlep->ah_acc.devacc_attr_endian_flags == in impl_acc_hdl_init() 419 if (handlep->ah_acc.devacc_attr_endian_flags == in impl_acc_hdl_init() [all …]
|
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | ef10_nic.c | 574 __out efx_piobuf_handle_t *handlep) in efx_mcdi_alloc_piobuf() argument 581 if (handlep == NULL) { in efx_mcdi_alloc_piobuf() 728 efx_piobuf_handle_t *handlep; in ef10_nic_alloc_piobufs() local 739 if (efx_mcdi_alloc_piobuf(enp, handlep) != 0) in ef10_nic_alloc_piobufs() 752 (void) efx_mcdi_free_piobuf(enp, *handlep); in ef10_nic_alloc_piobufs() 753 *handlep = EFX_PIOBUF_HANDLE_INVALID; in ef10_nic_alloc_piobufs() 763 efx_piobuf_handle_t *handlep; in ef10_nic_free_piobufs() local 769 (void) efx_mcdi_free_piobuf(enp, *handlep); in ef10_nic_free_piobufs() 770 *handlep = EFX_PIOBUF_HANDLE_INVALID; in ef10_nic_free_piobufs() 780 __out efx_piobuf_handle_t *handlep, in ef10_nic_pio_alloc() argument [all …]
|
/illumos-gate/usr/src/boot/efi/libefi/ |
H A D | libefi.c | 65 EFI_HANDLE **handlep) in efi_get_protocol_handles() argument 95 *handlep = handles; in efi_get_protocol_handles()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | dnlc.h | 332 dcret_t dnlc_dir_lookup(dcanchor_t *dcap, const char *name, uint64_t *handlep); 347 uint64_t *handlep); 356 uint64_t *handlep);
|
H A D | devops.h | 206 ddi_dma_handle_t *handlep); 209 caddr_t arg, ddi_dma_handle_t *handlep); 331 ddi_dma_handle_t *handlep);
|
/illumos-gate/usr/src/lib/libwrap/ |
H A D | tli.c | 186 void *handlep; local 199 if ((handlep = setnetconfig()) == 0) { 203 while (config = getnetconfig(handlep)) {
|
/illumos-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);
|
H A D | px.c | 838 ddi_dma_handle_t *handlep) in px_dma_setup() argument 847 handlep ? "alloc" : "advisory"); in px_dma_setup() 862 if (ret != 0 || handlep == NULL) in px_dma_setup() 877 if (ret == 0 || handlep == NULL) 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 932 *handlep = NULL; in px_dma_allochdl() 935 *handlep = (ddi_dma_handle_t)mp; in px_dma_allochdl()
|
/illumos-gate/usr/src/uts/common/io/1394/ |
H A D | nx1394.c | 49 ddi_dma_handle_t *handlep); 265 int (*waitfnp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep) in nx1394_dma_allochdl() argument 285 status = ddi_dma_allochdl(dip, rdip, attr, waitfnp, arg, handlep); in nx1394_dma_allochdl()
|
/illumos-gate/usr/src/uts/sun4u/io/pci/ |
H A D | pci.c | 572 ddi_dma_handle_t *handlep) in pci_dma_setup() argument 581 handlep ? "alloc" : "advisory"); in pci_dma_setup() 594 if ((ret = pci_dvma_win(pci_p, dmareq, mp)) || !handlep) in pci_dma_setup() 609 if ((ret = pci_dma_physwin(pci_p, dmareq, mp)) || !handlep) in pci_dma_setup() 619 *handlep = (ddi_dma_handle_t)mp; in pci_dma_setup() 638 int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep) in pci_dma_allochdl() argument 663 *handlep = NULL; in pci_dma_allochdl() 666 *handlep = (ddi_dma_handle_t)mp; in pci_dma_allochdl()
|
/illumos-gate/usr/src/uts/sun4u/sys/pci/ |
H A D | pci_fdvma.h | 39 struct ddi_dma_req *dmareq, ddi_dma_handle_t *handlep);
|
H A D | pci_var.h | 220 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/i86pc/os/ |
H A D | dvma.c | 45 ddi_dma_handle_t *handlep) in dvma_reserve() argument
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | i8042.c | 400 static uint8_t i8042_get8(ddi_acc_impl_t *handlep, uint8_t *addr); 401 static void i8042_put8(ddi_acc_impl_t *handlep, uint8_t *addr, 404 static uint8_t i8042_get8(ddi_acc_impl_t *handlep, uint8_t *addr); 1142 i8042_get8(ddi_acc_impl_t *handlep, uint8_t *addr) in i8042_get8() argument 1150 h = (ddi_acc_hdl_t *)handlep; in i8042_get8() 1295 i8042_put8(ddi_acc_impl_t *handlep, uint8_t *addr, uint8_t value) in i8042_put8() argument 1301 h = (ddi_acc_hdl_t *)handlep; in i8042_put8()
|
/illumos-gate/usr/src/lib/krb5/kadm5/clnt/ |
H A D | client_init.c | 327 void *handlep; in _kadm5_initialize_rpcsec_gss_handle() local 361 if ((handlep = setnetconfig()) == (void *) NULL) { in _kadm5_initialize_rpcsec_gss_handle() 368 while (nconf = getnetconfig(handlep)) { in _kadm5_initialize_rpcsec_gss_handle() 563 if (handlep != (void *) NULL) in _kadm5_initialize_rpcsec_gss_handle() 564 (void) endnetconfig(handlep); in _kadm5_initialize_rpcsec_gss_handle()
|