Home
last modified time | relevance | path

Searched refs:db_root (Results 1 – 25 of 32) sorted by relevance

12

/illumos-gate/usr/src/lib/libsocket/inet/
H A Dgetservent_r.c50 static DEFINE_NSS_DB_ROOT(db_root);
64 nss_setent(&db_root, _nss_initf_services, &context); in setservent()
72 nss_endent(&db_root, _nss_initf_services, &context); in endservent()
73 nss_delete(&db_root); in endservent()
95 res = nss_getent(&db_root, _nss_initf_services, &context, &arg); in getservent_r()
H A Dgetprotoent_r.c41 static DEFINE_NSS_DB_ROOT(db_root);
65 res = nss_search(&db_root, _nss_initf_proto, in getprotobyname_r()
81 res = nss_search(&db_root, _nss_initf_proto, in getprotobynumber_r()
92 nss_setent(&db_root, _nss_initf_proto, &context); in setprotoent()
100 nss_endent(&db_root, _nss_initf_proto, &context); in endprotoent()
101 nss_delete(&db_root); in endprotoent()
113 res = nss_getent(&db_root, _nss_initf_proto, &context, &arg); in getprotoent_r()
H A Dgetnetent_r.c45 static DEFINE_NSS_DB_ROOT(db_root);
69 res = nss_search(&db_root, _nss_initf_net, in getnetbyname_r()
87 res = nss_search(&db_root, _nss_initf_net, in getnetbyaddr_r()
98 nss_setent(&db_root, _nss_initf_net, &context); in setnetent()
106 nss_endent(&db_root, _nss_initf_net, &context); in endnetent()
107 nss_delete(&db_root); in endnetent()
119 res = nss_getent(&db_root, _nss_initf_net, &context, &arg); in getnetent_r()
H A Dbootparams_getbyname.c34 static DEFINE_NSS_DB_ROOT(db_root);
55 res = nss_search(&db_root, _nss_initf_bootparams, in bootparams_getbyname()
H A Dether_addr.c64 static DEFINE_NSS_DB_ROOT(db_root);
92 res = nss_search(&db_root, _nss_initf_ethers, in ether_hostton()
117 res = nss_search(&db_root, _nss_initf_ethers, in ether_ntohost()
/illumos-gate/usr/src/lib/print/libprint/common/
H A Dnss_printer.c38 static DEFINE_NSS_DB_ROOT(db_root);
100 nss_setent(&db_root, _nss_initf_printers, &context); in setprinterentry()
110 nss_endent(&db_root, _nss_initf_printers, &context); in endprinterentry()
111 nss_delete(&db_root); in endprinterentry()
126 res = nss_getent(&db_root, _nss_initf_printers, &context, &arg); in getprinterentry()
143 res = nss_search(&db_root, _nss_initf_printers, in getprinterbyname()
/illumos-gate/usr/src/lib/libnsl/nss/
H A Dgethostent6.c50 static DEFINE_NSS_DB_ROOT(db_root);
71 nss_setent(&db_root, _nss_initf_ipnodes, &context); in __sethostent6()
79 nss_endent(&db_root, _nss_initf_ipnodes, &context); in __endhostent6()
80 nss_delete(&db_root); in __endhostent6()
91 res = nss_getent(&db_root, _nss_initf_ipnodes, in __gethostent6()
H A Dgethostent_r.c61 static DEFINE_NSS_DB_ROOT(db_root);
75 nss_setent(&db_root, _nss_initf_hosts, &context); in sethostent()
83 nss_endent(&db_root, _nss_initf_hosts, &context); in endhostent()
84 nss_delete(&db_root); in endhostent()
95 res = nss_getent(&db_root, _nss_initf_hosts, in gethostent_r()
H A Dgetauthattr.c44 static DEFINE_NSS_DB_ROOT(db_root);
100 nss_setent(&db_root, _nss_initf_authattr, &context); in _setauthattr()
108 nss_endent(&db_root, _nss_initf_authattr, &context); in _endauthattr()
109 nss_delete(&db_root); in _endauthattr()
120 res = nss_getent(&db_root, _nss_initf_authattr, &context, &arg); in _getauthattr()
137 res = nss_search(&db_root, _nss_initf_authattr, in _getauthnam()
H A Dgetauuser.c46 static DEFINE_NSS_DB_ROOT(db_root);
102 nss_setent(&db_root, _nss_initf_auuser, &context); in _setauuser()
110 nss_endent(&db_root, _nss_initf_auuser, &context); in _endauuser()
111 nss_delete(&db_root); in _endauuser()
123 res = nss_getent(&db_root, _nss_initf_auuser, &context, &arg); in _getauuserent()
145 res = nss_search(&db_root, _nss_initf_auuser, in _getauusernam()
H A Dgetprofattr.c43 static DEFINE_NSS_DB_ROOT(db_root);
97 nss_setent(&db_root, _nss_initf_profattr, &context); in _setprofattr()
105 nss_endent(&db_root, _nss_initf_profattr, &context); in _endprofattr()
106 nss_delete(&db_root); in _endprofattr()
117 res = nss_getent(&db_root, _nss_initf_profattr, &context, &arg); in _getprofattr()
134 res = nss_search(&db_root, _nss_initf_profattr, in _getprofnam()
H A Dgetuserattr.c49 static DEFINE_NSS_DB_ROOT(db_root);
107 nss_setent(&db_root, _nss_initf_userattr, &context); in _setuserattr()
115 nss_endent(&db_root, _nss_initf_userattr, &context); in _enduserattr()
116 nss_delete(&db_root); in _enduserattr()
127 res = nss_getent(&db_root, _nss_initf_userattr, &context, &arg); in _getuserattr()
156 res = nss_search(&db_root, _nss_initf_userattr, in _getusernam()
H A Dgetrpcent_r.c42 static DEFINE_NSS_DB_ROOT(db_root);
66 res = nss_search(&db_root, _nss_initf_rpc, in getrpcbyname_r()
82 res = nss_search(&db_root, _nss_initf_rpc, in getrpcbynumber_r()
92 nss_setent(&db_root, _nss_initf_rpc, &context); in setrpcent()
99 nss_endent(&db_root, _nss_initf_rpc, &context); in endrpcent()
100 nss_delete(&db_root); in endrpcent()
111 res = nss_getent(&db_root, _nss_initf_rpc, &context, &arg); in getrpcent_r()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetpwnam_r.c43 static DEFINE_NSS_DB_ROOT(db_root);
78 (void) nss_search(&db_root, _nss_initf_passwd, NSS_DBOP_PASSWD_BYNAME, in getpwnam_r()
94 (void) nss_search(&db_root, _nss_initf_passwd, NSS_DBOP_PASSWD_BYUID, in getpwuid_r()
108 (void) nss_search(&db_root, _nss_initf_passwd, NSS_DBOP_PASSWD_BYUID, in _uncached_getpwuid_r()
142 (void) nss_search(&db_root, _nss_initf_passwd, NSS_DBOP_PASSWD_BYNAME, in _uncached_getpwnam_r()
170 nss_setent(&db_root, _nss_initf_passwd, &context); in setpwent()
176 nss_endent(&db_root, _nss_initf_passwd, &context); in endpwent()
177 nss_delete(&db_root); in endpwent()
191 (void) nss_getent(&db_root, _nss_initf_passwd, &context, &arg); in getpwent_r()
H A Dgetgrnam_r.c47 static DEFINE_NSS_DB_ROOT(db_root);
84 (void) nss_search(&db_root, _nss_initf_group, in getgrnam_r()
100 (void) nss_search(&db_root, _nss_initf_group, in getgrgid_r()
113 (void) nss_search(&db_root, _nss_initf_group, in _uncached_getgrgid_r()
146 (void) nss_search(&db_root, _nss_initf_group, in _uncached_getgrnam_r()
173 nss_setent(&db_root, _nss_initf_group, &context); in setgrent()
179 nss_endent(&db_root, _nss_initf_group, &context); in endgrent()
180 nss_delete(&db_root); in endgrent()
194 (void) nss_getent(&db_root, _nss_initf_group, &context, &arg); in getgrent_r()
280 (void) nss_search(&db_root, _nss_initf_group, in _getgroupsbymember()
H A Dgetspent_r.c41 static DEFINE_NSS_DB_ROOT(db_root);
59 (void) nss_search(&db_root, _nss_initf_shadow, in getspnam_r()
67 nss_setent(&db_root, _nss_initf_shadow, &context); in setspent()
73 nss_endent(&db_root, _nss_initf_shadow, &context); in endspent()
74 nss_delete(&db_root); in endspent()
88 (void) nss_getent(&db_root, _nss_initf_shadow, &context, &arg); in getspent_r()
H A Dgetnetgrent.c55 static DEFINE_NSS_DB_ROOT(db_root);
117 (void) nss_search(&db_root, _nss_initf_netgroup,
164 (void) nss_search(&db_root, _nss_initf_netgroup, in setnetgrent()
227 nss_delete(&db_root); /* === ? */ in endnetgrent()
/illumos-gate/usr/src/lib/libproject/common/
H A Dgetprojent.c57 static DEFINE_NSS_DB_ROOT(db_root);
70 nss_setent(&db_root, _nss_initf_project, &context); in _setprojent()
76 nss_endent(&db_root, _nss_initf_project, &context); in _endprojent()
77 nss_delete(&db_root); in _endprojent()
86 (void) nss_getent(&db_root, _nss_initf_project, &context, &arg); in _getprojent()
109 (void) nss_search(&db_root, _nss_initf_project, in _getprojbyid()
121 (void) nss_search(&db_root, _nss_initf_project, in _getprojbyname()
219 (void) nss_search(&db_root, _nss_initf_project, in _getdefaultproj()
234 (void) nss_search(&db_root, _nss_initf_project, in _getdefaultproj()
242 (void) nss_search(&db_root, _nss_initf_project, in _getdefaultproj()
[all …]
/illumos-gate/usr/src/lib/libtsnet/common/
H A Dtsol_gettpent.c40 static DEFINE_NSS_DB_ROOT(db_root);
66 arg.status = nss_search(&db_root, _nss_initf_tsol_tp, in tsol_gettpbyname()
85 nss_setent(&db_root, _nss_initf_tsol_tp, &context); in tsol_settpent()
92 nss_endent(&db_root, _nss_initf_tsol_tp, &context); in tsol_endtpent()
93 nss_delete(&db_root); in tsol_endtpent()
108 arg.status = nss_getent(&db_root, _nss_initf_tsol_tp, &context, &arg); in tsol_gettpent()
H A Dtsol_getrhent.c45 static DEFINE_NSS_DB_ROOT(db_root);
72 arg.status = nss_search(&db_root, _nss_initf_tsol_rh, in tsol_getrhbyaddr()
91 nss_setent(&db_root, _nss_initf_tsol_rh, &context); in tsol_setrhent()
98 nss_endent(&db_root, _nss_initf_tsol_rh, &context); in tsol_endrhent()
99 nss_delete(&db_root); in tsol_endrhent()
114 arg.status = nss_getent(&db_root, _nss_initf_tsol_rh, &context, &arg); in tsol_getrhent()
/illumos-gate/usr/src/lib/print/libpapi-dynamic/common/
H A Dnss.c340 static DEFINE_NSS_DB_ROOT(db_root);
403 nss_setent(&db_root, _nss_initf_printers, &context); in setprinterentry()
416 nss_endent(&db_root, _nss_initf_printers, &context); in endprinterentry()
417 nss_delete(&db_root); in endprinterentry()
441 res = nss_getent(&db_root, _nss_initf_printers, &context, &arg); in getprinterentry()
505 res = nss_search(&db_root, _nss_initf_printers, in getprinterbyname()
/illumos-gate/usr/src/lib/nsswitch/compat/common/
H A Dgetauuser.c32 static DEFINE_NSS_DB_ROOT(db_root);
103 &db_root, in _nss_compat_audit_user_constr()
H A Dgetuserattr.c32 static DEFINE_NSS_DB_ROOT(db_root);
103 &db_root, in _nss_compat_user_attr_constr()
H A Dgetspent.c54 static DEFINE_NSS_DB_ROOT(db_root);
198 &db_root,
/illumos-gate/usr/src/lib/passwdutil/
H A Dswitch_utils.c598 static DEFINE_NSS_DB_ROOT(db_root);
609 nss_delete(&db_root); in endutilpwent()
627 (void) nss_search(&db_root, nss_ldap_passwd, in getpwnam_from()
632 (void) nss_search(&db_root, nss_nis_passwd, in getpwnam_from()
658 (void) nss_search(&db_root, nss_ldap_passwd, in getpwuid_from()
663 (void) nss_search(&db_root, nss_nis_passwd, in getpwuid_from()

12