/glibc-2.36/nscd/ |
D | nscd_stat.c | 98 struct dbstat dbs[lastdb]; member 106 send_stats (int fd, struct database_dyn dbs[lastdb]) in send_stats() 126 memset (&data.dbs[cnt], 0, sizeof (data.dbs[cnt])); in send_stats() 127 data.dbs[cnt].enabled = dbs[cnt].enabled; in send_stats() 128 data.dbs[cnt].check_file = dbs[cnt].check_file; in send_stats() 129 data.dbs[cnt].shared = dbs[cnt].shared; in send_stats() 130 data.dbs[cnt].persistent = dbs[cnt].persistent; in send_stats() 131 data.dbs[cnt].postimeout = dbs[cnt].postimeout; in send_stats() 132 data.dbs[cnt].negtimeout = dbs[cnt].negtimeout; in send_stats() 133 if (dbs[cnt].head != NULL) in send_stats() [all …]
|
D | connections.c | 112 struct database_dyn dbs[lastdb] = variable 219 [GETPWBYNAME] = { true, &dbs[pwddb] }, 220 [GETPWBYUID] = { true, &dbs[pwddb] }, 221 [GETGRBYNAME] = { true, &dbs[grpdb] }, 222 [GETGRBYGID] = { true, &dbs[grpdb] }, 223 [GETHOSTBYNAME] = { true, &dbs[hstdb] }, 224 [GETHOSTBYNAMEv6] = { true, &dbs[hstdb] }, 225 [GETHOSTBYADDR] = { true, &dbs[hstdb] }, 226 [GETHOSTBYADDRv6] = { true, &dbs[hstdb] }, 229 [GETFDPW] = { false, &dbs[pwddb] }, [all …]
|
D | nscd_conf.c | 58 nscd_parse_file (const char *fname, struct database_dyn dbs[lastdb]) in nscd_parse_file() 127 dbs[idx].postimeout = atol (arg2); in nscd_parse_file() 133 dbs[idx].negtimeout = atol (arg2); in nscd_parse_file() 139 dbs[idx].suggested_module in nscd_parse_file() 148 dbs[idx].enabled = 0; in nscd_parse_file() 150 dbs[idx].enabled = 1; in nscd_parse_file() 159 dbs[idx].check_file = 0; in nscd_parse_file() 161 dbs[idx].check_file = 1; in nscd_parse_file() 168 dbs[idx].max_db_size = atol (arg2) ?: DEFAULT_MAX_DB_SIZE; in nscd_parse_file() 217 dbs[idx].persistent = 0; in nscd_parse_file() [all …]
|
D | nscd.c | 169 if (nscd_parse_file (conffile, dbs) != 0) in main() 572 if (!dbs[cnt].enabled || dbs[cnt].head == NULL) in termination_handler() 576 dbs[cnt].head->timestamp = 0; in termination_handler() 578 if (dbs[cnt].persistent) in termination_handler() 580 msync (dbs[cnt].head, dbs[cnt].memsize, MS_ASYNC); in termination_handler()
|
D | nscd.h | 193 extern struct database_dyn dbs[lastdb] attribute_hidden; 270 struct database_dyn dbs[lastdb]); 273 extern void send_stats (int fd, struct database_dyn dbs[lastdb]);
|
D | cache.c | 151 str, serv2str[type], dbnames[table - dbs], in cache_add() 341 dbnames[table - dbs], (long int) now); in prune_cache()
|
D | mem.c | 423 dbnames[db - dbs]); in gc() 563 dbg_log (_("no more memory for database '%s'"), dbnames[db - dbs]); in mempool_alloc()
|
/glibc-2.36/nss/nss_db/ |
D | db-initgroups.c | 50 if (header->dbs[i].id == ':') in _nss_db_initgroups_dyn() 60 + header->dbs[i].hashoffset); in _nss_db_initgroups_dyn() 64 size_t hidx = hashval % header->dbs[i].hashsize; in _nss_db_initgroups_dyn() 65 size_t hval2 = 1 + hashval % (header->dbs[i].hashsize - 2); in _nss_db_initgroups_dyn() 132 if ((hidx += hval2) >= header->dbs[i].hashsize) in _nss_db_initgroups_dyn() 133 hidx -= header->dbs[i].hashsize; in _nss_db_initgroups_dyn()
|
D | db-netgrp.c | 51 + header->dbs[0].hashoffset); in _nss_db_setnetgrent() 55 size_t hidx = hashval % header->dbs[0].hashsize; in _nss_db_setnetgrent() 56 size_t hval2 = 1 + hashval % (header->dbs[0].hashsize - 2); in _nss_db_setnetgrent() 83 if ((hidx += hval2) >= header->dbs[0].hashsize) in _nss_db_setnetgrent() 84 hidx -= header->dbs[0].hashsize; in _nss_db_setnetgrent()
|
D | db-XXX.c | 149 if (header->dbs[i].id == db_char) \ 170 + header->dbs[i].hashoffset); \ 173 size_t hidx = hashval % header->dbs[i].hashsize; \ 174 size_t hval2 = 1 + hashval % (header->dbs[i].hashsize - 2); \ 197 if ((hidx += hval2) >= header->dbs[i].hashsize) \ 198 hidx -= header->dbs[i].hashsize; \
|
D | nss_db.h | 48 } dbs[0]; member
|
/glibc-2.36/nss/ |
D | makedb.c | 740 + (ndatabases * sizeof (header->dbs[0]))); in write_output() 765 header->dbs[filled_dbs].id = db->dbid; in write_output() 766 memset (header->dbs[filled_dbs].pad, '\0', in write_output() 767 sizeof (header->dbs[0].pad)); in write_output() 768 header->dbs[filled_dbs].hashsize = db->nhashentries; in write_output() 772 header->dbs[filled_dbs].hashoffset = file_offset; in write_output() 778 header->dbs[filled_dbs].keyidxoffset = keydataoffset; in write_output() 783 header->dbs[filled_dbs].keystroffset = keydataoffset; in write_output() 837 + header->dbs[dbidx].keyidxoffset)); in print_database() 839 = (const char *) header + header->dbs[dbidx].keystroffset; in print_database() [all …]
|
D | Makefile | 128 libnss_db-dbs := $(addprefix db-,\ 132 libnss_db-routines := $(libnss_db-dbs) db-open db-init hash-string 134 $(addsuffix .c,$(libnss_db-dbs))) 161 $(libnss_db-dbs:%=$(objpfx)%.c): $(objpfx)db-%.c: nss_files/files-%.c
|
/glibc-2.36/ChangeLog.old/ |
D | ChangeLog.17 | 7085 * nscd/nscd.h (dbs): Make hidden. 7736 * nscd/connections.c (dbs): Add initializers for .suggested_module. 8517 * nscd/connections.c (dbs): Update initializers. 12836 (dbs): Add .reset_res and servdb initialization. 14744 * nscd/connections.c (dbs): Initialize .prunelock.
|
D | ChangeLog.11 | 10723 * nss/Makefile (libnss_db-dbs): Remove stray backslash. 10744 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines. 10746 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
|
D | ChangeLog.15 | 2800 * nscd/nscd_stat.c: Don't access dbs[cnt].head for disabled services.
|
D | ChangeLog.9 | 3950 * nscd/connections.c (dbs): Define defualt values for timeouts and
|
D | ChangeLog.16 | 205 * nscd/connections.c (dbs): Initialize .propagate fields. 8785 (dbs): Initialize max_db_size fields.
|
D | ChangeLog.14 | 8402 * nscd/nscd.h: Declare dbs, stat_user, and stat_uid. Adjust nscd_init 8405 (dbs): Make global.
|
D | ChangeLog.10 | 1597 * nscd/connections.c (dbs): Use
|
D | ChangeLog.18 | 92002 (dbs): Add netgrdb entry. 93343 * nscd/connections.c (dbs): Remove reset_res and filename initializers. 93751 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
|