Searched refs:efi_crc32 (Results 1 – 2 of 2) sorted by relevance
/openbmc/u-boot/disk/ |
H A D | part_efi.c | 38 static inline u32 efi_crc32(const void *buf, u32 len) in efi_crc32() function 97 calc_crc32 = efi_crc32((const unsigned char *)gpt_h, in validate_gpt_header() 146 calc_crc32 = efi_crc32((const unsigned char *)gpt_e, in validate_gpt_entries() 174 calc_crc32 = efi_crc32((const unsigned char *)gpt_h, in prepare_backup_gpt_header() 401 calc_crc32 = efi_crc32((const unsigned char *)gpt_e, in write_gpt_table() 406 calc_crc32 = efi_crc32((const unsigned char *)gpt_h, in write_gpt_table()
|
/openbmc/linux/block/partitions/ |
H A D | efi.c | 71 * - Moved crc32() to linux/lib, added efi_crc32(). 108 * efi_crc32() - EFI version of crc32 function 120 efi_crc32(const void *buf, unsigned long len) in efi_crc32() function 375 crc = efi_crc32((const unsigned char *) (*gpt), le32_to_cpu((*gpt)->header_size)); in is_gpt_valid() 434 crc = efi_crc32((const unsigned char *) (*ptes), pt_size); in is_gpt_valid()
|