Lines Matching refs:rootp

90 	void		(*nss_delete_fp)(nss_db_root_t *rootp);
91 nss_status_t (*nss_search_fp)(nss_db_root_t *rootp,
100 void (*end_iter_u_fp)(nss_db_root_t *rootp,
965 * rootp->s has already been dealt with).
1134 nss_delete(nss_db_root_t *rootp)
1142 NSS_ROOTLOCK(rootp, &s);
1144 NSS_UNLOCK(rootp);
1146 rootp->s = 0;
1147 NSS_UNREF_UNLOCK(rootp, s);
1152 nss_search(nss_db_root_t *rootp, nss_db_initf_t initf, int search_fnum,
1161 res = _nsc_search(rootp, initf, search_fnum, search_args);
1175 NSS_LOCK_CHECK(rootp, initf, &s);
1177 NSS_UNLOCK(rootp);
1187 if ((be = nss_get_backend_u(&rootp, s, n_src)) != 0) {
1199 NSS_UNLOCK(rootp);
1223 NSS_RELOCK(&rootp, s);
1246 NSS_UNREF_UNLOCK(rootp, s);
1301 nss_setent(nss_db_root_t *rootp, nss_db_initf_t initf, nss_getent_t *contextpp)
1307 nss_setent_u(rootp, initf, contextpp);
1312 nss_getent(nss_db_root_t *rootp, nss_db_initf_t initf, nss_getent_t *contextpp,
1321 status = nss_getent_u(rootp, initf, contextpp, args);
1327 nss_endent(nss_db_root_t *rootp, nss_db_initf_t initf, nss_getent_t *contextpp)
1333 nss_endent_u(rootp, initf, contextpp);
1343 end_iter_u(nss_db_root_t *rootp, struct nss_getent_context *contextp)
1356 NSS_RELOCK(&rootp, s);
1359 NSS_UNREF_UNLOCK(rootp, s);
1366 nss_setent_u(nss_db_root_t *rootp, nss_db_initf_t initf,
1392 status = _nsc_setent_u(rootp, initf, contextpp);
1399 NSS_LOCK_CHECK(rootp, initf, &s);
1402 NSS_UNLOCK(rootp);
1426 NSS_RELOCK(&rootp, s);
1430 NSS_RELOCK(&rootp, s);
1434 (be = nss_get_backend_u(&rootp, s, n_src)) == 0; n_src++) {
1437 NSS_UNLOCK(rootp);
1444 nss_endent_u(rootp, initf, contextpp);
1451 nss_getent_u(nss_db_root_t *rootp, nss_db_initf_t initf,
1461 nss_setent_u(rootp, initf, contextpp);
1468 status = _nsc_getent_u(rootp, initf, contextpp, args);
1498 end_iter_u(rootp, contextp);
1503 NSS_RELOCK(&rootp, s);
1508 (be = nss_get_backend_u(&rootp, s, n_src)) == 0);
1518 NSS_UNREF_UNLOCK(rootp, s);
1522 NSS_UNLOCK(rootp);
1528 end_iter_u(rootp, contextp);
1535 nss_endent_u(nss_db_root_t *rootp, nss_db_initf_t initf,
1547 status = _nsc_endent_u(rootp, initf, contextpp);
1571 end_iter_u(rootp, contextp);
1656 nss_pack(void *buffer, size_t bufsize, nss_db_root_t *rootp,
1764 nss_pack_ent(void *buffer, size_t bufsize, nss_db_root_t *rootp,
1838 nss_unpack(void *buffer, size_t bufsize, nss_db_root_t *rootp,
1939 nss_unpack_ent(void *buffer, size_t bufsize, nss_db_root_t *rootp,
2011 _nsc_search(nss_db_root_t *rootp, nss_db_initf_t initf, int search_fnum,
2040 status = nss_pack((void *)pbuf, bufsize, rootp,
2067 status = nss_unpack((void *)doorptr, bufsize, rootp, initf,
2086 _nsc_setent_u(nss_db_root_t *rootp, nss_db_initf_t initf,
2129 status = nss_pack_ent((void *)pbuf, bufsize, rootp, initf, contextpp);
2147 status = nss_unpack_ent((void *)doorptr, bufsize, rootp,
2163 _nsc_getent_u(nss_db_root_t *rootp, nss_db_initf_t initf,
2192 status = nss_pack_ent((void *)pbuf, bufsize, rootp, initf, contextpp);
2208 nss_setent_u(rootp, initf, contextpp);
2216 status = nss_unpack_ent((void *)doorptr, bufsize, rootp,
2230 _nsc_endent_u(nss_db_root_t *rootp, nss_db_initf_t initf,
2257 status = nss_pack_ent((void *)pbuf, bufsize, rootp, initf, contextpp);