Lines Matching refs:total
69 ssize_t total; in cache_addserv() local
98 total = 0; in cache_addserv()
104 total = sizeof (notfound); in cache_addserv()
107 && TEMP_FAILURE_RETRY (send (fd, ¬found, total, in cache_addserv()
108 MSG_NOSIGNAL)) != total) in cache_addserv()
124 + req->key_len), total, in cache_addserv()
128 memcpy (&dataset->resp, ¬found, total); in cache_addserv()
171 total = 0; in cache_addserv()
175 total += s_aliases_len[cnt]; in cache_addserv()
178 total += (offsetof (struct dataset, strdata) in cache_addserv()
191 dataset = (struct dataset *) mempool_alloc (db, total + req->key_len, in cache_addserv()
199 dataset = (struct dataset *) alloca (total + req->key_len); in cache_addserv()
205 timeout = datahead_init_pos (&dataset->head, total + req->key_len, in cache_addserv()
206 total - offsetof (struct dataset, resp), in cache_addserv()
229 == dataset->strdata + total - offsetof (struct dataset, in cache_addserv()
240 if (total + req->key_len == dh->allocsize in cache_addserv()
241 && total - offsetof (struct dataset, resp) == dh->recsize in cache_addserv()
256 = (struct dataset *) mempool_alloc (db, total + req->key_len, in cache_addserv()
265 dataset = memcpy (newp, dataset, total + req->key_len); in cache_addserv()
296 + total + req->key_len, MS_ASYNC); in cache_addserv()