/external/ltp/testcases/kernel/syscalls/quotactl/ |
D | quotactl02.h | 44 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()
|
D | quotactl04.c | 108 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()
|
D | quotactl06.c | 104 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()
|
D | quotactl01.c | 185 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()
|
D | quotactl03.c | 48 TEST(quotactl(QCMD(Q_XGETNEXTQUOTA, USRQUOTA), tst_device->dev, in verify_quota()
|
/external/ltp/testcases/kernel/syscalls/ioctl/ |
D | ioctl04.c | 41 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()
|
D | ioctl06.c | 45 fd = SAFE_OPEN(tst_device->dev, O_RDONLY); in setup()
|
D | ioctl05.c | 28 fd = SAFE_OPEN(tst_device->dev, O_RDONLY); in verify_ioctl()
|
/external/ltp/include/ |
D | tst_device.h | 23 struct tst_device { struct 31 extern struct tst_device *tst_device; argument
|
/external/ltp/testcases/kernel/syscalls/statx/ |
D | statx05.c | 95 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()
|
D | statx04.c | 130 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/ |
D | inotify03.c | 58 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/ |
D | sync_file_range02.c | 52 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/ |
D | umount01.c | 21 SAFE_MOUNT(tst_device->dev, MNTPOINT, in verify_umount() 22 tst_device->fs_type, 0, NULL); in verify_umount()
|
D | umount03.c | 43 SAFE_MOUNT(tst_device->dev, MNTPOINT, tst_device->fs_type, 0, NULL); in setup()
|
D | umount02.c | 66 SAFE_MOUNT(tst_device->dev, MNTPOINT, tst_device->fs_type, 0, NULL); in setup()
|
/external/ltp/testcases/kernel/syscalls/readahead/ |
D | readahead02.c | 272 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/ |
D | fdatasync03.c | 36 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/ |
D | sync03.c | 36 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/ |
D | fsync04.c | 36 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/ |
D | syncfs01.c | 37 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 | .gitignore | 3 /tst_device
|
D | Makefile | 30 tst_device tst_net_iface_prefix tst_net_ip_prefix tst_net_vars\
|
/external/ltp/lib/newlib_tests/ |
D | .gitignore | 19 tst_device
|
D | tst_device.c | 18 dev = tst_device->dev; in do_test()
|