Lines Matching refs:sci
1720 struct shadowclientinfo *sci; in registershadowclient() local
1726 for (sci = *info; sci != NULL; sci = sci->next) in registershadowclient()
1727 if (sci->shadow == shadow) in registershadowclient()
1729 if (sci == NULL) { in registershadowclient()
1733 sci = (struct shadowclientinfo *)malloc(sizeof (*sci)); in registershadowclient()
1734 if (sci == NULL) in registershadowclient()
1736 sci->next = *info; in registershadowclient()
1737 *info = sci; in registershadowclient()
1738 sci->shadow = shadow; in registershadowclient()
1739 sci->totalClients = 0; in registershadowclient()
1740 sci->clients = newshadowclient(NULL); in registershadowclient()
1743 sci->totalClients++; in registershadowclient()
1744 scc = sci->clients; in registershadowclient()
1746 scc = newshadowclient(sci->clients); in registershadowclient()
1747 sci->clients = scc; in registershadowclient()
1759 struct shadowclientinfo *sci, *prev; in clearshadow() local
1765 for (sci = *info; sci != NULL; sci = sci->next) { in clearshadow()
1766 if (sci->shadow == shadow) in clearshadow()
1768 prev = sci; in clearshadow()
1771 if (sci != NULL) { in clearshadow()
1777 *info = sci->next; in clearshadow()
1779 prev->next = sci->next; in clearshadow()
1780 deshadow(sci, clearattrref); in clearshadow()
1788 deshadow(struct shadowclientinfo *sci, void (*cb)(fsck_ino_t)) in deshadow() argument
1793 clients = sci->clients; in deshadow()
1807 free((void *)sci); in deshadow()