1 /* SPDX-License-Identifier: GPL-2.0 */ << 2 #ifndef _LINUX_EARLYCPIO_H 1 #ifndef _LINUX_EARLYCPIO_H 3 #define _LINUX_EARLYCPIO_H 2 #define _LINUX_EARLYCPIO_H 4 3 5 #include <linux/types.h> 4 #include <linux/types.h> 6 5 7 #define MAX_CPIO_FILE_NAME 18 6 #define MAX_CPIO_FILE_NAME 18 8 7 9 struct cpio_data { 8 struct cpio_data { 10 void *data; 9 void *data; 11 size_t size; 10 size_t size; 12 char name[MAX_CPIO_FILE_NAME]; 11 char name[MAX_CPIO_FILE_NAME]; 13 }; 12 }; 14 13 15 struct cpio_data find_cpio_data(const char *pa 14 struct cpio_data find_cpio_data(const char *path, void *data, size_t len, 16 long *offset); 15 long *offset); 17 16 18 #endif /* _LINUX_EARLYCPIO_H */ 17 #endif /* _LINUX_EARLYCPIO_H */ 19 18
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.