Home
last modified time | relevance | path

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

/freebsd/contrib/netbsd-tests/dev/cgd/
H A Dt_cgd_blowfish.c1932 open_disk(const char *devpath, const char *imgpath, size_t size) in open_disk() argument
1936 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()
2104 const char imgpath[] = "blowfish-cbc-128-encblkno8.img"; in ATF_TC_BODY() local
2111 RL(dkfd = open_disk(dkpath, imgpath, dksize)); in ATF_TC_BODY()
2151 const char imgpath[] = "blowfish-cbc-256-encblkno1.img"; in ATF_TC_BODY() local
[all …]
H A Dt_cgd_aes.c3097 open_disk(const char *devpath, const char *imgpath, size_t size) in open_disk() argument
3101 fd = open(imgpath, O_CREAT | O_RDWR | O_TRUNC, 0600); in open_disk()
3109 imgpath, RUMP_ETFS_BLK, 0, size) < 0) { in open_disk()
3113 unlink(imgpath); in open_disk()
3117 unlink(imgpath); in open_disk()
3228 const char imgpath[] = "aes-cbc-128-encblkno1.img"; in ATF_TC_BODY() local
3235 RL(dkfd = open_disk(dkpath, imgpath, dksize)); in ATF_TC_BODY()
3275 const char imgpath[] = "aes-cbc-128-encblkno8.img"; in ATF_TC_BODY() local
3282 RL(dkfd = open_disk(dkpath, imgpath, dksize)); in ATF_TC_BODY()
3322 const char imgpath[] = "aes-cbc-192-encblkno1.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/stand/efi/gptboot/
H A Dproto.c138 probe_handle(EFI_HANDLE h, EFI_DEVICE_PATH *imgpath) in probe_handle() argument
161 if (!efi_devpath_same_disk(imgpath, devpath)) { in probe_handle()
162 trimmed = efi_devpath_trim(imgpath); in probe_handle()
200 probe_handles(EFI_HANDLE *handles, UINTN nhandles, EFI_DEVICE_PATH *imgpath) in probe_handles() argument
205 probe_handle(handles[i], imgpath); in probe_handles()
222 choice_protocol(EFI_HANDLE *handles, UINTN nhandles, EFI_DEVICE_PATH *imgpath) in choice_protocol() argument
235 probe_handles(handles, nhandles, imgpath); in choice_protocol()
/freebsd/stand/efi/libefi/
H A Defihttp.c182 EFI_DEVICE_PATH *imgpath, *devpath; in efihttp_dev_init() local
189 imgpath = efi_lookup_image_devpath(IH); in efihttp_dev_init()
190 if (imgpath == NULL) in efihttp_dev_init()
192 devpath = imgpath; in efihttp_dev_init()
206 status = BS->LocateDevicePath(&httpsb_guid, &imgpath, &handle); in efihttp_dev_init()
231 EFI_DEVICE_PATH *devpath, *imgpath; in efihttp_dev_open() local
246 imgpath = efi_lookup_image_devpath(IH); in efihttp_dev_open()
247 if (imgpath == NULL) in efihttp_dev_open()
249 devpath = imgpath; in efihttp_dev_open()
257 for (; !IsDevicePathEnd(imgpath); in efihttp_dev_open()
[all …]
/freebsd/stand/efi/boot1/
H A Dproto.c53 probe_handle(EFI_HANDLE h, EFI_DEVICE_PATH *imgpath) in probe_handle() argument
92 preferred = efi_devpath_same_disk(imgpath, devpath); in probe_handle()
154 choice_protocol(EFI_HANDLE *handles, UINTN nhandles, EFI_DEVICE_PATH *imgpath) in choice_protocol() argument
196 rv = probe_handle(handles[i], imgpath); in choice_protocol()
H A Dboot1.c174 EFI_DEVICE_PATH *imgpath; in efi_main() local
242 imgpath = NULL; in efi_main()
252 &DevicePathGUID, (void **)&imgpath); in efi_main()
257 text = efi_devpath_name(imgpath); in efi_main()
266 choice_protocol(handles, nhandles, imgpath); in efi_main()
H A Dproto.h26 void choice_protocol(EFI_HANDLE *handles, UINTN nhandles, EFI_DEVICE_PATH *imgpath);
/freebsd/stand/efi/loader/
H A Dmain.c1161 EFI_DEVICE_PATH *imgpath; in main() local
1348 (void **)&imgpath); in main()
1350 text = efi_devpath_name(imgpath); in main()