/linux-5.19.10/fs/quota/ |
D | kqid.c | 18 case USRQUOTA: in qid_eq() 44 case USRQUOTA: in qid_lt() 71 case USRQUOTA: in from_kqid() 104 case USRQUOTA: in from_kqid_munged() 123 case USRQUOTA: in qid_valid()
|
D | quota.c | 42 if ((type == USRQUOTA && uid_eq(current_euid(), make_kuid(current_user_ns(), id))) || in check_quotactl_permission() 76 case USRQUOTA: in qtype_enforce_flag() 339 if (state->s_state[USRQUOTA].flags & QCI_ACCT_ENABLED) in quota_state_to_flags() 341 if (state->s_state[USRQUOTA].flags & QCI_LIMITS_ENFORCED) in quota_state_to_flags() 380 if (state.s_state[USRQUOTA].ino) { in quota_getstate() 381 fqs->qs_uquota.qfs_ino = state.s_state[USRQUOTA].ino; in quota_getstate() 382 fqs->qs_uquota.qfs_nblks = state.s_state[USRQUOTA].blocks; in quota_getstate() 383 fqs->qs_uquota.qfs_nextents = state.s_state[USRQUOTA].nextents; in quota_getstate() 479 if (state.s_state[USRQUOTA].ino) { in quota_getstatev() 480 fqs->qs_uquota.qfs_ino = state.s_state[USRQUOTA].ino; in quota_getstatev() [all …]
|
D | quota_v1.c | 89 if (((type == USRQUOTA) && uid_eq(dquot->dq_id.uid, GLOBAL_ROOT_UID)) || in v1_commit_dqblk()
|
D | dquot.c | 1183 case USRQUOTA: in need_print_warning() 1479 case USRQUOTA: in __dquot_initialize() 2107 transfer_to[USRQUOTA] = dquot; in dquot_transfer()
|
/linux-5.19.10/include/linux/ |
D | quota.h | 51 #undef USRQUOTA 55 USRQUOTA = 0, /* element used for user quotas */ enumerator 61 #define QTYPE_MASK_USR (1 << USRQUOTA) 104 case USRQUOTA: in make_kqid() 131 case USRQUOTA: in make_kqid_invalid() 153 kqid.type = USRQUOTA; in make_kqid_uid()
|
/linux-5.19.10/fs/xfs/ |
D | xfs_quotaops.c | 67 state->s_state[USRQUOTA].flags |= QCI_ACCT_ENABLED; in xfs_fs_get_quota_state() 69 state->s_state[USRQUOTA].flags |= QCI_LIMITS_ENFORCED; in xfs_fs_get_quota_state() 79 xfs_qm_fill_state(&state->s_state[USRQUOTA], mp, q->qi_uquotaip, in xfs_fs_get_quota_state() 92 case USRQUOTA: in xfs_quota_type()
|
D | xfs_trans_dquot.c | 547 qtype = USRQUOTA; in xfs_quota_warn()
|
/linux-5.19.10/fs/gfs2/ |
D | quota.c | 198 ((qid.type == USRQUOTA) ? 0 : 1); in qd2index() 677 if (qd->qd_id.type == USRQUOTA) in do_qc() 1187 (qd->qd_id.type == USRQUOTA) ? "user" : "group", in print_message() 1411 USRQUOTA : GRPQUOTA; in gfs2_quota_init() 1612 state->s_state[USRQUOTA].flags |= QCI_LIMITS_ENFORCED; in gfs2_quota_get_state() 1616 state->s_state[USRQUOTA].flags |= QCI_ACCT_ENABLED | in gfs2_quota_get_state() 1625 state->s_state[USRQUOTA].ino = in gfs2_quota_get_state() 1627 state->s_state[USRQUOTA].blocks = sdp->sd_quota_inode->i_blocks; in gfs2_quota_get_state() 1629 state->s_state[USRQUOTA].nextents = 1; /* unsupported */ in gfs2_quota_get_state() 1630 state->s_state[GRPQUOTA] = state->s_state[USRQUOTA]; in gfs2_quota_get_state() [all …]
|
D | sys.c | 262 qid = make_kqid(current_user_ns(), USRQUOTA, id); in quota_refresh_user_store()
|
/linux-5.19.10/include/uapi/linux/ |
D | quota.h | 41 #define USRQUOTA 0 /* element used for user quotas */ macro
|
/linux-5.19.10/fs/reiserfs/ |
D | super.c | 768 if (REISERFS_SB(s)->s_qf_names[USRQUOTA]) in reiserfs_show_options() 770 REISERFS_SB(s)->s_qf_names[USRQUOTA]); in reiserfs_show_options() 832 #define QTYPE2NAME(t) ((t)==USRQUOTA?"user":"group") 1249 int qtype = c == 'u' ? USRQUOTA : GRPQUOTA; in reiserfs_parse_options() 1287 if (qtype == USRQUOTA) in reiserfs_parse_options() 1292 if (qtype == USRQUOTA) in reiserfs_parse_options() 1329 && (qf_names[USRQUOTA] || qf_names[GRPQUOTA])) { in reiserfs_parse_options() 1335 sb_has_quota_loaded(s, USRQUOTA)) || in reiserfs_parse_options() 2344 if (REISERFS_SB(dquot->dq_sb)->s_qf_names[USRQUOTA] || in reiserfs_mark_dquot_dirty() 2392 int opt = type == USRQUOTA ? REISERFS_USRQUOTA : REISERFS_GRPQUOTA; in reiserfs_quota_on()
|
/linux-5.19.10/fs/f2fs/ |
D | super.c | 454 if (F2FS_OPTION(sbi).s_qf_names[USRQUOTA] || in f2fs_check_quota_options() 457 if (test_opt(sbi, USRQUOTA) && in f2fs_check_quota_options() 458 F2FS_OPTION(sbi).s_qf_names[USRQUOTA]) in f2fs_check_quota_options() 459 clear_opt(sbi, USRQUOTA); in f2fs_check_quota_options() 469 if (test_opt(sbi, GRPQUOTA) || test_opt(sbi, USRQUOTA) || in f2fs_check_quota_options() 906 set_opt(sbi, USRQUOTA); in parse_options() 915 ret = f2fs_set_qf_name(sb, USRQUOTA, &args[0]); in parse_options() 930 ret = f2fs_clear_qf_name(sb, USRQUOTA); in parse_options() 955 clear_opt(sbi, USRQUOTA); in parse_options() 1780 if (F2FS_OPTION(sbi).s_qf_names[USRQUOTA]) in f2fs_show_quota_options() [all …]
|
D | f2fs.h | 4508 if (F2FS_OPTION(sbi).s_qf_names[USRQUOTA] || in is_journalled_quota()
|
/linux-5.19.10/Documentation/filesystems/ |
D | quota.rst | 46 - type of quota being exceeded (one of USRQUOTA, GRPQUOTA)
|
/linux-5.19.10/fs/ocfs2/ |
D | file.c | 1230 transfer_to[USRQUOTA] = dqget(sb, make_kqid_uid(attr->ia_uid)); in ocfs2_setattr() 1231 if (IS_ERR(transfer_to[USRQUOTA])) { in ocfs2_setattr() 1232 status = PTR_ERR(transfer_to[USRQUOTA]); in ocfs2_setattr() 1233 transfer_to[USRQUOTA] = NULL; in ocfs2_setattr()
|
/linux-5.19.10/fs/ext2/ |
D | super.c | 302 if (test_opt(sb, USRQUOTA)) in ext2_show_options() 601 set_opt(opts->s_mount_opt, USRQUOTA); in parse_options()
|
/linux-5.19.10/fs/ext4/ |
D | super.c | 2114 return unnote_qf_name(fc, USRQUOTA); in ext4_parse_param() 2116 return note_qf_name(fc, USRQUOTA, param); in ext4_parse_param() 2603 usr_qf_name = (get_qf_name(sb, sbi, USRQUOTA) || in ext4_check_quota_consistency() 2604 ctx->s_qf_names[USRQUOTA]); in ext4_check_quota_consistency() 2609 test_opt(sb, USRQUOTA)); in ext4_check_quota_consistency() 2852 usr_qf_name = ctx->s_qf_names[USRQUOTA]; in ext4_validate_options() 2898 usr_qf_name = rcu_dereference(sbi->s_qf_names[USRQUOTA]); in ext4_show_quota_options() 6796 test_opt(sb, USRQUOTA), in ext4_enable_quotas()
|
D | ext4.h | 3501 sbi->s_qf_names[USRQUOTA] || sbi->s_qf_names[GRPQUOTA]); in ext4_is_quota_journalled()
|