Home
last modified time | relevance | path

Searched refs:dbop (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dnss_dbdefs.c200 uint32_t dbop; /* NSS_DBOP_* */ member
298 nss_dbop_search(const char *name, uint32_t dbop) in nss_dbop_search() argument
320 hval += getXbyY_to_dbop[i].dbop; in nss_dbop_search()
343 hval += dbop; in nss_dbop_search()
352 if (hptr->dbop != dbop || strcmp(name, hptr->name) != 0) in nss_dbop_search()
391 const char *dbname, int dbop __unused, size_t *rlen, const char *typestr) in nss_pack_key2str()
746 const char *dbname, int dbop, size_t *rlen) in nss_default_key2str() argument
759 if ((index = nss_dbop_search(dbname, (uint32_t)dbop)) < 0) in nss_default_key2str()
763 dbop, rlen, getXbyY_to_dbop[index].tostr)); in nss_default_key2str()
869 int *dbop __unused, nss_XbyY_args_t *arg, int index) in nss_upack_key2arg()
[all …]
/illumos-gate/usr/src/cmd/nscd/
H A Dcache.c280 nsc_get_db(nsc_ctx_t *ctx, int dbop) in nsc_get_db() argument
285 if (ctx->nsc_db[i] && dbop == ctx->nsc_db[i]->dbop) in nsc_get_db()
721 make_cache(enum db_type dbtype, int dbop, char *name, in make_cache() argument
738 nscdb->dbop = dbop; in make_cache()
1072 nsc_dump(char *dbname, int dbop) in nsc_dump() argument
1105 nscdb = nsc_get_db(ctx, dbop); in nsc_dump()
1108 (me, "%s:%d: no cache found\n", dbname, dbop); in nsc_dump()
1386 int dbop, errnum; in lookup_int() local
1395 &dbop, &args); in lookup_int()
1417 if ((largs->nscdb = nsc_get_db(ctx, dbop)) == NULL) { in lookup_int()
[all …]
H A Dcache.h247 int dbop; member
H A Dnscd_switch.c1346 int dbop; in nss_psearch() local
1360 NULL, &initf, &dbop, &arg); in nss_psearch()
1388 status = nss_search(NULL, initf, dbop, &arg); in nss_psearch()
/illumos-gate/usr/src/lib/nsswitch/dns/common/
H A Ddns_common.c392 int dbop; in _nss_dns_gethost_withttl() local
442 sret = nss_packed_getkey(buffer, bufsize, &dbname, &dbop, &arg); in _nss_dns_gethost_withttl()
/illumos-gate/usr/src/lib/nsswitch/mdns/common/
H A Dmdns_common.c689 int dbop; in _nss_mdns_gethost_withttl() local
711 sret = nss_packed_getkey(buffer, bufsize, &dbname, &dbop, &arg); in _nss_mdns_gethost_withttl()
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_standalone.c419 int dbop; in _filter_gethostbyaddr_r() local
426 dbop = NSS_DBOP_HOSTS_BYADDR; in _filter_gethostbyaddr_r()
432 dbop = NSS_DBOP_IPNODES_BYADDR; in _filter_gethostbyaddr_r()
446 res = nss_search(nss_db_root, nss_initf, dbop, &arg); in _filter_gethostbyaddr_r()