Lines Matching refs:pdomb

70 	struct dom_binding *pdomb;
87 if (reason = __yp_dobind_cflookup(domain, &pdomb, hardlookup))
90 if (pdomb->dom_binding->ypbind_hi_vers < YPVERS) {
91 __yp_rel_binding(pdomb);
94 (void) mutex_lock(&pdomb->server_name_lock);
95 if (!pdomb->dom_binding->ypbind_servername) {
96 (void) mutex_unlock(&pdomb->server_name_lock);
97 __yp_rel_binding(pdomb);
101 (void) strcpy(server_name, pdomb->dom_binding->ypbind_servername);
102 (void) mutex_unlock(&pdomb->server_name_lock);
113 if (netdir_getbyaddr(pdomb->dom_binding->ypbind_nconf,
114 &nhs, pdomb->dom_binding->ypbind_svcaddr) != ND_OK) {
117 __yp_rel_binding(pdomb);
121 (void) mutex_lock(&pdomb->server_name_lock);
122 if (strcmp(pdomb->dom_binding->ypbind_servername,
124 pdomb->dom_binding->ypbind_servername =
128 pdomb->dom_binding->ypbind_servername);
129 (void) mutex_unlock(&pdomb->server_name_lock);
132 __yp_rel_binding(pdomb);
194 struct dom_binding *pdomb;
211 if (reason = __yp_dobind_rsvdport(domain, &pdomb))
214 if (pdomb->dom_binding->ypbind_hi_vers < YPVERS) {
219 __yp_rel_binding(pdomb);
220 free_dom_binding(pdomb);
223 (void) mutex_lock(&pdomb->server_name_lock);
224 if (!pdomb->dom_binding->ypbind_servername) {
225 (void) mutex_unlock(&pdomb->server_name_lock);
227 __yp_rel_binding(pdomb);
228 free_dom_binding(pdomb);
231 (void) strcpy(server_name, pdomb->dom_binding->ypbind_servername);
232 (void) mutex_unlock(&pdomb->server_name_lock);
243 if (netdir_getbyaddr(pdomb->dom_binding->ypbind_nconf,
244 &nhs, pdomb->dom_binding->ypbind_svcaddr) != ND_OK) {
247 __yp_rel_binding(pdomb);
248 free_dom_binding(pdomb);
252 (void) mutex_lock(&pdomb->server_name_lock);
253 if (strcmp(pdomb->dom_binding->ypbind_servername,
255 pdomb->dom_binding->ypbind_servername =
259 pdomb->dom_binding->ypbind_servername);
260 (void) mutex_unlock(&pdomb->server_name_lock);
264 __yp_rel_binding(pdomb);
272 free_dom_binding(pdomb);
289 free_dom_binding(pdomb);