/external/ltp/lib/ |
D | tst_device.c | 43 static char dev_path[1024]; variable 57 snprintf(dev_path, sizeof(dev_path), dev_variants[i], dev); in set_dev_path() 59 if (stat(dev_path, &st) == 0 && S_ISBLK(st.st_mode)) in set_dev_path() 79 tst_resm(TINFO, "Found free device '%s'", dev_path); in find_free_loopdev() 107 dev_fd = open(dev_path, O_RDONLY); in find_free_loopdev() 113 tst_resm(TINFO, "Device '%s' in use", dev_path); in find_free_loopdev() 117 tst_resm(TINFO, "Found free device '%s'", dev_path); in find_free_loopdev() 227 attach_device(cleanup_fn, dev_path, DEV_FILE); in tst_acquire_device() 231 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/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/autotest/client/site_tests/hardware_TrackpadFunction/ |
D | hardware_TrackpadFunction.py | 67 dev_path = named_device.get(KEY_DEVPATH) 95 if (dev.get(KEY_DEVPATH, '').find(dev_path) == 0 and
|
/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
|