Lines Matching defs:data
234 /* Wrong data */
243 static void show_xbc_error(const char *data, const char *msg, int pos)
255 if (data[i] == '\n') {
362 char *buf, *data, *p;
378 /* Backup the bootconfig data */
379 data = calloc(size + BOOTCONFIG_ALIGN +
381 if (!data)
383 memcpy(data, buf, size);
385 /* Check the data format */
388 show_xbc_error(data, msg, pos);
389 free(data);
408 free(data);
417 free(data);
433 p = data + size;
443 total_size = p - data;
445 ret = write(fd, data, total_size);
457 free(data);