/third_party/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, fs_opts, NULL); 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 | quotactl07.c | 30 TEST(quotactl(QCMD(Q_XQUOTARM, USRQUOTA), tst_device->dev, 0, (void *)&invalid_type)); in verify_quota() 39 TEST(quotactl(QCMD(Q_XQUOTAOFF, USRQUOTA), tst_device->dev, 0, (void *)&qflag_acct)); in setup() 43 TEST(quotactl(QCMD(Q_XQUOTARM, USRQUOTA), tst_device->dev, 0, (void *)&valid_type)); in setup()
|
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() 160 TEST(quotactl(QCMD(Q_GETNEXTQUOTA, USRQUOTA), tst_device->dev, in setup()
|
/third_party/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()
|
/third_party/ltp/testcases/misc/lvm/ |
D | prepare_lvm.sh | 46 LVM_DEV1=`tst_device acquire 1040 "$LVM_IMGDIR/lvm_pv1.img"` 48 LVM_DEV2=`tst_device acquire 1040 "$LVM_IMGDIR/lvm_pv2.img"` 54 LVM_DEV3=`tst_device acquire $DEVSIZE "$LVM_IMGDIR/lvm_pv3.img"` 56 LVM_DEV4=`tst_device acquire $DEVSIZE "$LVM_IMGDIR/lvm_pv4.img"`
|
/third_party/ltp/include/ |
D | tst_device.h | 11 struct tst_device { struct 19 extern struct tst_device *tst_device; argument
|
/third_party/ltp/testcases/kernel/syscalls/statx/ |
D | statx05.c | 95 SAFE_MKFS(tst_device->dev, tst_device->fs_type, fs_opts, NULL); 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()
|
/third_party/ltp/testcases/kernel/syscalls/fsconfig/ |
D | fsconfig01.c | 25 TEST(fd = fsopen(tst_device->fs_type, 0)); in run() 33 TEST(fsconfig(fd, FSCONFIG_SET_STRING, "source", tst_device->dev, 0)); in run() 37 TEST(fsconfig(fd, FSCONFIG_SET_PATH, "sync", tst_device->dev, 0)); in run() 45 TEST(fsconfig(fd, FSCONFIG_SET_PATH_EMPTY, "sync", tst_device->dev, 0)); in run()
|
/third_party/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()
|
/third_party/ltp/testcases/kernel/syscalls/fsmount/ |
D | fsmount01.c | 44 TEST(sfd = fsopen(tst_device->fs_type, FSOPEN_CLOEXEC)); in run() 47 tst_device->fs_type); in run() 51 TEST(fsconfig(sfd, FSCONFIG_SET_STRING, "source", tst_device->dev, 0)); in run() 55 "fsconfig(FSCONFIG_SET_STRING) failed to set source to %s", tst_device->dev); in run()
|
D | fsmount02.c | 36 TEST(fd = fsopen(tst_device->fs_type, 0)); in setup() 40 TEST(fsconfig(fd, FSCONFIG_SET_STRING, "source", tst_device->dev, 0)); in setup()
|
/third_party/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()
|
/third_party/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()
|
/third_party/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()
|
/third_party/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()
|
/third_party/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()
|
/third_party/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()
|
/third_party/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()
|
/third_party/ltp/testcases/kernel/syscalls/fsopen/ |
D | fsopen01.c | 28 TEST(fd = fsopen(tst_device->fs_type, tc->flags)); in run() 34 TEST(fsconfig(fd, FSCONFIG_SET_STRING, "source", tst_device->dev, 0)); in run()
|
/third_party/ltp/testcases/kernel/syscalls/move_mount/ |
D | move_mount01.c | 31 TEST(fd = fsopen(tst_device->fs_type, 0)); in run() 37 TEST(fsconfig(fd, FSCONFIG_SET_STRING, "source", tst_device->dev, 0)); in run()
|
D | move_mount02.c | 35 TEST(fd = fsopen(tst_device->fs_type, 0)); in run() 41 TEST(fsconfig(fd, FSCONFIG_SET_STRING, "source", tst_device->dev, 0)); in run()
|