Home
last modified time | relevance | path

Searched refs:tdev (Results 1 – 8 of 8) sorted by relevance

/external/ltp/testcases/kernel/firmware/fw_load_kernel/
Dltp_fw_load.c60 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/
Dltp_uaccess.c47 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/
Dltp_acpi_cmds.c536 static struct device tdev = { variable
626 err = device_register(&tdev); in init_module()
633 err = device_create_file(&tdev, &dev_attr_result); in init_module()
639 err = device_create_file(&tdev, &dev_attr_str); in init_module()
645 err = device_create_file(&tdev, &dev_attr_tcase); in init_module()
651 err = device_create_file(&tdev, &dev_attr_path); in init_module()
657 err = device_create_file(&tdev, &dev_attr_acpi_disabled); in init_module()
666 device_remove_file(&tdev, &dev_attr_path); in init_module()
668 device_remove_file(&tdev, &dev_attr_tcase); in init_module()
670 device_remove_file(&tdev, &dev_attr_str); in init_module()
[all …]
/external/ltp/testcases/kernel/device-drivers/block/block_dev_kernel/
Dltp_block_dev.c70 static struct device tdev = { variable
396 err = device_register(&tdev); in test_init_module()
403 err = device_create_file(&tdev, &dev_attr_result); in test_init_module()
409 err = device_create_file(&tdev, &dev_attr_tcase); in test_init_module()
418 device_remove_file(&tdev, &dev_attr_result); in test_init_module()
420 device_unregister(&tdev); in test_init_module()
429 device_remove_file(&tdev, &dev_attr_result); in test_exit_module()
430 device_remove_file(&tdev, &dev_attr_tcase); in test_exit_module()
431 device_unregister(&tdev); in test_exit_module()
/external/ltp/testcases/kernel/device-drivers/pci/tpci_kernel/
Dltp_tpci.c658 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/
Dtst_test.c758 static struct tst_device tdev; variable
830 SAFE_MKFS(tdev.dev, tdev.fs_type, tst_test->dev_fs_opts, in prepare_device()
835 prepare_and_mount_ro_fs(tdev.dev, tst_test->mntpoint, in prepare_device()
836 tdev.fs_type); in prepare_device()
841 SAFE_MOUNT(tdev.dev, tst_test->mntpoint, tdev.fs_type, in prepare_device()
941 tdev.dev = tst_acquire_device_(NULL, tst_test->dev_min_size); in do_setup()
943 if (!tdev.dev) in do_setup()
946 tst_device = &tdev; in do_setup()
949 tdev.fs_type = tst_test->dev_fs_type; in do_setup()
951 tdev.fs_type = tst_dev_fs_type(); in do_setup()
[all …]
/external/ltp/testcases/network/iproute/
Dip_tests.sh128 local tdev="$(tst_iface)"
131 ip neigh replace $taddr lladdr 00:00:00:00:00:00 dev $tdev nud reachable
138 echo "$taddr dev $tdev lladdr 00:00:00:00:00:00 REACHABLE" > tst_ip.exp
154 ip neigh del $taddr dev $tdev
/external/autotest/client/common_lib/cros/
Dusb_devices.textfsm6 Value tdev ([0-9]+)
21 ^T:\s+Bus=${tbus}\s+Lev=${tlev}\sPrnt=${tprnt}\s+Port=${tport}\sCnt=${tcnt}\sDev\#=\s+${tdev}