Lines Matching defs:data
215 /* Wrong data */
224 static void show_xbc_error(const char *data, const char *msg, int pos)
236 if (data[i] == '\n') {
343 char *buf, *data, *p;
359 /* Backup the bootconfig data */
360 data = calloc(size + BOOTCONFIG_ALIGN +
362 if (!data)
364 memcpy(data, buf, size);
366 /* Check the data format */
369 show_xbc_error(data, msg, pos);
370 free(data);
388 free(data);
397 free(data);
413 p = data + size;
423 total_size = p - data;
425 ret = write(fd, data, total_size);
437 free(data);