Searched defs:lkp (Results 1 - 13 of 13) sorted by relevance

/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dns_generic.c89 struct __nsw_lookup *lkp; local
102 lkp = conf->lookups;
104 lkp = *curr_ns;
106 if (__NSW_ACTION(lkp, curr_nserr) == __NSW_RETURN)
108 lkp = lkp->next;
111 for (; lkp; lkp = lkp->next) {
113 if (strcmp(lkp
[all...]
H A Dns_ldap.c174 struct __nsw_lookup *lkp = NULL; local
188 for (lkp = conf->lookups; lkp != NULL; lkp = lkp->next) {
189 if (strcmp(lkp->service_name, "ldap") == 0) {
/illumos-gate/usr/src/stand/lib/fs/nfs/
H A Dlookup.c175 struct nfs_file *lkp; local
184 lkp = nfslookup(cfile, component, &error);
187 lkp = nfs3lookup(cfile, component, &error);
190 lkp = nfs4lookup(cfile, component, &error);
195 lkp = NULL;
210 if (lkp == NULL) {
215 dprintf("lookup: lkp is NULL with error %d\n", error);
220 dprintf("lookup: lkp is NULL with error %d\n", error);
236 *cdp = *lkp;
247 cdp = lkp;
[all...]
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_nswparse.c85 set_dns_default_lkp(struct __nsw_lookup_v1 *lkp) argument
87 if (strcasecmp(lkp->service_name, "dns") == 0) {
88 lkp->actions[__NSW_TRYAGAIN] =
90 lkp->max_retries = dns_tryagain_retry;
186 struct __nsw_lookup_v1 *lkp, **lkq; local
209 if ((lkp = calloc(1, sizeof (struct __nsw_lookup_v1)))
216 *lkq = lkp;
217 lkq = &lkp->next;
221 lkp->actions[i] = __NSW_RETURN;
223 lkp
[all...]
H A Dnscd_nswstate.c255 struct __nsw_lookup_v1 *lkp; local
260 lkp = s->config->lookups;
262 lkp = lkp->next;
263 if (lkp == NULL) {
265 (me, "error: lkp is NULL\n");
271 srcn = lkp->service_name;
351 struct __nsw_lookup_v1 *lkp; local
359 lkp = s->config->lookups;
361 lkp
[all...]
H A Dnscd_nswconfig.c296 struct __nsw_lookup_v1 *lkp; local
358 lkp = swcfg->lookups;
363 strcmp(lkp->service_name, NSCD_NSW_SRC_NAME(k)) != 0;
370 (me, "unknown nsw source name %s\n", lkp->service_name);
371 usrc = strdup(lkp->service_name);
399 j, k, lkp->service_name);
403 lkp = lkp->next;
404 if (lkp == NULL) break;
409 (me, "next nsw source is %s\n", lkp
[all...]
H A Dnscd_switch.c51 retry_test(nss_status_t res, int n, struct __nsw_lookup_v1 *lkp) argument
55 __NSW_UNPAUSE_ACTION(lkp->actions[__NSW_TRYAGAIN]);
57 lkp->actions[__NSW_NISSERVDNS_TRYAGAIN]);
63 lkp->actions[__NSW_TRYAGAIN] == __NSW_TRYAGAIN_FOREVER) ||
65 lkp->actions[__NSW_NISSERVDNS_TRYAGAIN] == __NSW_TRYAGAIN_FOREVER))
69 lkp->actions[__NSW_TRYAGAIN] == __NSW_TRYAGAIN_NTIMES)
70 if (n <= lkp->max_retries)
73 lkp->actions[__NSW_TRYAGAIN] = __NSW_TRYAGAIN_PAUSED;
78 lkp->actions[__NSW_NISSERVDNS_TRYAGAIN] == __NSW_TRYAGAIN_NTIMES)
79 if (n <= lkp
749 struct __nsw_lookup_v1 *lkp; local
1230 struct __nsw_lookup_v1 *lkp = NULL; local
[all...]
/illumos-gate/usr/src/lib/passwdutil/
H A Dswitch_utils.c125 struct __nsw_lookup *lkp; local
150 lkp = conf->lookups;
164 if (strcmp(lkp->service_name, "files") == 0) {
165 result = name_to_int(lkp->service_name);
166 } else if (strcmp(lkp->service_name, "compat") == 0) {
170 result = name_to_int(lkp->service_name);
175 lkp2 = lkp->next;
176 if (strcmp(lkp->service_name, "files") == 0) {
194 lkp2 = lkp->next;
202 if (strcmp(lkp
[all...]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/prldap/
H A Dldappr-dns.c205 struct __nsw_lookup *lkp; local
227 for (lkp = conf->lookups; lkp != NULL; lkp = lkp->next) {
228 name = lkp->service_name;
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dnsparse.c122 set_dns_default_lkp(struct __nsw_lookup_v1 *lkp) argument
124 if (strcasecmp(lkp->service_name, "dns") == 0) {
125 lkp->actions[__NSW_TRYAGAIN] = __NSW_TRYAGAIN_NTIMES;
126 lkp->max_retries = dns_tryagain_retry;
139 struct __nsw_lookup_v1 *lkp, **lkq; local
162 if ((lkp = libc_malloc(sizeof (struct __nsw_lookup_v1)))
169 *lkq = lkp;
170 lkq = &lkp->next;
174 lkp->actions[i] = __NSW_RETURN;
176 lkp
333 struct __nsw_lookup *lkp, **lkq; local
768 __nsw_extended_action_v1(struct __nsw_lookup_v1 *lkp, int err) argument
780 __nsw_extended_action(struct __nsw_lookup *lkp, int err) argument
[all...]
H A Dnss_common.c138 struct __nsw_lookup_v1 *lkp; member in struct:nss_src_state
786 src->lkp->service_name, &src->finder_priv);
802 src->lkp->service_name, 0 /* === unimplemented */);
877 struct __nsw_lookup_v1 *lkp; local
927 for (n_src = 0, lkp = config->lookups;
928 n_src < s->max_src; n_src++, lkp = lkp->next) {
929 s->src[n_src].lkp = lkp;
1025 struct __nsw_lookup_v1 *lkp)
1023 output_loop_diag_a(int n, char *dbase, struct __nsw_lookup_v1 *lkp) argument
1035 output_loop_diag_b(nss_status_t res, struct __nsw_lookup_v1 *lkp) argument
1086 retry_test(nss_status_t res, int n, struct __nsw_lookup_v1 *lkp) argument
[all...]
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_connect.c1322 struct __nsw_lookup *lkp; local
1332 for (lkp = conf->lookups; lkp != NULL; lkp = lkp->next) {
1333 name = lkp->service_name;
/illumos-gate/usr/src/lib/libldap5/sources/ldap/ssldap/
H A Dldapsinit.c1245 struct __nsw_lookup *lkp; local
1267 for (lkp = conf->lookups; lkp != NULL; lkp = lkp->next) {
1268 name = lkp->service_name;

Completed in 503 milliseconds