Home
last modified time | relevance | path

Searched refs:datahead (Results 1 – 24 of 24) sorted by relevance

/glibc-2.36/nscd/
Dnscd.h277 extern struct datahead *cache_search (request_type, const void *key,
281 struct datahead *packet, bool first,
292 struct datahead *dh);
294 struct datahead *dh);
302 struct datahead *dh);
304 struct datahead *dh);
316 struct datahead *dh);
318 struct datahead *dh);
320 struct datahead *dh);
322 struct datahead *dh);
[all …]
Dcache.c48 struct datahead *) =
72 struct datahead *
79 struct datahead *result = NULL; in cache_search()
93 struct datahead *dh in cache_search()
94 = (struct datahead *) (table->data + here->packet); in cache_search()
136 cache_add (int type, const void *key, size_t len, struct datahead *packet, in cache_add()
352 struct datahead *dh = (struct datahead *) (data + runp->packet); in prune_cache()
470 struct datahead *dh in prune_cache()
471 = (struct datahead *) (data + runp->packet); in prune_cache()
Dhstcache.c94 struct hashentry *const he, struct datahead *dh, int errval, in cache_addhst()
104 struct datahead head; in cache_addhst()
109 assert (offsetof (struct dataset, resp) == offsetof (struct datahead, data)); in cache_addhst()
429 void *key, uid_t uid, struct hashentry *he, struct datahead *dh) in addhstbyX()
494 struct datahead *dh) in readdhstbyname()
516 struct datahead *dh) in readdhstbyaddr()
538 struct datahead *dh) in readdhstbynamev6()
560 struct datahead *dh) in readdhstbyaddrv6()
Dmem.c181 struct datahead *dh in gc()
182 = (struct datahead *) (db->data + he[cnt]->packet); in gc()
373 struct datahead *dh = (struct datahead *) (db->data + off_alloc); in gc()
456 if (he->packet + sizeof (struct datahead) in gc()
460 cnt, idx, he->packet, sizeof (struct datahead), in gc()
464 struct datahead *dh = (struct datahead *) (db->data in gc()
Dservicescache.c66 struct hashentry *const he, struct datahead *dh, int errval) in cache_addserv()
76 struct datahead head; in cache_addserv()
81 assert (offsetof (struct dataset, resp) == offsetof (struct datahead, data)); in cache_addserv()
342 char *key, uid_t uid, struct hashentry *he, struct datahead *dh) in addservbyX()
394 struct datahead *dh) in readdservbyname()
416 struct datahead *dh) in readdservbyport()
Dnscd-client.h211 struct datahead struct
241 datahead_init_common (struct datahead *head, nscd_ssize_t allocsize, in datahead_init_common() argument
259 datahead_init_pos (struct datahead *head, nscd_ssize_t allocsize, in datahead_init_pos()
271 datahead_init_neg (struct datahead *head, nscd_ssize_t allocsize, in datahead_init_neg()
433 extern struct datahead *__nscd_cache_search (request_type type,
Dnscd_helper.c449 struct datahead *
460 + offsetof (struct datahead, data) / 2); in __nscd_cache_search()
484 + sizeof (struct datahead) <= datasize)) in __nscd_cache_search()
487 struct datahead *dh in __nscd_cache_search()
488 = (struct datahead *) (mapped->data + here_packet); in __nscd_cache_search()
499 && (here_packet + offsetof (struct datahead, data) + datalen in __nscd_cache_search()
Dpwdcache.c78 struct hashentry *const he, struct datahead *dh, int errval) in cache_addpw()
88 struct datahead head; in cache_addpw()
93 assert (offsetof (struct dataset, resp) == offsetof (struct datahead, data)); in cache_addpw()
391 struct hashentry *he, struct datahead *dh) in addpwbyX()
447 struct datahead *dh) in readdpwbyname()
484 struct datahead *dh) in readdpwbyuid()
Dgrpcache.c72 struct hashentry *const he, struct datahead *dh, int errval) in cache_addgr()
82 struct datahead head; in cache_addgr()
87 assert (offsetof (struct dataset, resp) == offsetof (struct datahead, data)); in cache_addgr()
413 struct hashentry *he, struct datahead *dh) in addgrbyX()
468 struct datahead *dh) in readdgrbyname()
505 struct datahead *dh) in readdgrbygid()
Dnetgroupcache.c63 struct datahead head;
115 struct datahead *dh, struct dataset **resultp, in addgetnetgrentX()
453 struct datahead *dh) in addinnetgrX()
499 struct datahead head; in addinnetgrX()
612 struct datahead *dh) in addgetnetgrentX_ignore()
632 struct datahead *dh) in readdgetnetgrent()
654 struct datahead *dh) in readdinnetgr()
Dinitgrcache.c54 struct datahead *dh) in addinitgroupsX()
66 struct datahead head; in addinitgroupsX()
395 struct datahead *dh) in readdinitgroups()
Dnscd_netgroup.c64 struct datahead *found = __nscd_cache_search (GETNETGRENT, group, in __nscd_setnetgrent()
218 struct datahead *found = __nscd_cache_search (INNETGR, key, in __nscd_innetgr()
Daicache.c49 struct datahead *dh) in addhstaiX()
60 struct datahead head; in addhstaiX()
531 readdhstai (struct database_dyn *db, struct hashentry *he, struct datahead *dh) in readdhstai()
Dcachedumper.c140 struct datahead *dh = (struct datahead *) (data + here->packet); in nscd_print_cache()
Dconnections.c424 || here->packet + sizeof (struct datahead) > head->first_free) in verify_persistent_db()
427 struct datahead *dh = (struct datahead *) (data + here->packet); in verify_persistent_db()
434 if (dh->allocsize < sizeof (struct datahead) in verify_persistent_db()
440 if (here->key < here->packet + sizeof (struct datahead) in verify_persistent_db()
1136 struct datahead *cached; in handle_request()
1137 cached = (struct datahead *) cache_search (req->type, key, req->key_len, in handle_request()
Dnscd_initgroups.c55 struct datahead *found = __nscd_cache_search (INITGROUPS, user, in __nscd_getgrouplist()
Dnscd_getai.c75 struct datahead *found = __nscd_cache_search (GETAI, key, keylen, in __nscd_getai()
Dnscd_getpw_r.c102 struct datahead *found = __nscd_cache_search (type, key, keylen, mapped, in nscd_getpw_r()
Dnscd_getgr_r.c107 struct datahead *found = __nscd_cache_search (type, key, keylen, mapped, in nscd_getgr_r()
Dnscd_getserv_r.c118 struct datahead *found = __nscd_cache_search (type, key, keylen, mapped, in nscd_getserv_r()
Dnscd_gethst_r.c169 struct datahead *found = __nscd_cache_search (type, key, keylen, mapped, in nscd_gethst_r()
/glibc-2.36/ChangeLog.old/
DChangeLog.152199 Add initgrdata element to struct datahead. Fix typo in comment.
2693 (struct datahead): Add aidata field.
2701 * nscd/nscd-client.h (struct datahead): Use uint8_t instead of bool.
DChangeLog.173758 hash chain needs one hashentry and half of datahead. Use
3784 offsetof (struct datahead, data) + datalen.
12846 (struct datahead): Add serv_response_header member.
DChangeLog.1892010 (datahead): Add netgroup_response_header and innetgroup_response_header
95070 (struct datahead): Reuse 32 bits of the alignment for a TTL field.