Lines Matching refs:hsvcinfop

137 hsvc_lookup(hsvc_info_t *hsvcinfop)  in hsvc_lookup()  argument
145 if (p == hsvcinfop) in hsvc_lookup()
253 hsvc_link_client(hsvc_t *hsvcp, hsvc_info_t *hsvcinfop) in hsvc_link_client() argument
258 hsvcinfop->hsvc_private = hsvcp->clients; in hsvc_link_client()
259 hsvcp->clients = hsvcinfop; in hsvc_link_client()
270 hsvc_unlink_client(hsvc_t *hsvcp, hsvc_info_t *hsvcinfop) in hsvc_unlink_client() argument
280 if (p != hsvcinfop) in hsvc_unlink_client()
300 hsvc_register(hsvc_info_t *hsvcinfop, uint64_t *supported_minor) in hsvc_register() argument
303 uint64_t api_group = hsvcinfop->hsvc_group; in hsvc_register()
304 uint64_t major = hsvcinfop->hsvc_major; in hsvc_register()
305 uint64_t minor = hsvcinfop->hsvc_minor; in hsvc_register()
309 ("hsvc_register %p (0x%lx 0x%lx 0x%lx ID %s)\n", (void *)hsvcinfop, in hsvc_register()
310 api_group, major, minor, hsvcinfop->hsvc_modname)); in hsvc_register()
312 if (hsvcinfop->hsvc_rev != HSVC_REV_1) in hsvc_register()
320 if (hsvc_lookup(hsvcinfop) != NULL) { in hsvc_register()
357 hsvc_link_client(hsvcp, hsvcinfop); in hsvc_register()
445 hsvc_link_client(hsvcp, hsvcinfop); in hsvc_register()
473 (void *)hsvcinfop, status, *supported_minor)); in hsvc_register()
482 hsvc_unregister(hsvc_info_t *hsvcinfop) in hsvc_unregister() argument
489 if (hsvcinfop->hsvc_rev != HSVC_REV_1) in hsvc_unregister()
492 major = hsvcinfop->hsvc_major; in hsvc_unregister()
493 api_group = hsvcinfop->hsvc_group; in hsvc_unregister()
497 (void *)hsvcinfop, api_group, major, hsvcinfop->hsvc_minor, in hsvc_unregister()
498 hsvcinfop->hsvc_modname)); in hsvc_unregister()
516 if (hsvc_unlink_client(hsvcp, hsvcinfop) < 0) { in hsvc_unregister()
557 ("hsvc_unregister %p status: %d\n", (void *)hsvcinfop, status)); in hsvc_unregister()
684 hsvc_info_unix_t *hsvcinfop; in hsvc_setup() local
694 for (hsvcinfop = &hsvcinfo_unix[0], i = 0; i < HSVCINFO_UNIX_CNT; in hsvc_setup()
695 i++, hsvcinfop++) { in hsvc_setup()
696 hsvcinfop->hsvcinfo.hsvc_private = NULL; in hsvc_setup()
697 hsvcinfop->hsvcinfo.hsvc_modname = hsvcinfo_unix_modname; in hsvc_setup()
698 status = hsvc_register(&(hsvcinfop->hsvcinfo), &sup_minor); in hsvc_setup()
700 if ((status != 0) && hsvcinfop->required) { in hsvc_setup()
703 " errno: %d\n", hsvcinfop->hsvcinfo.hsvc_modname, in hsvc_setup()
704 hsvcinfop->hsvcinfo.hsvc_group, in hsvc_setup()
705 hsvcinfop->hsvcinfo.hsvc_major, in hsvc_setup()
706 hsvcinfop->hsvcinfo.hsvc_minor, status); in hsvc_setup()