Home
last modified time | relevance | path

Searched refs:USRQUOTA (Results 1 – 25 of 25) 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 …]
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()
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,
164 TEST(do_quotactl(fd, QCMD(Q_GETNEXTQUOTA, USRQUOTA), tst_device->dev, in setup()
[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,
171 TEST(quotactl(QCMD(Q_GETNEXTQUOTA, USRQUOTA), tst_device->dev, in setup()
[all …]
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()
Dquotactl03.c45 TEST(do_quotactl(fd, QCMD(Q_XGETNEXTQUOTA, USRQUOTA), tst_device->dev, in verify_quota()
/third_party/f2fs-tools/include/
Dquota.h16 USRQUOTA = 0, enumerator
26 #define QUOTA_USR_BIT (1 << USRQUOTA)
/third_party/e2fsprogs/lib/support/
Dquotaio.h47 USRQUOTA = 0, enumerator
57 #define QUOTA_USR_BIT (1 << USRQUOTA)
252 case USRQUOTA: in quota_sb_inump()
Dquotaio.c24 [USRQUOTA] = "user",
56 case USRQUOTA: in quota_type2inum()
Dmkquota.c263 case USRQUOTA: in get_qid()
/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/f2fs-tools/fsck/
Dquotaio.h39 USRQUOTA = 0, enumerator
61 #define QUOTA_USR_BIT (1 << USRQUOTA)
Dquotaio.c25 [USRQUOTA] = "user",
Dmkquota.c122 case USRQUOTA: in get_qid()
/third_party/musl/porting/uniproton/kernel/include/sys/
Dquota.h20 #define USRQUOTA 0 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
Dquota.h20 #define USRQUOTA 0 macro
/third_party/musl/include/sys/
Dquota.h20 #define USRQUOTA 0 macro
/third_party/musl/ndk_musl_include/sys/
Dquota.h20 #define USRQUOTA 0 macro
/third_party/musl/porting/liteos_m/kernel/include/sys/
Dquota.h20 #define USRQUOTA 0 macro
/third_party/e2fsprogs/e2fsck/
Dmessage.c481 case USRQUOTA: in expand_percent_expression()
/third_party/e2fsprogs/lib/e2p/
Dls.c211 [USRQUOTA] = "User quota inode:",
/third_party/e2fsprogs/misc/
Dtune2fs.c1743 quota_enable[USRQUOTA] = QOPT_ENABLE; in option_handle_function()
1745 quota_enable[USRQUOTA] = QOPT_DISABLE; in option_handle_function()
De2image.c1371 ino == quota_type2inum(USRQUOTA, fs->super) || in write_raw_image_file()