/third_party/ltp/testcases/kernel/syscalls/quotactl/ |
D | quotactl02.c | 44 {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 …]
|
D | quotactl08.c | 73 {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 …]
|
D | quotactl01.c | 74 {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 …]
|
D | quotactl05.c | 35 {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 …]
|
D | quotactl06.c | 91 {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 …]
|
D | quotactl09.c | 65 {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()
|
D | quotactl04.c | 61 {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,
|
D | quotactl07.c | 37 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()
|
D | quotactl02.h | 38 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()
|
D | quotactl03.c | 45 TEST(do_quotactl(fd, QCMD(Q_XGETNEXTQUOTA, USRQUOTA), tst_device->dev, in verify_quota()
|
/third_party/ltp/lib/ |
D | tst_supported_fs_types.c | 179 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/ |
D | quotactl.c | 28 int cmd = QCMD(Q_GETQUOTA, USRQUOTA); in quotactl_0100()
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
D | quota.h | 33 #define QCMD(cmd, type) (((cmd) << SUBCMDSHIFT) | ((type) & SUBCMDMASK)) macro
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
D | quota.h | 33 #define QCMD(cmd, type) (((cmd) << SUBCMDSHIFT) | ((type) & SUBCMDMASK)) macro
|
/third_party/musl/include/sys/ |
D | quota.h | 33 #define QCMD(cmd, type) (((cmd) << SUBCMDSHIFT) | ((type) & SUBCMDMASK)) macro
|
/third_party/musl/ndk_musl_include/sys/ |
D | quota.h | 33 #define QCMD(cmd, type) (((cmd) << SUBCMDSHIFT) | ((type) & SUBCMDMASK)) macro
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
D | quota.h | 33 #define QCMD(cmd, type) (((cmd) << SUBCMDSHIFT) | ((type) & SUBCMDMASK)) macro
|