Searched refs:dataset (Results 1 – 7 of 7) sorted by relevance
/nscd/ |
A D | initgrcache.c | 64 struct dataset in addinitgroupsX() struct 69 } *dataset = NULL; in addinitgroupsX() local 208 else if ((dataset = mempool_alloc (db, (sizeof (struct dataset) in addinitgroupsX() 253 dataset = NULL; in addinitgroupsX() 256 dataset = (struct dataset *) mempool_alloc (db, total + req->key_len, in addinitgroupsX() 259 if (dataset == NULL) in addinitgroupsX() 264 dataset = (struct dataset *) alloca (total + req->key_len); in addinitgroupsX() 298 assert (cp == dataset->strdata + total - offsetof (struct dataset, in addinitgroupsX() 322 struct dataset *newp in addinitgroupsX() 330 dataset = memcpy (newp, dataset, total + req->key_len); in addinitgroupsX() [all …]
|
A D | servicescache.c | 74 struct dataset in cache_addserv() struct 79 } *dataset; in cache_addserv() local 119 else if ((dataset = mempool_alloc (db, (sizeof (struct dataset) in cache_addserv() 188 dataset = NULL; in cache_addserv() 191 dataset = (struct dataset *) mempool_alloc (db, total + req->key_len, in cache_addserv() 194 if (dataset == NULL) in cache_addserv() 199 dataset = (struct dataset *) alloca (total + req->key_len); in cache_addserv() 229 == dataset->strdata + total - offsetof (struct dataset, in cache_addserv() 255 struct dataset *newp in cache_addserv() 265 dataset = memcpy (newp, dataset, total + req->key_len); in cache_addserv() [all …]
|
A D | pwdcache.c | 86 struct dataset in cache_addpw() struct 91 } *dataset; in cache_addpw() local 131 else if ((dataset = mempool_alloc (db, (sizeof (struct dataset) in cache_addpw() 194 dataset = NULL; in cache_addpw() 202 dataset = (struct dataset *) mempool_alloc (db, total + n, 1); in cache_addpw() 205 if (dataset == NULL) in cache_addpw() 213 dataset = (struct dataset *) alloca (total + n); in cache_addpw() 248 assert (cp == dataset->strdata + total - offsetof (struct dataset, in cache_addpw() 272 struct dataset *newp in cache_addpw() 280 dataset = memcpy (newp, dataset, total + n); in cache_addpw() [all …]
|
A D | netgroupcache.c | 61 struct dataset struct 78 struct dataset *dataset; in do_notfound() local 89 dataset = mempool_alloc (db, sizeof (struct dataset) + req->key_len, 1); in do_notfound() 128 struct dataset *dataset; in addgetnetgrentX() local 357 dataset = (struct dataset *) buffer; in addgetnetgrentX() 366 dataset->resp.result_len = buffilled - sizeof (*dataset); in addgetnetgrentX() 389 dataset = (struct dataset *) dh; in addgetnetgrentX() 403 dataset = memcpy (newp, dataset, total + req->key_len); in addgetnetgrentX() 418 writeall (fd, &dataset->resp, dataset->head.recsize); in addgetnetgrentX() 501 } *dataset in addinnetgrX() local [all …]
|
A D | grpcache.c | 80 struct dataset in cache_addgr() struct 85 } *dataset; in cache_addgr() local 201 dataset = NULL; in cache_addgr() 209 dataset = (struct dataset *) mempool_alloc (db, total + n, 1); in cache_addgr() 212 if (dataset == NULL) in cache_addgr() 225 if (dataset == NULL) in cache_addgr() 264 assert (cp == dataset->strdata + total - offsetof (struct dataset, in cache_addgr() 287 free (dataset); in cache_addgr() 293 struct dataset *newp in cache_addgr() 302 dataset = memcpy (newp, dataset, total + n); in cache_addgr() [all …]
|
A D | hstcache.c | 102 struct dataset in cache_addhst() struct 107 } *dataset; in cache_addhst() local 149 else if ((dataset = mempool_alloc (db, (sizeof (struct dataset) in cache_addhst() 231 dataset = NULL; in cache_addhst() 239 dataset = (struct dataset *) mempool_alloc (db, total + req->key_len, in cache_addhst() 247 dataset = (struct dataset *) alloca (total + req->key_len); in cache_addhst() 268 assert ((char *) (&dataset->resp.error + 1) == dataset->strdata); in cache_addhst() 286 == dataset->strdata + total - offsetof (struct dataset, in cache_addhst() 296 assert ((char *) &dataset->resp + dataset->head.recsize == cp); in cache_addhst() 336 dataset = memcpy (newp, dataset, total + req->key_len); in cache_addhst() [all …]
|
A D | aicache.c | 58 struct dataset in addhstaiX() struct 63 } *dataset = NULL; in addhstaiX() local 160 dataset = (struct dataset *) mempool_alloc (db, total in addhstaiX() 163 if (dataset == NULL) in addhstaiX() 168 dataset = (struct dataset *) alloca (total + req->key_len); in addhstaiX() 332 dataset = (struct dataset *) mempool_alloc (db, total in addhstaiX() 340 dataset = (struct dataset *) alloca (total + req->key_len); in addhstaiX() 413 dataset = memcpy (newp, dataset, total + req->key_len); in addhstaiX() 428 writeall (fd, &dataset->resp, dataset->head.recsize); in addhstaiX() 472 dataset = NULL; in addhstaiX() [all …]
|
Completed in 21 milliseconds