Home
last modified time | relevance | path

Searched refs:ndi_event_hdl (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/uts/common/os/
H A Dsunndi.c1210 struct ndi_event_hdl *ndi_event_hdl; in ndi_event_alloc_hdl() local
1212 ndi_event_hdl = kmem_zalloc(sizeof (struct ndi_event_hdl), in ndi_event_alloc_hdl()
1215 if (!ndi_event_hdl) { in ndi_event_alloc_hdl()
1219 ndi_event_hdl->ndi_evthdl_dip = dip; in ndi_event_alloc_hdl()
1220 ndi_event_hdl->ndi_evthdl_iblock_cookie = cookie; in ndi_event_alloc_hdl()
1221 mutex_init(&ndi_event_hdl->ndi_evthdl_mutex, NULL, in ndi_event_alloc_hdl()
1224 mutex_init(&ndi_event_hdl->ndi_evthdl_cb_mutex, NULL, in ndi_event_alloc_hdl()
1227 *handle = (ndi_event_hdl_t)ndi_event_hdl; in ndi_event_alloc_hdl()
1238 struct ndi_event_hdl *ndi_event_hdl = (struct ndi_event_hdl *)handle; in ndi_event_free_hdl() local
1244 mutex_enter(&ndi_event_hdl->ndi_evthdl_mutex); in ndi_event_free_hdl()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dndievents.c158 ndi_event_print(struct ndi_event_hdl *hdl, uint_t flags) in ndi_event_print()
209 ndi_event_hdl(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) in ndi_event_hdl() function
213 struct ndi_event_hdl handle; in ndi_event_hdl()
221 if (mdb_vread(&handle, sizeof (struct ndi_event_hdl), addr) == -1) { in ndi_event_hdl()
252 if (mdb_vread(&handle, sizeof (struct ndi_event_hdl), in ndi_event_hdl()
H A Dndievents.h37 extern int ndi_event_hdl(uintptr_t addr, uint_t flags, int argc,
H A Dgenunix.c4173 { "ndi_event_hdl", "?", "print ndi_event_hdl", ndi_event_hdl },
/illumos-gate/usr/src/uts/common/sys/
H A Dsunndi.h469 typedef struct ndi_event_hdl *ndi_event_hdl_t;
531 ndi_event_hdl_t *ndi_event_hdl, uint_t flag);
622 ndi_event_dump_hdl(struct ndi_event_hdl *hdl, char *location);
H A Dndi_impldefs.h44 struct ndi_event_hdl { struct
H A Dpshot.h103 ndi_event_hdl_t ndi_event_hdl; member
/illumos-gate/usr/src/uts/common/io/
H A Dpshot.c636 if (ndi_event_alloc_hdl(devi, NULL, &pshot->ndi_event_hdl, in pshot_attach()
645 if (ndi_event_bind_set(pshot->ndi_event_hdl, &pshot->ndi_events, in pshot_attach()
924 rval = ndi_event_free_hdl(pshot->ndi_event_hdl); in pshot_detach()
2359 return (ndi_event_retrieve_cookie(pshot->ndi_event_hdl, in pshot_get_eventcookie()
2381 return (ndi_event_add_callback(pshot->ndi_event_hdl, rdip, in pshot_add_eventcall()
2406 return (ndi_event_remove_callback(pshot->ndi_event_hdl, cb_id)); in pshot_remove_eventcall()
2436 return (ndi_event_run_callbacks(pshot->ndi_event_hdl, rdip, in pshot_post_event()
2449 pshot->ndi_event_hdl, event_tag); in pshot_event()
2457 ndi_event_tag_to_name(pshot->ndi_event_hdl, in pshot_event()
2468 ndi_event_tag_to_name(pshot->ndi_event_hdl, in pshot_event()
[all …]