/external/ltp/testcases/kernel/firmware/fw_load_kernel/ |
D | ltp_fw_load.c | 60 static struct device tdev = { variable 87 err = request_firmware(&fw_entry, name, &tdev); in try_request_fw() 133 err = device_register(&tdev); in test_init() 140 err = device_create_file(&tdev, &dev_attr_result); in test_init() 143 device_unregister(&tdev); in test_init() 146 err = device_create_file(&tdev, &dev_attr_fwnum); in test_init() 149 device_remove_file(&tdev, &dev_attr_result); in test_init() 150 device_unregister(&tdev); in test_init() 158 device_remove_file(&tdev, &dev_attr_result); in test_exit() 159 device_remove_file(&tdev, &dev_attr_fwnum); in test_exit() [all …]
|
/external/ltp/testcases/kernel/device-drivers/uaccess/ |
D | ltp_uaccess.c | 47 static struct device tdev = { variable 102 err = device_register(&tdev); in uaccess_init() 109 err = device_create_file(&tdev, &dev_attr_result); in uaccess_init() 115 err = device_create_file(&tdev, &dev_attr_tcase); in uaccess_init() 124 device_remove_file(&tdev, &dev_attr_result); in uaccess_init() 126 device_unregister(&tdev); in uaccess_init() 136 device_remove_file(&tdev, &dev_attr_result); in module_init() 137 device_remove_file(&tdev, &dev_attr_tcase); in module_init() 138 device_unregister(&tdev); in module_init()
|
/external/ltp/testcases/kernel/device-drivers/acpi/ |
D | ltp_acpi_cmds.c | 528 static struct device tdev = { variable 618 err = device_register(&tdev); in init_module() 625 err = device_create_file(&tdev, &dev_attr_result); in init_module() 631 err = device_create_file(&tdev, &dev_attr_str); in init_module() 637 err = device_create_file(&tdev, &dev_attr_tcase); in init_module() 643 err = device_create_file(&tdev, &dev_attr_path); in init_module() 649 err = device_create_file(&tdev, &dev_attr_acpi_disabled); in init_module() 658 device_remove_file(&tdev, &dev_attr_path); in init_module() 660 device_remove_file(&tdev, &dev_attr_tcase); in init_module() 662 device_remove_file(&tdev, &dev_attr_str); in init_module() [all …]
|
/external/ltp/testcases/kernel/device-drivers/block/block_dev_kernel/ |
D | ltp_block_dev.c | 82 static struct device tdev = { variable 391 err = device_register(&tdev); in test_init_module() 398 err = device_create_file(&tdev, &dev_attr_result); in test_init_module() 404 err = device_create_file(&tdev, &dev_attr_tcase); in test_init_module() 413 device_remove_file(&tdev, &dev_attr_result); in test_init_module() 415 device_unregister(&tdev); in test_init_module() 424 device_remove_file(&tdev, &dev_attr_result); in test_exit_module() 425 device_remove_file(&tdev, &dev_attr_tcase); in test_exit_module() 426 device_unregister(&tdev); in test_exit_module()
|
/external/ltp/testcases/kernel/device-drivers/pci/tpci_kernel/ |
D | ltp_tpci.c | 658 static struct device tdev = { variable 709 err = device_register(&tdev); in tpci_init_module() 716 err = device_create_file(&tdev, &dev_attr_result); in tpci_init_module() 722 err = device_create_file(&tdev, &dev_attr_tcase); in tpci_init_module() 728 err = device_create_file(&tdev, &dev_attr_bus_slot); in tpci_init_module() 737 device_remove_file(&tdev, &dev_attr_tcase); in tpci_init_module() 739 device_remove_file(&tdev, &dev_attr_result); in tpci_init_module() 741 device_unregister(&tdev); in tpci_init_module() 756 device_remove_file(&tdev, &dev_attr_result); in module_init() 757 device_remove_file(&tdev, &dev_attr_tcase); in module_init() [all …]
|
/external/ltp/lib/ |
D | tst_test.c | 676 static struct tst_device tdev; variable 748 SAFE_MKFS(tdev.dev, tdev.fs_type, tst_test->dev_fs_opts, in prepare_device() 753 prepare_and_mount_ro_fs(tdev.dev, tst_test->mntpoint, in prepare_device() 754 tdev.fs_type); in prepare_device() 759 SAFE_MOUNT(tdev.dev, tst_test->mntpoint, tdev.fs_type, in prepare_device() 853 tdev.dev = tst_acquire_device_(NULL, tst_test->dev_min_size); in do_setup() 855 if (!tdev.dev) in do_setup() 858 tst_device = &tdev; in do_setup() 861 tdev.fs_type = tst_test->dev_fs_type; in do_setup() 863 tdev.fs_type = tst_dev_fs_type(); in do_setup() [all …]
|
/external/ltp/testcases/network/iproute/ |
D | ip_tests.sh | 144 local tdev="$(tst_iface)" 147 ip neigh replace $taddr lladdr 00:00:00:00:00:00 dev $tdev nud reachable 154 echo "$taddr dev $tdev lladdr 00:00:00:00:00:00 REACHABLE" > tst_ip.exp 170 ip neigh del $taddr dev $tdev
|
/external/autotest/client/common_lib/cros/ |
D | usb_devices.textfsm | 6 Value tdev ([0-9]+) 21 ^T:\s+Bus=${tbus}\s+Lev=${tlev}\sPrnt=${tprnt}\s+Port=${tport}\sCnt=${tcnt}\sDev\#=\s+${tdev}
|
/external/libusb-compat/libusb/ |
D | core.c | 342 struct usb_device *tdev = dev->next; in find_devices() local 344 dev = tdev; in find_devices() 600 struct usb_device *tdev = dev->next; in usb_find_devices() local 621 dev = tdev; in usb_find_devices() 627 struct usb_device *tdev = dev->next; in usb_find_devices() local 632 dev = tdev; in usb_find_devices() 639 dev = tdev; in usb_find_devices()
|