Searched refs:efi_dp_check_length (Results 1 – 4 of 4) sorted by relevance
/u-boot/test/lib/ |
A D | efi_device_path.c | 31 ut_asserteq((ssize_t)-EINVAL, efi_dp_check_length(p1, SIZE_MAX)); in lib_test_efi_dp_check_length() 32 ut_asserteq((ssize_t)sizeof(d1), efi_dp_check_length(p1, sizeof(d1))); in lib_test_efi_dp_check_length() 34 efi_dp_check_length(p1, sizeof(d1) + 4)); in lib_test_efi_dp_check_length() 35 ut_asserteq((ssize_t)-1, efi_dp_check_length(p1, sizeof(d1) - 1)); in lib_test_efi_dp_check_length() 37 ut_asserteq((ssize_t)-1, efi_dp_check_length(p2, sizeof(d2))); in lib_test_efi_dp_check_length() 39 ut_asserteq((ssize_t)-1, efi_dp_check_length(p3, sizeof(d3) - 1)); in lib_test_efi_dp_check_length() 40 ut_asserteq((ssize_t)sizeof(d3), efi_dp_check_length(p3, sizeof(d3))); in lib_test_efi_dp_check_length() 41 ut_asserteq((ssize_t)sizeof(d3), efi_dp_check_length(p3, SSIZE_MAX)); in lib_test_efi_dp_check_length() 43 efi_dp_check_length(p3, (size_t)SSIZE_MAX + 1)); in lib_test_efi_dp_check_length() 45 efi_dp_check_length(p3, sizeof(d3) + 4)); in lib_test_efi_dp_check_length()
|
/u-boot/lib/efi_loader/ |
A D | efi_load_options.c | 91 if (efi_dp_check_length(lo->file_path, len) < 0) in efi_deserialize_load_option()
|
A D | efi_device_path.c | 1165 ssize_t efi_dp_check_length(const struct efi_device_path *dp, in efi_dp_check_length() function
|
/u-boot/include/ |
A D | efi_loader.h | 662 ssize_t efi_dp_check_length(const struct efi_device_path *dp,
|
Completed in 8 milliseconds