Searched refs:sh_psize (Results 1 – 1 of 1) sorted by relevance
426 * On success, @sh_psize returns the patch size according to the section header,429 static bool __verify_patch_section(const u8 *buf, size_t buf_size, u32 *sh_psize) in __verify_patch_section() argument 454 *sh_psize = p_size; in __verify_patch_section() 461 * a patch of the indicated @sh_psize (and also whether this size does not462 * exceed the per-family maximum). @sh_psize is the size read from the section465 static bool __verify_patch_size(u32 sh_psize, size_t buf_size) in __verify_patch_size() argument 488 if (sh_psize > max_size) in __verify_patch_size() 493 return sh_psize <= buf_size; in __verify_patch_size() 509 u32 sh_psize; in verify_patch() local 513 if (!__verify_patch_section(buf, buf_size, &sh_psize)) in verify_patch() [all...]