/freebsd/contrib/netbsd-tests/dev/cgd/ |
H A D | t_cgd_blowfish.c | 1932 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 D | t_cgd_aes.c | 3097 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 D | t_cgd_3des.c | 696 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 D | proto.c | 138 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 D | efihttp.c | 182 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 D | proto.c | 53 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 D | boot1.c | 174 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 D | proto.h | 26 void choice_protocol(EFI_HANDLE *handles, UINTN nhandles, EFI_DEVICE_PATH *imgpath);
|
/freebsd/stand/efi/loader/ |
H A D | main.c | 1161 EFI_DEVICE_PATH *imgpath; in main() local 1348 (void **)&imgpath); in main() 1350 text = efi_devpath_name(imgpath); in main()
|