/external/ltp/lib/ |
D | tst_device.c | 46 static char dev_path[1024]; variable 60 snprintf(dev_path, sizeof(dev_path), dev_variants[i], dev); in set_dev_path() 62 if (stat(dev_path, &st) == 0 && S_ISBLK(st.st_mode)) in set_dev_path() 82 tst_resm(TINFO, "Found free device '%s'", dev_path); in find_free_loopdev() 110 dev_fd = open(dev_path, O_RDONLY); in find_free_loopdev() 116 tst_resm(TINFO, "Device '%s' in use", dev_path); in find_free_loopdev() 120 tst_resm(TINFO, "Found free device '%s'", dev_path); in find_free_loopdev() 269 if (attach_device(dev_path, DEV_FILE)) in tst_acquire_device__() 274 return dev_path; in tst_acquire_device__()
|
/external/rootdev/ |
D | rootdev.c | 346 const char *dev_path) { in rootdev_get_path() argument 349 if (!dev_path) in rootdev_get_path() 350 dev_path = kDefaultDevPath; in rootdev_get_path() 355 path_len = snprintf(path, size, "%s/%s", dev_path, device); in rootdev_get_path() 356 if (path_len != strlen(dev_path) + 1 + strlen(device)) in rootdev_get_path() 370 const char *search, const char *dev_path) { in rootdev_wrapper() argument 375 if (!dev_path) in rootdev_wrapper() 376 dev_path = kDefaultDevPath; in rootdev_wrapper() 398 res = rootdev_get_path(path, size, devname, dev_path); in rootdev_wrapper()
|
D | rootdev.h | 40 const char *search, const char *dev_path); 89 const char *dev_path);
|
/external/autotest/client/site_tests/security_DeviceJail_Lockdown/ |
D | security_DeviceJail_Lockdown.py | 60 dev_path, dev_intf = self._find_device_with_interface() 61 if not dev_path: 63 logging.info('Using device %s, interface %d', dev_path, dev_intf) 65 with device_jail_utils.JailDevice(dev_path) as jail:
|
/external/autotest/server/site_tests/firmware_Cr50Update/ |
D | control.erase_nvmem | 33 If dev_path is not specified, then the test will get the cr50 devids and 40 @param dev_path: the location of the dev image. Must be built with CR50_DEV=1 54 dev_path = args_dict.get("dev_path", "") 62 dev_path=dev_path, test=test, iterations=iterations)
|
D | control | 39 If dev_path is not specified, then the test will get the cr50 devids and 46 @param dev_path: the location of the dev image. Must be built with CR50_DEV=1 67 dev_path = args_dict.get("dev_path", "") 76 old_release_ver=old_release_ver, dev_path=dev_path,
|
D | firmware_Cr50Update.py | 42 old_release_path="", old_release_ver="", dev_path="", argument 85 self.add_image_to_update_order(self.DEV_NAME, dev_path)
|
/external/syslinux/gnu-efi/gnu-efi-3.0/apps/ |
D | t6.c | 17 EFI_DEVICE_PATH *dev_path; in efi_main() 32 BS->HandleProtocol(loaded_image->DeviceHandle, &DevicePathProtocol, (void **) &dev_path); in efi_main() 34 Print(L"Image device : %s\n", DevicePathToStr(dev_path)); in efi_main()
|
/external/autotest/client/site_tests/security_DeviceJail_Detach/ |
D | security_DeviceJail_Detach.py | 57 dev_path = device.device_node 59 logging.info('Found device %s', dev_path) 61 with device_jail_utils.JailDevice(dev_path) as jail:
|
/external/toolchain-utils/crosperf/ |
D | translate_xbuddy.py | 9 dev_path = os.path.expanduser('~/trunk/src/platform/dev') variable 10 sys.path.append(dev_path)
|
/external/autotest/client/site_tests/security_DeviceJail_AllowDeny/ |
D | security_DeviceJail_AllowDeny.py | 25 dev_path = usb_devices[0].device_node 26 with device_jail_utils.JailDevice(dev_path) as jail:
|
/external/ltp/testcases/kernel/device-drivers/acpi/ |
D | ltp_acpi.c | 34 static const char dev_path[] = "/sys/devices/" ACPI_TEST_NAME "/path"; variable 80 if (read_sysfs_file(dev_path, sysfs_path + 4, 4092)) { in tc_acpi_str()
|
/external/libese/libese-hw/nxp/include/ese/hw/nxp/pn80t/boards/ |
D | hikey-spidev.h | 21 .dev_path = "/dev/spidev0.0",
|
/external/libese/libese-hw/nxp/include/ese/hw/nxp/ |
D | spi_board.h | 29 const char *dev_path; member
|
/external/syslinux/com32/include/syslinux/ |
D | disk.h | 85 char dev_path[8]; member
|
/external/libese/libese-hw/nxp/pn80t/ |
D | linux_spidev.c | 140 handle->spi_fd = open(board->dev_path, O_RDWR); in platform_init()
|
/external/syslinux/core/fs/ |
D | diskio_bios.c | 35 uint8_t dev_path[16]; member
|