Lines Matching refs:dwl
2841 dop_waitlist_t *dwl;
2850 dwl = &idn.dopers->_dop_wcache[0];
2852 dwl[i].dw_next = &dwl[i+1];
2853 dwl[i].dw_next = NULL;
2867 dop_waitlist_t *dwl, *next_dwl;
2873 for (dwl = idn.dopers->dop_waitlist; dwl; dwl = next_dwl) {
2874 next_dwl = dwl->dw_next;
2875 if (!IDNOP_IN_CACHE(dwl))
2876 FREESTRUCT(dwl, dop_waitlist_t, 1);
2894 dop_waitlist_t *dwl;
2900 if ((dwl = idn.dopers->dop_freelist) == NULL) {
2901 dwl = GETSTRUCT(dop_waitlist_t, 1);
2903 idn.dopers->dop_freelist = dwl->dw_next;
2904 bzero(dwl, sizeof (*dwl));
2906 dwl->dw_op = opflag;
2907 dwl->dw_reqset = domset;
2908 dwl->dw_idnerr = sep;
2909 dwl->dw_next = idn.dopers->dop_waitlist;
2911 idn.dopers->dop_waitlist = dwl;
2916 return (dwl);
2930 dop_waitlist_t *dwl;
2938 for (dwl = idn.dopers->dop_waitlist; dwl; dwl = dwl->dw_next)
2939 if ((dwl->dw_op == opflag) && (dwl->dw_reqset & domset))
2940 dwl->dw_reqset |= domset;
3016 dop_waitlist_t *dwl = (dop_waitlist_t *)cookie;
3022 if (dwl == idn.dopers->dop_waitlist) {
3023 idn.dopers->dop_waitlist = dwl->dw_next;
3024 if (IDNOP_IN_CACHE(dwl)) {
3025 dwl->dw_next = idn.dopers->dop_freelist;
3026 idn.dopers->dop_freelist = dwl;
3028 FREESTRUCT(dwl, dop_waitlist_t, 1);
3034 if (dwl == hw)
3072 dop_waitlist_t *dwl;
3075 dwl = (dop_waitlist_t *)cookie;
3078 ASSERT((dwl->dw_op == IDNOP_CONNECTED) ||
3079 (dwl->dw_op == IDNOP_DISCONNECTED));
3083 while (((dwl->dw_domset | dwl->dw_errset) != dwl->dw_reqset) && !err) {
3087 if ((dwl->dw_domset | dwl->dw_errset) == dwl->dw_reqset)
3097 (dwl->dw_op == IDNOP_CONNECTED) ? "LINK" :
3098 (dwl->dw_op == IDNOP_DISCONNECTED) ? "UNLINK" :
3113 if (dwl->dw_domset == dwl->dw_reqset) {
3120 rv = dwl->dw_errors[d];
3122 *domsetp = dwl->dw_domset;