Home
last modified time | relevance | path

Searched refs:dev_path (Results 1 – 17 of 17) sorted by relevance

/external/ltp/lib/
Dtst_device.c46 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/
Drootdev.c346 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()
Drootdev.h40 const char *search, const char *dev_path);
89 const char *dev_path);
/external/autotest/client/site_tests/security_DeviceJail_Lockdown/
Dsecurity_DeviceJail_Lockdown.py60 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/
Dcontrol.erase_nvmem33 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)
Dcontrol39 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,
Dfirmware_Cr50Update.py42 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/
Dt6.c17 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/
Dsecurity_DeviceJail_Detach.py57 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/
Dtranslate_xbuddy.py9 dev_path = os.path.expanduser('~/trunk/src/platform/dev') variable
10 sys.path.append(dev_path)
/external/autotest/client/site_tests/security_DeviceJail_AllowDeny/
Dsecurity_DeviceJail_AllowDeny.py25 dev_path = usb_devices[0].device_node
26 with device_jail_utils.JailDevice(dev_path) as jail:
/external/ltp/testcases/kernel/device-drivers/acpi/
Dltp_acpi.c34 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/
Dhikey-spidev.h21 .dev_path = "/dev/spidev0.0",
/external/libese/libese-hw/nxp/include/ese/hw/nxp/
Dspi_board.h29 const char *dev_path; member
/external/syslinux/com32/include/syslinux/
Ddisk.h85 char dev_path[8]; member
/external/libese/libese-hw/nxp/pn80t/
Dlinux_spidev.c140 handle->spi_fd = open(board->dev_path, O_RDWR); in platform_init()
/external/syslinux/core/fs/
Ddiskio_bios.c35 uint8_t dev_path[16]; member