Lines Matching refs:key_len

89   dataset = mempool_alloc (db, sizeof (struct dataset) + req->key_len, 1);  in do_notfound()
94 sizeof (struct dataset) + req->key_len, in do_notfound()
101 memcpy (dataset->strdata, key, req->key_len); in do_notfound()
135 size_t buflen = MAX (1024, sizeof (*dataset) + req->key_len); in addgetnetgrentX()
199 buflen - buffilled - req->key_len, &e); in addgetnetgrentX()
231 if (buflen - req->key_len - bufused < needed) in addgetnetgrentX()
358 timeout = datahead_init_pos (&dataset->head, total + req->key_len, in addgetnetgrentX()
368 assert (buflen - buffilled >= req->key_len); in addgetnetgrentX()
369 key_copy = memcpy (buffer + buffilled, key, req->key_len); in addgetnetgrentX()
370 buffilled += req->key_len; in addgetnetgrentX()
397 = (struct dataset *) mempool_alloc (db, total + req->key_len, 1); in addgetnetgrentX()
403 dataset = memcpy (newp, dataset, total + req->key_len); in addgetnetgrentX()
429 ((uintptr_t) dataset & pagesize_m1) + total + req->key_len, in addgetnetgrentX()
433 (void) cache_add (req->type, key_copy, req->key_len, &dataset->head, in addgetnetgrentX()
491 .key_len = group_len in addinnetgrX()
503 sizeof (*dataset) + req->key_len, in addinnetgrX()
513 datahead_init_pos (&dataset->head, sizeof (*dataset) + req->key_len, in addinnetgrX()
526 char *key_copy = memcpy ((char *) (dataset + 1), group, req->key_len); in addinnetgrX()
589 + req->key_len, in addinnetgrX()
593 (void) cache_add (req->type, key_copy, req->key_len, &dataset->head, in addinnetgrX()
637 .key_len = he->len in readdgetnetgrent()
659 .key_len = he->len in readdinnetgr()