Searched refs:sbh (Results 1 – 1 of 1) sorted by relevance
26 static int sfi_table_check(struct sfi_table_header *sbh) in sfi_table_check() argument29 char *pos = (char *)sbh; in sfi_table_check()32 if (sbh->len < SFI_TABLE_LENGTH) in sfi_table_check()35 if (sbh->len > SFI_LENGTH) in sfi_table_check()38 for (i = 0; i < sbh->len; i++) in sfi_table_check()48 static int sfi_table_is_type(struct sfi_table_header *sbh, const char *signature) in sfi_table_is_type() argument50 return !strncmp(sbh->sig, signature, SFI_SIGNATURE_SIZE) && in sfi_table_is_type()51 !sfi_table_check(sbh); in sfi_table_is_type()71 struct sfi_table_header *sbh; in sfi_search_mmap() local83 sys_entry_cnt = (sb->header.len - sizeof(*sbh)) / 8; in sfi_search_mmap()[all …]