Lines Matching refs:total
130 ssize_t total = sizeof (notfound); in cache_addhst() local
137 && TEMP_FAILURE_RETRY (send (fd, resp, total, in cache_addhst()
138 MSG_NOSIGNAL)) != total) in cache_addhst()
154 + req->key_len), total, in cache_addhst()
159 memcpy (&dataset->resp, resp, total); in cache_addhst()
197 ssize_t total; in cache_addhst() local
205 total = 0; in cache_addhst()
209 total += h_aliases_len[cnt]; in cache_addhst()
221 total += (sizeof (struct dataset) 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()
253 timeout = datahead_init_pos (&dataset->head, total + req->key_len, in cache_addhst()
254 total - offsetof (struct dataset, resp), in cache_addhst()
286 == dataset->strdata + total - offsetof (struct dataset, in cache_addhst()
304 if (total + req->key_len == dh->allocsize in cache_addhst()
305 && total - offsetof (struct dataset, resp) == dh->recsize in cache_addhst()
325 total + req->key_len, in cache_addhst()
336 dataset = memcpy (newp, dataset, total + req->key_len); in cache_addhst()
374 + total + req->key_len, MS_ASYNC); in cache_addhst()