Searched defs:hdl (Results 1 - 25 of 75) sorted by relevance

123

/osnet-11/usr/src/lib/libuefi_rt/common/
H A Dlibuefi_rt.c65 uefirt_common(uefirt_hdl_t hdl, int cmd, void *args) argument
68 uefi_lib_impl_t *uefi_lib = hdl;
100 uefirt_get_variable(uefirt_hdl_t hdl, argument
120 return (uefirt_common(hdl, UEFI_RT_GET_VARIABLE, &args));
125 uefirt_set_variable(uefirt_hdl_t hdl, argument
145 return (uefirt_common(hdl, UEFI_RT_SET_VARIABLE, &args));
150 uefirt_get_next_variable_name(uefirt_hdl_t hdl, argument
162 return (uefirt_common(hdl, UEFI_RT_GET_NEXT_VARIABLE_NAME, &args));
/osnet-11/usr/src/lib/libfru/libfruraw/
H A Dfruraw.h57 fru_treehdl_t hdl; member in struct:raw_list
/osnet-11/usr/src/lib/libshare/common/
H A Dlibshare_cache.c36 sacache_init(void *hdl) argument
44 return (ops->sac_init(hdl));
48 sacache_fini(void *hdl) argument
54 ops->sac_fini(hdl);
189 * hdl : place holder for returned find handle
195 * SA_OK : init was successful, returned hdl is valid
202 * The returned 'hdl' is passed to subsequent calls to
207 sacache_share_find_init(const char *sh_path, sa_proto_t proto, void **hdl) argument
215 return (ops->sac_share_find_init(sh_path, proto, hdl));
222 * hdl
240 sacache_share_find_next(void *hdl, nvlist_t **share) argument
265 sacache_share_find_fini(void *hdl) argument
298 sacache_share_ds_find_init(const char *dataset, sa_proto_t proto, void **hdl) argument
330 sacache_share_ds_find_get(void *hdl, nvlist_t **share) argument
355 sacache_share_ds_find_fini(void *hdl) argument
[all...]
H A Dlibshare_fs.c69 safs_init_fs_handle(libshare_handle_t *shdl, sa_fs_t fstype, void *hdl) argument
83 shdl->safs_plugin_handles[i] = hdl;
92 void *hdl; local
100 if ((hdl = ops->saf_open(shdl)) == NULL)
102 shdl->safs_plugin_handles[i] = hdl;
105 hdl = shdl->safs_plugin_handles[i];
109 *hdlp = hdl;
/osnet-11/usr/src/lib/fm/libfmd_agent/i386/
H A Dfmd_agent_i386.c36 cleanup_set_errno(fmd_agent_hdl_t *hdl, nvlist_t *innvl, nvlist_t *outnvl, argument
43 return (fmd_agent_seterrno(hdl, err));
47 fmd_agent_physcpu_info_v1(fmd_agent_hdl_t *hdl, nvlist_t ***cpusp, argument
54 if ((err = fmd_agent_nvl_ioctl(hdl, FM_IOC_PHYSCPU_INFO, 1,
56 return (cleanup_set_errno(hdl, NULL, NULL, err));
59 return (cleanup_set_errno(hdl, NULL, nvl, err));
63 return (cleanup_set_errno(hdl, NULL, nvl, errno));
69 return (cleanup_set_errno(hdl, NULL, nvl, err));
80 fmd_agent_physcpu_info(fmd_agent_hdl_t *hdl, nvlist_t ***cpusp, uint_t *ncpu) argument
84 if (fmd_agent_version(hdl, FM_CPU_INFO_VERSIO
97 fmd_agent_cpuop_v1(fmd_agent_hdl_t *hdl, int cmd, int chipid, int coreid, int strandid, int *old_status) argument
125 fmd_agent_cpuop(fmd_agent_hdl_t *hdl, int cmd, int chipid, int coreid, int strandid, int *old_status) argument
144 fmd_agent_cpu_retire(fmd_agent_hdl_t *hdl, int chipid, int coreid, int strandid) argument
155 fmd_agent_cpu_isretired(fmd_agent_hdl_t *hdl, int chipid, int coreid, int strandid) argument
168 fmd_agent_cpu_unretire(fmd_agent_hdl_t *hdl, int chipid, int coreid, int strandid) argument
[all...]
/osnet-11/usr/src/lib/fm/libfmd_agent/sparc/
H A Dfmd_agent_sparc.c35 cleanup_set_errno(fmd_agent_hdl_t *hdl, nvlist_t *innvl, nvlist_t *outnvl, argument
42 return (fmd_agent_seterrno(hdl, err));
46 fmd_agent_cacheop_v1(fmd_agent_hdl_t *hdl, int cmd, uint32_t strandid, argument
56 return (cleanup_set_errno(hdl, NULL, NULL, err));
68 return (cleanup_set_errno(hdl, nvl, NULL, ENOTSUP));
75 return (cleanup_set_errno(hdl, nvl, NULL, err));
82 return (cleanup_set_errno(hdl, nvl, NULL, err));
88 return (cleanup_set_errno(hdl, nvl, NULL, err));
90 if ((err = fmd_agent_nvl_ioctl(hdl, cmd, 1, nvl,
92 return (cleanup_set_errno(hdl, nv
106 fmd_agent_cacheop(fmd_agent_hdl_t *hdl, int cmd, uint32_t strandid, nvlist_t *fmri, int *status) argument
124 fmd_agent_cache_retire(fmd_agent_hdl_t *hdl, uint32_t strandid, nvlist_t *fmri) argument
139 fmd_agent_cache_unretire(fmd_agent_hdl_t *hdl, uint32_t strandid, nvlist_t *fmri) argument
151 fmd_agent_cache_isretired(fmd_agent_hdl_t *hdl, uint32_t strandid, nvlist_t *fmri) argument
[all...]
/osnet-11/usr/src/lib/fm/topo/modules/common/pcibus/
H A Ddid_hash.c45 did_hash_init(topo_mod_t *hdl) argument
47 did_hash_t *dh = did_hash_create(hdl);
50 topo_mod_setspecific(hdl, (void *) dh);
89 did_hash_create(topo_mod_t *hdl) argument
91 did_hash_t *r = topo_mod_zalloc(hdl, sizeof (did_hash_t));
94 (void) topo_mod_seterrno(hdl, EMOD_NOMEM);
97 r->dph_mod = hdl;
99 r->dph_hash = topo_mod_zalloc(hdl,
102 topo_mod_free(hdl, r, sizeof (did_hash_t));
103 (void) topo_mod_seterrno(hdl, EMOD_NOME
[all...]
/osnet-11/usr/src/lib/fm/topo/modules/i86pc/chip/common/
H A Dchip_serial.c61 ipmi_handle_t *hdl; local
66 if ((hdl = topo_mod_ipmi_hold(mod)) == NULL) {
72 if ((fru_loc = ipmi_sdr_lookup_fru(hdl, (const char *)ipmi_tag))
75 ipmi_errmsg(hdl));
82 if (ipmi_fru_read(hdl, fru_loc, &fru_data) < 0) {
84 ipmi_errmsg(hdl));
90 if (ipmi_fru_parse_product(hdl, fru_data, &prod_info) < 0) {
92 ipmi_errmsg(hdl));
H A Dchip_label.c539 fmd_agent_hdl_t *hdl; local
546 if ((hdl = fmd_agent_open(FMD_AGENT_VERSION)) == NULL)
548 if (fmd_agent_physcpu_info(hdl, &cpus, &ncpu) == -1) {
550 fmd_agent_errmsg(hdl));
551 fmd_agent_close(hdl);
554 fmd_agent_close(hdl);
/osnet-11/usr/src/lib/libshare_plugins/cache/
H A Dlibshare_cache.c105 sa_cache_init(void *hdl) argument
107 NOTE(ARGUNUSED(hdl))
113 sa_cache_fini(void *hdl) argument
115 NOTE(ARGUNUSED(hdl))
207 sa_cache_find_init(const char *mntpnt, sa_proto_t proto, void **hdl) argument
213 if (hdl == NULL)
234 *hdl = calloc(1, sizeof (sharefs_find_hdl_t));
235 if (*hdl == NULL)
241 bcopy(&ioc->hdl, *hdl, sizeo
253 sa_cache_find_next(void *hdl, nvlist_t **share) argument
306 sa_cache_find_fini(void *hdl) argument
[all...]
/osnet-11/usr/src/lib/fm/libdiskstatus/common/
H A Dds_scsi_sim.c67 simscsi_mode_sense(void *hdl, int page_code, int page_control, argument
74 dscsi_mode_sense = (scsi_mode_sense_f)dlsym(hdl, "scsi_mode_sense");
87 simscsi_mode_sense_10(void *hdl, int page_code, int page_control, argument
94 dscsi_mode_sense_10 = (scsi_mode_sense_10_f)dlsym(hdl,
108 simscsi_mode_select(void *hdl, int page_code, int options, caddr_t page_data, argument
114 dscsi_mode_select = (scsi_mode_select_f)(dlsym(hdl,
128 simscsi_mode_select_10(void *hdl, int page_code, int options, argument
135 dscsi_mode_select_10 = (scsi_mode_select_10_f)dlsym(hdl,
148 simscsi_log_sense(void *hdl, int page_code, int page_control, argument
154 dscsi_log_sense = (scsi_log_sense_f)dlsym(hdl, "scsi_log_sens
166 simscsi_request_sense(void *hdl, caddr_t buf, int buflen, void *rqbuf, int *rqblen) argument
[all...]
/osnet-11/usr/src/lib/fm/libfmd_agent/common/
H A Dfmd_agent.c48 fmd_agent_errno(fmd_agent_hdl_t *hdl) argument
50 return (hdl->agent_errno);
54 fmd_agent_seterrno(fmd_agent_hdl_t *hdl, int err) argument
56 hdl->agent_errno = err;
67 fmd_agent_errmsg(fmd_agent_hdl_t *hdl) argument
69 return (fmd_agent_strerr(hdl->agent_errno));
73 cleanup_set_errno(fmd_agent_hdl_t *hdl, nvlist_t *innvl, nvlist_t *outnvl, argument
80 return (fmd_agent_seterrno(hdl, err));
88 fmd_agent_nvl_ioctl(fmd_agent_hdl_t *hdl, int cmd, uint32_t ver, argument
129 if (ioctl(hdl
162 fmd_agent_hdl_t *hdl; local
206 fmd_agent_close(fmd_agent_hdl_t *hdl) argument
217 fmd_agent_version(fmd_agent_hdl_t *hdl, const char *op, uint32_t *verp) argument
232 fmd_agent_pageop_v1(fmd_agent_hdl_t *hdl, int cmd, nvlist_t *fmri) argument
247 fmd_agent_pageop(fmd_agent_hdl_t *hdl, int cmd, nvlist_t *fmri) argument
264 fmd_agent_page_retire(fmd_agent_hdl_t *hdl, nvlist_t *fmri) argument
289 fmd_agent_page_unretire(fmd_agent_hdl_t *hdl, nvlist_t *fmri) argument
312 fmd_agent_page_isretired(fmd_agent_hdl_t *hdl, nvlist_t *fmri) argument
[all...]
/osnet-11/usr/src/lib/fm/topo/modules/common/bay/common/
H A Dbay.h96 topo_hdl_t *hdl; member in struct:tw_pcie_cbs
/osnet-11/usr/src/lib/fm/topo/modules/i86pc/x86pi/common/
H A Dx86pi_bboard.c358 uint16_t hdl; local
375 hdl = (uint16_t)cont_hdl[j];
377 " %d: %d\n", i, j, hdl);
379 con_ids[j] = hdl;
380 (void) smbios_lookup_id(shp, hdl, &sp);
384 ids[k].id == hdl)
/osnet-11/usr/src/lib/libc/port/fp/
H A Dsigfpe.c212 sigfpe(sigfpe_code_type code, sigfpe_handler_type hdl) argument
229 sigfpe_handlers[i] = hdl;
/osnet-11/usr/src/lib/libzfs/common/
H A Dlibzfs_config.c66 namespace_clear(libzfs_handle_t *hdl) argument
68 if (hdl->libzfs_ns_avl) {
72 while ((cn = uu_avl_teardown(hdl->libzfs_ns_avl,
79 uu_avl_destroy(hdl->libzfs_ns_avl);
80 hdl->libzfs_ns_avl = NULL;
83 if (hdl->libzfs_ns_avlpool) {
84 uu_avl_pool_destroy(hdl->libzfs_ns_avlpool);
85 hdl->libzfs_ns_avlpool = NULL;
93 namespace_reload(libzfs_handle_t *hdl) argument
101 if (hdl
226 libzfs_handle_t *hdl = zhp->zpool_hdl; local
302 zpool_iter(libzfs_handle_t *hdl, zpool_iter_f func, void *data) argument
344 zfs_iter_root(libzfs_handle_t *hdl, zfs_iter_f func, void *data) argument
[all...]
H A Dlibzfs_shadow.c73 zfs_shadow_parse(libzfs_handle_t *hdl, const char *shadow, argument
95 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN,
97 return (zfs_error(hdl, EZFS_BADSHADOW, errmsg));
102 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN,
104 return (zfs_error(hdl, EZFS_BADSHADOW, errmsg));
113 if ((checkpath = zfs_strdup(hdl, ZFS_SHADOW_DIR)) == NULL)
121 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN,
123 return (zfs_error(hdl, EZFS_BADSHADOW, errmsg));
132 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN,
135 return (zfs_error(hdl,
207 zfs_shadow_validate(libzfs_handle_t *hdl, const char *shadow) argument
227 libzfs_handle_t *hdl = zhp->zfs_hdl; local
[all...]
H A Dlibzfs_cache.c83 zfs_cache_open(libzfs_handle_t *hdl) argument
87 ASSERT(hdl->libzfs_handle_cache == NULL);
89 zhc = zfs_alloc(hdl, sizeof (zfs_handle_cache_t));
92 zhc->zhc_hdl = hdl;
93 hdl->libzfs_handle_cache = zhc;
99 zfs_cache_close(libzfs_handle_t *hdl) argument
101 zfs_handle_cache_t *zhc = hdl->libzfs_handle_cache;
109 hdl->libzfs_handle_cache = NULL;
131 libzfs_handle_t *hdl = zhc->zhc_hdl; local
145 zhp = zfs_open_quiet(hdl, pat
313 zfs_cache_get(libzfs_handle_t *hdl, const char *path, zfs_type_t type) argument
328 zfs_cache_get_quiet(libzfs_handle_t *hdl, const char *path, zfs_type_t type) argument
401 zfs_cache_do_stats_ioctl(libzfs_handle_t *hdl, int arg, zfs_cmd_t *zc) argument
497 zfs_cache_iter_filesystems(libzfs_handle_t *hdl, zfs_handle_t *zhp, zfs_iter_f func, void *data) argument
511 zfs_cache_iter_shares(libzfs_handle_t *hdl, zfs_handle_t *zhp, zfs_iter_f func, void *data) argument
525 zfs_cache_iter_children(libzfs_handle_t *hdl, zfs_handle_t *zhp, zfs_iter_f func, void *data) argument
581 zfs_cache_iter_root(libzfs_handle_t *hdl, zfs_iter_f func, void *data) argument
[all...]
/osnet-11/usr/src/lib/sun_fc/common/
H A DHBAPort.cc150 di_devlink_handle_t hdl; local
154 if ((hdl = di_devlink_init(NULL, 0)) == NULL) {
187 (void) di_devlink_walk(hdl, NULL, minor_path, DI_PRIMARY_LINK,
199 di_devlink_fini(&hdl);
/osnet-11/usr/src/lib/sun_sas/common/
H A Ddevlink_disco.c91 di_devlink_handle_t hdl; local
96 if ((hdl = di_devlink_init(NULL, 0)) == NULL) {
129 (void) di_devlink_walk(hdl, NULL, minor_path, DI_PRIMARY_LINK,
141 (void) di_devlink_fini(&hdl);
/osnet-11/usr/src/lib/libpool/common/
H A Ddict.c238 dict_length(dict_hdl_t *hdl) argument
240 return (hdl->dh_length);
247 dict_free(dict_hdl_t **hdl) argument
249 if ((*hdl)->dh_length > 0) {
251 for (i = 0; i < (*hdl)->dh_size; i++) {
253 for (this = (*hdl)->dh_buckets[i]; this != NULL;
260 free((*hdl)->dh_buckets);
261 free((*hdl));
262 *hdl = NULL;
273 dict_hdl_t *hdl; local
293 dict_get(dict_hdl_t *hdl, const void *key) argument
311 dict_put(dict_hdl_t *hdl, const void *key, void *value) argument
341 dict_remove(dict_hdl_t *hdl, const void *key) argument
371 dict_map(dict_hdl_t *hdl, void (*apply)(const void *, void **, void *), void *cl) argument
[all...]
/osnet-11/usr/src/lib/libcontract/common/
H A Dlibcontract_priv.c141 contract_event_dump(FILE *file, ct_evthdl_t hdl, int verbose) argument
144 struct ctlib_event_info *info = hdl;
147 types[type].type_event(file, hdl, verbose);
/osnet-11/usr/src/lib/libfru/libnvfru/
H A Dnvfru.c349 convert_fru(fru_nodehdl_t hdl, nvlist_t **nvlist) argument
355 if (fru_get_node_type(hdl, &fru_type) != FRU_SUCCESS) {
368 if (fru_for_each_segment(hdl, convert_packets_in_segment, nv) !=
385 fru_nodehdl_t hdl; local
395 fru_err = fru_get_root(&hdl);
401 err = convert_fru(hdl, nvlist);
/osnet-11/usr/src/lib/fm/libfmevent/common/
H A Dfmev_evaccess.c70 fmev_sysev2fmev(fmev_shdl_t hdl, sysevent_t *sep, char **clsp, nvlist_t **nvlp) argument
76 if ((iep = fmev_shdl_alloc(hdl, sizeof (*iep))) == NULL)
84 fmev_shdl_free(hdl, iep, sizeof (*iep));
93 fmev_shdl_free(hdl, iep, sizeof (*iep));
101 fmev_shdl_free(hdl, iep, sizeof (*iep));
116 iep->ei_hdl = hdl;
/osnet-11/usr/src/lib/libshare_plugins/zfs/
H A Dlibshare_zfs.c118 libzfs_handle_t *hdl; local
120 if ((hdl = libzfs_init()) == NULL) {
125 libzfs_set_libshare(hdl, shdl);
127 return (hdl);

Completed in 75 milliseconds

123