Lines Matching refs:reply_buf
237 char reply_buf[1024], *cp; in server_loop() local
266 ret = call_daemon(socket_path, 0, reply_buf, sizeof(reply_buf), 0, 0); in server_loop()
270 reply_buf); in server_loop()
329 sprintf(reply_buf, "%8d\n", getpid()); in server_loop()
331 write_all(fd_pidfile, reply_buf, strlen(reply_buf)); in server_loop()
367 sprintf(reply_buf, "%d", getpid()); in server_loop()
368 reply_len = strlen(reply_buf)+1; in server_loop()
371 sprintf(reply_buf, "%d", UUIDD_MAX_OP); in server_loop()
372 reply_len = strlen(reply_buf)+1; in server_loop()
381 memcpy(reply_buf, uu, sizeof(uu)); in server_loop()
391 memcpy(reply_buf, uu, sizeof(uu)); in server_loop()
404 memcpy(reply_buf, uu, sizeof(uu)); in server_loop()
406 memcpy(reply_buf+reply_len, &num, sizeof(num)); in server_loop()
414 if (num*16 > (int) (sizeof(reply_buf)-sizeof(num))) in server_loop()
415 num = (sizeof(reply_buf)-sizeof(num)) / 16; in server_loop()
416 uuid__generate_random((unsigned char *) reply_buf + in server_loop()
420 for (i=0, cp=reply_buf+sizeof(num); in server_loop()
427 memcpy(reply_buf, &num, sizeof(num)); in server_loop()
435 write_all(ns, reply_buf, reply_len); in server_loop()