Lines Matching defs:gh
609 register struct grouphead *gh;
617 for (gh = groups[h]; gh != NOGRP; gh = gh->g_link)
621 for (gh = groups[h]; gh != NOGRP; gh = gh->g_link)
622 *p++ = gh->g_name;
635 if ((gh = findgroup(gname)) == NOGRP) {
636 if ((gh = (struct grouphead *)
637 calloc(sizeof (*gh), 1)) == NULL) {
640 gh->g_name = vcopy(gname);
641 gh->g_list = NOGE;
642 gh->g_link = groups[h];
643 groups[h] = gh;
658 gp->ge_link = gh->g_list;
659 gh->g_list = gp;
671 register struct grouphead *gh, **ghp;
689 gh = *ghp;
690 if (equal(gh->g_name, gname)) {
692 *ghp = gh->g_link;
694 for (gp = gh->g_list; gp != NOGE; gp = gpnext) {
699 vfree(gh->g_name);
700 free(gh);