Lines Matching defs:prot
520 nvlist_t *prot = NULL;
571 if ((prot = sa_upgrade_get_nvlist(node, proto)) == NULL) {
572 prot = sa_share_alloc(NULL, NULL);
573 if (prot == NULL) {
579 pnode = (is_sec) ? sec : prot;
614 ret = sa_upgrade_add_nvlist(prot, sectype, sec);
616 ret = sa_upgrade_add_nvlist(node, proto, prot);
622 if (is_prot && (prot != NULL))
623 sa_share_free(prot);
794 nvlist_t *prot = NULL;
816 if ((prot = sa_upgrade_get_nvlist(group, proto)) == NULL) {
817 prot = sa_share_alloc(NULL, NULL);
818 if (prot == NULL) {
822 pnode = prot;
858 ret = sa_upgrade_add_nvlist(prot, sectype, sec);
860 ret = sa_upgrade_add_nvlist(group, proto, prot);
866 if (is_prot && (prot != NULL))
867 sa_share_free(prot);