Searched refs:sh_psize (Results 1 – 1 of 1) sorted by relevance
359 * On success, @sh_psize returns the patch size according to the section header,363 __verify_patch_section(const u8 *buf, size_t buf_size, u32 *sh_psize) in __verify_patch_section() argument 388 *sh_psize = p_size; in __verify_patch_section() 395 * a patch of the indicated @sh_psize (and also whether this size does not396 * exceed the per-family maximum). @sh_psize is the size read from the section399 static bool __verify_patch_size(u32 sh_psize, size_t buf_size) in __verify_patch_size() argument 422 if (sh_psize > max_size) in __verify_patch_size() 427 return sh_psize <= buf_size; in __verify_patch_size() 442 u32 sh_psize; in verify_patch() local 446 if (!__verify_patch_section(buf, buf_size, &sh_psize)) in verify_patch() [all...]