Lines Matching refs:reason
181 int reason; in __yp_match_cflookup() local
222 if (reason = __yp_dobind_cflookup(domain, &pdomb, hardlookup)) in __yp_match_cflookup()
223 return (reason); in __yp_match_cflookup()
227 reason = domatch(domain, map, key, keylen, pdomb, in __yp_match_cflookup()
231 if (reason == YPERR_RPC || reason == YPERR_YPSERV || in __yp_match_cflookup()
232 reason == YPERR_BUSY /* as if */) { in __yp_match_cflookup()
237 return (reason); in __yp_match_cflookup()
247 if (reason == 0) { in __yp_match_cflookup()
287 } else if (reason == YPERR_MAP && geteuid() == 0) { in __yp_match_cflookup()
297 reason = rsvdreason; in __yp_match_cflookup()
299 return (reason); in __yp_match_cflookup()
365 int reason; in __yp_match_rsvdport_cflookup() local
405 if (reason = __yp_dobind_rsvdport_cflookup(domain, &pdomb, in __yp_match_rsvdport_cflookup()
407 return (reason); in __yp_match_rsvdport_cflookup()
411 reason = domatch(domain, map, key, keylen, in __yp_match_rsvdport_cflookup()
421 if (reason == YPERR_RPC || reason == YPERR_YPSERV || in __yp_match_rsvdport_cflookup()
422 reason == YPERR_BUSY /* as if */) { in __yp_match_rsvdport_cflookup()
427 return (reason); in __yp_match_rsvdport_cflookup()
442 if (reason == 0) { in __yp_match_rsvdport_cflookup()
483 return (reason); in __yp_match_rsvdport_cflookup()