Home
last modified time | relevance | path

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

/external/strace/tests-mx32/
Dquotactl.c238 ARG_STR(QCMD(Q_QUOTAON, USRQUOTA)), in main()
244 QCMD_TYPE(QCMD(Q_QUOTAON, 0xfacefeed))); in main()
247 check_quota(CQF_ID_STR, QCMD(Q_QUOTAON, 0xfacefeed), in main()
255 ARG_STR(QCMD(Q_QUOTAOFF, USRQUOTA)), in main()
258 ARG_STR(QCMD(Q_QUOTAOFF, GRPQUOTA)), in main()
261 ARG_STR(QCMD(Q_QUOTAOFF, PRJQUOTA)), ARG_STR(NULL)); in main()
263 QCMD(Q_QUOTAOFF, 3), "QCMD(Q_QUOTAOFF, 0x3 /* ???QUOTA */)", in main()
270 check_quota(CQF_ADDR_CB, ARG_STR(QCMD(Q_GETQUOTA, USRQUOTA)), in main()
274 check_quota(CQF_ADDR_CB, ARG_STR(QCMD(Q_GETQUOTA, GRPQUOTA)), in main()
280 check_quota(CQF_ADDR_CB, ARG_STR(QCMD(Q_GETNEXTQUOTA, USRQUOTA)), in main()
[all …]
Dquotactl-xfs.c231 ARG_STR(QCMD(Q_XQUOTAON, USRQUOTA)), in main()
239 QCMD_TYPE(QCMD(Q_XQUOTAON, 0xfacefeed))); in main()
241 QCMD(Q_XQUOTAON, 0xfacefeed), invalid_cmd_str, in main()
248 ARG_STR(QCMD(Q_XQUOTAOFF, USRQUOTA)), in main()
252 ARG_STR(QCMD(Q_XQUOTAOFF, GRPQUOTA)), in main()
256 QCMD(Q_XQUOTAOFF, 3), in main()
267 check_quota(CQF_ADDR_CB, ARG_STR(QCMD(Q_XGETQUOTA, USRQUOTA)), in main()
271 check_quota(CQF_ADDR_CB, ARG_STR(QCMD(Q_XGETQUOTA, GRPQUOTA)), in main()
277 check_quota(CQF_ADDR_CB, ARG_STR(QCMD(Q_XGETNEXTQUOTA, USRQUOTA)), in main()
284 check_quota(CQF_NONE, ARG_STR(QCMD(Q_XSETQLIM, PRJQUOTA)), in main()
[all …]
/external/strace/tests-m32/
Dquotactl.c238 ARG_STR(QCMD(Q_QUOTAON, USRQUOTA)), in main()
244 QCMD_TYPE(QCMD(Q_QUOTAON, 0xfacefeed))); in main()
247 check_quota(CQF_ID_STR, QCMD(Q_QUOTAON, 0xfacefeed), in main()
255 ARG_STR(QCMD(Q_QUOTAOFF, USRQUOTA)), in main()
258 ARG_STR(QCMD(Q_QUOTAOFF, GRPQUOTA)), in main()
261 ARG_STR(QCMD(Q_QUOTAOFF, PRJQUOTA)), ARG_STR(NULL)); in main()
263 QCMD(Q_QUOTAOFF, 3), "QCMD(Q_QUOTAOFF, 0x3 /* ???QUOTA */)", in main()
270 check_quota(CQF_ADDR_CB, ARG_STR(QCMD(Q_GETQUOTA, USRQUOTA)), in main()
274 check_quota(CQF_ADDR_CB, ARG_STR(QCMD(Q_GETQUOTA, GRPQUOTA)), in main()
280 check_quota(CQF_ADDR_CB, ARG_STR(QCMD(Q_GETNEXTQUOTA, USRQUOTA)), in main()
[all …]
Dquotactl-xfs.c231 ARG_STR(QCMD(Q_XQUOTAON, USRQUOTA)), in main()
239 QCMD_TYPE(QCMD(Q_XQUOTAON, 0xfacefeed))); in main()
241 QCMD(Q_XQUOTAON, 0xfacefeed), invalid_cmd_str, in main()
248 ARG_STR(QCMD(Q_XQUOTAOFF, USRQUOTA)), in main()
252 ARG_STR(QCMD(Q_XQUOTAOFF, GRPQUOTA)), in main()
256 QCMD(Q_XQUOTAOFF, 3), in main()
267 check_quota(CQF_ADDR_CB, ARG_STR(QCMD(Q_XGETQUOTA, USRQUOTA)), in main()
271 check_quota(CQF_ADDR_CB, ARG_STR(QCMD(Q_XGETQUOTA, GRPQUOTA)), in main()
277 check_quota(CQF_ADDR_CB, ARG_STR(QCMD(Q_XGETNEXTQUOTA, USRQUOTA)), in main()
284 check_quota(CQF_NONE, ARG_STR(QCMD(Q_XSETQLIM, PRJQUOTA)), in main()
[all …]
/external/strace/tests/
Dquotactl.c238 ARG_STR(QCMD(Q_QUOTAON, USRQUOTA)), in main()
244 QCMD_TYPE(QCMD(Q_QUOTAON, 0xfacefeed))); in main()
247 check_quota(CQF_ID_STR, QCMD(Q_QUOTAON, 0xfacefeed), in main()
255 ARG_STR(QCMD(Q_QUOTAOFF, USRQUOTA)), in main()
258 ARG_STR(QCMD(Q_QUOTAOFF, GRPQUOTA)), in main()
261 ARG_STR(QCMD(Q_QUOTAOFF, PRJQUOTA)), ARG_STR(NULL)); in main()
263 QCMD(Q_QUOTAOFF, 3), "QCMD(Q_QUOTAOFF, 0x3 /* ???QUOTA */)", in main()
270 check_quota(CQF_ADDR_CB, ARG_STR(QCMD(Q_GETQUOTA, USRQUOTA)), in main()
274 check_quota(CQF_ADDR_CB, ARG_STR(QCMD(Q_GETQUOTA, GRPQUOTA)), in main()
280 check_quota(CQF_ADDR_CB, ARG_STR(QCMD(Q_GETNEXTQUOTA, USRQUOTA)), in main()
[all …]
Dquotactl-xfs.c231 ARG_STR(QCMD(Q_XQUOTAON, USRQUOTA)), in main()
239 QCMD_TYPE(QCMD(Q_XQUOTAON, 0xfacefeed))); in main()
241 QCMD(Q_XQUOTAON, 0xfacefeed), invalid_cmd_str, in main()
248 ARG_STR(QCMD(Q_XQUOTAOFF, USRQUOTA)), in main()
252 ARG_STR(QCMD(Q_XQUOTAOFF, GRPQUOTA)), in main()
256 QCMD(Q_XQUOTAOFF, 3), in main()
267 check_quota(CQF_ADDR_CB, ARG_STR(QCMD(Q_XGETQUOTA, USRQUOTA)), in main()
271 check_quota(CQF_ADDR_CB, ARG_STR(QCMD(Q_XGETQUOTA, GRPQUOTA)), in main()
277 check_quota(CQF_ADDR_CB, ARG_STR(QCMD(Q_XGETNEXTQUOTA, USRQUOTA)), in main()
284 check_quota(CQF_NONE, ARG_STR(QCMD(Q_XSETQLIM, PRJQUOTA)), in main()
[all …]
/external/ltp/testcases/kernel/syscalls/quotactl/
Dquotactl01.c106 {QCMD(Q_QUOTAON, USRQUOTA), &fmt_id, USRPATH,
109 {QCMD(Q_SETQUOTA, USRQUOTA), &test_id, &set_dq,
112 {QCMD(Q_GETQUOTA, USRQUOTA), &test_id, &res_dq,
116 {QCMD(Q_SETINFO, USRQUOTA), &test_id, &set_qf,
119 {QCMD(Q_GETINFO, USRQUOTA), &test_id, &res_qf,
123 {QCMD(Q_GETFMT, USRQUOTA), &test_id, &fmt_buf,
127 {QCMD(Q_SYNC, USRQUOTA), &test_id, &res_dq,
130 {QCMD(Q_QUOTAOFF, USRQUOTA), &test_id, USRPATH,
133 {QCMD(Q_QUOTAON, GRPQUOTA), &fmt_id, GRPPATH,
136 {QCMD(Q_SETQUOTA, GRPQUOTA), &test_id, &set_dq,
[all …]
Dquotactl02.c68 {QCMD(Q_XQUOTAOFF, USRQUOTA), &qflag, check_qoff, Q_XGETQSTAT,
70 {QCMD(Q_XQUOTAON, USRQUOTA), &qflag, check_qon, Q_XGETQSTAT,
72 {QCMD(Q_XSETQLIM, USRQUOTA), &set_dquota, check_qlim, Q_XGETQUOTA,
74 {QCMD(Q_XSETQLIM, USRQUOTA), &set_dquota, check_qlim, Q_XGETNEXTQUOTA,
83 res = quotactl(QCMD(subcmd, USRQUOTA), tst_device->dev, in check_qoff()
104 res = quotactl(QCMD(subcmd, USRQUOTA), tst_device->dev, in check_qon()
127 res = quotactl(QCMD(subcmd, USRQUOTA), tst_device->dev, in check_qlim()
Dquotactl03.c67 TEST(quotactl(QCMD(Q_XGETNEXTQUOTA, USRQUOTA), tst_device->dev, in verify_quota()
/external/ltp/m4/
Dltp-quota.m431 return quotactl(QCMD(Q_GETINFO, USRQUOTA), (const char *) "/dev/null",
47 return quotactl(QCMD(Q_GETQUOTA, USRQUOTA), (const char *) "/dev/null",
Dltp-xfs_quota.m432 return quotactl(QCMD(Q_XGETQSTAT, USRQUOTA), "/dev/null", geteuid(),
/external/kernel-headers/original/uapi/linux/
Dquota.h63 #define QCMD(cmd, type) (((cmd) << SUBCMDSHIFT) | ((type) & SUBCMDMASK)) macro
/external/strace/
DChangeLog1168 tests/quotactl-xfs.c: fix typos in QCMD.
1169 * tests/quotactl-xfs.c (main): fix typos of sub-commands in QCMD.
25194 (which also lacks shift of the left part) with QCMD macro call.