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