earlycpio.h 320 B

1234567891011121314151617
  1. #ifndef _LINUX_EARLYCPIO_H
  2. #define _LINUX_EARLYCPIO_H
  3. #include <linux/types.h>
  4. #define MAX_CPIO_FILE_NAME 18
  5. struct cpio_data {
  6. void *data;
  7. size_t size;
  8. char name[MAX_CPIO_FILE_NAME];
  9. };
  10. struct cpio_data find_cpio_data(const char *path, void *data, size_t len,
  11. long *offset);
  12. #endif /* _LINUX_EARLYCPIO_H */