Home
last modified time | relevance | path

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

12

/external/ltp/testcases/kernel/syscalls/quotactl/
Dquotactl02.h44 TEST(quotactl(QCMD(Q_XGETNEXTQUOTA, quotatype), tst_device->dev, in check_support_cmd()
49 TEST(quotactl(QCMD(Q_XGETQSTATV, quotatype), tst_device->dev, test_id, in check_support_cmd()
60 res = quotactl(subcmd, tst_device->dev, test_id, (void *) &res_qstat); in check_qoff()
80 res = quotactl(subcmd, tst_device->dev, test_id, (void *) &res_qstat); in check_qon()
102 res = quotactl(subcmd, tst_device->dev, test_id, (void *) &res_qstatv); in check_qoffv()
124 res = quotactl(subcmd, tst_device->dev, test_id, (void *) &res_qstatv); in check_qonv()
146 res = quotactl(subcmd, tst_device->dev, test_id, (void *) &res_dquota); in check_qlim()
Dquotactl04.c108 SAFE_MKFS(tst_device->dev, tst_device->fs_type, NULL, extra_opts); in setup()
109 SAFE_MOUNT(tst_device->dev, MNTPOINT, tst_device->fs_type, 0, "quota"); in setup()
129 TEST(quotactl(tc->cmd, tst_device->dev, *tc->id, tc->addr)); in verify_quota()
Dquotactl06.c104 TEST(quotactl(QCMD(Q_QUOTAON, USRQUOTA), tst_device->dev, FMTID, USRPATH)); in verify_quotactl()
119 TEST(quotactl(tc->cmd, tst_device->dev, *tc->id, tc->addr)); in verify_quotactl()
133 TEST(quotactl(QCMD(Q_QUOTAOFF, USRQUOTA), tst_device->dev, FMTID, USRPATH)); in verify_quotactl()
170 TEST(quotactl(QCMD(Q_GETNEXTQUOTA, USRQUOTA), tst_device->dev, in setup()
Dquotactl01.c185 TEST(quotactl(QCMD(Q_GETNEXTQUOTA, USRQUOTA), tst_device->dev, in setup()
207 TEST(quotactl(tc->cmd, tst_device->dev, *tc->id, tc->addr)); in verify_quota()
Dquotactl03.c48 TEST(quotactl(QCMD(Q_XGETNEXTQUOTA, USRQUOTA), tst_device->dev, in verify_quota()
/external/ltp/testcases/kernel/syscalls/ioctl/
Dioctl04.c41 TEST(mount(tst_device->dev, "mntpoint", tst_device->fs_type, 0, NULL)); in verify_ioctl()
58 TEST(mount(tst_device->dev, "mntpoint", tst_device->fs_type, MS_RDONLY, NULL)); in verify_ioctl()
74 fd = SAFE_OPEN(tst_device->dev, O_RDONLY); in setup()
Dioctl06.c45 fd = SAFE_OPEN(tst_device->dev, O_RDONLY); in setup()
Dioctl05.c28 fd = SAFE_OPEN(tst_device->dev, O_RDONLY); in verify_ioctl()
/external/ltp/include/
Dtst_device.h23 struct tst_device { struct
31 extern struct tst_device *tst_device; argument
/external/ltp/testcases/kernel/syscalls/statx/
Dstatx05.c95 SAFE_MKFS(tst_device->dev, tst_device->fs_type, NULL, extra_opts); in setup()
96 SAFE_MOUNT(tst_device->dev, MNTPOINT, tst_device->fs_type, 0, 0); in setup()
Dstatx04.c130 if (!strcmp(tst_device->fs_type, "ntfs")) { in caid_flags_setup()
155 if (!strcmp(tst_device->fs_type, "btrfs") && tst_kvercmp(4, 13, 0) < 0) in setup()
/external/ltp/testcases/kernel/syscalls/inotify/
Dinotify03.c58 SAFE_MOUNT(tst_device->dev, mntpoint, tst_device->fs_type, 0, NULL); in verify_inotify()
71 tst_res(TINFO, "umount %s", tst_device->dev); in verify_inotify()
135 SAFE_MOUNT(tst_device->dev, mntpoint, tst_device->fs_type, 0, NULL); in setup()
/external/ltp/testcases/kernel/syscalls/sync_file_range/
Dsync_file_range02.c52 tst_dev_bytes_written(tst_device->dev); in verify_sync_file_range()
64 written = tst_dev_bytes_written(tst_device->dev); in verify_sync_file_range()
110 if (!strcmp(tst_device->fs_type, "vfat")) { in setup()
/external/ltp/testcases/kernel/syscalls/umount/
Dumount01.c21 SAFE_MOUNT(tst_device->dev, MNTPOINT, in verify_umount()
22 tst_device->fs_type, 0, NULL); in verify_umount()
Dumount03.c43 SAFE_MOUNT(tst_device->dev, MNTPOINT, tst_device->fs_type, 0, NULL); in setup()
Dumount02.c66 SAFE_MOUNT(tst_device->dev, MNTPOINT, tst_device->fs_type, 0, NULL); in setup()
/external/ltp/testcases/kernel/syscalls/readahead/
Dreadahead02.c272 tst_device->fs_type); in test_readahead()
281 tst_device->fs_type); in test_readahead()
342 SAFE_LSTAT(tst_device->dev, &sbuf); in setup_readahead_length()
344 SAFE_READLINK(tst_device->dev, tmp, PATH_MAX); in setup_readahead_length()
346 strcpy(tmp, tst_device->dev); in setup_readahead_length()
/external/ltp/testcases/kernel/syscalls/fdatasync/
Dfdatasync03.c36 tst_dev_bytes_written(tst_device->dev); in verify_fdatasync()
45 written = tst_dev_bytes_written(tst_device->dev); in verify_fdatasync()
/external/ltp/testcases/kernel/syscalls/sync/
Dsync03.c36 tst_dev_bytes_written(tst_device->dev); in verify_sync()
45 written = tst_dev_bytes_written(tst_device->dev); in verify_sync()
/external/ltp/testcases/kernel/syscalls/fsync/
Dfsync04.c36 tst_dev_bytes_written(tst_device->dev); in verify_fsync()
45 written = tst_dev_bytes_written(tst_device->dev); in verify_fsync()
/external/ltp/testcases/kernel/syscalls/syncfs/
Dsyncfs01.c37 tst_dev_bytes_written(tst_device->dev); in verify_syncfs()
46 written = tst_dev_bytes_written(tst_device->dev); in verify_syncfs()
/external/ltp/testcases/lib/
D.gitignore3 /tst_device
DMakefile30 tst_device tst_net_iface_prefix tst_net_ip_prefix tst_net_vars\
/external/ltp/lib/newlib_tests/
D.gitignore19 tst_device
Dtst_device.c18 dev = tst_device->dev; in do_test()

12