Home
last modified time | relevance | path

Searched refs:imgpath (Results 1 – 9 of 9) sorted by relevance

/freebsd-13.1/contrib/netbsd-tests/dev/cgd/
H A Dt_cgd_blowfish.c1936 fd = open(imgpath, O_CREAT | O_RDWR | O_TRUNC, 0600); in open_disk()
1944 imgpath, RUMP_ETFS_BLK, 0, size) < 0) { in open_disk()
1948 unlink(imgpath); in open_disk()
1952 unlink(imgpath); in open_disk()
2057 const char imgpath[] = "blowfish-cbc-128-encblkno1.img"; in ATF_TC_BODY() local
2064 RL(dkfd = open_disk(dkpath, imgpath, dksize)); in ATF_TC_BODY()
2111 RL(dkfd = open_disk(dkpath, imgpath, dksize)); in ATF_TC_BODY()
2158 RL(dkfd = open_disk(dkpath, imgpath, dksize)); in ATF_TC_BODY()
2205 RL(dkfd = open_disk(dkpath, imgpath, dksize)); in ATF_TC_BODY()
2252 RL(dkfd = open_disk(dkpath, imgpath, dksize)); in ATF_TC_BODY()
[all …]
H A Dt_cgd_aes.c3109 imgpath, RUMP_ETFS_BLK, 0, size) < 0) { in open_disk()
3113 unlink(imgpath); in open_disk()
3117 unlink(imgpath); in open_disk()
3235 RL(dkfd = open_disk(dkpath, imgpath, dksize)); in ATF_TC_BODY()
3282 RL(dkfd = open_disk(dkpath, imgpath, dksize)); in ATF_TC_BODY()
3329 RL(dkfd = open_disk(dkpath, imgpath, dksize)); in ATF_TC_BODY()
3376 RL(dkfd = open_disk(dkpath, imgpath, dksize)); in ATF_TC_BODY()
3423 RL(dkfd = open_disk(dkpath, imgpath, dksize)); in ATF_TC_BODY()
3470 RL(dkfd = open_disk(dkpath, imgpath, dksize)); in ATF_TC_BODY()
3509 const char imgpath[] = "aes-xts-256.img"; in ATF_TC_BODY() local
[all …]
H A Dt_cgd_3des.c696 open_disk(const char *devpath, const char *imgpath, size_t size) in open_disk() argument
700 fd = open(imgpath, O_CREAT | O_RDWR | O_TRUNC, 0600); in open_disk()
708 imgpath, RUMP_ETFS_BLK, 0, size) < 0) { in open_disk()
712 unlink(imgpath); in open_disk()
716 unlink(imgpath); in open_disk()
821 const char imgpath[] = "3des-cbc-192-encblkno1.img"; in ATF_TC_BODY() local
828 RL(dkfd = open_disk(dkpath, imgpath, dksize)); in ATF_TC_BODY()
868 const char imgpath[] = "3des-cbc-192-encblkno8.img"; in ATF_TC_BODY() local
875 RL(dkfd = open_disk(dkpath, imgpath, dksize)); in ATF_TC_BODY()
/freebsd-13.1/stand/efi/gptboot/
H A Dproto.c141 probe_handle(EFI_HANDLE h, EFI_DEVICE_PATH *imgpath) in probe_handle() argument
164 if (!efi_devpath_same_disk(imgpath, devpath)) { in probe_handle()
165 trimmed = efi_devpath_trim(imgpath); in probe_handle()
203 probe_handles(EFI_HANDLE *handles, UINTN nhandles, EFI_DEVICE_PATH *imgpath) in probe_handles() argument
208 probe_handle(handles[i], imgpath); in probe_handles()
225 choice_protocol(EFI_HANDLE *handles, UINTN nhandles, EFI_DEVICE_PATH *imgpath) in choice_protocol() argument
238 probe_handles(handles, nhandles, imgpath); in choice_protocol()
/freebsd-13.1/stand/efi/libefi/
H A Defihttp.c187 EFI_DEVICE_PATH *imgpath, *devpath; in efihttp_dev_init() local
195 if (imgpath == NULL) in efihttp_dev_init()
197 devpath = imgpath; in efihttp_dev_init()
236 EFI_DEVICE_PATH *devpath, *imgpath; in efihttp_dev_open() local
252 if (imgpath == NULL) in efihttp_dev_open()
254 devpath = imgpath; in efihttp_dev_open()
262 for (; !IsDevicePathEnd(imgpath); in efihttp_dev_open()
263 imgpath = NextDevicePathNode(imgpath)) { in efihttp_dev_open()
271 ipv4 = (IPv4_DEVICE_PATH *)imgpath; in efihttp_dev_open()
274 dns = (DNS_DEVICE_PATH *)imgpath; in efihttp_dev_open()
[all …]
/freebsd-13.1/stand/efi/boot1/
H A Dproto.c56 probe_handle(EFI_HANDLE h, EFI_DEVICE_PATH *imgpath) in probe_handle() argument
95 preferred = efi_devpath_same_disk(imgpath, devpath); in probe_handle()
157 choice_protocol(EFI_HANDLE *handles, UINTN nhandles, EFI_DEVICE_PATH *imgpath) in choice_protocol() argument
199 rv = probe_handle(handles[i], imgpath); in choice_protocol()
H A Dboot1.c157 EFI_DEVICE_PATH *imgpath; in efi_main() local
225 imgpath = NULL; in efi_main()
235 &DevicePathGUID, (void **)&imgpath); in efi_main()
240 text = efi_devpath_name(imgpath); in efi_main()
249 choice_protocol(handles, nhandles, imgpath); in efi_main()
H A Dproto.h28 void choice_protocol(EFI_HANDLE *handles, UINTN nhandles, EFI_DEVICE_PATH *imgpath);
/freebsd-13.1/stand/efi/loader/
H A Dmain.c895 EFI_DEVICE_PATH *imgpath; in main() local
1064 (void **)&imgpath); in main()
1066 text = efi_devpath_name(imgpath); in main()