Lines Matching refs:hsvcinfop

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