Lines Matching defs:output
50 void read_output(int fd, char *output, int len)
56 if (output == NULL) {
57 output = &c;
61 *output = '\0';
74 ret = read(fd, output, expected);
180 static int change_tramp(char **argv, char *output, int output_len)
196 read_output(fds[0], output, output_len);
214 char *output;
223 output = uml_kmalloc(output_len, UM_GFP_KERNEL);
224 if (output == NULL)
225 printk(UM_KERN_ERR "change : failed to allocate output "
228 pid = change_tramp(argv, output, output_len);
230 kfree(output);
234 if (output != NULL) {
235 printk("%s", output);
236 kfree(output);