earlycpio.h (359B)
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef _LINUX_EARLYCPIO_H 3#define _LINUX_EARLYCPIO_H 4 5#include <linux/types.h> 6 7#define MAX_CPIO_FILE_NAME 18 8 9struct cpio_data { 10 void *data; 11 size_t size; 12 char name[MAX_CPIO_FILE_NAME]; 13}; 14 15struct cpio_data find_cpio_data(const char *path, void *data, size_t len, 16 long *offset); 17 18#endif /* _LINUX_EARLYCPIO_H */