Home
last modified time | relevance | path

Searched refs:tst_device (Results 1 – 19 of 19) sorted by relevance

/external/ltp/testcases/kernel/syscalls/ioctl/
Dioctl04.c53 TEST(mount(tst_device->dev, "mntpoint", tst_device->fs_type, 0, NULL)); in verify_ioctl()
70 TEST(mount(tst_device->dev, "mntpoint", tst_device->fs_type, MS_RDONLY, NULL)); in verify_ioctl()
86 fd = SAFE_OPEN(tst_device->dev, O_RDONLY); in setup()
Dioctl06.c57 fd = SAFE_OPEN(tst_device->dev, O_RDONLY); in setup()
Dioctl05.c40 fd = SAFE_OPEN(tst_device->dev, O_RDONLY); in verify_ioctl()
/external/ltp/include/
Dtst_device.h21 struct tst_device { struct
29 extern struct tst_device *tst_device; argument
/external/ltp/testcases/kernel/syscalls/quotactl/
Dquotactl02.c83 res = quotactl(QCMD(subcmd, USRQUOTA), tst_device->dev, in check_qoff()
104 res = quotactl(QCMD(subcmd, USRQUOTA), tst_device->dev, in check_qon()
127 res = quotactl(QCMD(subcmd, USRQUOTA), tst_device->dev, in check_qlim()
165 TEST(quotactl(tc->cmd, tst_device->dev, test_id, tc->addr)); in verify_quota()
Dquotactl03.c67 TEST(quotactl(QCMD(Q_XGETNEXTQUOTA, USRQUOTA), tst_device->dev, in verify_quota()
Dquotactl01.c193 TEST(quotactl(tc->cmd, tst_device->dev, *tc->id, tc->addr)); in verify_quota()
/external/ltp/testcases/kernel/syscalls/umount/
Dumount01.c34 SAFE_MOUNT(tst_device->dev, MNTPOINT, in verify_umount()
35 tst_device->fs_type, 0, NULL); in verify_umount()
Dumount03.c56 SAFE_MOUNT(tst_device->dev, MNTPOINT, tst_device->fs_type, 0, NULL); in setup()
Dumount02.c80 SAFE_MOUNT(tst_device->dev, MNTPOINT, tst_device->fs_type, 0, NULL); in setup()
/external/ltp/testcases/lib/
Dtst_test.sh45 if ! tst_device release "$TST_DEVICE"; then
310 TST_DEVICE=$(tst_device acquire)
D.gitignore6 /tst_device
DMakefile30 tst_device tst_net_iface_prefix tst_net_ip_prefix tst_net_vars
/external/ltp/lib/newlib_tests/
D.gitignore17 tst_device
Dtst_device.c30 dev = tst_device->dev; in do_test()
/external/ltp/lib/
Dtst_test.c663 static struct tst_device tdev;
664 struct tst_device *tst_device; variable
776 tst_device = &tdev; in do_setup()
/external/ltp/
D.gitignore74 /lib/tests/tst_device
Dgen.bp3498 stem: "tst_device",
3500 srcs: ["lib/tests/tst_device.c"],
16055 "lib/tst_device.c",
/external/ltp/doc/
Dtest-writing-guidelines.txt358 SAFE_MKFS(tst_device->dev, tst_device->fs_type, NULL, NULL);
359 SAFE_MOUNT(tst_device->dev, MNTPOINT, tst_device->fs_type, 0, 0);
915 If '.needs_device' flag in the 'struct tst_test' is set the the 'tst_device'
941 filesystem the 'tst_device.fs_type' is set to the currently tested fs type, if
952 struct tst_device {
957 extern struct tst_device *tst_device;
989 SAFE_MKFS(tst_device->dev, tst_device->fs_type, NULL, NULL);