Lines Matching full:how

798 	enum nss_lookup_type	 how;  in files_passwd()  local
809 how = (enum nss_lookup_type)(uintptr_t)mdata; in files_passwd()
810 switch (how) { in files_passwd()
833 if (how == nss_lt_all && st->keynum < 0) { in files_passwd()
843 if (how == nss_lt_all) in files_passwd()
849 switch (how) { in files_passwd()
892 if (how == nss_lt_all) in files_passwd()
898 how, name, uid); in files_passwd()
909 } while (how == nss_lt_all && !(rv & NS_TERMINATE)); in files_passwd()
926 pwdb_match_entry_v3(char *entry, size_t entrysize, enum nss_lookup_type how, in pwdb_match_entry_v3() argument
938 if (how == nss_lt_all) in pwdb_match_entry_v3()
940 if (how == nss_lt_name) in pwdb_match_entry_v3()
996 pwdb_match_entry_v4(char *entry, size_t entrysize, enum nss_lookup_type how, in pwdb_match_entry_v4() argument
1008 if (how == nss_lt_all) in pwdb_match_entry_v4()
1010 if (how == nss_lt_name) in pwdb_match_entry_v4()
1101 enum nss_lookup_type how; in dns_passwd() local
1108 how = (enum nss_lookup_type)(uintptr_t)mdata; in dns_passwd()
1109 switch (how) { in dns_passwd()
1133 switch (how) { in dns_passwd()
1153 how == nss_lt_id ? "uid" : "passwd"); in dns_passwd()
1155 if (how == nss_lt_all) in dns_passwd()
1161 rv = __pw_match_entry(hes[0], strlen(hes[0]), how, name, uid); in dns_passwd()
1176 } while (how == nss_lt_all && !(rv & NS_TERMINATE)); in dns_passwd()
1214 nis_map(char *domain, enum nss_lookup_type how, char *buffer, size_t bufsize, in nis_map() argument
1222 (how == nss_lt_id) ? "uid" : "name") >= bufsize) in nis_map()
1232 (how == nss_lt_id) ? "uid" : "name") >= bufsize) in nis_map()
1296 enum nss_lookup_type how; in nis_passwd() local
1301 how = (enum nss_lookup_type)(uintptr_t)mdata; in nis_passwd()
1302 switch (how) { in nis_passwd()
1325 rv = nis_map(st->domain, how, map, sizeof(map), &master); in nis_passwd()
1331 switch (how) { in nis_passwd()
1347 if (how == nss_lt_all) { in nis_passwd()
1389 rv = __pw_match_entry(buffer, resultlen, how, name, uid); in nis_passwd()
1393 } while (how == nss_lt_all && !(rv & NS_TERMINATE)); in nis_passwd()
1577 compat_redispatch(struct compat_state *st, enum nss_lookup_type how, in compat_redispatch() argument
1625 if (how == nss_lt_all) in compat_redispatch()
1637 switch (how) { in compat_redispatch()
1735 enum nss_lookup_type how; in compat_passwd() local
1748 how = (enum nss_lookup_type)(uintptr_t)mdata; in compat_passwd()
1749 switch (how) { in compat_passwd()
1769 if (how == nss_lt_all && st->keynum < 0) { in compat_passwd()
1779 if (how == nss_lt_all) { in compat_passwd()
1794 rv = compat_redispatch(st, how, how, name, name, uid, pwd, in compat_passwd()
1810 rv = compat_redispatch(st, how, nss_lt_name, name, in compat_passwd()
1816 rv = compat_redispatch(st, how, nss_lt_name, name, st->name, in compat_passwd()
1916 how, name, uid); in compat_passwd()
1933 if (how == nss_lt_all) in compat_passwd()
1955 __pw_match_entry(const char *entry, size_t entrysize, enum nss_lookup_type how, in __pw_match_entry() argument
1969 if (how == nss_lt_all) in __pw_match_entry()
1971 if (how == nss_lt_name) { in __pw_match_entry()