Home
last modified time | relevance | path

Searched refs:plk (Results 1 – 3 of 3) sorted by relevance

/titanic_44/usr/src/cmd/devmgmt/cmds/
H A Ddevreserv.c159 struct reservdev **plk; /* Running ptr to locks */ in main() local
231 for (plk = rsvd ; *plk ; plk++) { in main()
232 if ((i = fputs((*plk)->devname, stdout)) >= 0) do in main()
235 (void) fprintf(stdout, "%ld\n", (*plk)->key); in main()
284 for (plk = rsvd ; *plk ; plk++) { in main()
285 if ((*plk)->key == key) (void) puts((*plk)->devname); in main()
H A Ddevfree.c140 struct reservdev **plk; /* Running ptr to locks */ in main() local
213 for (plk = rsvd ; *plk ; plk++) { in main()
214 if ((*plk)->key == key) in main()
215 if (devfree(key, (*plk)->devname) != 0) in main()
/titanic_44/usr/src/lib/libadm/common/
H A Ddevreserv.c648 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()
[all …]