Searched refs:newp (Results 1 – 10 of 10) sorted by relevance
/nscd/ |
A D | cache.c | 156 struct hashentry *newp; in cache_add() local 160 if (newp == NULL) in cache_add() 170 newp->type = type; in cache_add() 171 newp->first = first; in cache_add() 172 newp->len = len; in cache_add() 173 newp->key = (char *) key - table->data; in cache_add() 174 assert (newp->key + newp->len <= table->head->first_free); in cache_add() 175 newp->owner = owner; in cache_add() 176 newp->packet = (char *) packet - table->data; in cache_add() 183 (ref_t *) &newp->next, in cache_add() [all …]
|
A D | nscd_helper.c | 366 struct mapped_database *newp = malloc (sizeof (*newp)); in __nscd_get_mapping() local 367 if (newp == NULL) in __nscd_get_mapping() 371 newp->head = mapping; in __nscd_get_mapping() 372 newp->data = ((char *) mapping + head->header_size in __nscd_get_mapping() 374 newp->mapsize = size; in __nscd_get_mapping() 375 newp->datasize = head->data_size; in __nscd_get_mapping() 377 newp->counter = 1; in __nscd_get_mapping() 379 result = newp; in __nscd_get_mapping()
|
A D | nscd_initgroups.c | 105 gid_t *newp = realloc (*groupsp, in __nscd_getgrouplist() local 107 if (newp == NULL) in __nscd_getgrouplist() 111 *groupsp = newp; in __nscd_getgrouplist()
|
A D | servicescache.c | 255 struct dataset *newp in cache_addserv() local 258 if (newp != NULL) in cache_addserv() 261 aliases = (char *) newp + (aliases - (char *) dataset); in cache_addserv() 263 key_copy = (char *) newp + (key_copy - (char *) dataset); in cache_addserv() 265 dataset = memcpy (newp, dataset, total + req->key_len); in cache_addserv()
|
A D | grpcache.c | 293 struct dataset *newp in cache_addgr() local 295 if (newp != NULL) in cache_addgr() 298 gr_name = (char *) newp + (gr_name - (char *) dataset); in cache_addgr() 299 cp = (char *) newp + (cp - (char *) dataset); in cache_addgr() 300 key_copy = (char *) newp + (key_copy - (char *) dataset); in cache_addgr() 302 dataset = memcpy (newp, dataset, total + n); in cache_addgr()
|
A D | initgrcache.c | 322 struct dataset *newp in addinitgroupsX() local 325 if (newp != NULL) in addinitgroupsX() 328 cp = (char *) newp + (cp - (char *) dataset); in addinitgroupsX() 330 dataset = memcpy (newp, dataset, total + req->key_len); in addinitgroupsX()
|
A D | hstcache.c | 323 struct dataset *newp in cache_addhst() local 327 if (newp != NULL) in cache_addhst() 330 addresses = (char *) newp + (addresses in cache_addhst() 332 aliases = (char *) newp + (aliases - (char *) dataset); in cache_addhst() 334 key_copy = (char *) newp + (key_copy - (char *) dataset); in cache_addhst() 336 dataset = memcpy (newp, dataset, total + req->key_len); in cache_addhst()
|
A D | pwdcache.c | 272 struct dataset *newp in cache_addpw() local 274 if (newp != NULL) in cache_addpw() 277 cp = (char *) newp + (cp - (char *) dataset); in cache_addpw() 278 key_copy = (char *) newp + (key_copy - (char *) dataset); in cache_addpw() 280 dataset = memcpy (newp, dataset, total + n); in cache_addpw()
|
A D | aicache.c | 405 struct dataset *newp in addhstaiX() local 408 if (__glibc_likely (newp != NULL)) in addhstaiX() 411 key_copy = (char *) newp + (key_copy - (char *) dataset); in addhstaiX() 413 dataset = memcpy (newp, dataset, total + req->key_len); in addhstaiX()
|
A D | netgroupcache.c | 396 struct dataset *newp in addgetnetgrentX() local 398 if (__glibc_likely (newp != NULL)) in addgetnetgrentX() 401 key_copy = (char *) newp + (key_copy - buffer); in addgetnetgrentX() 403 dataset = memcpy (newp, dataset, total + req->key_len); in addgetnetgrentX()
|
Completed in 22 milliseconds