Home
last modified time | relevance | path

Searched refs:PRJQUOTA (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.4/fs/quota/
Dkqid.c22 case PRJQUOTA: in qid_eq()
48 case PRJQUOTA: in qid_lt()
75 case PRJQUOTA: in from_kqid()
108 case PRJQUOTA: in from_kqid_munged()
127 case PRJQUOTA: in qid_valid()
Dquota.c78 case PRJQUOTA: in qtype_enforce_flag()
327 if (state->s_state[PRJQUOTA].flags & QCI_ACCT_ENABLED) in quota_state_to_flags()
329 if (state->s_state[PRJQUOTA].flags & QCI_LIMITS_ENFORCED) in quota_state_to_flags()
370 if (state.s_state[PRJQUOTA].ino) { in quota_getstate()
377 fqs->qs_gquota.qfs_ino = state.s_state[PRJQUOTA].ino; in quota_getstate()
379 state.s_state[PRJQUOTA].blocks; in quota_getstate()
381 state.s_state[PRJQUOTA].nextents; in quota_getstate()
436 if (state.s_state[PRJQUOTA].ino) { in quota_getstatev()
437 fqs->qs_pquota.qfs_ino = state.s_state[PRJQUOTA].ino; in quota_getstatev()
438 fqs->qs_pquota.qfs_nblks = state.s_state[PRJQUOTA].blocks; in quota_getstatev()
[all …]
Ddquot.c1173 case PRJQUOTA: in need_print_warning()
1471 case PRJQUOTA: in __dquot_initialize()
2325 (type == PRJQUOTA && sb->dq_op->get_projid == NULL)) { in vfs_load_quota_inode()
/Linux-v5.4/include/linux/
Dquota.h53 #undef PRJQUOTA
57 PRJQUOTA = 2, /* element used for project quotas */ enumerator
63 #define QTYPE_MASK_PRJ (1 << PRJQUOTA)
110 case PRJQUOTA: in make_kqid()
137 case PRJQUOTA: in make_kqid_invalid()
177 kqid.type = PRJQUOTA; in make_kqid_projid()
/Linux-v5.4/fs/xfs/
Dxfs_quotaops.c75 state->s_state[PRJQUOTA].flags |= QCI_ACCT_ENABLED; in xfs_fs_get_quota_state()
77 state->s_state[PRJQUOTA].flags |= QCI_LIMITS_ENFORCED; in xfs_fs_get_quota_state()
83 xfs_qm_fill_state(&state->s_state[PRJQUOTA], mp, q->qi_pquotaip, in xfs_fs_get_quota_state()
Dxfs_trans_dquot.c555 qtype = PRJQUOTA; in xfs_quota_warn()
/Linux-v5.4/include/uapi/linux/
Dquota.h43 #define PRJQUOTA 2 /* element used for project quotas */ macro
/Linux-v5.4/fs/f2fs/
Dsuper.c351 if (test_opt(sbi, PRJQUOTA) && !f2fs_sb_has_project_quota(sbi)) { in f2fs_check_quota_options()
357 F2FS_OPTION(sbi).s_qf_names[PRJQUOTA]) { in f2fs_check_quota_options()
366 if (test_opt(sbi, PRJQUOTA) && in f2fs_check_quota_options()
367 F2FS_OPTION(sbi).s_qf_names[PRJQUOTA]) in f2fs_check_quota_options()
368 clear_opt(sbi, PRJQUOTA); in f2fs_check_quota_options()
371 test_opt(sbi, PRJQUOTA)) { in f2fs_check_quota_options()
654 set_opt(sbi, PRJQUOTA); in parse_options()
667 ret = f2fs_set_qf_name(sb, PRJQUOTA, &args[0]); in parse_options()
682 ret = f2fs_clear_qf_name(sb, PRJQUOTA); in parse_options()
699 clear_opt(sbi, PRJQUOTA); in parse_options()
[all …]
Dfile.c2808 transfer_to[PRJQUOTA] = dqget(sb, make_kqid_projid(kprojid)); in f2fs_transfer_project_quota()
2809 if (!IS_ERR(transfer_to[PRJQUOTA])) { in f2fs_transfer_project_quota()
2813 dqput(transfer_to[PRJQUOTA]); in f2fs_transfer_project_quota()
Df2fs.h3594 F2FS_FEATURE_FUNCS(project_quota, PRJQUOTA);
3748 F2FS_OPTION(sbi).s_qf_names[PRJQUOTA]) in is_journalled_quota()
/Linux-v5.4/fs/ext4/
Dioctl.c492 transfer_to[PRJQUOTA] = dqget(sb, make_kqid_projid(kprojid)); in ext4_ioctl_setproject()
493 if (!IS_ERR(transfer_to[PRJQUOTA])) { in ext4_ioctl_setproject()
501 dqput(transfer_to[PRJQUOTA]); in ext4_ioctl_setproject()
Dsuper.c2081 if (test_opt(sb, PRJQUOTA) && !ext4_has_feature_project(sb)) { in parse_options()
5611 sb_has_quota_limits_enabled(sb, PRJQUOTA)) in ext4_statfs()
5858 test_opt(sb, PRJQUOTA), in ext4_enable_quotas()