Home
last modified time | relevance | path

Searched refs:QCMD (Results 1 – 17 of 17) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/quotactl/
Dquotactl02.c44 {QCMD(Q_XQUOTAOFF, USRQUOTA), &qflagu, check_qoff,
45 QCMD(Q_XGETQSTAT, USRQUOTA), 1,
49 {QCMD(Q_XQUOTAON, USRQUOTA), &qflagu, check_qon,
50 QCMD(Q_XGETQSTAT, USRQUOTA), 1,
54 {QCMD(Q_XSETQLIM, USRQUOTA), &set_dquota, check_qlim,
55 QCMD(Q_XGETQUOTA, USRQUOTA), 0, "Q_XGETQUOTA for user",
58 {QCMD(Q_XSETQLIM, USRQUOTA), &set_dquota, check_qlim,
59 QCMD(Q_XGETNEXTQUOTA, USRQUOTA), 0, "Q_XGETNEXTQUOTA for user",
62 {QCMD(Q_XQUOTAOFF, USRQUOTA), &qflagu, check_qoffv,
63 QCMD(Q_XGETQSTATV, USRQUOTA), 1,
[all …]
Dquotactl08.c73 {QCMD(Q_QUOTAON, USRQUOTA), &fmt_id, NULL,
77 {QCMD(Q_SETQUOTA, USRQUOTA), &test_id, &set_dq,
81 {QCMD(Q_GETQUOTA, USRQUOTA), &test_id, &res_dq,
86 {QCMD(Q_SETINFO, USRQUOTA), &test_id, &set_qf,
90 {QCMD(Q_GETINFO, USRQUOTA), &test_id, &res_qf,
95 {QCMD(Q_GETFMT, USRQUOTA), &test_id, &fmt_buf,
100 {QCMD(Q_SYNC, USRQUOTA), &test_id, &res_dq,
104 {QCMD(Q_GETNEXTQUOTA, USRQUOTA), &test_id, &res_ndq,
109 {QCMD(Q_QUOTAOFF, USRQUOTA), &test_id, NULL,
113 {QCMD(Q_QUOTAON, GRPQUOTA), &fmt_id, NULL,
[all …]
Dquotactl01.c74 {QCMD(Q_QUOTAON, USRQUOTA), &fmt_id, usrpath,
78 {QCMD(Q_SETQUOTA, USRQUOTA), &test_id, &set_dq,
82 {QCMD(Q_GETQUOTA, USRQUOTA), &test_id, &res_dq,
87 {QCMD(Q_SETINFO, USRQUOTA), &test_id, &set_qf,
91 {QCMD(Q_GETINFO, USRQUOTA), &test_id, &res_qf,
96 {QCMD(Q_GETFMT, USRQUOTA), &test_id, &fmt_buf,
101 {QCMD(Q_SYNC, USRQUOTA), &test_id, &res_dq,
105 {QCMD(Q_GETNEXTQUOTA, USRQUOTA), &test_id, &res_ndq,
110 {QCMD(Q_QUOTAOFF, USRQUOTA), &test_id, usrpath,
114 {QCMD(Q_QUOTAON, GRPQUOTA), &fmt_id, grppath,
[all …]
Dquotactl05.c35 {QCMD(Q_XQUOTAOFF, PRJQUOTA), &qflagp, check_qoff,
36 QCMD(Q_XGETQSTAT, PRJQUOTA), 1,
40 {QCMD(Q_XQUOTAON, PRJQUOTA), &qflagp, check_qon,
41 QCMD(Q_XGETQSTAT, PRJQUOTA), 1,
45 {QCMD(Q_XSETQLIM, PRJQUOTA), &set_dquota, check_qlim,
46 QCMD(Q_XGETQUOTA, PRJQUOTA), 0,
49 {QCMD(Q_XSETQLIM, PRJQUOTA), &set_dquota, check_qlim,
50 QCMD(Q_XGETNEXTQUOTA, PRJQUOTA), 0,
53 {QCMD(Q_XQUOTAOFF, PRJQUOTA), &qflagp, check_qoffv,
54 QCMD(Q_XGETQSTATV, PRJQUOTA), 1,
[all …]
Dquotactl06.c91 {QCMD(Q_QUOTAON, USRQUOTA), &fmt_id, testdir1, EACCES, 0,
94 {QCMD(Q_QUOTAON, USRQUOTA), &fmt_id, testdir2, ENOENT, 0,
97 {QCMD(Q_QUOTAON, USRQUOTA), &fmt_id, usrpath, EBUSY, 1,
100 {QCMD(Q_SETQUOTA, USRQUOTA), &fmt_id, NULL, EFAULT, 1,
103 {QCMD(OPTION_INVALID, USRQUOTA), &fmt_id, usrpath, EINVAL, 0,
106 {QCMD(Q_QUOTAON, USRQUOTA), &fmt_id, usrpath, ENOTBLK, 0,
109 {QCMD(Q_SETQUOTA, USRQUOTA), &test_id, &set_dq, ESRCH, 0,
112 {QCMD(Q_QUOTAON, USRQUOTA), &fmt_invalid, usrpath, ESRCH, 0,
115 {QCMD(Q_GETNEXTQUOTA, USRQUOTA), &test_invalid, usrpath, ESRCH, 0,
118 {QCMD(Q_SETQUOTA, USRQUOTA), &test_id, &set_dqmax, ERANGE, 1,
[all …]
Dquotactl09.c65 {QCMD(Q_SETQUOTA, USRQUOTA), &fmt_id, NULL, EFAULT, 1,
68 {QCMD(OPTION_INVALID, USRQUOTA), &fmt_id, NULL, EINVAL, 0,
71 {QCMD(Q_QUOTAON, USRQUOTA), &fmt_id, NULL, ENOTBLK, 0,
74 {QCMD(Q_SETQUOTA, USRQUOTA), &test_id, &set_dqmax, ERANGE, 1,
77 {QCMD(Q_QUOTAON, USRQUOTA), &fmt_id, NULL, EPERM, 0,
80 {QCMD(Q_QUOTAON, USRQUOTA), &fmt_id, NULL, ENOSYS, 0,
91 if (tc->cmd == QCMD(Q_GETNEXTQUOTA, USRQUOTA) && getnextquota_nsup) { in verify_quotactl()
97 TST_EXP_PASS_SILENT(do_quotactl(fd, QCMD(Q_QUOTAON, USRQUOTA), tst_device->dev, in verify_quotactl()
133 TST_EXP_PASS_SILENT(do_quotactl(fd, QCMD(Q_QUOTAOFF, USRQUOTA), tst_device->dev, in verify_quotactl()
151 TEST(do_quotactl(fd, QCMD(Q_GETNEXTQUOTA, USRQUOTA), tst_device->dev, in setup()
Dquotactl04.c61 {QCMD(Q_QUOTAON, PRJQUOTA), &fmt_id, NULL,
65 {QCMD(Q_SETQUOTA, PRJQUOTA), &test_id, &set_dq,
69 {QCMD(Q_GETQUOTA, PRJQUOTA), &test_id, &res_dq,
74 {QCMD(Q_SETINFO, PRJQUOTA), &test_id, &set_qf,
78 {QCMD(Q_GETINFO, PRJQUOTA), &test_id, &res_qf,
83 {QCMD(Q_GETFMT, PRJQUOTA), &test_id, &fmt_buf,
87 {QCMD(Q_GETNEXTQUOTA, PRJQUOTA), &test_id, &res_ndq,
92 {QCMD(Q_QUOTAOFF, PRJQUOTA), &test_id, NULL,
Dquotactl07.c37 TST_EXP_PASS(do_quotactl(fd, QCMD(Q_XQUOTARM, USRQUOTA), tst_device->dev, 0, in verify_quota()
45 TST_EXP_FAIL(do_quotactl(fd, QCMD(Q_XQUOTARM, USRQUOTA), tst_device->dev, 0, in verify_quota()
Dquotactl02.h38 TEST(do_quotactl(fd, QCMD(Q_XGETNEXTQUOTA, quotatype), tst_device->dev, in check_support_cmd()
43 TEST(do_quotactl(fd, QCMD(Q_XGETQSTATV, quotatype), tst_device->dev, test_id, in check_support_cmd()
Dquotactl03.c45 TEST(do_quotactl(fd, QCMD(Q_XGETNEXTQUOTA, USRQUOTA), tst_device->dev, in verify_quota()
/third_party/ltp/lib/
Dtst_supported_fs_types.c179 const long ret = quotactl(QCMD(Q_QUOTAON, USRQUOTA), device, format, in tst_check_quota_support()
191 quotactl(QCMD(Q_QUOTAOFF, USRQUOTA), device, 0, 0); in tst_check_quota_support()
/third_party/musl/libc-test/src/functionalext/supplement/linux/
Dquotactl.c28 int cmd = QCMD(Q_GETQUOTA, USRQUOTA); in quotactl_0100()
/third_party/musl/porting/uniproton/kernel/include/sys/
Dquota.h33 #define QCMD(cmd, type) (((cmd) << SUBCMDSHIFT) | ((type) & SUBCMDMASK)) macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
Dquota.h33 #define QCMD(cmd, type) (((cmd) << SUBCMDSHIFT) | ((type) & SUBCMDMASK)) macro
/third_party/musl/include/sys/
Dquota.h33 #define QCMD(cmd, type) (((cmd) << SUBCMDSHIFT) | ((type) & SUBCMDMASK)) macro
/third_party/musl/ndk_musl_include/sys/
Dquota.h33 #define QCMD(cmd, type) (((cmd) << SUBCMDSHIFT) | ((type) & SUBCMDMASK)) macro
/third_party/musl/porting/liteos_m/kernel/include/sys/
Dquota.h33 #define QCMD(cmd, type) (((cmd) << SUBCMDSHIFT) | ((type) & SUBCMDMASK)) macro