Home
last modified time | relevance | path

Searched refs:pdomb (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/lib/libnsl/yp/
H A Dyp_all.c68 struct dom_binding *pdomb; in __yp_all_cflookup() local
85 if (reason = __yp_dobind_cflookup(domain, &pdomb, hardlookup)) in __yp_all_cflookup()
88 if (pdomb->dom_binding->ypbind_hi_vers < YPVERS) { in __yp_all_cflookup()
89 __yp_rel_binding(pdomb); in __yp_all_cflookup()
92 (void) mutex_lock(&pdomb->server_name_lock); in __yp_all_cflookup()
93 if (!pdomb->dom_binding->ypbind_servername) { in __yp_all_cflookup()
94 (void) mutex_unlock(&pdomb->server_name_lock); in __yp_all_cflookup()
95 __yp_rel_binding(pdomb); in __yp_all_cflookup()
99 (void) strcpy(server_name, pdomb->dom_binding->ypbind_servername); in __yp_all_cflookup()
100 (void) mutex_unlock(&pdomb->server_name_lock); in __yp_all_cflookup()
[all …]
H A Dyp_bind.c234 struct dom_binding *pdomb; in check_binding() local
238 for (pdomb = bound_domains; pdomb != NULL; pdomb = pdomb->dom_pnext) { in check_binding()
240 if (strcmp(domain, pdomb->dom_domain) == 0) { in check_binding()
250 *binding = pdomb; in check_binding()
261 pdomb = load_dom_binding(ypbind_resp, domain, &status); in check_binding()
262 if (pdomb == 0) in check_binding()
264 *binding = pdomb; in check_binding()
288 struct dom_binding *pdomb; in __yp_add_binding_netid() local
323 pdomb = load_dom_binding(&resp, domain, &status); in __yp_add_binding_netid()
326 return (pdomb != 0); in __yp_add_binding_netid()
[all …]
H A Dyp_master.c62 struct dom_binding *pdomb; in yp_master() local
77 if (reason = __yp_dobind(domain, &pdomb)) in yp_master()
80 if (pdomb->dom_binding->ypbind_hi_vers >= YPVERS) { in yp_master()
82 reason = domaster(domain, map, pdomb, _ypserv_timeout, in yp_master()
85 __yp_rel_binding(pdomb); in yp_master()
93 __yp_rel_binding(pdomb); in yp_master()
124 struct dom_binding *pdomb; in __yp_master_rsvdport() local
139 if (reason = __yp_dobind_rsvdport(domain, &pdomb)) in __yp_master_rsvdport()
142 if (pdomb->dom_binding->ypbind_hi_vers >= YPVERS) { in __yp_master_rsvdport()
144 reason = domaster(domain, map, pdomb, _ypserv_timeout, in __yp_master_rsvdport()
[all …]
H A Dyp_enum.c74 struct dom_binding *pdomb; in __yp_first_cflookup() local
89 if (reason = __yp_dobind_cflookup(domain, &pdomb, hardlookup)) in __yp_first_cflookup()
92 if (pdomb->dom_binding->ypbind_hi_vers == YPVERS) { in __yp_first_cflookup()
94 reason = dofirst(domain, map, pdomb, _ypserv_timeout, in __yp_first_cflookup()
97 __yp_rel_binding(pdomb); in __yp_first_cflookup()
108 __yp_rel_binding(pdomb); in __yp_first_cflookup()
133 dofirst(domain, map, pdomb, timeout, key, keylen, val, vallen) in dofirst() argument
136 struct dom_binding *pdomb;
160 switch (clnt_call(pdomb->dom_client, YPPROC_FIRST,
211 CLNT_FREERES(pdomb->dom_client,
[all …]
H A Dyp_order.c61 struct dom_binding *pdomb; in yp_order() local
76 if (reason = __yp_dobind(domain, &pdomb)) in yp_order()
79 if (pdomb->dom_binding->ypbind_hi_vers >= YPVERS) { in yp_order()
81 reason = doorder(domain, map, pdomb, _ypserv_timeout, in yp_order()
84 __yp_rel_binding(pdomb); in yp_order()
92 __yp_rel_binding(pdomb); in yp_order()
104 doorder(char *domain, char *map, struct dom_binding *pdomb, in doorder() argument
120 if (clnt_call(pdomb->dom_client, YPPROC_ORDER, in doorder()
133 CLNT_FREERES(pdomb->dom_client, in doorder()
H A Dyp_match.c181 struct dom_binding *pdomb; in __yp_match_cflookup() local
221 if (reason = __yp_dobind_cflookup(domain, &pdomb, hardlookup)) in __yp_match_cflookup()
224 if (pdomb->dom_binding->ypbind_hi_vers >= YPVERS) { in __yp_match_cflookup()
226 reason = domatch(domain, map, key, keylen, pdomb, in __yp_match_cflookup()
229 __yp_rel_binding(pdomb); in __yp_match_cflookup()
240 __yp_rel_binding(pdomb); in __yp_match_cflookup()
365 struct dom_binding *pdomb; in __yp_match_rsvdport_cflookup() local
404 if (reason = __yp_dobind_rsvdport_cflookup(domain, &pdomb, in __yp_match_rsvdport_cflookup()
408 if (pdomb->dom_binding->ypbind_hi_vers >= YPVERS) { in __yp_match_rsvdport_cflookup()
411 pdomb, &_ypserv_timeout, val, vallen); in __yp_match_rsvdport_cflookup()
[all …]
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypxfr.c593 bind_to_server(host, pdomb, vers, status) in bind_to_server() argument
595 struct dom_binding *pdomb;
599 if (ping_server(host, pdomb, YPVERS, status)) {
614 ping_server(host, pdomb, vers, status) in ping_server() argument
616 struct dom_binding *pdomb;
622 if ((pdomb->dom_client = __yp_clnt_create_rsvdport(host, YPPROG, vers,
644 rpc_stat = clnt_call(pdomb->dom_client, YPBINDPROC_NULL,
650 clnt_destroy(pdomb->dom_client);
652 (void) clnt_perror(pdomb->dom_client,