/illumos-gate/usr/src/lib/libsocket/inet/ |
H A D | getservent_r.c | 50 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 D | getprotoent_r.c | 41 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 D | getnetent_r.c | 45 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 D | bootparams_getbyname.c | 34 static DEFINE_NSS_DB_ROOT(db_root); 55 res = nss_search(&db_root, _nss_initf_bootparams, in bootparams_getbyname()
|
H A D | ether_addr.c | 64 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 D | nss_printer.c | 38 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 D | gethostent6.c | 50 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 D | gethostent_r.c | 61 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 D | getauthattr.c | 44 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 D | getauuser.c | 46 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 D | getprofattr.c | 43 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 D | getuserattr.c | 49 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 D | getrpcent_r.c | 42 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 D | getpwnam_r.c | 43 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 D | getgrnam_r.c | 47 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 D | getspent_r.c | 41 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 D | getnetgrent.c | 55 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 D | getprojent.c | 57 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 D | tsol_gettpent.c | 40 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 D | tsol_getrhent.c | 45 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 D | nss.c | 340 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 D | getauuser.c | 32 static DEFINE_NSS_DB_ROOT(db_root); 103 &db_root, in _nss_compat_audit_user_constr()
|
H A D | getuserattr.c | 32 static DEFINE_NSS_DB_ROOT(db_root); 103 &db_root, in _nss_compat_user_attr_constr()
|
H A D | getspent.c | 54 static DEFINE_NSS_DB_ROOT(db_root); 198 &db_root,
|
/illumos-gate/usr/src/lib/passwdutil/ |
H A D | switch_utils.c | 598 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()
|