Lines Matching refs:plk
648 struct devlks *plk; /* Ptr into the locks list */ in putlocks() local
661 plk = locklist; in putlocks()
665 if (isanullstr(plk->lk_alias)) { in putlocks()
666 plk->lk_key = key; in putlocks()
667 (void) strcpy(plk->lk_alias, *pp++); in putlocks()
670 plk++; in putlocks()
737 struct devlks *plk; /* Ptr to locking info */ in islocked() local
750 plk = locklist; in islocked()
752 if (strncmp(alias, plk->lk_alias, DTAB_MXALIASLN) == 0) in islocked()
754 else plk++; in islocked()
803 struct devlks *plk; /* Pointer to a device lock */ in unreserv() local
830 plk = locklist; in unreserv()
832 if (strcmp(srchalias, plk->lk_alias) == 0) in unreserv()
834 else plk++; in unreserv()
848 if (plk->lk_key == key) { in unreserv()
849 plk->lk_alias[0] = '\0'; in unreserv()