Lines Matching refs:total
94 ssize_t total = 0; in addhstaiX() local
155 total = sizeof (*dataset) + naddrs + addrslen + canonlen; in addhstaiX()
160 dataset = (struct dataset *) mempool_alloc (db, total in addhstaiX()
168 dataset = (struct dataset *) alloca (total + req->key_len); in addhstaiX()
326 total = sizeof (*dataset) + naddrs + addrslen + canonlen; in addhstaiX()
332 dataset = (struct dataset *) mempool_alloc (db, total in addhstaiX()
340 dataset = (struct dataset *) alloca (total + req->key_len); in addhstaiX()
362 timeout = datahead_init_pos (&dataset->head, total + req->key_len, in addhstaiX()
363 total - offsetof (struct dataset, resp), in addhstaiX()
380 assert (cp == (char *) dataset + total); in addhstaiX()
388 if (total + req->key_len == dh->allocsize in addhstaiX()
389 && total - offsetof (struct dataset, resp) == dh->recsize in addhstaiX()
406 = (struct dataset *) mempool_alloc (db, total + req->key_len, in addhstaiX()
413 dataset = memcpy (newp, dataset, total + req->key_len); in addhstaiX()
460 total = sizeof (notfound); in addhstaiX()
463 TEMP_FAILURE_RETRY (send (fd, ¬found, total, MSG_NOSIGNAL)); in addhstaiX()
479 total, db->negtimeout); in addhstaiX()
482 memcpy (&dataset->resp, ¬found, total); in addhstaiX()
500 ((uintptr_t) dataset & pagesize_m1) + total + req->key_len, in addhstaiX()