Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/common/os/
H A Dsunndi.c1208 struct ndi_event_hdl *ndi_event_hdl; in ndi_event_alloc_hdl() local
1210 ndi_event_hdl = kmem_zalloc(sizeof (struct ndi_event_hdl), in ndi_event_alloc_hdl()
1213 if (!ndi_event_hdl) { in ndi_event_alloc_hdl()
1217 ndi_event_hdl->ndi_evthdl_dip = dip; in ndi_event_alloc_hdl()
1218 ndi_event_hdl->ndi_evthdl_iblock_cookie = cookie; in ndi_event_alloc_hdl()
1219 mutex_init(&ndi_event_hdl->ndi_evthdl_mutex, NULL, in ndi_event_alloc_hdl()
1222 mutex_init(&ndi_event_hdl->ndi_evthdl_cb_mutex, NULL, in ndi_event_alloc_hdl()
1225 *handle = (ndi_event_hdl_t)ndi_event_hdl; in ndi_event_alloc_hdl()
1236 struct ndi_event_hdl *ndi_event_hdl = (struct ndi_event_hdl *)handle; in ndi_event_free_hdl() local
1242 mutex_enter(&ndi_event_hdl->ndi_evthdl_mutex); in ndi_event_free_hdl()
[all …]
/titanic_50/usr/src/cmd/mdb/common/modules/genunix/
H A Dndievents.c156 ndi_event_print(struct ndi_event_hdl *hdl, uint_t flags) in ndi_event_print()
207 ndi_event_hdl(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) in ndi_event_hdl() function
211 struct ndi_event_hdl handle; in ndi_event_hdl()
219 if (mdb_vread(&handle, sizeof (struct ndi_event_hdl), addr) == -1) { in ndi_event_hdl()
251 if (mdb_vread(&handle, sizeof (struct ndi_event_hdl), in ndi_event_hdl()
H A Dndievents.h39 extern int ndi_event_hdl(uintptr_t addr, uint_t flags, int argc,
H A Dgenunix.c3865 { "ndi_event_hdl", "?", "print ndi_event_hdl", ndi_event_hdl },
/titanic_50/usr/src/uts/common/sys/
H A Dndi_impldefs.h46 struct ndi_event_hdl { struct
H A Dsunndi.h465 typedef struct ndi_event_hdl *ndi_event_hdl_t;
527 ndi_event_hdl_t *ndi_event_hdl, uint_t flag);
631 ndi_event_dump_hdl(struct ndi_event_hdl *hdl, char *location);
H A Dpshot.h105 ndi_event_hdl_t ndi_event_hdl; member
/titanic_50/usr/src/uts/common/io/
H A Dpshot.c634 if (ndi_event_alloc_hdl(devi, NULL, &pshot->ndi_event_hdl, in pshot_attach()
643 if (ndi_event_bind_set(pshot->ndi_event_hdl, &pshot->ndi_events, in pshot_attach()
922 rval = ndi_event_free_hdl(pshot->ndi_event_hdl); in pshot_detach()
2360 return (ndi_event_retrieve_cookie(pshot->ndi_event_hdl, in pshot_get_eventcookie()
2382 return (ndi_event_add_callback(pshot->ndi_event_hdl, rdip, in pshot_add_eventcall()
2407 return (ndi_event_remove_callback(pshot->ndi_event_hdl, cb_id)); in pshot_remove_eventcall()
2437 return (ndi_event_run_callbacks(pshot->ndi_event_hdl, rdip, in pshot_post_event()
2450 pshot->ndi_event_hdl, event_tag); in pshot_event()
2458 ndi_event_tag_to_name(pshot->ndi_event_hdl, in pshot_event()
2469 ndi_event_tag_to_name(pshot->ndi_event_hdl, in pshot_event()
[all …]