/kernel/linux/linux-5.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 | 39 if ((type == USRQUOTA && uid_eq(current_euid(), make_kuid(current_user_ns(), id))) || in check_quotactl_permission() 73 case USRQUOTA: in qtype_enforce_flag() 336 if (state->s_state[USRQUOTA].flags & QCI_ACCT_ENABLED) in quota_state_to_flags() 338 if (state->s_state[USRQUOTA].flags & QCI_LIMITS_ENFORCED) in quota_state_to_flags() 377 if (state.s_state[USRQUOTA].ino) { in quota_getstate() 378 fqs->qs_uquota.qfs_ino = state.s_state[USRQUOTA].ino; in quota_getstate() 379 fqs->qs_uquota.qfs_nblks = state.s_state[USRQUOTA].blocks; in quota_getstate() 380 fqs->qs_uquota.qfs_nextents = state.s_state[USRQUOTA].nextents; in quota_getstate() 475 if (state.s_state[USRQUOTA].ino) { in quota_getstatev() 476 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 | 1185 case USRQUOTA: in need_print_warning() 1481 case USRQUOTA: in __dquot_initialize() 2109 transfer_to[USRQUOTA] = dquot; in dquot_transfer()
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.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 | 559 qtype = USRQUOTA; in xfs_quota_warn()
|
/kernel/linux/linux-5.10/fs/gfs2/ |
D | quota.c | 198 ((qid.type == USRQUOTA) ? 0 : 1); in qd2index() 673 if (qd->qd_id.type == USRQUOTA) in do_qc() 1183 (qd->qd_id.type == USRQUOTA) ? "user" : "group", in print_message() 1407 USRQUOTA : GRPQUOTA; in gfs2_quota_init() 1608 state->s_state[USRQUOTA].flags |= QCI_LIMITS_ENFORCED; in gfs2_quota_get_state() 1612 state->s_state[USRQUOTA].flags |= QCI_ACCT_ENABLED | in gfs2_quota_get_state() 1621 state->s_state[USRQUOTA].ino = in gfs2_quota_get_state() 1623 state->s_state[USRQUOTA].blocks = sdp->sd_quota_inode->i_blocks; in gfs2_quota_get_state() 1625 state->s_state[USRQUOTA].nextents = 1; /* unsupported */ in gfs2_quota_get_state() 1626 state->s_state[GRPQUOTA] = state->s_state[USRQUOTA]; in gfs2_quota_get_state() [all …]
|
D | sys.c | 197 qid = make_kqid(current_user_ns(), USRQUOTA, id); in quota_refresh_user_store()
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | quota.h | 11 #define USRQUOTA 0 macro
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | quota.h | 41 #define USRQUOTA 0 /* element used for user quotas */ macro
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | quota.h | 24 #define USRQUOTA 0 macro
|
/kernel/linux/linux-5.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") 1251 int qtype = c == 'u' ? USRQUOTA : GRPQUOTA; in reiserfs_parse_options() 1289 if (qtype == USRQUOTA) in reiserfs_parse_options() 1294 if (qtype == USRQUOTA) in reiserfs_parse_options() 1331 && (qf_names[USRQUOTA] || qf_names[GRPQUOTA])) { in reiserfs_parse_options() 1337 sb_has_quota_loaded(s, USRQUOTA)) || in reiserfs_parse_options() 2352 if (REISERFS_SB(dquot->dq_sb)->s_qf_names[USRQUOTA] || in reiserfs_mark_dquot_dirty() 2400 int opt = type == USRQUOTA ? REISERFS_USRQUOTA : REISERFS_GRPQUOTA; in reiserfs_quota_on()
|
/kernel/linux/linux-5.10/fs/f2fs/ |
D | super.c | 440 if (F2FS_OPTION(sbi).s_qf_names[USRQUOTA] || in f2fs_check_quota_options() 443 if (test_opt(sbi, USRQUOTA) && in f2fs_check_quota_options() 444 F2FS_OPTION(sbi).s_qf_names[USRQUOTA]) in f2fs_check_quota_options() 445 clear_opt(sbi, USRQUOTA); in f2fs_check_quota_options() 455 if (test_opt(sbi, GRPQUOTA) || test_opt(sbi, USRQUOTA) || in f2fs_check_quota_options() 776 set_opt(sbi, USRQUOTA); in parse_options() 785 ret = f2fs_set_qf_name(sb, USRQUOTA, &args[0]); in parse_options() 800 ret = f2fs_clear_qf_name(sb, USRQUOTA); in parse_options() 825 clear_opt(sbi, USRQUOTA); in parse_options() 1542 if (F2FS_OPTION(sbi).s_qf_names[USRQUOTA]) in f2fs_show_quota_options() [all …]
|
D | f2fs.h | 4176 if (F2FS_OPTION(sbi).s_qf_names[USRQUOTA] || in is_journalled_quota()
|
/kernel/linux/linux-5.10/Documentation/filesystems/ |
D | quota.rst | 46 - type of quota being exceeded (one of USRQUOTA, GRPQUOTA)
|
/kernel/linux/linux-5.10/fs/ext4/ |
D | super.c | 2109 return set_qf_name(sb, USRQUOTA, &args[0]); in handle_mount_opt() 2113 return clear_qf_name(sb, USRQUOTA); in handle_mount_opt() 2454 usr_qf_name = get_qf_name(sb, sbi, USRQUOTA); in parse_options() 2457 if (test_opt(sb, USRQUOTA) && usr_qf_name) in parse_options() 2458 clear_opt(sb, USRQUOTA); in parse_options() 2463 if (test_opt(sb, GRPQUOTA) || test_opt(sb, USRQUOTA)) { in parse_options() 2512 usr_qf_name = rcu_dereference(sbi->s_qf_names[USRQUOTA]); in ext4_show_quota_options() 6298 sbi->s_qf_names[USRQUOTA] || sbi->s_qf_names[GRPQUOTA]) { in ext4_mark_dquot_dirty() 6432 case USRQUOTA: in ext4_check_quota_inum() 6493 test_opt(sb, USRQUOTA), in ext4_enable_quotas()
|
/kernel/linux/linux-5.10/fs/ocfs2/ |
D | file.c | 1234 transfer_to[USRQUOTA] = dqget(sb, make_kqid_uid(attr->ia_uid)); in ocfs2_setattr() 1235 if (IS_ERR(transfer_to[USRQUOTA])) { in ocfs2_setattr() 1236 status = PTR_ERR(transfer_to[USRQUOTA]); in ocfs2_setattr() 1237 transfer_to[USRQUOTA] = NULL; in ocfs2_setattr()
|
/kernel/linux/linux-5.10/fs/ext2/ |
D | super.c | 305 if (test_opt(sb, USRQUOTA)) in ext2_show_options() 604 set_opt(opts->s_mount_opt, USRQUOTA); in parse_options()
|