Home
last modified time | relevance | path

Searched refs:handle (Results 151 – 175 of 1036) sorted by relevance

12345678910>>...42

/illumos-gate/usr/src/uts/common/io/hotplug/hpcsvc/
H A Dhpcsvc.c697 ASSERT(handle != NULL); in hpc_remove_event_handler()
719 ASSERT(handle != NULL); in hpc_slot_event_notify()
770 ASSERT(handle != NULL); in hpc_nexus_connect()
774 handle, data, flags)); in hpc_nexus_connect()
784 ASSERT(handle != NULL); in hpc_nexus_disconnect()
788 handle, data, flags)); in hpc_nexus_disconnect()
798 ASSERT(handle != NULL); in hpc_nexus_insert()
802 handle, data, flags)); in hpc_nexus_insert()
812 ASSERT(handle != NULL); in hpc_nexus_remove()
816 handle, data, flags)); in hpc_nexus_remove()
[all …]
/illumos-gate/usr/src/lib/libshare/common/
H A Dlibshare_zfs.c384 zfs_handle_t *handle = NULL; in get_zfs_property() local
391 if (handle != NULL) { in get_zfs_property()
395 zfs_close(handle); in get_zfs_property()
399 zfs_close(handle); in get_zfs_property()
418 zfs_handle_t *handle = NULL; in sa_zfs_is_shared() local
426 handle = zfs_open(libhandle, dataset, in sa_zfs_is_shared()
428 if (handle != NULL) { in sa_zfs_is_shared()
435 zfs_close(handle); in sa_zfs_is_shared()
468 group = sa_get_group(handle, groupname); in find_or_create_group()
510 zfs = sa_get_group(handle, "zfs"); in find_or_create_zfs_subgroup()
[all …]
H A Dlibshare.c271 item->handle = handle; in add_handle_for_root()
321 sa_handle_t handle; in sa_find_group_handle() local
327 return (handle); in sa_find_group_handle()
351 if (handle == NULL) in set_legacy_timestamp()
390 handle->scfhandle, handle); in set_legacy_timestamp()
866 free(handle); in sa_init_impl()
876 handle->scfhandle = sa_scf_init(handle); in sa_init_impl()
909 (handle->scfhandle->handle, in sa_init_impl()
956 handle); in sa_init_impl()
960 handle->tree, handle); in sa_init_impl()
[all …]
/illumos-gate/usr/src/lib/libipmp/common/
H A Dipmp_admin.c41 ipmp_command(ipmp_handle_t handle, const void *req, uint_t reqsize) in ipmp_command() argument
43 ipmp_state_t *statep = (ipmp_state_t *)handle; in ipmp_command()
77 ipmp_offline(ipmp_handle_t handle, const char *ifname, uint_t minred) in ipmp_offline() argument
84 return (ipmp_command(handle, &mio, sizeof (mio))); in ipmp_offline()
88 ipmp_undo_offline(ipmp_handle_t handle, const char *ifname) in ipmp_undo_offline() argument
94 return (ipmp_command(handle, &miu, sizeof (miu))); in ipmp_undo_offline()
98 ipmp_ping_daemon(ipmp_handle_t handle) in ipmp_ping_daemon() argument
103 return (ipmp_command(handle, &mip, sizeof (mip))); in ipmp_ping_daemon()
/illumos-gate/usr/src/cmd/hal/tools/
H A Dhal-storage-shared.c71 mtab_open (gpointer *handle) in mtab_open() argument
83 *handle = mtab; in mtab_open()
87 return *handle != NULL; in mtab_open()
90 return *handle != NULL; in mtab_open()
119 mnt = getmntent (handle); in mtab_next()
136 g_free (handle); in mtab_close()
138 fclose (handle); in mtab_close()
151 return *handle != NULL; in fstab_open()
154 return *handle != NULL; in fstab_open()
179 mnt = getmntent (handle); in fstab_next()
[all …]
H A Dhal-storage-shared.h41 gboolean mtab_open (gpointer *handle);
42 char *mtab_next (gpointer handle, char **mount_point);
43 void mtab_close (gpointer handle);
45 gboolean fstab_open (gpointer *handle);
46 char *fstab_next (gpointer handle, char **mount_point);
47 void fstab_close (gpointer handle);
/illumos-gate/usr/src/uts/sun4u/sunfire/io/
H A Dsysctrl_dr.c1373 arg.handle = handle; in sysc_dr_attach()
1385 if (handle->error) in sysc_dr_attach()
1386 return (handle->error); in sysc_dr_attach()
1396 handle->error = err; in sysc_dr_attach()
1421 rdip = wp->handle->dip_list[wp->handle->dip_list_len] = in sysc_make_list()
1463 arg.handle = handle; in sysc_dr_detach()
1468 if (handle->error) in sysc_dr_detach()
1469 return (handle->error); in sysc_dr_detach()
1477 if (handle->error) in sysc_dr_detach()
1555 handle->dip_list = NULL; in sysc_dr_uninit()
[all …]
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dgeneralop.c209 if (handle == NULL) in FindPlugin()
381 n = handle->plugins; in AddPlugin()
407 if (handle != NULL) { in Cleanup_KMF_Handle()
418 free(handle); in Cleanup_KMF_Handle()
444 if (handle == NULL) in kmf_initialize()
521 handle = NULL; in kmf_initialize()
545 if (handle == NULL) in kmf_configure_keystore()
640 plugin = FindPlugin(handle, handle->lasterr.kstype); in kmf_get_plugin_error_str()
668 if (handle) { in kmf_read_input_file()
1482 if (handle == NULL) in kmf_create_ocsp_request()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dndievents.c213 struct ndi_event_hdl handle; in ndi_event_hdl() local
221 if (mdb_vread(&handle, sizeof (struct ndi_event_hdl), addr) == -1) { in ndi_event_hdl()
227 (uintptr_t)handle.ndi_evthdl_dip) == -1) { in ndi_event_hdl()
229 handle.ndi_evthdl_dip); in ndi_event_hdl()
241 "dip %</b>(%p) \n", addr, path, handle.ndi_evthdl_dip); in ndi_event_hdl()
244 handle.ndi_evthdl_mutex, handle.ndi_evthdl_cb_mutex); in ndi_event_hdl()
246 ndi_event_print(&handle, flags); in ndi_event_hdl()
248 if (handle.ndi_next_hdl == NULL) { in ndi_event_hdl()
251 addr = (uintptr_t)handle.ndi_next_hdl; in ndi_event_hdl()
252 if (mdb_vread(&handle, sizeof (struct ndi_event_hdl), in ndi_event_hdl()
/illumos-gate/usr/src/uts/i86pc/os/cpupm/
H A Dpwrnow.c89 write_ctrl(cpu_acpi_handle_t handle, uint32_t ctrl) in write_ctrl() argument
94 pct_ctrl = CPU_ACPI_PCT_CTRL(handle); in write_ctrl()
121 cpu_acpi_handle_t handle = mach_state->ms_acpi_handle; in pwrnow_pstate_transition() local
135 write_ctrl(handle, ctrl); in pwrnow_pstate_transition()
175 cpu_acpi_handle_t handle = mach_state->ms_acpi_handle; in pwrnow_init() local
184 if (cpu_acpi_cache_pstate_data(handle) != 0) { in pwrnow_init()
195 pct_stat = CPU_ACPI_PCT_STATUS(handle); in pwrnow_init()
228 cpu_acpi_handle_t handle = mach_state->ms_acpi_handle; in pwrnow_fini() local
231 cpu_acpi_free_pstate_data(handle); in pwrnow_fini()
306 cpu_acpi_handle_t handle = mach_state->ms_acpi_handle; in pwrnow_stop() local
[all …]
H A Dspeedstep.c94 write_ctrl(cpu_acpi_handle_t handle, uint32_t ctrl) in write_ctrl() argument
99 pct_ctrl = CPU_ACPI_PCT_CTRL(handle); in write_ctrl()
137 cpu_acpi_handle_t handle = mach_state->ms_acpi_handle; in speedstep_pstate_transition() local
150 write_ctrl(handle, ctrl); in speedstep_pstate_transition()
190 cpu_acpi_handle_t handle = mach_state->ms_acpi_handle; in speedstep_init() local
199 if (cpu_acpi_cache_pstate_data(handle) != 0) { in speedstep_init()
210 pct_stat = CPU_ACPI_PCT_STATUS(handle); in speedstep_init()
243 cpu_acpi_handle_t handle = mach_state->ms_acpi_handle; in speedstep_fini() local
246 cpu_acpi_free_pstate_data(handle); in speedstep_fini()
258 cpu_acpi_handle_t handle = mach_state->ms_acpi_handle; in speedstep_stop() local
[all …]
/illumos-gate/usr/src/cmd/fs.d/udfs/fstyp/
H A Dfstyp.c59 void fstyp_mod_fini(fstyp_mod_handle_t handle);
60 int fstyp_mod_ident(fstyp_mod_handle_t handle);
68 fstyp_udfs_t *h = (fstyp_udfs_t *)handle; in fstyp_mod_init()
84 *handle = (fstyp_mod_handle_t)h; in fstyp_mod_init()
89 fstyp_mod_fini(fstyp_mod_handle_t handle) in fstyp_mod_fini() argument
91 fstyp_udfs_t *h = (fstyp_udfs_t *)handle; in fstyp_mod_fini()
102 fstyp_mod_ident(fstyp_mod_handle_t handle) in fstyp_mod_ident() argument
104 fstyp_udfs_t *h = (fstyp_udfs_t *)handle; in fstyp_mod_ident()
110 fstyp_mod_get_attr(fstyp_mod_handle_t handle, nvlist_t **attrp) in fstyp_mod_get_attr() argument
112 fstyp_udfs_t *h = (fstyp_udfs_t *)handle; in fstyp_mod_get_attr()
[all …]
/illumos-gate/usr/src/uts/sun4u/sys/
H A Drmc_comm_hproto.h488 dp_handle_t handle; member
518 dp_handle_t handle; member
548 dp_handle_t handle; member
591 dp_handle_t handle; member
628 dp_handle_t handle; member
669 dp_handle_t handle; member
729 dp_handle_t handle; member
802 dp_handle_t handle; member
833 dp_handle_t handle; member
857 dp_handle_t handle; member
[all …]
/illumos-gate/usr/src/lib/hbaapi/common/
H A DHBAAPILIB-sun.c53 #define LIBRARY_NUM(handle) ((handle)>>16) argument
59 #define VENDOR_HANDLE(handle) ((handle)&0xFFFF) argument
442 HBA_HANDLE handle; in Sun_HBA_OpenTgtAdapter() local
469 if(handle != 0) { in Sun_HBA_OpenTgtAdapter()
471 handle = HBA_HANDLE_FROM_LOCAL(lib_infop->index, handle); in Sun_HBA_OpenTgtAdapter()
487 HBA_HANDLE handle; in Sun_HBA_OpenTgtAdapterByWWN() local
582 HBA_HANDLE handle, in Sun_HBA_NPIVGetAdapterAttributes() argument
607 HBA_HANDLE handle, in Sun_HBA_GetNPIVPortInfo() argument
631 HBA_HANDLE handle, in Sun_HBA_DeleteNPIVPort() argument
654 HBA_HANDLE handle, in Sun_HBA_CreateNPIVPort() argument
[all …]
/illumos-gate/usr/src/uts/intel/io/dktp/controller/ata/
H A Dsil3xxx.h78 #define PUT_BAR5_INDIRECT(handle, address, value) \ argument
80 pci_config_put32(handle, PCI_CONF_BA5_IND_ADDRESS, address); \
81 pci_config_put32(handle, PCI_CONF_BA5_IND_ACCESS, value); \
84 #define GET_BAR5_INDIRECT(handle, address, rval) \ argument
86 pci_config_put32(handle, PCI_CONF_BA5_IND_ADDRESS, address); \
87 rval = pci_config_get32(handle, PCI_CONF_BA5_IND_ACCESS); \
/illumos-gate/usr/src/lib/libfstyp/common/
H A Dlibfstyp.h70 fstyp_handle_t *handle);
71 void fstyp_fini(fstyp_handle_t handle);
72 int fstyp_ident(fstyp_handle_t handle, const char *fsname,
74 int fstyp_get_attr(fstyp_handle_t handle, nvlist_t **attr);
75 int fstyp_dump(fstyp_handle_t handle, FILE *fout, FILE *ferr);
76 const char *fstyp_strerror(fstyp_handle_t handle, int error);
H A Dlibfstyp_module.h47 int fstyp_mod_init(int fd, off64_t offset, fstyp_mod_handle_t *handle);
48 void fstyp_mod_fini(fstyp_mod_handle_t handle);
49 int fstyp_mod_ident(fstyp_mod_handle_t handle);
50 int fstyp_mod_get_attr(fstyp_mod_handle_t handle, nvlist_t **attr);
51 int fstyp_mod_dump(fstyp_mod_handle_t handle, FILE *fout, FILE *ferr);
/illumos-gate/usr/src/uts/sun4u/daktari/io/
H A Dhpc3130_dak.c1132 ASSERT(handle); in hpc3130_write()
1134 return (hpc3130_rw(handle, in hpc3130_write()
1143 ASSERT(handle); in hpc3130_read()
1208 i2c_client_hdl_t handle; in hpc3130_init() local
1260 i2c_client_hdl_t handle; in hpc3130_hard_intr() local
1495 i2c_client_hdl_t handle; in hpc3130_slot_connect() local
1515 handle = (i2c_client_hdl_t)info_p->handle; in hpc3130_slot_connect()
1681 i2c_client_hdl_t handle; in hpc3130_slot_disconnect() local
1699 handle = (i2c_client_hdl_t)info_p->handle; in hpc3130_slot_disconnect()
1892 i2c_client_hdl_t handle; in hpc3130_slot_control()
[all …]
/illumos-gate/usr/src/uts/sun4/os/
H A Ddvma.c132 ddi_dma_handle_t handle; in dvma_kaddr_load() local
149 &handle); in dvma_kaddr_load()
150 (void) ddi_dma_addr_bind_handle(handle, NULL, a, len, in dvma_kaddr_load()
152 ((ddi_dma_handle_t *)mp->dmai_minfo)[index] = handle; in dvma_kaddr_load()
169 ddi_dma_handle_t handle; in dvma_unload() local
171 handle = ((ddi_dma_handle_t *)mp->dmai_minfo)[objindex]; in dvma_unload()
172 (void) ddi_dma_unbind_handle(handle); in dvma_unload()
173 (void) ddi_dma_free_handle(&handle); in dvma_unload()
189 ddi_dma_handle_t handle; in dvma_sync() local
191 handle = ((ddi_dma_handle_t *)mp->dmai_minfo)[objindex]; in dvma_sync()
[all …]
/illumos-gate/usr/src/uts/sparc/sys/
H A Dddi_isa.h60 (*ahi_get8)(struct ddi_acc_impl *handle, uint8_t *addr);
76 void (*ahi_rep_get8)(struct ddi_acc_impl *handle,
79 void (*ahi_rep_get16)(struct ddi_acc_impl *handle,
82 void (*ahi_rep_get32)(struct ddi_acc_impl *handle,
85 void (*ahi_rep_get64)(struct ddi_acc_impl *handle,
89 void (*ahi_rep_put8)(struct ddi_acc_impl *handle,
92 void (*ahi_rep_put16)(struct ddi_acc_impl *handle,
95 void (*ahi_rep_put32)(struct ddi_acc_impl *handle,
98 void (*ahi_rep_put64)(struct ddi_acc_impl *handle,
102 int (*ahi_fault_check)(struct ddi_acc_impl *handle);
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dsunddi.h1304 ddi_dma_burstsizes(ddi_dma_handle_t handle);
1370 ddi_dma_unbind_handle(ddi_dma_handle_t handle);
1530 ddi_dma_handle_t handle);
1539 ddi_dma_handle_t handle);
1543 ddi_dma_handle_t handle, off_t off, size_t len,
1769 ddi_dma_handle_t handle);
1778 ddi_dma_handle_t handle);
1895 ddi_acc_handle_t *handle);
1898 ddi_regs_map_free(ddi_acc_handle_t *handle);
1905 ddi_get8(ddi_acc_handle_t handle, uint8_t *addr);
[all …]
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/
H A Djob.c50 service_t *svc = handle; in papiJobSubmit()
97 papiJobSubmitByReference(papi_service_t handle, char *name, in papiJobSubmitByReference() argument
101 return (papiJobSubmit(handle, name, job_attributes, in papiJobSubmitByReference()
106 papiJobStreamOpen(papi_service_t handle, char *name, in papiJobStreamOpen() argument
111 service_t *svc = handle; in papiJobStreamOpen()
169 papiJobStreamWrite(papi_service_t handle, papi_stream_t stream, in papiJobStreamWrite() argument
172 service_t *svc = handle; in papiJobStreamWrite()
189 service_t *svc = handle; in papiJobStreamClose()
223 papiJobQuery(papi_service_t handle, char *name, int32_t job_id, in papiJobQuery() argument
227 service_t *svc = handle; in papiJobQuery()
[all …]
/illumos-gate/usr/src/cmd/zoneadmd/
H A Dvplat.c1079 zone_dochandle_t handle; in vplat_get_iptype() local
1201 if (handle != NULL) in mount_one_dev()
1776 handle = NULL; in mount_filesystems()
1856 if (handle != NULL) in mount_filesystems()
2432 zone_dochandle_t handle; in configure_shared_network_interfaces() local
2917 zone_dochandle_t handle; in configure_exclusive_network_interfaces() local
3348 zone_dochandle_t handle; in get_privset() local
3430 zone_dochandle_t handle; in get_rctls() local
3597 if (handle != NULL) in get_rctls()
3623 zone_dochandle_t handle; in get_datasets() local
[all …]
/illumos-gate/usr/src/cmd/sasinfo/
H A Dsasinfo-list.c513 HBA_HANDLE handle; in processHBA() local
618 HBA_CloseAdapter(handle); in processHBA()
630 HBA_CloseAdapter(handle); in processHBA()
642 HBA_CloseAdapter(handle); in processHBA()
807 ret += (*processPort)(handle, in processHBA()
824 HBA_CloseAdapter(handle); in processHBA()
1764 handle, in searchTargetPortMappingData()
1851 handle, in searchTargetPortMappingData()
2083 handle, portIndex, port, in searchTargetPort()
2368 handle, in searchDevice()
[all …]
/illumos-gate/usr/src/uts/common/io/cardbus/
H A Dcardbus_cfg.c175 ddi_acc_handle_t handle);
621 ddi_acc_handle_t handle; in cardbus_program_ap() local
685 ddi_acc_handle_t handle; in cardbus_topbridge_assign() local
711 ddi_acc_handle_t handle) in cardbus_bridge_ranges() argument
788 ddi_acc_handle_t handle; in cardbus_bridge_assign() local
988 cardbus_dump_config(handle); in cardbus_bridge_assign()
998 ddi_acc_handle_t handle) in cardbus_isa_bridge_ranges() argument
1074 isa_phdl.handle = handle; in cardbus_isa_bridge_ranges()
1351 ddi_acc_handle_t handle) in cardbus_setup_bridge() argument
1534 ddi_acc_handle_t handle) in cardbus_update_bridge() argument
[all …]

12345678910>>...42