Home
last modified time | relevance | path

Searched refs:dp2 (Results 1 – 4 of 4) sorted by relevance

/openbmc/u-boot/lib/efi_selftest/
H A Defi_selftest_devicepath_util.c95 struct efi_device_path *dp2; in execute() local
140 ret = create_single_node_device_path(17, &dp2); in execute()
144 dp3 = dpu->append_device_path(dp1, dp2); in execute()
149 if (dp3 == dp1 || dp3 == dp2) { in execute()
160 ret = boottime->free_pool(dp2); in execute()
166 dp2 = dpu->append_device_node(dp1, dp3); in execute()
167 if (!dp2) { in execute()
171 len = dpu->get_device_path_size(dp2); in execute()
185 if (dpu->is_device_path_multi_instance(dp2)) { in execute()
191 dp1 = dpu->append_device_path_instance(dp2, dp3); in execute()
[all …]
H A Defi_selftest_devicepath.c45 static u8 *dp2; variable
93 (void **)&dp2); in setup()
112 boottime->copy_mem(dp2, &vendor_node, in setup()
119 boottime->copy_mem(dp2 + sizeof(struct efi_device_path_vendor), in setup()
134 boottime->copy_mem(dp2 + 2 * sizeof(struct efi_device_path_vendor), in setup()
158 dp2); in setup()
210 dp2); in teardown()
236 if (dp2) { in teardown()
237 ret = boottime->free_pool(dp2); in teardown()
324 (struct efi_device_path *)dp2, true, false); in execute()
/openbmc/u-boot/lib/efi_loader/
H A Defi_device_path.c275 const struct efi_device_path *dp2) in efi_dp_append() argument
279 if (!dp1 && !dp2) { in efi_dp_append()
283 ret = efi_dp_dup(dp2); in efi_dp_append()
284 } else if (!dp2) { in efi_dp_append()
289 unsigned sz2 = efi_dp_size(dp2); in efi_dp_append()
295 memcpy(p + sz1, dp2, sz2 + sizeof(END)); in efi_dp_append()
/openbmc/u-boot/include/
H A Defi_loader.h425 const struct efi_device_path *dp2);